VMware Cloud Community
enigma26
Contributor
Contributor

Need documentation on registering a vm to a host

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?

0 Kudos
2 Replies
Rob_Bohmann1
Expert
Expert

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

0 Kudos
TobiasKracht
Expert
Expert

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

StarWind Software R&D http://www.starwindsoftware.com
0 Kudos