How to shut down a virtual machine which is in a pending state or amber state or not respond to any requests in XenServer 7.0.
1. Find the domain ID of the VM.
Run the following command to obtain the domain ID of a particular VM running on XenServer.
# xl list | grep -i “VM_NAME”
# list_domains | grep -i VM_UUID
To find the UUID of the VM , Click on the VM >> Click on General Tab >> Right click On UUID > copy the UUID to clipboard > Now you can paste the same while executing the command –
list_domains | grep -i UUID_Of_THE_VM
2. Open a Command Line Interface on the XenServer running the VM and run the following command:
#xl destroy DomainID
You can contact us at [email protected] if you require any further assistance.
Comments are closed.