Title: xntp setup Subject: configure 3 ntp servers in a fault tolerant triad. 20010920 jstile: Fix for the time sync on clustering.skyflow.com: Configured the xntpd service. sfs1, sfs2, and admin1 are peers Each sync with 2 different stratum 2 time servers. server list: http://www.eecis.udel.edu/~mills/ntp/clock2.htm IN addition to this next stuff, cron the update of bios time: #Minute Hour Day(1-31) Month Weekday(0-6) Command ################################################### # update the bios time. 0,50/10 * * * * /sbin/clock -w >/dev/null 2>&1 For auto daylight savings, check /etc/sysconfig/clock: UTC=true ======================= lvs1: ----------------------- /etc/ntp.conf ----------------------- ############################## #### Skyflow Custom Section #### ############################## # Server Location: USC Information Sciences Institute, Marina del Rey, CA server timekeeper.isi.edu # 128.9.176.30 # Server Location: scruz-net, inc. Santa Cruz, CA USA server ns.scruz.net # 165.227.1.1 # Server Location: UCSD Academic Computing Services/Network Operations, San Diego, CA server ntp.ucsd.edu # 132.239.254.49 peer 192.168.2.85 # sfs1 peer 192.168.2.82 # sfs2 broadcast 192.168.2.255 keys /etc/ntp.keys requestkey 65534 controlkey 65535 #this lets us use "xntpdc" as well as "ntpq -p" to monitor enable monitor ################################ #### END Skyflow Custom Section #### ################################ ------------------------- /etc/ntp.keys ------------------------- 2313 M APassword 65534 M NoSecret 65535 M BadKey ======================= sfs1: ----------------------- /etc/ntp.conf ----------------------- ############################## #### Skyflow Custom Section #### ############################## # Server Location: Datum Inc., Bancomm-Timing Division, San Jose, CA server nist1.datum.com # 63.149.208.50 # Server Location: AOL Time Warner facility, Sunnyvale, California server nist1.aol-ca.truetime.com # 207.200.81.113 peer 192.168.2.80 # admin1 peer 192.168.2.82 # sfs2 broadcast 192.158.2.255 keys /etc/ntp.keys requestkey 65534 controlkey 65535 #this lets us use "xntpdc" as well as "ntpq -p" to monitor enable monitor ################################ #### END Skyflow Custom Section #### ################################ ------------------------- /etc/ntp.keys ------------------------- 2313 M APassword 65534 M NoSecret 65535 M BadKey ======================= sfs2: ############################## #### Skyflow Custom Section #### ############################## # Server Location: Quincy, CA, USA server ntp2.mainecoon.com # 63.192.96.3 # Server Location: Lake Arrowhead, CA, USA server time.five-ten-sg.com # 205.147.40.34 peer 192.168.2.80 # admin1 peer 192.168.2.85 # sfs1 broadcast 172.16.246.255 keys /etc/inet/ntp.keys requestkey 65534 controlkey 65535 #this lets us use "xntpdc" as well as "ntpq -p" to monitor enable monitor ################################ #### END Skyflow Custom Section #### ################################ ------------------------- /etc/ntp.keys ------------------------- 2313 M APassword 65534 M NoSecret 65535 M BadKey ================================= # Peer configuration used by all broadcast clients at mynet.com # broadcastclient yes broadcastdelay 0.0500 driftfile /etc/inet/ntp.drift keys /etc/inet/ntp.keys requestkey 65534 controlkey 65535 This is the ntp.keys file: 2313 M APassword 65534 M NoSecret 65535 M BadKey