[ntp:questions] "Proper" way to test simple, new NTP configuration?

ohaya ohaya at cox.net
Fri May 20 12:29:22 UTC 2005


Hi,

I'm trying to setup NTP on a small network consisting of all Sun Solaris
systems.

I'm appending a post that I just made to the Sun admin NG about our
configuration, but after doing more reading, I'm wondering if maybe the
problem was 'how' we did the test.

As mentioned below, to test this, after getting all of the xntpd's up, I
simply set the clock back on Solaris1, then watched.  Since making the
post, I've found a couple of msgs that seem to indicate that maybe I
should have killed the xntpd on Solaris1 (our NTP "server"), then set
the time back on that system, then restart the xntpd.

Can someone here comment on this?  What is the best (and easiest way) to
determine if this simple NTP setup is actually working?

Thanks,
Jim


================= Post about our configuration
==========================
Hi,

I have a very small network consisting of 4 Solaris servers (Solaris1,
..., Solaris4) and want to configure NTP so that Solaris2, Solaris3, and
Solaris4 synch their time to Solaris1.

This is an isolated network (no outside connection available), so from
what I've read, I think that Solaris1 should be synched to itself?

We tried to set this up yesterday, and got the xnptd running on all 4
machines, but when we tested, it didn't seem that anything was happening
(we ran snoops on port 123 on several of the machines).

We tested by first using ntpdate on Solaris2, 3, and 4 to get them
synched to Solaris1, then starting the xnptd on those machines, then
setting the system clock on Solaris1 back about 10 minutes, and then
watching the snoop output for awhile.

Can someone provide what the basic ntp.conf file should look like for
Solaris1 and for the other Solaris machines (Solaris2, 3, and 4)?

Thanks,



More information about the questions mailing list