Network Time Server

Marc Unangst mju at mudos.ann-arbor.mi.us
Sun Apr 14 08:59:03 AEST 1991


rbraun at spdcc.COM (Rich Braun) writes:
> minute per day.  The SCO documentation doesn't say anything about how
> one sets up a reference time source; timed only serves the purpose of
> synchronization, and there's no way of telling it which system is "the"
> reference source.

You need to designate the master time server, which is the machine
whose clock is assumed to be correct, and the reference source for the
other machines.  If you give timed the "-m" flag when you start it up,
it will tell the daemon to poll the network looking for other timed
master servers; if there aren't any, then it will become the master
server and notify the other slave timed's of this.

If the master server drops off the net for some reason, the slave
timed's are supposed to hold an "election" to decide who gets to be
the new master.  I believe the election procedure goes something along
the lines of computing the average of all the slaves' clocks, and then
picking the timed whose time was closest to the average as the new
master.  A timed that has the -m flag set (but didn't become a master
when started, because there was already a master on the network) has
precedence over timed's without the -m flag.

I believe there is also a utility (timeadm?) to maintain the timed
server, change which machine is the master server, etc.

All of this is documented nicely in the timed(1) man page, BTW.

--
Marc Unangst               |
mju at mudos.ann-arbor.mi.us  | "Bus error: passengers dumped"
...!hela!mudos!mju         | 



More information about the Comp.unix.sysv386 mailing list