Cannot synchronize to server with local clock



Can you shed some light on whether the 'stratum 8' tactic should be
a 'server' line, or should it be a 'fudge' line?

Here's the example ntp.conf=====
restrict default ignore
restrict 127.0.0.1
restrict 192.168.1.0 mask 255.255.255.0
server mytrustedtimeserverip prefer # scada/master (PC w/human w/ mark-1 eyeball & timex)
server 127.127.1.0 stratum 8 prefer # new release has this line for local clock when scada is down & site depends on me
fudge 127.127.1.0 stratum 8 # previous release had this line to accomplish the above line...
driftfile /etc/ntp/drift

=====Should I take out the 'fudge' line, or the 'server ... stratum 8 prefer' line?

Here's the gotchya: I'm not guaranteed to *have* a scada,
and if it crashes I'm the time master for the 0-11 other systems in the site
until it comes back.

Where does LOCAL appear? ntp.conf?

Brian Brunner
brian.t.brunner@xxxxxxxxxxxxxxx
(610)796-5838

>>> serge.bets@xxxxxxxxxxxxxxxxxxxxxx 07/20/05 06:25PM >>>
On Wednesday, July 20, 2005 at 9:32:31 PM +0930, Tim wrote:

> I have dial-up internet, so my network is only ever on the net some of
> the time. I had that machine run a local clock, since the machine is
> always running, and used it as the clock server for my LAN (so they
> all stayed in step with each other).

Yes, that's one of the usages of LOCAL(), undisciplined or rarely
disciplined, fudged at a high stratum like 8 or 10.


> If I remember correctly, its stratum changed from 16 when unsynced, to
> one less than the source it uses for synchronising (when in sync with
> it).

The LOCAL() driver stratum is fixed. The *server* stratum varies from 16
at startup to +1 of it's current syspeer, be it an Internet server or
the LOCAL() driver. Your other LAN clients in turn are current stratum
of server +1.

> the computers keep time well enough, just free wheeling along
> individually, that they could carry on as they were until the next
> time the LAN was connected to the internet.

So you removed LOCAL()? Without sync machines will diverge. Perhaps
enough to take longer to sync during short online sessions. Or worse
begin to sync with a large frequency peek just when you hangup, then
continue free wheeling but on a this anormal frequency. Finally a client
(re)booted will have false time until next dialup, if ntpd has not died
before on "no servers reachable". Not good.

My advice for you would be to set a 127.127.1.0 stratum 8 prefer on your
server, and another one stratum 14 (but not prefer) on a given client.
This way you have eternal sync, only one sync source at a time, and you
can shutdown server *or* given client for maintenance.


Serge.
--
Serge point Bets arobase laposte point net

_______________________________________________
questions mailing list
questions@xxxxxxxxxxxxxxxxx
https://lists.ntp.isc.org/mailman/listinfo/questions

*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

www.hubbell.com - Hubbell Incorporated
_______________________________________________
questions mailing list
questions@xxxxxxxxxxxxxxxxx
https://lists.ntp.isc.org/mailman/listinfo/questions

.



Relevant Pages

  • RE: Synching with Exchange server from inside and outside the network
    ... synchronize your Pocket PC with Outlook. ... Can you synchronize your Pocket PC with Exchange server externally (server ... SBS 2003 supports ActiveSync via a client, or Server ActiveSync if you have ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot synchronize to server with local clock
    ... > I have dial-up internet, so my network is only ever on the net some of ... fudged at a high stratum like 8 or 10. ... The *server* stratum varies from 16 ... artificially extends sync forever. ...
    (comp.protocols.time.ntp)
  • Re: Cannot synchronize to server with local clock
    ... >> stratum 14 on a given client. ... No "prefer" on server in this case! ... The given client is not a leaf. ... not against MCT, last time I checked. ...
    (comp.protocols.time.ntp)
  • Re: SNTP server + ntpd 4.2.4 client
    ... that is your new client. ... plus the error from the stratum one to the stratum 2. ... That does not help if the server does not have good time. ... An SNTP server which is attached to a GPS? ...
    (comp.protocols.time.ntp)
  • Re: Philosophical question about strata
    ... A stratum one server is stratum one because it gets its time from a primary standard; ... A server that gets its time from a WWV receiver is technically stratum one and can be several milliseconds off because of the vagaries of HF radio propagation. ... A client that is three thousand miles away from a stratum one server and receiving time over a heavily used network is probably getting time that is an order of magnitude poorer than a client three hundred feet away. ...
    (comp.protocols.time.ntp)