Tip

MUI says virtual machine has shutdown – but vCenter still thinks the machine is running

From time you might experience this problem. You shutdown a virtual machine and after sometime the MUI indicates this VM has terminated, but when you open up Remote Console you can see the virtual machine has shutdown. However, in the vCenter client it looks as if the VM is powered up. You are unable to change any settings (such as memory or disks) about the VM until the vCenter client things shutdown gracefully.

Although the vmkernal terminated the WID correctly, the Service Console has not terminated the process ID for the virtual machine correctly.  It is this information which is being erroneously returned to vCetner. Find out the process ID of the virtual machine and then kill that process.

  1. Connect to the Service Console
  2. Use vmware-cmd to find out the pid value with:

    vmware-cmd /home/vmware/vmname/vmname.vmx getpid

  3. Use the kill command to end the process:

    kill -9 pidno
     

 

    Requires Free Membership to View

This was first published in October 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.