1833883 Members
2054 Online
110063 Solutions
New Discussion

Re: ntpd time servers

 
SOLVED
Go to solution
Ouri David
Frequent Advisor

ntpd time servers

We have 3 HP-UX time server machines s1,s2,s3.
We want s1,s2,s3 to continue serving their
clients but at the same time take their time
from two window 2000 time servers w1,w2.
on s1 /etc/ntp.conf
peer s2 version 3
peer s3 version 3
brodcastclient no
on s1 /etc/rc.config.d/network
export NTPDATE_SERVER='s2 s3'

what changes must be done to these files ??
may be to additiona files ??
thanks
david
5 REPLIES 5
tecnomatix
Occasional Advisor

Re: ntpd time servers

as far as i know you should also edit /etc/ntp.conf in the clients side.
you should also add "ntpdate w1" on their crontab's
Ayelet Regev
John Payne_2
Honored Contributor
Solution

Re: ntpd time servers

Why not just edit the /etc/ntp.conf of s1,s2,s3 to say:
server w1 version 3 prefer
server w2 version 3

But have 2 prefer w1, and have the other prefer w2.

That's what we do here. (Except not to a windows machine. We bought a couple GPS time clocks...)

Hope it helps

John
Spoon!!!!
John Bolene
Honored Contributor

Re: ntpd time servers

just use sam and configure the settings for botht he clients and servers

servers should point to one server as prefer, and the others as just servers

clients can also specify a preferred server
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
pete_14
Frequent Advisor

Re: ntpd time servers

/etc/ntp.conf
server w1
server w1
peer s2
peer s3
driftfile /etc/ntp.conf/drift

/etc/rc.config.d/network
export NTPDATE_SERVER="w1 w2"
XNTPD=1
Ouri David
Frequent Advisor

Re: ntpd time servers

Thanks for the help
John Payne solution suits me
david