Cisco DTA Control System (DTACS) 1.2 Betriebsanweisung
Configuring the NTP
69
8 Use the vi editor to edit the ntp.conf file so that the first lines contain an entry for
each NTP server that you choose to use.
Example:
Example:
server dncsatm mode 10 prefer
server 127.127.1.0 #local clock will engage if GPS fails
fudge dncsatm stratum 13
driftfile /etc/ntp.drift
Note: Simply replace the IP address with the NTP server name defined in the
/etc/hosts file.
/etc/hosts file.
9 Type :wq! to save these changes and exit the vi editor.
10 Type /etc/init.d/xntpd stop and press Enter to stop the ntpd process.
11 Type /etc/init.d/xntpd start and press Enter to re-start the ntpd process.
12 Type pgrep -fl ntp and press Enter to verify the ntpd process is running.
10 Type /etc/init.d/xntpd stop and press Enter to stop the ntpd process.
11 Type /etc/init.d/xntpd start and press Enter to re-start the ntpd process.
12 Type pgrep -fl ntp and press Enter to verify the ntpd process is running.
Example:
29840 /usr/local/xntpd/ntpd -c /etc/inet/ntp.conf -p /etc/ntp.pid -l
/var/adm/log/ntp
13 Type ntpq and press Enter to display the ntpq prompt.
14 Type peers and press Enter to verify the DNCS is the clock being used.
14 Type peers and press Enter to verify the DNCS is the clock being used.
Example:
remote refid st t when poll reach delay offset disp
======================================================================
LOCAL(0) LOCAL(0) 5 l 21 64 377 0.00 0.000 0.94
*dncsatm 10.90.176.136 4 u 28 64 377 1.46 -15.339 0.94
Notes:
The appearance and content of the results will vary according to your System
release version.
release version.
The asterisk (*) in front of the dncsatm (as shown in the above example)
indicates that the DTACS is using the DCNS ATM as a reference clock and
that the DTACS server is synchronized to the DNCS.
indicates that the DTACS is using the DCNS ATM as a reference clock and
that the DTACS server is synchronized to the DNCS.
Important: If the asterisk (*) is in front of LOCAL, then the DTACS is not
synchronized to the DNCS. It is synchronized with the hardware clock on the
server. This situation must be corrected immediately.
synchronized to the DNCS. It is synchronized with the hardware clock on the
server. This situation must be corrected immediately.
15 At the ntpq> prompt, type lass and press Enter.
Results: A result similar to the following examples appear on the screen.
Example:
Example:
ind assID status conf reach auth condition last_event cnt
===========================================================
1 27724 9014 yes yes none insane reachable 1
2 27725 9614 yes yes none sys.peer reachable 1