...
Time synchronization between the VMware Horizon DaaS Desktone appliances is incorrect.When you run the command desktone@SP1:~$ date; ssh appliance_IP date, you see that the time in the appliances do not match For example, when you run this command from the primary SP appliance, comparing with another appliance in environment: desktone@SP1:~$ date; ssh root@169.254.10.14 date You see output similar to: Fri Dec 7 20:10:10 UTC 2012 Fri Dec 7 20:10:18 UTC 2012 This output indicates a time difference between the appliances. Note: A time drift of more than 2-3 seconds is sufficient to cause problems and needs to be corrected. All appliances in the data center must synchronize with the time on the primary SP appliance (or the secondary SP appliance, if primary is not available).
To resolve this issue, edit the ntp.config file in both the SP appliance to synchronize the time. In both SP appliances, edit the /etc/ntp.conf file. The address of the ntp server you synchronize with should be added in the ntp.conf file. To edit the ntp.conf file: Search for the word server.After server, add the ntp server address you want to use. For example: server pool.ntp.org Force an update with the ntp server in both SP appliances by running this command: /etc/init.d/ntp stop ntpdate IP_of_external_ntp_server /etc/init.d/ntp start Connect to the tenant appliances and synchronize time with the SP appliance by running this command: ssh root@tenant_eth1_address For example: ssh root@169.254.23.10 Edit the /etc/ntp.conf file. The address of the ntp server you synchronize with should be added in the ntp.conf file. Search for the word server.After server, add the SP server address. For example: server SP_appliance1_eth1_address server SP_appliance2_eth1_address Force an update with the SP by running this command: /etc/init.d/ntp stop ntpdate link_local_ip_of_SP1_node /etc/init.d/ntp start Verify the time synchronization between: SP and tenant appliancesSP and rmgr appliancesSP and dtRAM appliances From SP appliance run this command: date, ssh root@tenant/dtRAM/Rmgr_appliance eth1_address date For example: desktone@SP1:~$ date; ssh root@169.254.10.14 dateYou see output similar to:Fri Dec 7 20:10:10 UTC 2012Fri Dec 7 20:10:10 UTC 2012Note: The resource managers (rmgr) and dtRAM must also synchronize its time with the SP appliances. The rmgr appliances and dtRAM are configured using the same process as described for tenant appliances.
If ntp time source is updated in the SP, you must change this in the SP fdb otherwise any SP restores are configured with old NTP info.To view current NTP source in SP fdb, run this SQL statement:SELECT * from datacenter_ntp_server ;To update NTP time source in SP fdb, run this SQL statement:UPDATE datacenter_ntp_server SET ntp_ip_address=new_NTP_address;