To avoid time synchronization problems between an ESXi host and other components in the vSphere network, you can synchronize the time and date of the host to an NTP server.

The NTP and the PTP services cannot run simultaneously. Disable the PTP service and then enable the NTP service. Additionally, when you enable the NTP service, the manual time configuration becomes inactive.
Note: You can set an NTP service startup policy to control the start and stop of the NTP service. You can also change the NTP service status manually. For more information about services, see Change the NTP and PTP Service Status on the Host Manually.

Prerequisites

  • Verify that the PTP client is disabled.

Procedure

  1. In the vSphere Client home page, navigate to Home > Hosts and Clusters.
  2. Select a host.
  3. On the Configure tab, select System > Time Configuration.
  4. In the Network Time Protocol pane, click Edit.
  5. In the Edit Network Time Protocol dialog box, edit the network time protocol settings.
    1. Select Enable.
    2. In the NTP Servers text box, enter the IP addresses or host names of the NTP servers that you want to use.
    3. (Optional) To start the NTP service immediately, select the Start NTP Service check box.
    4. From the NTP Service Startup Policy drop-down menu, select an option for starting and stopping the NTP service on the host.
      Option Description
      Start and stop with port usage Starts the NTP service when an NTP client port is enabled. Stops the NTP service when all ports are closed.
      Start and stop with host Starts and stops the NTP service when the host powers on and shuts down.
      Start and stop manually You must manually control the status of the NTP service.
    5. Click OK.