To ensure that the Horizon Cloud Connector virtual appliance authenticates correctly with the cloud control plane and the required Connection Server instances, you must synchronize the virtual appliance's clock with a Network Time Protocol (NTP) server. Synchronize the clock on the Horizon Cloud Connector virtual appliance with the clock on the physical ESXi host on which the virtual appliance resides, after first ensuring that the host itself is properly synchronized with an NTP server.
Procedure
- (Preferred method) Synchronize the Horizon Cloud Connector virtual appliance with the physical ESXi host on which the virtual appliance resides.
- Verify that the ESXi host's clock is properly synchronized with an NTP server.
- Use vSphere Client to open the Edit Settings window of the Horizon Cloud Connector virtual appliance and enable the Synchronize Time with Host option.
For detailed instructions, see the
VMware vSphere Documentation.
Note: In
Horizon Cloud Connector 1.5 and later,
Synchronize Time with Host is enabled by default.
- (Alternative method) If you are unable to synchronize the Horizon Cloud Connector virtual appliance with the physical ESXi host, you can synchronize the virtual appliance directly with an NTP server.
Note: The preferred method of time synchronization is to synchronize the virtual appliance with the physical
ESXi host. Use the following steps only if you are unable to perform the preferred method.
- Open an SSH connection to the Horizon Cloud Connector virtual appliance, and log in as the
root
user.
- Using a text editor such as
vi
, open the timesyncd.conf file for editing.
vi /etc/systemd/timesyncd.conf
- Edit the
[Time]
section so that it resembles the following example. Replace ntpAddress with the domain name of the NTP server that you want to use.
[Time]
#FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
NTP=ntpAddress
Save your changes to the
timesyncd.conf file and exit the text editor.
- Restart the virtual appliance's network service.
systemctl restart systemd-networkd
- Restart the virtual appliance's timesync service.
systemctl restart systemd-timesyncd
- Verify that the clock on the virtual appliance is now synchronized with the specified NTP server.