How to install and configure NTP on VMware ESX host
The following article will guide you ‘how to install and configure NTP on VMware ESX host’
1. SSH on to VMware ESX host service console as the root user
2. Make a backup copy of existing files.
[root@esxhost]#cp /etc/ntp.conf /etc/ntp.conf.orig
[root@esxhost]#cp /etc/ntp/step-tickers etc/ntp/step-tickers.orig
3. Edit /etc/ntp.conf
[root@esxhost]#vi /etc/ntp.conf
#Insert the following details as example below:
restrict ntp1.planetmy.com kod nomodify notrap server
restrict ntp2.planetmy.com kod nomodify notrap server
server ntp1.planetmy.com
server ntp2.planetmy.com
driftfile /var/lib/ntp/drift
authenticate yes
Please refer to here for a full description of these access control commands. The driftfile line indicates the name of the file where the value for the system’s clock drift (frequency error) is stored. For a more complete definition of driftfile, see here.
4. Edit /etc/ntp/step-tickers
[root@esxhost]#vi /etc/ntp/step-tickers
#Insert the following ntp server as example below:
ntp1.planetmy.com
ntp1.planetmy.com
5. Edit /etc/hosts
[root@esxhost]#vi /etc/hosts
#Insert the following details as example below:
10.10.10.1 ntp1.planetmy.com ntp1
10.10.10.2 ntp2.planetmy.com ntp2
Possibly Related Posts:
- lppasswd: Unable to open passwd file: Permission denied
- How To Capture PUTTY Session Log
- How to Add Date And Time To Your Bash History on SuSE Linux
- How to clean EMC CX 3-80 Dirty Cache?
- Check File Size Command on Linux