Could someone elaborate on the procedure to have all VMs on a host shutdown properly upon XCP-NG host shutdown please?
I tried from the host prompt:
xe host-disable
xe host-reboot
and from XOA Host: shutdown, with warning (This will shutdown your host without evacuating its VMs. Do you want to continue?)
and rightly so the host has seemingly become unavailable (ping to its IP stops)
But then what happens is very odd:
- first the VM on it still pings for a couple minutes (yes after the host stops to answers the ping)
- then the VM stops pinging
- but AFAICS XCP-NG is not OFF
Awkwardly, I just access to the IDRAC8 entreprise license on which XCP-Ng is running, and can't SEE the proper status of XCP-NG from it.
AFAIK it's not pinging but it doesn't seem OFF either. At least the IDRAC shows it ON, and upon power cycling and reconnecting to the VM the logs shows it hasn't been cleanly shutdown.
NB: the VM has xen-guest-agent running within a container, but from what I gathered, the agent in Linux guests has no role in VM shutdown: See https://xcp-ng.org/forum/topic/10631/understanding-xe-guest-utilities/16
Also, I doubled check Proxmox: it does clean shutdown VMs, either with a "shutdown -h now" command or when triggered from GUI. And that's with a VM that has Promox guest installed.
In any case, it would be nice to have XCP-NG/XOA be able to do the same.