@benapetr Nice, great.
How about to implement a launch of CR backup VMs?
https://xcp-ng.org/forum/assets/uploads/files/1769679350079-677dfcbb-211b-452f-ad8f-db59e2860579-изображение.png
https://xcp-ng.org/forum/assets/uploads/files/1769679584572-3e39d799-a2fd-4cb0-8e2e-6b9c4312a2e6-изображение.png
@acebmxer Re time issues: Do you have Xen tools or any other sources of time sync? Suspending a VM and then later resuming it will cause the VM's time to not be updated. It'll have to rely on either NTP or the Xen tools daemon to get the correct time.
@wilsonqanda Make sure to turn off "Network" in boot order. You might also want to increase the VM's root disk size when creating it.
Here's a full cloud config that I used (except the ssh keys):
#cloud-config
hostname: {name}
ssh_authorized_keys:
- ssh-rsa ...
disable_root: false
apt:
sources:
xen-guest-agent:
filename: xen-guest-agent.list
source: deb [trusted=yes] https://gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64/ release/
append: false
packages:
- xen-guest-agent