Cisco Headend System Release 2.7 Installation Guide

Page of 188
 
Chapter 8    Configure the Network Time Protocol 
 
 
 
132 
78-4036705-01 Rev D 
Configuring the NTP 
Configuring the NTP Server 
Complete the following steps to sync the NTP server on the DTACS Server with the 
time server on the DNCS server.  
1  Open an xterm window. 
2  Type 
pgrep -lf ntp
 and press Enter to verify that xntpd is not running before 
you continue. 
 
If xntpd is running, a message similar to the following will appear: 
1136 
/usr/local/xntpd/ntpd -c /etc/inet/ntp.conf -p /etc/ntp.pid 
-l /var/adm/log/ntp
 
 
If xntpd is not running, nothing will appear after you enter the command. 
3  As root user, type 
/usr/local/xntpd/ntpdate -d <IP of NTP Server>
 
and press Enter to verify network connectivity to the NTP server. 
Example: 
# /usr/local/xntpd/ntpdate -d 10.253.0.1
 
Notes: 
 
Use the DNCS as the NTP server. This keeps the DTACS time in sync with 
the DNCS. The DNCS should already be configured to use an NTP server. 
 
You may have multiple NTP servers. 
Results: The system should respond with both transmit and receive packets 
followed by time information sent from the NTP server. If the final line of the 
output states "no server suitable for synchronization found", then either a 
problem exists with the NTP server or a network issue is preventing a 
connection. Verify the IP address with your Network Administrator and attempt 
the command listed above again. If you are still unable to resolve this problem, 
contact Cisco Services for assistance. 
4  Type 
su -
 and press Enter to change to root. 
5  Use the vi editor to add the NTP server IP's to the /etc/hosts file. Add the IP and 
hostname of each NTP server. For example: 
10.253.0.1     dncsatm
 
Notes: 
 
There should already be a dncsatm entry in the /etc/hosts file. 
 
You can also include additional NTP server entries in the /etc/hosts file. 
6  Type 
cd /etc/inet
 and press Enter to change to the /etc/inet directory. The 
/etc/inet directory becomes the working directory. 
7  Type 
cp ntp.conf ntp.conf.bak
 and press Enter to make a copy of the 
existing ntp.conf file.