7 replies
by rbgnr111
by sreese
by cmorris
You might try using Network Time Protocol (NTP) developed at Univ. of Delaware.
http://www.eecis.udel.edu/~ntp/index.html
Works on lots of platforms and keeps systems pretty close to the same time.
by sreese
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
by sreese
by sreese
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending