?
Solved

Hyper-V Time Synchronization : guest sbs2011 always ahead a few minutes

Posted on 2013-06-10
5
Medium Priority
?
373 Views
Last Modified: 2014-11-12
Hi everyone,

This subject has been discussed a million times, and I have spent a few hours reading one site after the next and I think a need new eyes to have a look at this at tell me what to do.

On many sites (http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx seems to be the most "official"), it is recommended to NOT disable the Time Sychronization.

One has to disable in the guest VM, on the domain controller (sbs 2011 in my case), that the sychronization is made with the parent host (which is a hyper-v core, not connected to the internet, not in the domain).

I did so and if I query the ntp source, I have pool.ntp.org, which is correct.

If I force a sync, the time is set accurately, but a few seconds later, it jumps again a few minutes (4 in my case). This case is also mentioned on many site (and on the link above).

Please help, this is really driving me nuts :)
0
Comment
Question by:StephRu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 20

Expert Comment

by:Peter Hutchison
ID: 39236297
Really the PDC should be synced with a valid and reliable time source such as a NTP server on the internet and from no where else. Other VMs should sync with the PDC using it as the source (using type NT5DS for w32time).
0
 
LVL 1

Author Comment

by:StephRu
ID: 39236315
That's right and that's what I'm doing.

But the PDC (my sbs2011) is always off 4 minutes. It acts as if I didn't disable the sync with the host. The command that I used is :

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled /t reg_dword /d 0

And as said, if I query the source, it will indicate pool.ntp.org and if I force a sync, it will be correct.. .but a few seconds later, it will change and jump 4 minutes.
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 39283993
Looks like a problem with the W32time service acting as NTP client. From my experience W32time is a constant source of annoyance it it's used that way.

I'd recommend to switch to the "real thing" - disable W32time completely and install a classic NTP service. Easy to install and to configure, and works like a charm. Please see this article for a simple howto and further references.

Be sure that W32time is completely disabled when using a NTP client, because 2 services manipulating the system clock will cause unpredictable ( & wrong) results.
0
 
LVL 1

Accepted Solution

by:
StephRu earned 0 total points
ID: 39545754
I have abandoned the possibility to configure my client independently from the host, as best practices tell to do so.

So I just updated my host clock and connected it again to the internet, but I really don't like this option, as I really like the idea that my Hyper-V Core was not connected to the local lan (and to the internet).
0
 
LVL 1

Author Closing Comment

by:StephRu
ID: 39558226
I never found how to solve my initial question... so I used another way to fix my problem :(
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question