VM Not Responding/Cannot Shutdown/Cannot Force Shutdown XenServer
Hello!!! I want to be share how to solve XEN server problem like VM not respond force shutdown or reboot. How can I solve this issue? So I find more solution for this.
- Top 5 Open Source Web Server 2019
- Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
- How To Insert Table On Microsoft Office 2013
I am already try like
-
- shutdown
-
- reboot
-
- force shutdown
-
- force reboot
But not working anyone.
Solution : #01
Goto XEN server console then run below command
[[email protected]]# xe-toolstack-restart
Solution : #02
Collect VM UUID from XEN center. Copy UUID from VM General tab.
UUID : 8ceyubff-54t8-3cb8-w4aa-721b2adc051c
Goto XEN server console then run below command for see list domain.
[[email protected]]# list_domains
id| uuid | state 1 | rre92bff-53d8-4cb7-a3ta-435b2aer052r | R 2 | 8ceyubff-54t8-3cb8-w4aa-721b2adc051c | B H
Now, run /opt/xensource/debug/xenops destroy_domain -domid 2
[[email protected]]# /opt/xensource/debug/xenops destroy_domain -domid 2
If your VM id 2 so it ok.
Solution : #03
Reset powerstate using exact VM name.
xe vm-reset-powerstate vm=<Name of the VM> –force
[[email protected]]# xe vm-reset-powerstate vm=Ubuntu16.04 –force
Now shutdown or start or reboot try. Enjoy 🙂