book
Article ID: CTX475390
calendar_today
Updated On:
Description
This article provides instruction to synchronize XenServer system time with Windows domain controller/NTP Server.
Instructions
1. Edit /etc/chrony.conf and add following configuration:
maxdistance 16
2. Restart chronyd service:
#systemctl restart chronyd.service
3. Verify the clock sources:
#chronyc sources -v
The output of this command will show you the ntp server sync status and explanation to each column.
Environment
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Issue/Introduction
chrony sync time from Windows domain controller
Additional Information
The default "maxdistance" value to chronyd service is 3 in /etc/chrony.conf.
However the "root dispersion" value of "chronyc ntpdata" command after configuring chrony to sync time with a domain controller is much larger than 3 (in local testing lab it will be up to 11 seconds).
This issue has been reported in redhat bugzilla: