使用Chrony向Windows操作系统的NTP服务器进行时钟同步时的特殊配置
根据官方说明,使用Windows操作系统作NTP服务器时,Chrony应加上maxdistance配置
A common issue with Windows NTP servers is that they report a very large root dispersion (e.g. three seconds or more), which causes chronyd to ignore the server for being too inaccurate. The sources command might show a valid measurement, but the server is not selected for synchronisation. You can check the root dispersion of the server with the chronyc’s ntpdata command.
The maxdistance value needs to be increased in chrony.conf to enable synchronisation to such a server. For example:
maxdistance 16.0