Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

(1)autostart one ntpd service in all cluster nodes and point the reference serve to one LAN server. (2)use crontab to ntpdate every certain minutes. In cluster environment, which will be a better method for time synchronization. For the first method, i think what we need is one ntp server and all the other nodes sync time from it, but not let all cluster nodes be one ntp server.

Thanks in advance

share|improve this question
How well do you think option 2 would work if the clock is too fast? – David Schwartz Sep 27 '12 at 7:07

The option (1) is preferable as ntpd is capable to correct the constant error of the machine clock. If you use option (2) then the time is not counted monotonically. As for all cluster nodes be one ntp server - yes, I think it is an overkill.

share|improve this answer
up vote 0 down vote accepted

And the most important, i found that with the first method, our cluster nodes drift more than 15 seconds frequently. Thanks to Linux ntpd and ntpdate service now i know the reason, maybe for some reason the timedrift is bigger than 2 seconds and ntpd refused to do anything then.

For what David Schwartz said, i found this useful: As mentioned elsewhere, NTP provides a smooth time correction. If the applications on your server don't mind have whole seconds go missing, or doing the same seconds over again, then ntpd doesn't gain you much over ntpdate.

If on the other hand you do have time-sensitive applications that are sensitive to seconds, or even worse are sensitive to partial seconds, then ntpd is by far the better choice. Novell eDirectory timestamps updates for update-collision handling, which becomes critical if the updates come very fast (such as during the morning login rush). A syslog server needs to have time accurate to at least the half second in order to keep sane logs. Link:

Thanks, all.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .