XOA / XCP-ng NTP?
-
Hello,
I've recently begun experiencing problems with "Host time and XOA time are not consistent with each other".
According to the documentation here:
https://xen-orchestra.com/docs/xoa.html#setting-a-custom-ntp-server
XOA should have NTP (ntp(d)) enabled and using Debian default NTP servers, but that is not the case for me - the NTP service does not exist in XOA nor XCP-ng.Would I be "invalidating" the (paid) support for XOA/XCP-ng if I installed, configured and enabled ntp(d) on both XOA and all XCP-ng hosts?
And why isn't this available, to configure NTP settings, from within the XOA UI?XOA version 5.99.1
XCP-ng version 8.2.1 -
The documentation is outdated as they've switched to using
chrony
for the NTP client. If you have support, then I recommend opening a ticket so that we can investigate why your system times are off. -
Thanks for the info about chrony being used, that made it much easier to resolve.
I simply had to modify the /etc/chrony.conf on the XCP-ng hosts and restart the service (chronyd) to make the hosts properly synchronize the time.
Apparently, this was already done on the XOA (/etc/chrony/chrony.conf), although I have no memory of ever changing that configuration...BTW, using an internal NTP server (using a TRUSTED source), used by all internal servers so all servers maintain the same time, which was already in use in XOA, but was apparently missed in XCP-ng.
-
I think on recent XOA we even switched to systemd-timesyncd. Pinging @thomas-dkmt so he can update the doc to fix it (only the new doc directly! oh and you can ask @julien-f for details if needed, thanks!).