Configure one host against two ntp servers for redundancy

Dears all
is it possible to have two NTP servers in one host ?
how i can configure them .
please advice

Frankly, i don't get what this should be good for. Could you please explain what exactly you are trying to achieve?

in the configuration file /etc/ntpd.conf . I suggest you read the man page for "ntpd" before trying to configure it.

I hope this helps.

bakunin

Now i get it! You want your client to reference two NTP servers! I was thinking you want to use one host to run two server processes and this confused me.

We have exactly this setup, i will post it here tomorrow morning, when i arrive in the office.

I hope this helps.

bakunin

thank you alot my friend and i am waiting for your post :slight_smile:

I am so frank to answer^^ Afaik you just add a 2nd line starting with the "server" specification, like:

###########################################################################
#
# Default NTP configuration file.
#
#   Broadcast client, no authentication.
#
#broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server ntp1.somedom.org
server ntp2.somedom.org

Don't forget to refresh or restart it with:

refresh -s xntpd
# if this shouldn't be enough try a
stopsrc -s xntpd
startsrc -s xntpd

Here is the documentation that should apply:
Configuration of xntpd

I changed the subject for easier understanding.