VMware vSphere

 View Only
  • 1.  recover VM from a dead host(VM show running)

    Posted Apr 03, 2010 01:53 PM

    Hi, I added a new host to my cluster with 3 hosts, and migrate a VM to new host without any issue, its not a FT vm, all of a sudden host shown disconencted from vCenter, but VM was up and runing .

    I manage to RDP to VM for some time, but little latter VM also dead in the water. I logged in to ESX console it shown a repetitive msg like "sd0,0,0,0 retry after 360 etc etc"

    So we decided to reboot (force) the ESX, the VM shows disconencted and running, I had another VM in that host but was not running, I manage to remove the other VM from inventry and add to inventry no issue there, that is now in another host.

    But my issue is with one which was running when ESX went down, it is still show runnibg but disconencted, I cant remove that from inventry, but if I browse to datastore I can add to inventroy, but I hant done that yet.

    Any advice will be appreciated.

    Regards

    Roy



  • 2.  RE: recover VM from a dead host(VM show running)

    Posted Apr 03, 2010 03:05 PM

    have you try to restart vCenter server service?






    vcbMC-1.0.6 Beta

    vcbMC-1.0.7 Lite

    http://www.no-x.org



  • 3.  RE: recover VM from a dead host(VM show running)

    Posted Apr 03, 2010 04:39 PM

    yes, I restarted all vmware services in ther server, still VM shows as disconnected but running. It want let me add inventory and remove from inventroy is not allowed(grey out)



  • 4.  RE: recover VM from a dead host(VM show running)
    Best Answer

    Posted Apr 03, 2010 04:58 PM

    1)Try run below command from service console or remotely via putty on ESX hosts where the VM is running from :

    $service mgmt-vmware restart

    $service vmware-vpxa restart

    2)If no dice,

    $vmware-cmd -l (verify the VM registered under correct ESX host)

    $vmware-cmd /vmfs/volumes/.../.vmx getstate (verify whether the VM is running or not)

    $vmware-cmd /vmfs/volumes/.../.vmx stop hard (to hard stop the VM then try restart back your VM)






    vcbMC-1.0.6 Beta

    vcbMC-1.0.7 Lite

    http://www.no-x.org