This post is my once a week effort to detail useful commands in the Xen Cloud Platform virtual cloud computing system that aren’t included in the manuals.
Today’s command is xe host-evacuate. The host-evacuate command has the form xe host-evacute uuid=. As the name suggests, host-evacuate migrates all the virtual machines off an XCP host.
This command could be used to take a host down for service or to migrate VMs before a hosts backup power expires. I use it as part of the procedure to automatically condense the cloud during low usage periods and shut down unneeded hosts.
Vern, SwiftWater Telecom