We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

How to Shut Down XenServer 6.0 Virtual Machine which is Unresponsive in Pending or Amber State

How to Shut Down XenServer 6.0 Virtual Machine which is Unresponsive in Pending or Amber State

How to shut down a virtual machine which is in a pending state or amber state or not respond to any requests in Xencenter 6.0.

Steps :
1. Disable High Availability (HA) so you don’t run into issues
2. Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter
3. Run the following command to list VMs and their UUIDs

xe vm-list resident-on=uuid_of_host

4. First you can try just the normal shutdown command with force

xe vm-shutdown uuid=UUID_from_step_3 force=true

5. 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=UUID_from_step_3 force=true

6. If the VM is still not shutdown, we may need to destroy the domain
7. Run this command to get the domain id of the VM. It is the number in the first row of output. The list will be the VMs on the host. Dom0 will be the host itself and all numbers after are running VM

list_domains

8. Now run this command using the domain ID from the output of step 7

/opt/xensource/debug/xenops destroy_domain -domid DOMID_from_step_7

Please do contact us at esupport@L3webhosting.com if you require any further assistance.

Comments are closed.