ESXi

 View Only
  • 1.  Unable to remove Decommissioned VM from Inventory

    Posted Sep 22, 2009 07:07 PM

    hi there,

    Here's my issue. I had this vm in our environment. We tried to migrate the storage over somewhere - however in doing so - it crashed/error'd out. Unfortunately someone went to delete the VM from disk - via browsing the data stores and did not remove the VM from the inventory (right click - delete from disk) Now - the VM shows up in the inventory and has inaccessible in brackets is no longer active - there is nothing associated to it. But the only option that is available to me is migrate to storage. I want to remove the item from the inventory - but I haven't been able to figure out how to...

    can someone give some advise. I've attched a pic with my dilemna. - thanks to all



  • 2.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 22, 2009 07:21 PM

    Is the ESX host that the VM is running on part of a cluster? If your host is part of virtual center you should also try restarting the hostd service on the host. Logon to the console of the host and run 'service mgmt-vmware restart'. The ESX server will disconnect and reconnect to VC, you then might be able to remove the VM.



  • 3.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 23, 2009 09:02 AM


  • 4.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 23, 2009 11:07 AM

    Try using the removeOrphansFromvCenter.pl Script. This usually removes the orphaned VM.

    http://communities.vmware.com/docs/DOC-10190

    Kind Regards,

    Gerrit Lehr

    If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".



  • 5.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 22, 2009 07:31 PM

    thanks for the quick reply

    but yes - its part of a 4 ESX cluster...We had a power outage a while back but i wasn't able to try to remove the VM at that time. In restarting the services - are you hopeful that the option of removing the VM will be available to me?



  • 6.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 22, 2009 07:34 PM

    Yes, after restarting mgmt-vmware server on the ESX host, you should be able to remove the VM. If not, I came across another post that might help. http://communities.vmware.com/thread/209459



  • 7.  RE: Unable to remove Decommissioned VM from Inventory

    Posted Sep 22, 2009 07:39 PM

    thanks - i'll give that a go...