Hi all,
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
no ideas, how i can remove an invalid vm manualy from inventory?
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 -
On witch of the 7 Hosts would you do so?
I've never started this VM. The VM was added only to the Cluster Inventory (Browsing Datastore)
Restart VC Service was not helpful.
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...
Any Ideas?
how about deleteing the VM from the command line ,, at command line take a root privilege and try to delete your VM.
i already renamed the folder and the .vmx file, so the host shouldn't "see" the vm anymore...
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 )
disconnect or restarting the vpxa doesnt resolve my peoblem...
But after an host reboot, the invalid VM was gone..