VMware Cloud Community
sant0sk1
Contributor
Contributor
Jump to solution

SCP'd a VM from 1 ESXi host to 2nd. Add the VM to the 2nd Host's Inventory?

I have 2 ESXi hosts with local storage. I have enabled the unsupported SSH facility on both and can successfully move a VM using a command similar to:

scp -r winxppro/ root@host2:/vmfs/volumes/main/

The problem is that the ESXi host which I copied the VM to does not have it registered in its inventory. I recall in vmware server you could create a new VM or open an existing VM on disk. I can't seem to find the latter in my Vitrual Infrastructure Client.

Is this possible? If so, how?

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

Use the VI Client datastore bowser and find the .vmx file in the VMs directory on your datastore... Right click and select 'Add to inventory'...

/Rubeck

View solution in original post

Reply
0 Kudos
7 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

Use the VI Client datastore bowser and find the .vmx file in the VMs directory on your datastore... Right click and select 'Add to inventory'...

/Rubeck

Reply
0 Kudos
rajesh_battala
Contributor
Contributor
Jump to solution

you can use vmware-cmd on the Esx console to register the vm

vmware-cmd -s <path to the copied vm .vmx file> register

that will register VM to the inventory

Reply
0 Kudos
bjorns
Contributor
Contributor
Jump to solution

Where do I find the datastore browser, or is it not available for the free versions of VMI Client / ESXi 3.5.0?

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal
Jump to solution

It's available in all editions. Right click on the datastore and select browse datastore.

Reply
0 Kudos
bjorns
Contributor
Contributor
Jump to solution

Thanks, I must be blind on my eyes.

Reply
0 Kudos
kpc
Contributor
Contributor
Jump to solution

rajesh, there is NO vmware-cmd command in ESXi, well not that I can find anyway...

Ahhh sorry it comes with the Remote CLI

Reply
0 Kudos
heikki_m
Contributor
Contributor
Jump to solution

Could you report your access speeds in terms of network performance to your datastore via the browser or SCP?

Related to this: http://communities.vmware.com/message/1051321

Reply
0 Kudos