SUMMARY: NTP - 2 questions

From: <>
Date: Wed Jan 29 2003 - 08:21:55 EST
Thanks to everyone for help with this.  A lot of responses, I will put the popular ones.

If your 7500 is really capable of being an NTP server, then an
/etc/inet/ntp.conf like:

   server servername
   driftfile /etc/inet/ntp.drift


   % sudo /etc/init.d/xntpd start

Is all you need.

ntpdate servername

You can't run ntpdate if xntpd is already running.

If xntpd is running, 'ntpq -p' will tell you if it is actually

If ntpdate doesn't work right, 'ntpdate -d servername' will tell you


The command, "ntpdate <SERVERNAME>" will force a time-warp clock adjust, 
synching local client clock to <servername> assuming it is an NTP server.

This is a one-jump-adjust, not a gradual ramping, I might warn you :-)

Solaris boxes don't care what OS/platform the NTP server is AFAIK, so 
just setup an ntp.conf file appropriately, ie, approx something thus? % more /etc/inet/ntp.conf
## NTP Config Oct-19-2001 TDC
## SLAVE synching against local time source (DIAN)

server prefer minpoll 8 maxpoll 12
fudge stratum 9

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable


The only line that really matters is the first "server" declaration. All 
beyond that is icing on the cake. Minpoll, maxpoll are just there to 
keep traffic down, I'm not concerned at the level of nanoseconds here :-)

Once the ntp.conf file exists, the next time you reboot, ntp daemons 
will kick in. Or, create this conf file, start up the daemon manually:


and once running, get usefull diagnostic info from command,

ntpq -p

ie, % ntpq -p
     remote           refid      st t when poll reach   delay   offset 
*dian.ecopiabio.  3 u  107  256  377     0.78   -3.352 
 LOCAL(0)        LOCAL(0)         9 l   14   64  377     0.00    0.000 

in this case we see the (*) marks the ntp server the client is synching 
against. note that after starting the daemon, it may take a while for 
this to really happen, depending on time differential, latency of 
connection, etc etc.


My Solaris 8 systems are clients of various NTP servers, so in that
sense I do have experience; however, I would never dream of syncing
them to anything Cisco. [We have plenty of Cisco gear. It's giving us
plenty of headaches.]

That said, our /etc/inet/ntp.conf file looks something along the lines of:
server key 111
server key 222
server key 333

keys /etc/inet/ntp.keys
trustedkey 111 222 333

restrict default ignore
restrict nomodify
restrict nomodify
restrict nomodify


SolarisSys wrote:

>We have a Cisco 7500 router that is running NTP and I am looking how to configure my Solaris 8 systems to be clients.  Does anyone have any experience with this.
>Also, a while ago I ran a command that would adjust the time of my Solaris 8 systems and sync them up with an outside time server.  I cannot remember the command for the life of me.  Can someone remind me of this simple command.  Apologies for the simplicity.
>The NEW Netscape 7.0 browser is now available. Upgrade now! 
>Get your own FREE, personal Netscape Mail account today at

The NEW Netscape 7.0 browser is now available. Upgrade now! 

Get your own FREE, personal Netscape Mail account today at
sunmanagers mailing list
Received on Wed Jan 29 08:26:09 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:02 EST