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?
Tore JacobsenSystem adminstratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
what is the time on the servers console?
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"

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.

CEOs need to know what they should worry about

Nearly every week during the past few years has featured a headline about the latest data breach, malware attack, ransomware demand, or unrecoverable corporate data loss. Those stories are frequently followed by news that the CEOs at those companies were forced to resign.

Tore JacobsenSystem adminstratorAuthor Commented:
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..
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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.
Faisal KhanCommented:

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.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
how are you checking esxi time?

esxi time is always utc, or should be.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Okay to try and explain a little more clearly I've screen grabbed my screens

 Time on ESXi
You can clearly see on the ESXi console the time is 09:38 UTC.

You can see the time has been adjusted to the local time zone of the Client PC using the vSphere Client to 10:38 BST (British Summer Time UTC+1)

and you can see on my client PC the time is also 10.38 BST (British Summer Time UTC+1), okay it's a bit out, because my notebook doesn't time sync to domain, so is runnign fast.

So I would set the time in the Server BIOS to UTC, check that this time gets saved correctly after a reboot, and the time is still running in UTC.

Then check the time on the ESXi server at the console, not via the vSphere client, it should also show UTC.

Then checking in vSphere Client should reflect the time zone of your PC which is UTC+2.

and then Sync the Virtual Machines, by ticking the box to sync with host, and altering the Time Zone in Virtual Machines to also UTC+2.

Also check there is no time zone adjustement in the BIOS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tore JacobsenSystem adminstratorAuthor Commented:
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
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
also check times in virtual machine bioses
Tore JacobsenSystem adminstratorAuthor Commented:
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!
Tore JacobsenSystem adminstratorAuthor Commented:
a true genius
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.