Well, in the man page for xntpd on HP-UX 11.11, I read that:-
This, to me, means that you are agreeing the time between yourself and server_B, i.e. local server can affect server_B. I would expect you can code more than one server statement. On AIX I have:-
broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server u-dc-01.*****.co.uk version 3 prefer
server u-dc-02.*****.co.uk version 3 prefer
and that seems to work quite well.
There are other things to consider if your NTP server goes pop and you use this server for other things, such as DNS. You would need an alternate and a suitable timeout setting up.
I hope that this helps,
Robin
Liverpool/Blackburn
UK
We have one NTP server on the Intranet which has an external connection through the firewall to multiple time servers on the Internet. This is not perfect but it works. For resilience we should have at least two more time servers such that the NTP algorithms can determine the correct time.
One basic point about using NTP is that you should run your server clock in UTC and ensure that the correct $TZ (timezone) variable is set for any processes run by users or background processes.
However NTPDATE_SERVER address have the address of primary time server only.
/etc/ntp.conf file
server SERVER_A prefer
server SERVER_B
netdaemons file
export NTPDATE_SERVER=SERVER_A
export XNTPD=1
Now say SERVER_A goes down and xntpd uses SERVER_B for time synchronization then I need to manually change the netdaemons file and update the NTPDATE_SERVER=SERVER_B.
Are u making two NTP server, using those clients will sync.
If you are configuring NTP client only, the ur configuration is right now. u just need to run /sbin/init.d/xntpd stop and the start. ur client will sync everytime to available NTP server. (no manual intervention needed)
after this run ntpq -np (after 3 -4 min). ur NTP client will be sync.
Yes I want to make two ntp servers using which clients will sync, main purpose here is if one of the ntp server fails,client should automatically sync using another server.