Option 1:
The first thing to try is a force shutdown on the VM:
xe vm-shutdown -–force uuid=[UUID for VM]
If this still doesn’t work you can try taking a look in the XenServer pending task queue:
xe task-list
xe task-cancel uuid=[task uuid]
Option 2:
- get server’s UUID from xencenter
- Run the following command:
list_domains | grep 6915704e-e6c1-9310-3405-0fcda6fded5e
- Run the following command (replacing the “49” with the domain you received from running the command in step 2):
/opt/xensource/debug/xenops destroy_domain -domid 49
Option 3:
- run this:
list_domains | grep 6b808153-55ac-5c5b-b778-d596dad8d1a2
- run this:
/opt/xensource/debug/xenops destroy_domain -domid 162
- do an
xe-toolstack-restart
on the host it was running on
after that, the server will probably say “vdi unavailable”… - follow these instructions: http://blogs.citrix.com/2011/11/08/vdi-not-found-when-starting-a-vm-on-xenserver-5-6-sp2/
- run this:
xe vm-start vm=DMZwiki
- run this:
xe vdi-forget uuid=bde9274e-864b-4822-96a7-cd2ed76165f0
- run this:
xe vdi-param-set uuid=bde9274e-864b-4822-96a7-cd2ed76165f0 name-label=DMZwiki_old
reference: http://support.citrix.com/article/CTX131421