Operating System - HP-UX
1831664 Members
2022 Online
110029 Solutions
New Discussion

Re: Steps to configure hpux server with a time sync server

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Steps to configure hpux server with a time sync server

Hi,

We are already running time sync server. I want to configure a hpux machine to receive
its time from the time sync servers. What are the steps required to configure it ?

Thanks,
Shiv
5 REPLIES 5
DCE
Honored Contributor

Re: Steps to configure hpux server with a time sync server


The simplest/easiest way is to use SAM. It will do all the setup for you.

A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Steps to configure hpux server with a time sync server

If by "time sync" server you mean an NTP server then

edit the file /etc/ntp.conf and
add entries similar to this:

server mickey.mouse.com version 3 prefer
server minnie.mouse.com version 3
server goofy.dog.com

Save the file.

Next edit /etc/rc.config.d/netdaemons and set XNTPD=1

cd /sbin/init.d/
./xntpd start

You can also use SAM to set up Network Time.

Before doing anything, you should read /usr/share/doc/NTP_Primer.txt. It is an excellent guide to setting up NTP and choosing time servers (and yes, you need more than one).
If it ain't broke, I can fix that.
Rick Garland
Honored Contributor

Re: Steps to configure hpux server with a time sync server

You can get a list of time servers from the following URL

http://ntp.isc.org/bin/view/Servers/WebHome

Depending on where you are located, make appropriate selection

This will list those sites that are open, closed, permission required, etc...


Chandra Sekhar_5
Occasional Advisor

Re: Steps to configure hpux server with a time sync server

Once you configure the ntp client, run
ntpq -p command to know the status . It shows the associations, time difference between server and client etc. For more details you can run interactive ntpq by just typing #ntpq and at next prompt type "help" for more options.
James R. Ferguson
Acclaimed Contributor

Re: Steps to configure hpux server with a time sync server

Hi Shiv:

In additon to the informatino already provided, I would suggest you read chapter-7 of "Installing and Administering Internet Services: HP 9000 Networking":

http://docs.hp.com/en/B2355-90685/index.html

Regards!

...JRF...