In VSphere 5.0 ESXi we can not set time synchronization with a NTP server because the ESXi host is on a private network with no Internet access, so we have to rely on the internal server clock.
I noticed that if I set the right time in the CMOS clock, VSphere client sets time 1 hour forward. On the other hand If I adjust time setting in VSphere, at reboot CMOS clock is automatically set 1 hour back. Perhaps this behaviour depends on the fact that our zone is GMT +1, but I can not understand where VSphere takes this information, and mostly if I have to set time from BIOS, or directly in VSphere client.
Thank you all.
Victor
ESXi uses UTC time and does not support changing time zones.
vSphere Client uses the time zone settings of the system on which it is installed to adjust the displayed time.
Can someone please help me in explaining me in a detail way regarding this issue? why the time is going 1 hour back or 1 hour forward?
Am in IST - indian standard time (http://www.timeanddate.com/library/abbreviations/timezones/)
Thanks
khamru
Ok, VSphere takes information about time zone from the system on which is installed, but then why doesn't take from it also hours, minutes and seconds informations? There is always a difference of about ten seconds between time on VSphere and time on my system...
Thank you for your answer.
You can follow the below steps to set the time zone, let us know if you find any difficulties
Note: It is not necessary to reboot the ESX host after following this procedure.
After updating /etc/localtime with the correct zoneinfo data, confirm the system and hardware clocks are correct. Use the Linux date command to check and set the correct time if necessary. Set the hardware clock to match the correct system time:
...but this kb states that ESXi doesn't support time zones:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1436
Hi anyone had a fix on this , we are using UK time zone and seems to have the same issue.
The ESX server are all 1 hour behind the v center server
I would say, use NTP settings on ESXi5.0
I would second NTP Server suggestion.
@ Beck,
The NTP settings on Vsphere(under time configuration)shows the NTP servers are configured and displays correct time,however when i log on to esxi using SSh and check the time it is 1 hour behind.
Thanks for any help
Thanks
zonunpuia wrote:
@ Beck,
The NTP settings on Vsphere(under time configuration)shows the NTP servers are configured and displays correct time,however when i log on to esxi using SSh and check the time it is 1 hour behind.
Thanks for any help
okie, can you restart the ntp services and make sure all the ports and all opened between your NTP server and its working perfectly. If there is proper NTP settings for ESXi, it should take the time from NTP when you start the services.
port 123( udp), unfortunately you can't telnet udp ports.
ESXi uses UTC time and does not support changing time zones.
As such, you need to set the time on your vSphere Hosts' BIOS to the current UTP time. NTP will then configure the time correctly in vSphere