Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Time Synchronization on Hyper-V VM DC

Posted on 2010-08-30
4
Medium Priority
?
2,254 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
4 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 1000 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 1000 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 40

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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

876 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