Information
To ensure the accuracy of the system clock, it must be synchronized with an authoritative time source within DOD. Many system functions, including time-based logon and activity restrictions, automated reports, system logs, and audit records, depend on an accurate system clock. If there is no confidence in the correctness of the system clock, time-based functions may not operate as intended and records may be of diminished value.
Satisfies: SRG-OS-000355-VMM-001330, SRG-OS-000356-VMM-001340
Solution
To configure NTP, perform the following:
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Time Configuration.
Click "Add Service" and select "Network Time Protocol".
Enter or update the NTP servers listed with a comma-separated list of authoritative time servers. Click "OK".
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Select the "NTP Daemon" service and click "Edit Startup Policy".
Select "Start and stop with host". Click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$NTPServers = "ntpserver1","ntpserver2"
Get-VMHost | Add-VMHostNTPServer $NTPServers
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "NTP Daemon"} | Set-VMHostService -Policy On
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "NTP Daemon"} | Start-VMHostService
To configure PTP, perform the following:
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Time Configuration.
Click "Add Service" and select "Precision Time Protocol".
Select the network adapter that can receive the PTP traffic.
If NTP servers are available, select "Enable fallback" and enter or update the NTP servers listed with a comma separate list of authoritative time servers. Click "OK".
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Select the "PTP Daemon" service and click "Edit Startup Policy".
Select "Start and stop with host". Click "OK".