Environment: NTP Clients (AIX 6.1 TL07) + P/S NTP Servers (ST1 GPS).
Symptom:
- the
ntpq -pn
command outputs both the primary and secondary (candidate) NTP server. - the
ntptrace
command just outputs both the loopback and primary NTP server.
Questions:
- Why would the loopback appear in the
ntptrace peers
list even without this entry in thentpq
(ntp.conf
)? - Why would the secondary (candidate) NTP server entry not appear in the
ntptrace peers
list?
# grep -Ev "^(#|$)" /etc/ntp.conf
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server 10.16.27.24
server 10.18.12.15
# ntpq -pn
remote refid st t when poll reach delay offset disp
==============================================================================
*10.16.27.24 .GPS. 1 - 42 128 377 0.98 -0.078 0.11
+10.18.12.15 .GPS. 1 - 20 16 377 1.89 -0.056 0.41
# ntptrace
loopback: stratum 2, offset -0.000290, synch distance 0.00131
10.16.27.24: stratum 1, offset -0.000308, synch distance 0.00000, refid 'GPS'
ntptrace
want to show servers that are not used for time synchronisation? Why should it skip showing the stats for the local machine (loopback
)?