VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
12 Replies Last post: Mar 15, 2007 8:10 AM by esiebert7625  

Best way to copy ESX 3.0 guest machine between host servers posted: Mar 12, 2007 9:04 PM

Click to view _Ryan_'s profile Lurker 5 posts since
Feb 5, 2007
Hi,
I would like to know peoples thoughts on the best way to COPY a vm guest from an ESX 3.0 server to another ESX 3.0 Server. The two ESX servers are standalone ESX 3 servers. The copy would be performed when the guests are powered off.

Is a file copy over the network considered a good option (is it even possible?), or is another method such as using VMConverter a better option. I have used VMConverter to perform this task, but would like to know if VMConverter recognises that the source and destination are both ESX 3.0 and simply does a file copy or does it actually run it throught the convert process, as it would if they were disimilar versions?

Thanks.
Ryan.
Click to view davidbarclay's profile Master 1,100 posts since
Sep 20, 2006
VMware Convertor will do this fine. Not 100% sure on the "does it just copy or convert" comment, but in my experience it's just as fast as a network copy anyway, without the need for command-line experience.

It also registers the VM (vmx) etc, so thats a plus.

Dave
Click to view esiebert7625's profile Guru 6,794 posts since
Oct 23, 2006
Here's what I do to copy a VM between one ESX servers local storage to another. You can also just shut it down and do a cold Migrate in Virtual Center which is easier (see Chapter 14 in Admin guide http://www.vmware.com/pdf/vi3_admin_guide.pdf )

- Create subdirectory for new server

login as: root
root@ServerA's password:
[root@ServerA root]# cd /vmfs/volumes/ServerA-Local
[root@ServerA SerervA-Local]# mkdir VM-04

- Use scp to copy files from source server to destination server.

login as: root
root@ServerB's password:

[root@ServerB root]# cd /vmfs/volumes/ServerB-Local/VM-04
[root@ServerB VM-04]# scp *.* root@ServerA:/vmfs/volumes/ServerA-Local/VM-04/
root@ServerA's password:
VM-04-flat.vmdk 100% 18GB 15.8MB/s 19:24
VM-04.nvram 100% 8664 5.0MB/s 00:00
VM-04.vmdk 100% 338 85.1KB/s 00:00
VM-04.vmsd 100% 0 0.0KB/s --:-- ETA
VM-04.vmx 100% 1372 711.9KB/s 00:00
VM-04.vmxf 100% 250 148.4KB/s 00:00
vmware-1.log 100% 37KB 11.4MB/s 00:00
vmware.log 100% 18KB 5.8MB/s 00:00
[root@ServerB VM-04]#

- Delete the sub-directory that you moved to the destination server
Click to view bister's profile Expert 593 posts since
Jul 13, 2004
It also lets you resize partitions inside a VMDK when required.
Click to view Jeff_Shaw's profile Enthusiast 48 posts since
Nov 23, 2006
Hi Ryan,

I would advise you to use FastSCP, a free tool by Veeam. FastSCP is the most natural way to deliver an ISO file to ESX Server, make a backup copy of an existing virtual machine (VM) or copy VMs and templates between ESX servers. FastSCP ensures security by using a one-time password feature and works over 6 times faster than SCP.

More info about the new version of FastSCP: http://www.vmweekly.com/news/20070302/1/

Download FastSCP: http://www.veeam.com/veeam_fast_scp.asp

Cheers,
Jeff
Click to view squidfishes's profile Novice 5 posts since
May 16, 2006
FastSCP is OK, but I don't really find it any faster than normal SCP. However, it works and is easy to use, and doesn't require you to go to the command-line. I used VMware converter, and it was fine for moving VM's.
Click to view christianZ's profile Virtuoso 2,251 posts since
Apr 21, 2006
I'm not sure here but I made hot migration direct to one esx host (not over vc server) - maybe it is possible with cold migration too ??

All that of course with VMware Convertor.

Message was edited by:
christianZ
Click to view rmuniz9336's profile Enthusiast 100 posts since
Oct 31, 2006
I'd stay with VMConvertor. Yes, it copies, which can be a huge asset, but you also have the option to make tweaks such as changing the name, and etc..
Click to view Eyad's profile Enthusiast 43 posts since
May 1, 2006
I am trying to do the same and migrate a VM from one ESX3.0 to another, the destination ESX is connected to a 100Mb switch, everytime I try to migrate or clone the VM , the process times out, would this be because of the 100mb connection? any suggestions
Click to view esiebert7625's profile Guru 6,794 posts since
Oct 23, 2006
That should be adequate, you might have a duplex/speed mismatch that would cause that. Make sure your host NIC and the physical switch are set the same.
Click to view Eyad's profile Enthusiast 43 posts since
May 1, 2006
in the host I have 3 NICs with one of them being an intel Dual port, I am assuming that the NIC I need to worry about is the one connected to the VMs not the SC or the Vmotion is that correct?
Click to view esiebert7625's profile Guru 6,794 posts since
Oct 23, 2006
If you are using SCP or cold migration it uses the Service Console NIC.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities