Forum Discussion
How to Sync Windows Server Time to Redhat NTP Server
- Oct 24, 2018
I would say that you should adjust this to a GPO in AD and not use the time commands. If you review these links, they should walk you through setting things up properly for using a WMI filter to "walk with" your PDCe role and then setting your time for that system for NTP targeting your Red Hat systems or any other Stratum 1 NTP source (tick or tock, time.windows or something else).
https://blogs.technet.microsoft.com/askpfeplat/2018/10/01/tick-tock-time-to-dive-deep/
For the back end TechNet reference go here: https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings#windows-time-service-group-policy-settings
I'd try;
- w32tm /unregister
- net stop w32time
- w32tm /register
- net start w32time
- w32tm /config /manualpeerlist:<redhat ip address> /syncfromflags:manual /reliable:yes /update
- net stop w32time
- net start w32time
- then check
- w32tm /query /source
- w32tm /query /configuration
- w32tm /stripchart /computer:<redhat ip address> /dataonly /samples:5
Hi Dave,
I will try this one and give you feedback.
Thank you :)
- Dave PatrickOct 24, 2018MVP
Sounds good, you're welcome.