• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 925
  • Last Modified:

Move VM from one ESXi server to another ESXi server

I hav multiple physical servers running vmWare ESXi.  I need to move one VM over to a different physical machine.  I downloaded all files from that VM to my workstation, then uploaded them to a other physical server.  vmWare on the new server reports that it cannot boot the machine.  

Any ideas on how I can accomplish this?
1 Solution
Deepak KosarajuDevOps EngineerCommented:
If u have SAN (or) iSCSI storage then you can use storage vmotion to directly move r clone vm's between ESXi hosts managed by same vcenter infrastructure.

Here is how if u don't have Central Storage:
vmkfstools -i /vmfs/volumes/VolumeName/server_folder/server_name.vmdk -d thin /vmfs/volumes/VolumeName/server_folder/servername.vmdk
Also, by default ESXi does not have SSH enabled by default so you need to do this:
Go to the ESXi console and press alt+F1
Type: unsupported
Enter the root password
At the prompt type vi /etc/inetd.conf 
 Look for the line that starts with #ssh (you can search with pressing /)
Remove the # (press the x if the cursor is on the character)
Save /etc/inetd.conf by typing :wq! 
 Restart the management service /sbin/services.sh restart 
Now you can go to a remove computer and move the VMDKs via an ssh session

Also refer to following post in EE:
You can do 1 of 2 things -
1. Use vCenter Converter Standalone to 'convert' (move) the VM from 1 ESXi host to another:
2. Use Veeam FastSCP to move the whole VM folder/directory from 1 ESXi host to another:

If you move/copy the VM using FastSCP, you need to add the VM to Inventory by right-clicking on the .vmx file in the datastore the VM resides on.

Justin CAWS Solutions ArchitectCommented:
What error is it giving you when it says it cannot boot the VM?
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

pcgymAuthor Commented:
To coolsport00

Looks like option 1 in your solution should work.  The VM is being "converted" to the new server.  I'll let you know if it work and if so, you will be awarded full points!

Thanks a million!
No worries...glad to help; keep me posted....

pcgymAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now