Synchronize chrony with a Windows NTP Server
This document (000020824) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server 12 SP2
SUSE Linux Enterprise Server 12 SP1
Situation
# /usr/bin/chronyc -n sources MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^? 172.16.96.11 1 6 377 61 -11.4s[ -11.4s] +/- 11.0s
On the above output, the server 172.16.96.11 is marked with ^?:
? means this server is currently unusable.
Alternatively, use /usr/bin/chronyc -n sources -v for further details and explanation of each column on the output displayed.
Resolution
server win-samba.mydomain.com iburst driftfile /var/lib/chrony/drift maxdistance 16.0 # <--- if your NTP is a Windows Server, then use this as starting value. Adapt if necessary. makestep 1.0 3 rtcsync keyfile /etc/chrony.keys leapsectz right/UTC logdir /var/log/chrony
From the chrony.conf man page:
Setting maxdistance to a larger value can be useful to allow synchronisation with a server that only has a very infrequent connection to its sources and can accumulate a large dispersion between updates of its clock.
Cause
Additional Information
- https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-ntp.html
- https://chrony.tuxfamily.org/doc/4.3/chrony.conf.html#maxdistance
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020824
- Creation Date: 24-Oct-2022
- Modified Date:26-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com