Deleting/Removing fully virtualised Xen Guest
Halt/shutdown the Xen Guest/Virtual Machine to be decommissioned. This should 'power' it down. On a Linux Guest console (not the host) use shutdown -h now for a Linux system or, for a Windows system, RDP and shutdown the machine.
- SSH into the Dom0 (the host machine).
xm list | grep <DomU>
where <DomU> is the short hostname of the virtual machine, e.g. yoyodyne. The DomU to be decommissioned should not be listed. If it is, execute
xm destroy <DomU>This command force shutdowns the VM
Remove the auto-boot symlink:
Remove the Xen domain configuration:
Remove all logical volumes associated with the domU. In most cases this will consist of a single LV:
Other pages in similar categories