How do you synchronize your clocks?
Submitted by dkg on Wed 17 Oct 2007
| chrony package |
![]() 5% | 60 votes |
| ntpdate package |
![]() 31% | 333 votes |
| ntp package |
![]() 43% | 463 votes |
| openntpd package |
![]() 5% | 56 votes |
| Manually with a clock |
![]() 7% | 78 votes |
| I don't |
![]() 7% | 84 votes |
| Total 1074 votes |
This brings back horrible memories of the Windows network I once supported where the desktops simply wouldn't synchronise clocks with the servers no matter what we tried. Eventually we got them syncing using logon scripts, but if the local clocks were so far out you couldn't log in then it required a visit to the machine.
[ Parent ]
[ Parent ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Parent ]
[ Parent ]
You never want your clock going backwards, ever. This is why you use ntp. ntp will slow or speed up your clock so that no programs get confused. Time goes forward.
If you find your system clock is wrong, then it is because you are not using ntpd, or because you need to sync with a time server (using ntpdate, etc) BEFORE starting ntpd.
Never use a cron.hourly job to run ntpdate or "net time" against a server, this causes spikes in load on the time servers, and does the wrong thing with your clock.
[ Parent ]
It appears to work much like Debian's ntpdate.
Which follows the state of the ETH0.
However my machines are always ETH0 up.
Just the patch cord from the switch to the internet is occasionally plugged in.
So I have decided to use ntpdate, and manually.
Is there a better way?
[ Parent ]
[ Parent ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Parent ]
Because of the abuse of ntpdate, it is now deprecated in favor of NTPd which doesn't slam/abuse the time servers. As is mentioned it can even train your clock to be more accurate by slowing or speeding it.
I'm trying to be nice here, but DO NOT, DO NOT, DO NOT use ntpdate to sync your clocks! Set up an NTP server for your domain and put it into the pool while you're at it, http://www.pool.ntp.org.
[ Parent ]
[ Parent ]

5%