VMware vSphere

 View Only
  • 1.  VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 03:49 PM

    We have 3 ESX 4.0 hosts in a cluster. We accidentally issued a shutdown command on one of the hosts. This put it in single-user mode. At the console we did an exit command and we were able to get the host reconnected to vCenter. No VMs went down, however they all show as "Powered Off". "vmware-cmd getstate" also shows them as off. Everything is up and running, but I'd like to get them recognized as Powered On. Anyone have any ideas?

    Thanks,

    Scott



  • 2.  RE: VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 03:55 PM

    I'd start easy first. A few suggestions

    At the service console of the ESX Host in question issue

    service vmware-vpxa restart

    if that doesn't work

    service mgmt-vmware restart

    and also, you may want to restart your vCenter Server Service.



  • 3.  RE: VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 04:21 PM

    That is the same thing I was thinking, bouncing mgmt-vmware

    www.phdvirtual.com, makers of PHD Virtual Backup for Vmware and Xen Server, formally esXpress



  • 4.  RE: VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 04:42 PM

    Thanks for the suggestion. I restarted mgmt-vmware and vmware-vpxa, but still no luck. I didn't restart the vCenter service because when I connect directly to the host, the VMs still show Powered Off. I did power down a non-critical server and it powered up fine and is showing Powered On, but I really don't want to have to do this with all the VMs.



  • 5.  RE: VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 04:46 PM

    it sounds to me like a vCenter issue. I would restart the vCenter Server Service as well. Also, if that doesn't work, disconnect and remove the host from vCenter and add it back in.



  • 6.  RE: VMs show as Powered Off but are Powered On

    Posted Jul 08, 2010 04:50 PM

    Disconnect and reconnect is what I was thinking as well. I've done that to fix other issues before like Orphaned VMs and strange HA errors on specific hosts.



  • 7.  RE: VMs show as Powered Off but are Powered On

    Posted Aug 16, 2010 07:59 AM

    We had same issues. Not sure what caused it for us yet.

    In all cases we did remove them from inventory first. Two could just be re-added to inventory (Datastore > .vmx > add )

    In some cases we were able to add them again after rebooting the VM.

    In most cases we had to shut down, add again to inventory and power on.

    Restarting agents did not work for us.

    Please consider marking my answer as "helpful" or "correct"



  • 8.  RE: VMs show as Powered Off but are Powered On

    Posted Aug 17, 2010 02:28 PM

    We ended up having to reboot all the VMs also. Thanks for the update.