VMware Cloud Community
VMLost
Contributor
Contributor

Unable to remove Decommissioned VM from Inventory

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

0 Kudos
6 Replies
byoung111
Enthusiast
Enthusiast

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.

0 Kudos
VMLost
Contributor
Contributor

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?

0 Kudos
byoung111
Enthusiast
Enthusiast

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

0 Kudos
VMLost
Contributor
Contributor

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

0 Kudos
bulletprooffool
Champion
Champion

Have a look at :

http://communities.vmware.com/thread/203764?tstart=0

One day I will virtualise myself . . .
0 Kudos
Gerrit_Lehr
Commander
Commander

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".

Kind regards, Gerrit Lehr If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos