Link to home
Start Free TrialLog in
Avatar of Eric Kung
Eric Kung

asked on

DC not synchronizing with public NTP server

Please help, I want my DC (2008 R2) to synchronizing with public NTP server (us.pool.net.org), and become as a NTP source for my domain. Here is what I did.

1.      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\ , AnnounceFlags to 5
2.      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\                                              Services\W32Time\TimeProviders\NtpServer\ , enabled to 1
3.      in command prompt type: w32tm /config /manualpeerlist:us.pool.ntp.org
4.      net stop w32time && net start w32time

But when I run w32tm /query /status, it still shows source: Local CMOS Clock.


Thanks in advance.
Avatar of motnahp00
motnahp00
Flag of United States of America image

Try doing this from command line instead:

w32tm /config/computer:<name of your DC>/manualpeerlist:us.pool.net.org /syncfromflags:manual /update
did you throw in a w32tm /config /update ?
Avatar of Eric Kung
Eric Kung

ASKER

I run
w32tm /config/computer:DC1manualpeerlist:us.pool.net.org /syncfromflags:manual /update
The command complete successfully
Then I run
w32tm /config /update
The command complete successfully
Then
net stop w32time && net start w32time

but still shows local COMS clock
If you are running this command from the PDC emulator, then all machines within the domain will respect this as the master time source.

Verify that you are running this from the PDC emulator:

netdom query fsmo
Run netdom query fsmo, DC1 is my PDC emulator, I only have one DC, all fsmo rolls are on this DC. My other computers are using this DC as NTP source, but the question is this DC is using local CMOS clock as source.
You configured everything correctly in my opinion. Do you have any firewall restrictions for NTP?
I use InternetTime program to help me debug connectivity the NTP server, please see attachment.
NTP.jpg
Well, you ruled that one out. Other than that, I'm out of ideas besides bouncing the box to see if you get different results.
just noticed a typo, not sure if you copy/pasted from earlier or not, but did you use:

w32tm /config /computer:DC1 /manualpeerlist:us.pool.net.org /syncfromflags:manual /update

or

w32tm /config /computer:DC1 /manualpeerlist:us.pool.ntp.org /syncfromflags:manual /update

?
No luck, I re-run using .ntp,  w32 update the stop and start NTP, still shows source: Local CMOS Clock.
Here is what I run w32time /query /configuration, do you think it is cause by policy?
w32time-Configuration.jpg
i notice the VMIC time source in there...  is this a virtual?
yes, it is virtual
What is the platform and are you sure time sync is disabled for the integration components?
it's on VMware ESXi, I setup the ESXi to use us.pool.net.org for NTP. Do you know what is the correct way to set this up?
ASKER CERTIFIED SOLUTION
Avatar of pwnbasketz
pwnbasketz
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think I got it to work, there's an option on VM tools to sync with host.
Did you just have to disable it? =)
Hyper-V has something similar with Integration Services.
Avatar of footech
Also, verify that you don't have local policy or Group Policy configuring these settings (i.e. set in your Default Domain Policy or other applied at the domain level).  I see that many of your settings are configured by policy instead of local.  The settings are fine for clients, but shouldn't be applied to the DC.
Verify that your VMWare Guest is not configured to sync time from Host.
You definitely don't want that on a DC.