You can also try to reload the VM into vCenter:
1. vim-cmd vmsvc/getallvms
2. vim-cmd vmsvc/reload xx
(xx is the VMID supplied by the first command)
Try using the command line: VMware: Unable “Add to Invetory” option is greyed out | VMpros
Login to the host as root (connect directly to the host using the client, not vCenter) and browse the datastore the guest is residing on, find the .vmx file and choose to "add to inventory" - Sounds like the account you are using doesn't have proper permissions to edit datastore or host resources.
You can also try to reload the VM into vCenter:
1. vim-cmd vmsvc/getallvms
2. vim-cmd vmsvc/reload xx
(xx is the VMID supplied by the first command)
Thanks for the quick responce.
I tried "vim-cmd solo registervm /vmfs/volumes/5210ce12-25f49f84-5a50-3cd92bef8520/lic-srv3/lic-srv3.vmx" and it didn't work.
It just gave me this:
Commands available under solo/:
connect environment logout querycfgoptdesc
disconnect login querycfgopt registervm
any other suggestions?
Boaz
Thanks,
This VM is not listed in the "vim-cmd vmsvc/getallvms" results so I don't have the VMID...
Thank you FritzBrause!!
I ran "vim-cmd vmsvc/getallvms" on all the hosts in the cluster and found the VM on one of the other hosts.
Than I ran "vim-cmd vmsvc/reload" on that host and it worked!
Thanks again.
Boaz.