Im not able to remove an corrupt VM copied from an ESX unsupported VMWare workstarion version and added to the cluster by using the datastore browser. (mea maxima culpa...)
The status of this VM is "invalid", and i get an error when i try to remove this VM from the inventory.
I already tried to rename the particular folder on the datastore with the same result of error message "Object reference not set to an instance of an object"
Mabe i can remove the VM from the Inventory manually?
Should be in an XML file, afaik
In witch location (in a cluster) is the Inventory saved?
Tanks for Help
Have you tried restarting the mgmt-vmware servie - from service console command line - service mgmt-vmware restart - once you do that see if you can remove the vm -
to add a vm it has to be added to a host in the cluster - either when you build a brand new vm or add to inventory you need to identify a host that it will be registered to - look on the summary tab of the vm it should identify the esx host t is registered to -
the mgmt restart didnt solve the problem...
I founf the inventory file (etc/vmware/hostd/vmInventory.xml) and cleared the invalid VM entry.
Now the VM is marked as orphaned...
have you tried disconnecting the host, remove it from VC, then add it back in ?. ( the host on which your VM was/is registered)
Or.. restarting the vc service on the host ( service vmware-vpxa restart )