For ease of troubleshooting it is best to have all servers synchonized with the right time. To set up your host to be an NTP client follow these steps:
- check to see if the NTP client software is installed: rpm -qa|grep ntp
- if the software is not installed it can be installed with: yum install -y ntp
- ensure that the NTP services come up after a system reboot:
a. chkconfig ntpd on
b. service ntpd start - after installing the software sync the system clock with an NTP server from the list below: ntpdate 0.north-america.pool.ntp.org
- type 'date' to confirm the date and time are correct
Note: These steps assume DNS is set up correctly. If not then enter the NTP server list below into /etc/hosts, following the format of the file. A sample /etc/hosts file is attached.
1. 0.north-america.pool.ntp.org 206.10.154.2
2. 1.north-america.pool.ntp.org 72.18.205.157
3. 2.north-america.pool.ntp.org 199.249.223.123
4. 3.north-america.pool.ntp.org 67.18.208.240
0 Comments