Re: [SLUG] ntp, xntp help

From: Mike Branda (mike@wackyworld.tv)
Date: Thu Jun 03 2004 - 17:47:31 EDT


(RESOLVED)

O.K.... Here's what ended up working for all those interested.

Local Server ntp.conf

server us.pool.ntp.org
server us.pool.ntp.org
server us.pool.ntp.org

##
## Undisciplined Local Clock. This is a fake driver intended for backup
## and when no outside source of synchronized time is available.
##
server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized

broadcast 192.168.0.2

driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
logfile /var/log/ntp # alternate log file

Client ntp.conf

server 192.168.0.2
driftfile /etc/ntp/drift

Explanation - (as I understand it anyway..)

The www.ntp.org page said to use several lines of the server because of
the fact that they are a pool, and a different server is assigned for
each line. the local clock keeps things sync'd internally even if the
whole pool at pool.ntp.org goes down. The broadcast was interesting due
to the fact that it did not work until I set it to the actual server's
IP. I saw several solutions that said 192.168.0.255 but that didn't
work. if it's not the system's IP, it has to be a multicast address
like 224.0.1.1 it seems. and the drift file is a must. it isn't created
by default according to the website so you have to do a touch to the
file. I opted out of the internal peer thing due to the fact that I
would have had to list out the 72 renderfarm boxes and they should still
stay in sync because of the server's local fakeout. I will be adding the
keys soon to secure it. the thing that started all of this that
actually ended up screwing me up is that one of the farm boxes told me
that it was tomorrow in a log. the snip about the ntp daemon dying if
off by more than 1000 sec. was one of the big road blocks.

I apologize if this was drawn out. It just seems that when people
figure stuff out because of the list help, sometimes I dont notice any
RESOLVED posts of the solution. there have been several things that
others have needed and I too shared that need, but never saw the final
result.

Thanks to all!!

Mike Branda

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:09:54 EDT