[ntp:questions] peer command and clusters
Florin Andrei
florin at andrei.myip.org
Mon Mar 28 18:47:01 UTC 2011
Let's assume I upgrade to a newer version that accepts the "source"
keyword. Then how about this config?
Is there are risk of too many internal servers picking other internal
servers to sync their time - and not enough servers using external
sources? Should I skew the selection using "prefer" with the external
servers?
Ideally, I'd like most of my NTP servers to use the public pool most of
the time. The peers are there "just in case". But if some of my servers
sync up preferentially to some other internal servers, that's fine.
############################################
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org
restrict source nomodify notrap noquery
# comment out your own name
#
peer ntp1
#peer ntp2
peer ntp3
peer ntp4
peer ntp5
peer ntp6
driftfile /var/lib/ntp/drift
# allow NTP clients to query this server
#
restrict XXX.YYY.ZZZ.0 mask 255.255.255.0 nomodify notrap
# allow local queries
#
restrict 127.0.0.0 mask 255.0.0.0
# disallow everybody else
#
restrict default ignore
############################################
--
Florin Andrei
http://florin.myip.org/
More information about the questions
mailing list