Eu notei que nosso PDCe está atrasado 1: 20min e, claro, também o resto dos dispositivos na rede. Estou tentando sincronizar com uma fonte de tempo externa, mas não está indo bem.
É um Windows Server 2008 R2 virtual sobre o XenServer 6.0.0. O host está usando ptbtime1.ptb.de e ptbtime2.ptb.de como servidores NTP e a hora está correta. O PDCe (em teoria) tem os mesmos servidores NTP, mas o tempo está cerca de 80 segundos atrasado. E eu disse 'na teoria' porque HKLM\SYSTEM\CurrentControlSet\services\W32Time\Parameters\NtpServer
tem valor ptbtime1.ptb.de ptbtime2.ptb.de
(eu também tentei ptbtime1.ptb.de,0x1 ptbtime2.ptb.de,0x1
sem resultados), mas quando tentei no PowerShell
PS C:\>w32tm /query /peers
Number peers: 1
Peer:
Status: Pending
Time Remaining: 94.6710000s
Mode: 0 (Reserved)
Stratum: 0 (not specified)
Peer polling interval: 0 (not specified)
Host polling interval: 0 (not specified)
e
PS C:\>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Directive)
AnnounceFlags: 10 (directive)
TimeJump Audit Offset: 28800 (Local)
MinPollInterval: 6 (Directive)
MaxPollInterval: 10 (directive)
MaxNegPhaseCorrection: 172800 (directive)
MaxPosPhaseCorrection: 172800 (directive)
MaxAllowedPhaseOffset: 300 (directive)
FrequencyCorrectRate: 4 (Policy)
PollAdjustFactor: 5 (directive)
LargePhaseOffset: 50000000 (directive)
SpikeWatchPeriod: 900 (directive)
Local Clock dispersion: 10 (directive)
Hold Period: 5 (directive)
PhaseCorrectRate: 1 (directive)
UpdateInterval: 100 (directive)
[Time Provider]
NtpClient (Local)
DllName: C: \ Windows \ system32 \ w32time.dll (Local)
Enabled: 1 (Local)
Input providers: 1 (Local)
CrossSiteSyncFlags: 2 (Directive)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (directive)
ResolvePeerBackoffMaxTimes: 7 (Directive)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 0 (directive)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (directive)
Type: NT5DS (directive)
NtpServer (Local)
DllName: C: \ Windows \ system32 \ w32time.dll (Local)
Enabled: 1 (Local)
Input providers: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
VMICTimeProvider (Local)
DllName: C: \ Windows \ System32 \ vmictimeprovider.dll (Local)
Enabled: 1 (Local)
Input providers: 1 (Local)
Eu também tentei definir HKLM\SYSTEM\CurrentControlSet\services\W32Time\Config\AnnounceFlags
de A
para 5
e definir novamente os servidores NTP por cmdlets:
PS C:\> w32tm.exe /config /manualpeerlist:"ptbtime1.ptb.de ptbtime2.ptb.de" /syncfromflags:manual /reliable:YES /update
PS C:\> w32tm /config /update
PS C:\> w32tm /resync
PS C:\> Restart-Service w32time
Eu não entendo porque o servidor não vai sincronizar com o servidor NTP externo. Não sei se o XenServer desempenha algum papel no problema. Em qualquer caso, o tempo no convidado não é o mesmo tempo do host.
ATUALIZAÇÃO 23.9
PS C: \> w32tm / query / configuration
[Configuration]
EventLogFlags: 2 (Directive)
AnnounceFlags: 10 (directive)
TimeJump Audit Offset: 28800 (Local)
MinPollInterval: 6 (Directive)
MaxPollInterval: 10 (directive)
MaxNegPhaseCorrection: 172800 (directive)
MaxPosPhaseCorrection: 172800 (directive)
MaxAllowedPhaseOffset: 300 (directive)
FrequencyCorrectRate: 4 (Policy)
PollAdjustFactor: 5 (directive)
LargePhaseOffset: 50000000 (directive)
SpikeWatchPeriod: 900 (directive)
Local Clock dispersion: 10 (directive)
Hold Period: 5 (directive)
PhaseCorrectRate: 1 (directive)
UpdateInterval: 100 (directive)
[Time Provider]
NtpClient (Local)
DllName: C: \ Windows \ system32 \ w32time.dll (Local)
Enabled: 1 (Local)
Input providers: 1 (Local)
CrossSiteSyncFlags: 2 (Directive)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (directive)
ResolvePeerBackoffMaxTimes: 7 (Directive)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 0 (directive)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (directive)
Type: NT5DS (directive)
NtpServer (Local)
DllName: C: \ Windows \ system32 \ w32time.dll (Local)
Enabled: 1 (Local)
Input providers: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
VMICTimeProvider (Local)
DllName: C: \ Windows \ System32 \ vmictimeprovider.dll (Local)
Enabled: 1 (Local)
Input providers: 1 (Local)