
Search the Knowledge Base: |
Search the Knowledge Base: |
This article provides steps to install and configure NTP on an ESX host.
To configure NTP on the service console, you must:
Specify a pool of NTP servers to which your ESX system will sync. For more information about using NTP server pools, see http://www.pool.ntp.org/use.html.
For better protection, you may want to add noquery, which prevents remote queries, and nopeer, which prevents a host from trying to peer with your server and to allow a rogue server to control the clock.
Refer to http://www.eecis.udel.edu/~mills/ntp/html/accopt.html for a full description of these access control commands.
The 0, 1, and 2.vmware.pool.ntp.org names point to a random set of servers that change every hour.
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 http://www.eecis.udel.edu/~mills/ntp/html/notes.html.
Perform the following steps as the root user on the service console.
[root@esxhost]# esxcfg-firewall --enableService ntpClient
Perform these steps as root on the service console.
Additional documentation for NTP is available at http://ntp.isc.org/bin/view/Main/DocumentationIndex.
To install and configure NTP on the console operating system (service console):
These examples use a source server IP address obtained from a list of open access NTP servers. You may select one that suits you from http://ntp.isc.org/bin/view/Servers/WebHome.