Re: Time server...how to set it up on FC1?

From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 04/13/04

  • Next message: Matt Hansen: "Re: ClamAV on Fedora"
    Date: Mon, 12 Apr 2004 17:27:32 -0600
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    At 14:19 4/12/2004, you wrote:
    >Yes and no ntpd is full time and ntpdate only runs until the time is
    >set. They're in essence the same daemon and when ntpdate starts it sees
    >ntpd and shuts itself down.

    Not quite true. "ntpdate" checks the time on an NTP server just once, and
    then forcefully changes the local system time to whatever result it got
    from the server, regardless of what that result was and with no sanity
    checks. If the server is 10 years off from the local system time, the local
    system time *still* gets smacked instantly to match the server. It just
    happens to use the NTP protocol to communicate with an NTP server.

    "ntpd", on the other hand, checks two or more servers initially every 64
    seconds. After several (8 or more, usually) queries, when it feels that it
    has a sufficiently solid idea of what the "correct" time is Out There, it
    begins slowly sliding the local system clock to match that "correct" time
    without making any sudden moves that might confuse local applications
    and/or server processes.

    Also, ntpd provides very high precision, and it will not adjust the system
    clock (it will exit and report an error instead) if the local time if off
    by more than 120 seconds. Given that my server clocks are usually less than
    0.01 seconds away from the "correct" time and that theoretically ntpd is
    capable of maintaining an error of less than 0.0000001 seconds, you can see
    that it considers *two minutes* as an ungodly, horrendous, utterly
    unacceptable misconfiguration.

    If at all possible, one should avoid using ntpdate at all. Simply run ntpd
    on one box, set all others to adjust their time to that server (which also
    uses NTP), and be done with it. After the initial half-hour (approximately)
    startup period, it all "just works" beautifully.

    Cheers,

    -- 
    Rodolfo J. Paiz
    rpaiz@simpaticus.com
    http://www.simpaticus.com
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Matt Hansen: "Re: ClamAV on Fedora"

    Relevant Pages

    • How can I get ntpdate functionality from ntpd ?
      ... I prepared by reading the handbook chapter 27.10 "Clock Synchronization with NTP", also went through /usr/share/doc/ntp, and the usual rtfm of ntpd, ntp.conf and ntpdate. ... I also found a thread in this newsgroup by from 07-MAR-2007 with the subject "NTPD server". ... server 0.hu.pool.ntp.org iburst ...
      (comp.unix.bsd.freebsd.misc)
    • Re: time acuracy
      ... external ntp server. ... In my opinion it's about exactly as easy or simple to use ntpdate in a cron ... Nor is there any cpu/ram penalty by having ntpd running. ... server that is geographically close to you, ...
      (comp.unix.sco.misc)
    • Re: [SLE] Atom clock synching tool
      ... Remember it needs a permanent network connection. ... Perhaps as a last comment - ntpd does't actually need a permanent ... server you have specified, and when it doesn't have a connection, you ... to call than ntpdate. ...
      (SuSE)
    • RE: rh-l] NTP Problems Redux
      ... I have been stopping/starting ntpd as needed to run ntpdate, ... server 192.168.1.50 ... I wait a few days to see if the clocks will drift out of sync. ...
      (RedHat)
    • Re: NTPD concurrent clients limit
      ... I use my own Symmetricom gps disciplined ntp servers, my own Datum/Symmetricom gps disciplined rubidium standards for 1PPP and 10 MHz all using HP/Symmetricom gps antennas and gps splitters. ... I also run the latest release of ntpd software on several HP/Compaq Servers. ... Is this packet also implemented in a "canned" or hardware only ntp server? ... NTP is designed to work with poll intervals between 64 seconds and 1024 ...
      (comp.protocols.time.ntp)