w32time无法正确同步

我有一个问题,在我们的networking中显示,主DC PDC模拟器不能有一个适当的时间。 它几乎在所有的时间都在80秒左右,而我在如何解决这个问题上还处于亏损状态。

机器现在是虚拟的(尽pipe我可以把它做成一个小的物理盒子)。 w32的时间configuration是:

PS c:\> w32tm /query /configuration [Configuration] EventLogFlags: 2 (Policy) AnnounceFlags: 10 (Policy) TimeJumpAuditOffset: 28800 (Local) MinPollInterval: 6 (Policy) MaxPollInterval: 10 (Policy) MaxNegPhaseCorrection: 172800 (Policy) MaxPosPhaseCorrection: 172800 (Policy) MaxAllowedPhaseOffset: 300 (Policy) FrequencyCorrectRate: 4 (Policy) PollAdjustFactor: 5 (Policy) LargePhaseOffset: 50000000 (Policy) SpikeWatchPeriod: 900 (Policy) LocalClockDispersion: 10 (Policy) HoldPeriod: 5 (Policy) PhaseCorrectRate: 1 (Policy) UpdateInterval: 100 (Policy) [TimeProviders] NtpClient (Local) DllName: C:\Windows\system32\w32time.dll (Local) Enabled: 1 (Local) InputProvider: 1 (Local) AllowNonstandardModeCombinations: 1 (Local) ResolvePeerBackoffMinutes: 15 (Policy) ResolvePeerBackoffMaxTimes: 7 (Policy) CompatibilityFlags: 2147483648 (Local) EventLogFlags: 0 (Policy) LargeSampleSkew: 3 (Local) SpecialPollInterval: 3600 (Policy) Type: NTP (Policy) NtpServer: 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org (Policy) NtpServer (Local) DllName: C:\Windows\system32\w32time.dll (Local) Enabled: 1 (Local) InputProvider: 0 (Local) AllowNonstandardModeCombinations: 1 (Local) VMICTimeProvider (Local) DllName: C:\Windows\System32\vmictimeprovider.dll (Local) Enabled: 0 (Local) InputProvider: 1 (Local) 

状态正常:

 PS C:\> 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.0324097s Root Dispersion: 7.8030176s ReferenceId: 0xD5C7E11E (source IP: 213.199.225.30) Last Successful Sync Time: 2/18/2016 3:35:04 PM Source: 3.pool.ntp.org Poll Interval: 6 (64s) 

问题是 – 它永远不会同步:

 PS C:\> w32tm /stripchart /computer:0.pool.ntp.org Tracking 0.pool.ntp.org [213.199.225.30:123]. The current time is 2/18/2016 3:35:47 PM. 15:35:47 d:+00.0311088so:-82.0529984s [@ | ] 15:35:49 d:+00.0154871so:-82.0677911s [@ | ] 15:35:51 d:+00.0623276so:-82.0255517s [@ | ] 15:35:53 d:+00.0622825so:-82.0269740s [@ | ] 15:35:56 d:+00.0157822so:-82.0521575s [@ | ] 15:35:58 d:+00.0934684so:-82.0032442s [@ | ] 15:36:00 d:+00.0155794so:-82.0391704s [@ | ] 15:36:02 d:+00.0623131so:-82.0049890s [@ | ] 15:36:04 d:+00.0417698so:-82.0176236s [@ | ] 15:36:06 d:+00.0328697so:-82.0160905s [@ | ] 15:36:08 d:+00.0623356so:-82.0340346s [@ | ] 15:36:10 d:+00.0467246so:-82.0011794s [@ | ] 15:36:12 d:+00.0210196so:-81.9949078s [@ | ] 15:36:14 d:+00.0311386so:-82.0052247s [@ | ] 15:36:16 d:+00.0336086so:-81.9847832s [@ | ] 15:36:18 d:+00.0466688so:-81.9732556s [@ | ] 15:36:20 d:+00.0522205so:-81.9706647s [@ | ] 15:36:22 d:+00.0623951so:-81.9470197s [@ | ] 15:36:25 d:+00.0311279so:-81.9684429s [@ | ] 15:36:27 d:+00.0522267so:-81.9522678s [@ | ] 15:36:29 d:+00.0155412so:-81.9621962s [@ | ] 15:36:31 d:+00.0522921so:-81.9384797s [@ | ] 15:36:33 d:+00.0559207so:-81.9362417s [@ | ] 15:36:35 d:+00.0311349so:-81.9470118s [@ | ] 15:36:37 d:+00.0155557so:-81.9451556s [@ | ] 

这表明一致的81-82秒延迟。 同步不会改变这一点。

任何人都知道这是为什么?

根据要求,这里有一个更详细的状态:

 PS C:\> w32tm /query /status /verbose Leap Indicator: 0(no warning) Stratum: 3 (secondary reference - syncd by (S)NTP) Precision: -6 (15.625ms per tick) Root Delay: 0.0381470s Root Dispersion: 7.7932527s ReferenceId: 0x2EFAAC02 (source IP: 46.250.172.2) Last Successful Sync Time: 2/18/2016 4:33:39 PM Source: 0.pool.ntp.org Poll Interval: 6 (64s) Phase Offset: 0.0000050s ClockRate: 0.0155860s State Machine: 1 (Hold) Time Source Flags: 0 (None) Server Role: 64 (Time Service) Last Sync Error: 0 (The command completed successfully.) Time since Last Good Sync Time: 29.5655870s 

还有一些人要求输出:

 PS C:\> w32tm /monitor dc-o-2 [[fe80::480c:c93e:660a:429f%12]:123]: ICMP: 0ms delay NTP: -82.7908243s offset from dc-o-1.operations.local RefID: ntp.wide-net.pl [195.46.37.22] Stratum: 3 dc-o-ckg-1 [172.26.0.1:123]: ICMP: 174ms delay NTP: -82.7945201s offset from dc-o-1.operations.local RefID: sunsite.icm.edu.pl [193.219.28.2] Stratum: 3 dc-o-1 *** PDC ***[10.42.0.1:123]: ICMP: 0ms delay NTP: +0.0000000s offset from dc-o-1.operations.local RefID: news-archive.icm.edu.pl [193.219.28.147] Stratum: 3 

这些是目前在networking中的3台机器。 请注意,名称为ckg的人通过VPN离开170毫秒左右 – 从中​​欧到芝加哥的区别。

完全禁用时间同步集成服务,我的意思是取消选中此框,以便不提供给Hyper-V客户端。 我知道这是很多人争论的焦点,甚至微软似乎也没有达成共识,但是几年前我和MS有过一个关于这个问题的支持案例,这就是他们所推荐的,自那以后就没有问题了。

启动后,虚拟机从虚拟机pipe理程序中获取时间(因为虚拟机没有实时时钟),之后它们只应与域层次结构同步。 在PDCe的情况下,它应该只与它configuration的外部时间源同步。

在这里输入图像说明