Information
NOTE: Update NTP_SERVER with the appropriate value for the local environment.
Solution
Perform the following From the vSphere web client-
1. Select the host.
2. Click 'Manage' -> 'Settings' -> 'System' -> 'Time Configuration'.
3. Click the 'Edit...' button.
4. Click on 'Use Network Time Protocol'.
5. Provide the name and / or IP of your NTP servers. Separate servers with commas.
6. If the NTP Service Status is 'Stopped', click on 'Start'.
7. Change the startup policy to 'Start and stop with host'.
8. Click 'OK'.To implement the recommended configuration state, run the following PowerCLI
command-# Set the NTP Settings for all hosts
# If an internal NTP server is used replace pool.ntp.org with
# the IP address of the internal NTP server
$NTPServers = 'pool.ntp.org', 'pool2.ntp.org' Get-VMHost | Add-VmHostNtpServer
$NTPServers
Default Value-The prescribed state is not the default state.