Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Synchronisation 1

Status
Not open for further replies.

csunix

Programmer
Mar 23, 2004
129
GB
Has anyone ever time sync a Solaris server to a windows server? If so how is this done?

Thanks, CS
 
Hi. Presumably you could use xntpd for this.

I want to be good, is that not enough?
 
Yes, we currently do this at the site where I work. The first and most crucial step is to get the Windows server to use a NTP (Network Time Protocol) that is compatible with Solaris (ie RFC 1305) - see man xntpd. Beware, some Microsoft implementations of NTP use different/later versions (which are not compatible).
Test it with:
ntpdate -q <windows-server>.<domain>
(NB: we use FQDN for most servers at this site, but it is not essential. Use what is in DNS or /etc/hosts).

Provided this works, then create a file called /etc/inet/ntp.conf with the following line in it:
server <windows-server>.<domain>

To start it running, use:
/etc/init.d/xntpd start
(which is normally run at system boot time, but the act of creating the ntp.conf satisfies the 'if' to make it start)


I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top