We help IT Professionals succeed at work.

The time keeps changing on server- ESXi

Tore Jacobsen
on
12,763 Views
Last Modified: 2012-05-11
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?
Comment
Watch Question

Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
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 PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
what is the time on the servers console?
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
Tore JacobsenSystem adminstrator

Author

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 PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
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.
CERTIFIED EXPERT

Commented:

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
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
how are you checking esxi time?

esxi time is always utc, or should be.
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Tore JacobsenSystem adminstrator

Author

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 PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
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 PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
also check times in virtual machine bioses
Tore JacobsenSystem adminstrator

Author

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 adminstrator

Author

Commented:
a true genius

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.