[ntp:questions] Ntp not syncing after powerfail of server
heiko.removethistext.gerstung at meinberg.de
Thu May 19 14:01:36 UTC 2011
Am 18.05.2011 11:57, schrieb M. Giertzsch:
> Hello together,
> I want to synchronise a local network and there is no uplink to the outside world.
> So I have one dedicated ntp server and all other devices are client of this server.
> Now if there is a powerfail, there is no guarantee that the server has finished the boot
> before the clients have. In this case the time will not be synced.
> Is anybody aware of options taking account to this? Does anyone know threads
> or howtos for further reading? Am I doing a mistake or do I have my clients missconfigured?
Maybe I am missing something, but if you use ntpd on the client machines, they will poll the server in intervals. So even if
they do not get a response the first time they ask, they should receive the time on the second try (and all consecutive calls).
We have no chance to tell you whether you have misconfigured your clients, because we do not know
- what OS your clients are running on
- what kind of NTP software you are using (ntpd version X or something else?) on the clients and on the server
- how your current configuration looks like (ntp.conf?)
I could imagine that your clients probably use ntpdate or a similar software to query the time once during startup, but that
is just me guessing your setup. If that would be the case, all you could probably do is inserting a sleep before the ntpdate
call or some other ugly workaround like this.
More information about the questions