[ntp:questions] prefer keyword and server failover

Richard B. Gilbert rgilbert88 at comcast.net
Sun Apr 27 11:33:24 UTC 2008


Andrew Stone wrote:
> Hi all,
> 
> I would like to configure my ntp client to use 2 servers only. I want it to receive 
>updates from only one of them, but then use the other when that one fails. What is the
>best way to do this? Will setting the primary server to use the  'prefer' keyword work?
> 

Sort of!  Two servers is generally a poor choice.  If they differ, as 
they inevitably will, which one should you believe?  'Prefer' will tell 
your client which one to believe but with a couple more servers ntpd 
should be able to figure out which one is closest to being correct!




More information about the questions mailing list