1. Log in to the Control Station as root.
2. Check the status of the NTP daemon by typing:
# ps -ef |grep ntpd
Output:
ntp 30818 1 0 Aug07 ? 00:00:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid
3. Display information about the ntpd status by typing:
# /sbin/service ntpd status
Output:
ntpd is stopped
4. Display information about the ntpd configuration by typing:
# /sbin/chkconfig ntpd –list
Output:
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
5. Open the /etc/ntp.conf file for editing.
6. Add the NTP server IP address to the file by typing:
server 10.xx.xx.xx
7. Save the file and exit.
8. Open the /etc/ntp/step-tickers file for editing.
9. Add the NTP server IP address to the file by typing:
server 10.xx.xx.xx
10. Save the file and exit.
11. Set up the NTP daemon for run-levels 3, 4, and 5 by typing:
# /sbin/chkconfig –level 345 ntpd on
12. Display information about the ntpd configuration by typing:
# /sbin/chkconfig ntpd –list
Output:
ntpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
13. Start or restart the NTP daemon by typing:
# /sbin/service ntpd start
Output:
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]
# /sbin/service ntpd restart
Output:
Shutting down ntpd: [ OK ]
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]
Note: If the response for synchronizing with the time server is positive, the NTP client
was able to communicate with the NTP server.
14. Check the status of the NTP daemon by typing:
# ps -ef |grep ntp
Output:
ntp 25048 1 0 13:09 ? 00:00:00 ntpd -u ntp:ntp -p
/var/run/ntpd.pid
15. Display information about the ntpd status by typing:
# /sbin/service ntpd status
Output:
ntpd (pid 25346) is running…
16. Display the list and status of the peers for the NTP server by typing:
# /usr/sbin/ntpq -p
Output:
r remote refid st t when poll reach delay offset jitter
==============================================================================
*10.0.50.xx 212.26.18.41 2 u 655 1024 377 1.755 -17.314 1.915
I need to have at least two accessible and responding NTP servers configured for the time service on VNX.
How to configure a second NTP server in VNX?