1832973 Members
2530 Online
110048 Solutions
New Discussion

time syncronisation

 
Dave Elliott
Frequent Advisor

time syncronisation

Hi guys
I need to syncronise all my unix boxes to one machine, i know that this is possible but have never done it, so i have two questions.
How do i make one unix machine the central time server.
or idaelly is it possible to get the unix boxes to talk to an existing NT time server and if so how.
regards
Oracle DBA
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: time syncronisation

Andrew,

You can use SAM to walk you through NTP setup, both server and client. Also take a look at man xntpd.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: time syncronisation

Oh, and "Installing and Administering Internet Services" has a section on NTP, as well. You should be able to find it on docs.hp.com.

Pete

Pete
Cheryl Griffin
Honored Contributor

Re: time syncronisation

Chapter 8 Configuring the Network Time Protocol(NTP)

http://www.docs.hp.com/hpux/onlinedocs/B2355-90741/00/00/67-con.html
Cheryl
"Downtime is a Crime."
Ravi_8
Honored Contributor

Re: time syncronisation

Hi,

'ntpdate' is the command to do this.

look at the man pages of ntpdate
never give up
Steven E. Protter
Exalted Contributor

Re: time syncronisation

If you are lucky, you can open up port 123, I think it is and get your time information from a true Internet source. Of course most firewall people think this is a huge risk.

If you need to rely on another Unix box, it will work okay.

If you need to work with a Microsoft Windows/NT/2000/XP time server, you may have an issue.

HP-UX 11.00 would not time synch properly against Microsoft's time server for NT/Server. It seems Microsoft didn't properly follow NTP protocols.

The good news is Doctor David Mills from the University of Delaware has links to a better program that works according to standards.

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

This web site is worth the look.

Go for a close NTP server as well. There is no need to pick on the armed forces for time. A close university, the Universtity of Chicago in my case works quite well for my Linux boxes at home.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paul Sperry
Honored Contributor

Re: time syncronisation

/sbin/init.d/xntp stop

ntpdate ip-adres-timeserver

/sbin/init.d/xntpstart