[ntp:questions] ntpd stays synced after loosing gps
nowhere at mail.ru
Wed May 11 15:29:19 UTC 2011
And what if it has no "other source" ?
May be you could give me an advice on my system. I have one device synced
from GPS and other devices synced from it by NTP. Often there will be only
one NTP server.
When sync server looses GPS I set some variable to "unsync" ( according to
ntpd system status ).
Other devices should also have status "unsync" and stop syncing but they
will continue to sync from unsynced source with stratum 1 infinitely.
2011/5/11 Miroslav Lichvar <mlichvar at redhat.com>
> > ntpq> rv
> > associd=0 status=0028 leap_none, sync_unspec, 2 events, no_sys_peer,
> > version="ntpd 4.2.7p164 at 1.2483 Wed May 11 07:27:34 UTC 2011 (1)",
> > processor="UNKNOWN", system="QNX/6.5.0", leap=00, stratum=1,
> > precision=-10, rootdelay=0.000, rootdisp=9.456, refid=PPSE,
> That has changed with ntp version 4, it doesn't increase stratum and
> change leap to unsync, it will keep increasing the root dispersion
> instead. When the distance reacheas a certain limit, the clients will
> switch to another source.
> Miroslav Lichvar
> questions mailing list
> questions at lists.ntp.org
More information about the questions