Discussion Locked

Time Keeping

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have five servers, 2 Unix, 2 Netware, and Windows 2000, How can I keep all servers on the same time?

7 replies

by rbgnr111

you should be able to point them all at an ntp server. netware 5 and above supports ntp in the timesync.cfg, you need the entry to specifty the port (ex. servername:123). windows 2000 supports it through the net command, (net time servername). and unix you would need to have ntpd loaded, and edit the ntp.conf to point it to the time server. The unix servers could also act as your time servers if you want them to.

by ghislain.levesque

You could setup one of your server as na NTP server, or use an external NTP you could sync on.

Here is how to setup a Solaris NTP server as a client:
1. Copy over /etc/inet/ntp.client to /etc/inet/ntp.conf

# cp /etc/inet/ntp.client /etc/inet/ntp.conf
This file should have an entry like : server hostanem_of_timeserver

2. start xntpd daemon on client

# /usr/lib/inet/xntpd

3. check to see if it is bound to a NTP server or not.

blach# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*paly .LCL. 1 m 51 64 376 1.66 -4.109 1.21

4. Also you can set the time by using ntpdate command.

# ntpdate server_name

That means you don't need to run this xntpd daemon on the client, you can just call
this command ntpdate to synchronize time on your machine by putting it as a cron job and calling it
periodically.

A good URL for more understanding on NTP is:

http://www.eecis.udel.edu/~ntp/

NTP SERVER SETUP:
1. Copy over /etc/inet/ntp.server to /etc/inet/ntp.conf as:

# cp /etc/inet/ntp.server /etc/inet/ntp.conf
2. edit ntp.conf file
make the necessary modifications
3. save this file and exit.
4. Start xntpd daemon
#/usr/lib/inet/xntpd
5. Verify the server setup
#ntpq -p

This discussion is closed to new replies.