1819804 Members
3109 Online
109607 Solutions
New Discussion юеВ

configuring NTP server

 
Paul T. Green
Advisor

configuring NTP server

I want to configure NTP server so that other HP-UX clients can synchronize to obtain the correct time.

Any suggestions, please let me know.

Thanks,

Frank Quinteros
frank.quinteros@groupvu.com
We'd like to know a little bit about you for our files.... Paul Simon
4 REPLIES 4
Deshpande Prashant
Honored Contributor

Re: configuring NTP server

HI
Here is link to online documentation for installing/configuring NTP.

http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html

HTH
Prashant.
Take it as it comes.
S.K. Chan
Honored Contributor

Re: configuring NTP server

Here is a simple implementation of NTP that I've done before (using one of the server as master clock).

NTP Server
----------
1) Edit "netdaemons" config file :-
# vi /etc/rc.config.d/netdaemons
....
export XNTPD=1
....

2) Check to make sure timezone is correct (file /etc/TIMEZONE).

3) Edit /etc/ntp.conf
# vi /etc/ntp.conf
server 127.127.1.1 # Psuedo IP identifies this system as time source
fudge 127.127.1.1 stratum 10 # Stratum 10 means it's not a reliable time source

4) Start NTP
# /sbin/init.d/xntpd start

I'm going to assume you know how to setup the client side.

hope this helps ..


Santosh Nair_1
Honored Contributor

Re: configuring NTP server

Basically set up your /etc/ntp.conf file specifying the your time source. Then set up /etc/rc.config.d/netdaemons so that XNTPD=1 and finally start the ntp daemons by running /sbin/init.d/xntpd start.

For more information see:

http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html

Chapter 7: Configuring the Network Time Protocol (NTP)

-Santosh
Life is what's happening while you're busy making other plans
James R. Ferguson
Acclaimed Contributor

Re: configuring NTP server

Hi:

The document Santosh has referenced is an excellent guide. You can configure one of your own servers to serve as a local time source, propagating it to others in your network, or you can establish connectivity to an external source to which you can synchronize and propagate time.

For a good list of time sources, see:

http://www.eecis.udel.edu/~mills/ntp/clock1.htm
Regards!

...JRF...