Set NTP in 3 places:
- XCP-ng Hardware (Bios & IPMI)
- XCP-ng Hypervisor (xconsole/setup/shell)
- Edit: Xen Orchestra
A) [from sources] (CLI only, this needs to change)
B) XOA [Debian 11, comes with ntpd]
Steps for XO [from sources] (Xen Orchestra VM on Debian 10 Host OS):
- Go to
- Edit to remove '#' and add your NTP server
sudo timedatectl set-ntp true
- Restart the service
sudo systemctl restart systemd-timesyncd.service
- Check your time sync with one of these options:
systemctl status systemd-timesyncd.service
Steps for XCP-ng hypervizor host (CLI easy mode):
- SSH into un/pw
- Self explanatory (IMO)
Steps for XCP-ng hardware hypervisor (CLI hard mode) :
- Edit the chrony/timeserver configuration
sudo nano /etc/chrony.conf
- Add any time servers you want at the end of the file, along with any options for example:
server pool.ntp.org iburst
- Restart chrony
systemctl restart chronyd
- Check it is working OK
The other NTP posts make no sense.
ntpd -p does not work
It wants you to install the NTP package.
No thanks, my XO is offline.
Give me the default NTP service built-in.
I have already have XO installed in a Debian 10 built from sources using Tom's video guide.
It is offline. Not gonna put it online to add ntp service.
Installed: xen-tools, ssh keys, tmux, htop, git, cloned xen-xo repo, vim, update, upgrade, ssh.
I misunderstood difference between XO and XOA. Post updated to reflect that.
XOA contains the NTP package. Mine did not. I'd say most building from sources won't either.