There are 3 options to do this, witch way depend on the stuck mode, start with options 1 and work you way thougt it onto the vm is shutdown.
Options 1:
SSH to the Xenserver witch running the vm
Type these commands:
1 |
xe task-list |
Found the task and the UUID for this task, and kill it
1 |
xe task-cancel force=true uuid=<UUID> |
Options 2:
SSH to the Xenserver witch running the vm
1 |
xe vm-list |
Find the vm han get the UUID
1 |
list_domains | grep <UUID> |
Get the number in front of the UUID
1 |
/opt/xensource/debug/destroy_domain -domid <DOMID> |
Options 3:
SSH to the Xenserver witch running the vm
1 |
xe-toolstack-restart |