Solved

Move VM from one ESXi server to another ESXi server

Posted on 2010-09-22
6
879 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:pcgym
6 Comments
 
LVL 14

Expert Comment

by:Deepak Kosaraju
Comment Utility
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:
http://www.experts-exchange.com/Software/VMWare/Q_24208777.html
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
Comment Utility
You can do 1 of 2 things -
1. Use vCenter Converter Standalone to 'convert' (move) the VM from 1 ESXi host to another:
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0
2. Use Veeam FastSCP to move the whole VM folder/directory from 1 ESXi host to another:
http://www.veeam.com/vmware-esxi-fastscp.html

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.

Regards,
~coolsport00
0
 
LVL 10

Expert Comment

by:BloodRed
Comment Utility
What error is it giving you when it says it cannot boot the VM?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:pcgym
Comment Utility
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!
0
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
No worries...glad to help; keep me posted....

~coolsport00
0
 
LVL 1

Author Closing Comment

by:pcgym
Comment Utility
YOU DA MAN!!!!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now