/build/static/layout/Breadcrumb_cap_w.png

Powering off a VM that Won’t Power Off in vSphere

​When trying to power off a VDI or VM in vSphere sometimes the machine will stop itself at 95% complete in the task, you’re unable to make any changes and it won’t respond to further commands. Follow these steps below to try to remedy the situation.

  1. Determine which host the VM is on.
    1. While on the VM in vSphere click Summary and look at the “Host” field under “General”
  2. Connect to that host through vSphere.
  3. Click the VM and try to power it down.
  4. If that fails you’ll need to use Putty to SSH into the host.
    1. First SSH needs to be enabled on the host. You can activate it by going to the configuration tab on the host in vSphere and make sure the SSH service is running.
  5. Log in as Root and run the following commands:
    1. esxcli vm process list
      1. This is to find the world ID of the unresponsive VM.
    1. esxcli vm process kill --type=[soft,hard,force] --world-id=WorldNumber
      1. Three power-off methods are available. Soft is the most graceful, hard performs an immediate shutdown, and force should be used as a last resort.
     6. Double check that the VM is powered off now 

Additional information HERE


Comments

This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ