Solved

Time Synchronization on Hyper-V VM DC

Posted on 2010-08-30
4
2,238 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

710 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