Synchronize VM time with VMware host time
To successfully activate your gateway, you must ensure that your VM time is synchronized to the host time, and that the host time is correctly set. In this section, you first synchronize the time on the VM to the host time. Then you check the host time and, if needed, set the host time and configure the host to synchronize its time automatically to a Network Time Protocol (NTP) server.
Important
Synchronizing the VM time with the host time is required for successful gateway activation.
To synchronize VM time with host time
-
Configure your VM time.
-
In the vSphere client, right-click on the name of your gateway VM in panel on the left side of the application window to open the context menu for the VM, and then choose Edit Settings.
The Virtual Machine Properties dialog box opens.
-
Choose the Options tab, and then choose VMware Tools from the options list.
-
Check the Synchronize guest time with host option in the Advanced section on the right side of the Virtual Machine Properties dialog box, and then choose OK.
The VM synchronizes its time with the host.
-
-
Configure the host time.
It is important to make sure that your host clock is set to the correct time. If you have not configured your host clock, perform the following steps to set and synchronize it with an NTP server.
-
In the VMware vSphere client, select the vSphere host node in the left panel, and then choose the Configuration tab.
-
Select Time Configuration in the Software panel, and then choose the Properties link.
The Time Configuration dialog box appears.
-
Under Date and Time, set the date and time for your vSphere host.
-
Configure the host to synchronize its time automatically to an NTP server.
-
Choose Options in the Time Configuration dialog box, and then in the NTP Daemon (ntpd) Options dialog box, choose NTP Settings in the left panel.
-
Choose Add to add a new NTP server.
-
In the Add NTP Server dialog box, type the IP address or the fully qualified domain name of an NTP server, and then choose OK.
You can use
pool.ntp.org
as the domain name. -
In the NTP Daemon (ntpd) Options dialog box, choose General in the left panel.
-
Under Service Commands, choose Start to start the service.
Note that if you change this NTP server reference or add another later, you will need to restart the service to use the new server.
-
-
Choose OK to close the NTP Daemon (ntpd) Options dialog box.
-
Choose OK to close the Time Configuration dialog box.
-