diff --git a/pages/02.linux/xcp-ng/xe-cli/default.en.md b/pages/02.linux/xcp-ng/xe-cli/default.en.md index 16103ed..ec565e0 100644 --- a/pages/02.linux/xcp-ng/xe-cli/default.en.md +++ b/pages/02.linux/xcp-ng/xe-cli/default.en.md @@ -27,6 +27,30 @@ xe vm-start uuid={VM UUID} ## Host reboot procedure +1. Disable the host so that no new VM can be started on this host and so that the rest of the pool knows that the host was disabled on purpose. + From command line: + [shroot] + + ```sh + xe host-disable host={hostname} + ``` + + [/shroot] + +2. Migrate the VMs running on the host to other hosts in the pool, or shut them down. + +3. Reboot or shutdown. + Can be done from XO, or from command line + [shroot] + + ```sh + xe host-reboot|host-shutdown host={hostname} + ``` + + [/shroot] + +4. (After a reboot or host startup) Move VMs back to the host if appropriate. There is no need to re-enable the host: it is done automatically when it starts. + > [XCP-ng documentation](https://docs.xcp-ng.org/guides/host-reboot/) ## Snapshot management