When I want to add the virtual machine from the vmx file, the register section is grayed out. How can I fix this problem?
I had this problem before. In this case, you can restart the management agents of ESXi hosts and try again later.
You can restart the management agent with the command below.
services.sh restart
If the problem still persists, you can try to register the virtual machine via SSH with the command below.
# vim-cmd solo/registervm /vmfs/volumes/datastore_name/VM_directory/VM_name.vmx
Thanks.
I had this problem before. In this case, you can restart the management agents of ESXi hosts and try again later.
You can restart the management agent with the command below.
services.sh restart
If the problem still persists, you can try to register the virtual machine via SSH with the command below.
# vim-cmd solo/registervm /vmfs/volumes/datastore_name/VM_directory/VM_name.vmx
Thanks.
Is the VM on shared storage?
Is there more than one host in the environment?
Do you have a vCenter?