Operating System - HP-UX
1838642 Members
2182 Online
110128 Solutions
New Discussion

Sync'ing Two servers system clocks?

 
SOLVED
Go to solution
Vito Sarducci
Regular Advisor

Sync'ing Two servers system clocks?

How can i synchronize two servers system clocks so my Service Control Manager works properly?

Please advise

Chris
chrisam@rocketmail.com
Lifes too short to stress out, Enjoy every day you have on earth!
6 REPLIES 6
Eileen Millen
Trusted Contributor

Re: Sync'ing Two servers system clocks?

xntpd
You can search the forums for ntp and find
lots of good information.
Jim Turner
HPE Pro

Re: Sync'ing Two servers system clocks?

man xntpd
melvyn burnard
Honored Contributor

Re: Sync'ing Two servers system clocks?

HP-UX systems have the xntpd daemon and xntp facility to sync clocks together.
You can use SAM to set these up, els as above, use the man pages.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
James R. Ferguson
Acclaimed Contributor
Solution

Re: Sync'ing Two servers system clocks?

Hi Chris:

You can use NTP. It's part of HP-UX.

There's a good guide to setting up NTP in "Installing and Administering Internet Services" here:

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

For a list of available time sources, see:

http://www.eecis.udel.edu/~mills/ntp/clock1.htm
If you wish to merely synchronize locally take a look at Knowledge Base document #A5864817. You can use one of your servers as a "master" clock for the remaining ones without going outside of your local network.

...JRF...
leereg_5
Frequent Advisor

Re: Sync'ing Two servers system clocks?

1.server
#vi /etc/ntp.conf
server 127.127.1.1
fudge 127.127.1.1 stratum 10
#ci /etc/rc.config.d/netdaemons
NTPDATE_SERVER=
XNTPD=1
XNTPD_ARGS
Always UNIX!
leereg_5
Frequent Advisor

Re: Sync'ing Two servers system clocks?

1.server
#vi /etc/ntp.conf
server 127.127.1.1
fudge 127.127.1.1 stratum 10
#ci /etc/rc.config.d/netdaemons
NTPDATE_SERVER=
XNTPD=1
XNTPD_ARGS
#/sbin/init.d/xntpd start
2.client
#vi /etc/ntp.conf
server 128.1.1.1
driftfile /etc/ntp.drift
#vi /etc/rc.config.d/netdaemons
NTPDATE_SERVER=128.1.1.1
XNTPD=1
XNTPD_ARGS=
#/sbin/init.d/xntpd start
Always UNIX!