Link to home
Start Free TrialLog in
Avatar of Tore Jacobsen
Tore JacobsenFlag for Norway

asked on

The time keeps changing on server- ESXi

Hi. Have a ESXi server with 2 Virtual 2008 servers on.
The time on the 2 servers keep changing.. First I found that the time and date was wrong in BIOS on host.
Chaged that and the date was correct on servers. But time was 2 hours fast.
We are at CET + 2 so I went back in to Bios and sat clock to 2 hours early (compensating for the CET+ 2 hours)
Nex day it had changed again, added 2 more hours...

So in bios it's set to 08.00 time here is 10.00 and servers are showing 12.00 ...

Any ideas?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

do you use an NTP server to sync the host server to?

do you have vmware tools installed, and sync time to thebhost?

have you also set the time zone correctly in the virtual machines?
Avatar of slefebvre1
slefebvre1

Hi,
If your server are note domain controller, i recommend that you synchronize with the domain hierarchy
You will have to set the following key with the value "NT5DS"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NTP

The just do a net time w32time && net start w32time && w32tm /resync

Every 15 minutes by default, your server will syncrhonize with the PDC master.

HTH,
Samuel LEFEBVRE
Avatar of Tore Jacobsen

ASKER

Have tried disableing windows time service with same result.
In vmware tool the "time sync between vm's and ESX server" is unchecked

Time zone is correct on vsphere clinet pc and vm's

No the time is 11.10 on vsphere clinet, 13.10 on servers and 09.10 in bois..
the time in vsphere cliient is automatically adjusted to the local time of the pc.

is this the time on the server checked if you login to the server by esxi?

what are the virtual machines?

normally you sync vm time with host time, if yhey are not dc.

User this "Windows Time Agent Control Panel Applet" its a freeware utility and let you setup the time you want on server and then you can sync other server with this server.
http://www.greyware.com/software/domaintime/instructions/misc/agent/agent-free.asp
how are you checking esxi time?

esxi time is always utc, or should be.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Checked time in windows on pc running vSphere. Correct time (CET + 1).
Checked time on virtual servers (sbs 2008 + win 2008 std)  incorrect time CET + 3
checked time in bios on host, have changed from I set it to CET-1 to CET + 1

So Now the BIOS on host are correct (CET+1) and the Virtual servers keep changing to CET+3
TNB!! hey are not changing time zone, just time
what is the time on the server at the console.

its possible that esxi thinks that the time from bios is utc, and then time zone changes on vms would be +3.

check time on esxi server. by logging in to the server and pasting here.
also check times in virtual machine bioses
Found that in vsphere, under host and config that the time was set wrong.
Don't know where it got the time setting from or what it affects, but have now changed that, Bios on host and in windows on Virtual servers and on pc running vsphere.

Hope this solves it.
Thank u all for helping! Love this forum!
a true genius