[ntp:questions] orphan mode and layered redundancy

Florin Andrei florin at andrei.myip.org
Fri May 27 23:13:15 UTC 2011


I ended up doing this:

On the local NTP servers A ... F:

###################################
restrict default kod nomodify notrap nopeer noquery
restrict 127.0.0.1

restrict  bunch     mask 255.255.0.0 nomodify notrap
restrict  of        mask 255.255.0.0 nomodify notrap
restrict  internal  mask 255.255.255.0 nomodify notrap
restrict  networks  mask 255.255.255.0 nomodify notrap

pool us.pool.ntp.org iburst preempt prefer

peer A iburst
peer B iburst
peer C iburst
peer D iburst
peer E iburst
peer F iburst

tos orphan 10

driftfile /var/lib/ntp/drift
###################################

On the cluster members X ... Z:

###################################
server A iburst prefer
server B iburst prefer
server C iburst prefer
server D iburst prefer
server E iburst prefer
server F iburst prefer

peer X iburst
peer Y iburst
peer Z iburst

tos orphan 12

restrict A nomodify notrap nopeer noquery
restrict B nomodify notrap nopeer noquery
restrict C nomodify notrap nopeer noquery
restrict D nomodify notrap nopeer noquery
restrict E nomodify notrap nopeer noquery
restrict F nomodify notrap nopeer noquery

restrict X nomodify notrap
restrict Y nomodify notrap
restrict Z nomodify notrap

restrict 127.0.0.1

restrict default ignore

driftfile /var/lib/ntp/drift
###################################

The stratums for the tos orphan were chosen kind of arbitrarily.

-- 
Florin Andrei
http://florin.myip.org/



More information about the questions mailing list