General discussion

Locked

Time Keeping

By sreese ·
I have five servers, 2 Unix, 2 Netware, and Windows 2000, How can I keep all servers on the same time?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Time Keeping

by rbgnr111 In reply to Time Keeping

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.

Collapse -

Time Keeping

by sreese In reply to Time Keeping

Poster rated this answer

Collapse -

Time Keeping

by cmorris In reply to Time Keeping

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.

Collapse -

Time Keeping

by sreese In reply to Time Keeping

Poster rated this answer

Collapse -

Time Keeping

by ghislain.levesque In reply to Time Keeping

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

Collapse -

Time Keeping

by sreese In reply to Time Keeping

Poster rated this answer

Collapse -

Time Keeping

by sreese In reply to Time Keeping

This question was closed by the author

Back to Linux Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums