Sometimes a VM on XenServer gets stuck. Trying to reboot it from XenCenter results in the error message “Another
We start with the UUID of the stuck VM, replacing the text NameOfYourVM with the actual name of your VM:
xe vm-list | grep -B 1 NameOfYourVM
Copy the UUID, and paste it in the following command:
list_domains | grep UUIDOfYourVM
This will result in the domain identifier of your VM, which we use in the following command:
/opt/xensource/debug/destroy_domain -domid DomainIdOfYourVM
The final step involves rebooting the VM in a forceful way:
xe vm-reboot uuid=UUIDOfYourVM --force
monsoonpk
November 24, 2015 at 4:19pmHi, I need help in
1- stuck xen vm which has websites mysql Database and is in halt state.
Can you please respond to boot the VM to normal state:
I followed the above commands and I get message: error: “domid” argument is not valid
Before this I tried to Shutdown/reboot etc. using xencenter interface and I get message :
message: xenopsd internal error: Xb.Noent
Because of this our whole system is down.
2- Can you please also comment how can I access the files/directories of stuck VM?
Thank you,