Solved

Time Synchronization on Hyper-V VM DC

Posted on 2010-08-30
4
2,247 Views
Last Modified: 2013-11-11
Scenario:
HOST- IBM x3550 server
Server 2008 R2 w/ Hyper-V role only

VM- Server 2008 R2 DC (the only DC)

All clients in the network are accurately sync'ing time with the DC. The issue is that the DC keeps falling behind. Loses about 1 sec/min. I edited the registry to tell the DC to sync with an internet time source, but it was still falling behind. Then I de-selected the Time Synchronization option the the VM in the host Hyper-V manager, since I thought that might be a conflict, but it seemed to get worse.

Currently, w32tm status on each is:
Host-
C:\Users\administrator.[domainname]>w32tm /query /status
Leap Indicator: 3(last minute has 61 seconds)
Stratum: 0 (unspecified)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0312500s
Root Dispersion: 16.0100000s
ReferenceId: 0x00000000 (unspecified)
Last Successful Sync Time: 8/18/2010 2:03:09 PM
Source: Free-running System Clock
Poll Interval: 10 (1024s)

Open in new window


VM-
C:\Users\administrator.[domainname]>w32tm /query /status
Leap Indicator: 3(last minute has 61 seconds)
Stratum: 0 (unspecified)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0312500s
Root Dispersion: 16.0100000s
ReferenceId: 0x00000000 (unspecified)
Last Successful Sync Time: 8/18/2010 2:03:09 PM
Source: Free-running System Clock
Poll Interval: 10 (1024s)

Open in new window


What is the best (most reliable) configuration for this scenario?
0
Comment
Question by:wmcdon7160
[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
4 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 250 total points
ID: 33561063
The time sync with the Host computer should not be checked this will cause the time issues.

Import this reg file this will configure all settings for you.

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_23630502.html
0
 
LVL 2

Assisted Solution

by:geniph
geniph earned 250 total points
ID: 33631539
On my virtual DCs, I turned off both the time service in the Integration services, and also disabled the Hyper-V Time Synchronization, then I stopped getting time service errors and the VDC's quit losing or gaining time.
0
 
LVL 3

Author Closing Comment

by:wmcdon7160
ID: 33648411
Thanks to both of you. I left the integration services enabled , but also left the VM to get time from an internet source. It seems to be working now.
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 35794055
Are any of your DCs on physical boxes? If they are then set them up to pull time from pool.ntp.org. Then set up your hosts and guests to pull from that DC. Allow firewall exceptions for NTP inbound on that DC.

If all DCs are VMs then set up one of the physical hosts to poll pool.ntp.org for time and then set the VMs to poll the host. Again set the firewall accordingly.

http://blog.mpecsinc.ca/2011/01/hyper-v-preparing-high-load-vm-for-time.html

We have had a lot of pain over the time skew situation for VMs.

The above methods work for us. In some cases we drop in an HP MicroServer with Win2K8 R2 running as a DC and set it up to poll pool.ntp.org and then have all VMs poll it for time.

The problem has to do with the polling frequency needed as indicated in the blog post. Do that to ntp.org's servers and they will pass along the Kiss-Of-Death packets basically killing the ability to poll their servers for time.
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

623 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