VMware vSphere

 View Only
  • 1.  How to move VM from one host to another ?

    Posted Jun 07, 2012 09:46 PM

    Both boxes running ESXi 5.0 (free licensed hypervisors).

    I have one virtual machine (FreeBSD) that I need to move to a different box.

    The network ports are not the same but I guess it's not a biggie to reconfigure the network adapters. Other than that, do I need to follow some best practice/SOP or copy&paste is all I need to run it perfectly on a different host?

    Many thanks!



  • 2.  RE: How to move VM from one host to another ?

    Posted Jun 07, 2012 09:49 PM

    Do you have some shared storage or is it all local?

    // Linjo



  • 3.  RE: How to move VM from one host to another ?

    Posted Jun 07, 2012 09:51 PM

    You best course of action to move the guests between vSphere Hyperviors (free licensed edition) is going to be by using VMware vCenter Converter Standalone



  • 4.  RE: How to move VM from one host to another ?

    Posted Jun 07, 2012 09:54 PM

    Copy&Paste will do in this case. Other than this you can also export the VM's to OVF and import then on the destination host. This makes sense in case the VM's use thin provisioned virtual disks.

    Some things to take care of:

    • VM's are powered off (not suspended)
    • VM's don't have snapshots (no ...00000x.vmdk file in the datastore)

    André



  • 5.  RE: How to move VM from one host to another ?

    Posted Jun 08, 2012 02:01 AM

    Thanks for the quick replies,

    I do use snapshots, what do I need to do before moving the data files?

    BTW, FastSCP sounds very cool, but just to make sure I understand it right, it's just an easier way to copy and paste data files. if I'll need to do that manually it will have the same effect?



  • 6.  RE: How to move VM from one host to another ?
    Best Answer

    Posted Jun 08, 2012 05:51 AM

    FastSCP allows you to copy directly between hosts so it can save you a bunch of copying time.  I'm not sure what you mean by "manually" copying the files.  Do you mean using the vShpere client and downloading the files to some location then uploading them to the new host?  Either way will work fine, but FastSCP should save you a step.

    If you currently have snapshots, you can consolidate first or leave 'em and just copy them with the rest of the vm. There should be no need to do anything with the snapshots if you are doing an "offline" migration.  As long as you grab all the files, the snapshots will show up on the destination host when you register the vm on the host.

    I've done "online" migrations of large vms by first taking a snapshot on the source host, copying the base disks to the destination host first while the vm was still running on the source host.  When I was ready to migrate CPU processing, I would power off the vm, copy the remaining files (which would include the disk deltas and whatnot) and power up the vm on the destination host (which would only cause a few minutes of downtime).  Later, I would consolidate the disks by removing the snapshot over on the destination host.  A poor man's way of doing a vm migration across ESXi free edition with little downtime.



  • 7.  RE: How to move VM from one host to another ?

    Posted Jun 08, 2012 12:58 AM

    Veeam's FastSCP tool has worked well for me in the past:

    http://www.veeam.com/vmware-esxi-fastscp.html

    Basically just copy any paste from source server to destination server.