We are testing our Disaster Recovery site and part of it is restoring a vm to a ESX 3.5 host.
The restore completed but when connecting to the host via a vi-client we see that the vm is not recognized.
Can anyone tell me how a vm is registered to a Host?
When you create a new vm, the creation process registers the VM, When you migrate a VM, the migration process reisters the VM.
If you restore a VM, if the tool you use does not do this for you, you will have to do this manually. For one-offs, you can just browse through a datastore using the client, locate the vmx file, right click and choose add to inventory or register vm - I forget what the menu says exactly.
You can also use the service console or powershell to do this, and for a DR situation where presumably you may have many VM's to register, that is probably the way to go.
Search the forums and or google powershell - register VMs
Here is one such link http://communities.vmware.com/message/1217983
You have to options how-to register VM: browse to datastore to vmx file, right click on it, and choose add to inventory or run in CLI command
vmware-cmd.pl -H is the full path to the vmx
StarWind Software R&D