1. Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter
2. Run the following command to list VMs and their UUIDs
xe vm-list
3. First you can try just the normal shutdown command with force
xe vm-shutdown uuid=
4. If that just hangs, use CONTROL+C to kill it off and try to reset the power state. The force is required on this command
xe vm-reset-powerstate uuid=
5. If the VM is still not shutdown, we may need to destroy the domain
6. Run this command to get the domain id of the VM. It is the number in the first row of output
list_domains
7. Now run this command using the domain ID from the output of step 6
/opt/xensource/debug/xenops destroy_domain –domid
Link:
http://gimpland.org/now/2013/01/citrix-xenserver-how-to-force-shutdown-virtual-machines/
No comments:
Post a Comment