Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NTP on Hyper-V PDC running 1/2 hour fast

Posted on 2015-01-14
8
Medium Priority
?
290 Views
Last Modified: 2015-01-15
On a Windows 2008 Hyper-V PDC the NTP service is configured to sync with external source. This is the only DC in a small network.



C:\Users\Administrator.XXXXXX>w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference - syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0000000s
Root Dispersion: 10.0000000s
ReferenceId: 0xD0359E22 (source IP:  208.53.158.34)
Last Successful Sync Time: 1/14/2015 9:51:23 PM
Source: 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org
Poll Interval: 6 (64s)


C:\Users\Administrator.XXXXXX>net stop w32time & net start w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.

The Windows Time service is starting.
The Windows Time service was started successfully.


C:\Users\Administrator.XXXXXX>w32tm /resync /force
Sending resync command to local computer
The computer did not resync because no time data was available.

Late here. will check for posts in the AM.
0
Comment
Question by:rettif9
[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
  • 2
  • 2
8 Comments
 
LVL 7

Author Comment

by:rettif9
ID: 40550522
forgot to mention the system time in the system tray is about 1/2 hour fast. I tried to reset but it immediately went back to 1/2 hour fast. Edited registry per this link; http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx prior to running commands above.
0
 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 400 total points
ID: 40550543
Is the PDC a Virtual Machine in Hyper-V? If so, right click on the virtual machine in Hyper-V Manager > Settings > click on Integration Services in the left pane > untick Time Synchronization if it's ticked.

Below is a screenshot from Hyper-V Manager on a 2008 R2 server but it the steps should be similar in 2008.
Disable-Time-Sync-in-VM.png
0
 
LVL 39

Accepted Solution

by:
Philip Elder earned 1600 total points
ID: 40551206
We have a blog post here that helps: MPECS Inc. Blog: Hyper-V: Preparing A High Load VM For Time Skew . Run steps 4 through 8 on your PDCe setting for your local NTP servers.

In a standalone Hyper-V setting we set the host to poll ntp.org and then the guest to poll the host (firewall exceptions for NTP required and service setup required on host). We do this where we need to run more frequent polling due to high loads as NTP.org's servers will send a Kiss-O-Death packet for too frequent polling.

Once the steps are complete the source server should reflect one of the ntp.org servers.

We do _not_ enable time sync on DCs in Integrated Services.

EDIT: Check the time zone on your PDCe. It may be off.
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 7

Author Comment

by:rettif9
ID: 40551275
time zone is correct.
time sync is unchecked
followed steps in blog
time in system tray is still about 30 mins. off, date is correct.

C:\Users\Administrator.XXXXXX>w32tm /config /syncfromflags:manual "/man
ist:0.ca.pool.ntp.org,ox1 1.ca.pool.ntp.org,0x1 2.ca.pool.ntp.org,0x1 3.
ntp.org,0x1" /reliable:yes
The command completed successfully.

C:\Users\Administrator.XXXXXX>w32tm /config /update
The command completed successfully.

C:\Users\Administrator.XXXXXX>net stop w32time && net start w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.

The Windows Time service is starting.
The Windows Time service was started successfully.


C:\Users\Administrator.XXXXXX>w32tm /resync /force
Sending resync command to local computer
The command completed successfully.

C:\Users\Administrator.XXXXXX>w32tm /query /source
3.ca.pool.ntp.org,0x1
0
 
LVL 7

Author Comment

by:rettif9
ID: 40551296
Checked the host machine. it is not a DC so obviously not PDC. but, the time service was misconfigured. I corrected it and resynced. It now has correct time. This also corrected the VM. I don't understand why since the VM wasn't configured to sync with the host. :-/
0
 
LVL 7

Author Closing Comment

by:rettif9
ID: 40551302
Both experts are on the right track but Phillips solution was more complete and reminded me to check the host. Thanks to both!
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40551329
You are welcome. :)
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40551332
Glad you sorted out the issue. Definitely a weird one!
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

721 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