NTP


Configure Time Servers and Peers

This is one of the differences between the test cluster at the NRAO/AOC and the production cluster at USNO. The test cluster will use NRAO's stratum 1 timeservers and stratum 2 peers. The USNO will use USNO stratum 1 timeservers and stratum 2 peers.

Configure ntpd
Change the peer line as appropriate
Production Server
cat > /etc/ntp.conf << EOM
restrict default kod nomodify notrap nopeer
restrict -6 default kod nomodify notrap nopeer
restrict 127.0.0.1 
restrict -6 ::1
restrict 10.1.34.0 mask 255.255.255.0

driftfile /var/lib/ntp/drift
keys /etc/ntp/keys

server 192.5.41.40
server 192.5.41.41

peer usno-serv-2              # The other USNO infrastructure server
EOM
Test Server
cat > /etc/ntp.conf << EOM
restrict default kod nomodify notrap nopeer
restrict -6 default kod nomodify notrap nopeer
restrict 127.0.0.1 
restrict -6 ::1

driftfile /var/lib/ntp/drift
keys /etc/ntp/keys

server ntp1-a.evla.nrao.edu     # VLA stratum 1
server ntp1-b.evla.nrao.edu     # VLA stratum 1
server yed.gb.nrao.edu          # GB stratum 1

peer usno-serv-2              # The other USNO infrastructure server
EOM
Change the peer line as appropriate

restart ntpd
/etc/init.d/ntpd restart


Topic revision: r3 - 2015-08-04, KScottRowe
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback