<

Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

HOW TO: "Live Migrate" VMware Virtual Machines between ESX/ESXi hosts and/or datastores for FREE without licenses for vMotion or Storage vMotion

Published on
85,100 Points
35,900 Views
22 Endorsements
Last Modified:
Andrew Hancock (VMware vExpert / EE MVE^2)
MVE^2, Expert of the Year 2016-2011, Scribe 2016-2012, Author of the Year 2016,2013-2012 VMware vExpert 2016-2011 27 years of experience.
Migrate VMs between hosts and/or datastores for FREE without vMotion/Storage vMotion or Shared Storage

Not all organisation have access to VMware's vMotion or VMware's Storage vMotion technology because of budgetry constraints. I've written this article because it's a question which appears on Experts Exchange at least every few weeks, and now there is an easy solution to the problem.

Scenario 1
First implementation of VMware vSphere Essentials without shared storage, later the organisation purchases shared storage (iSCSI or Fibre Channel SAN or NFS NAS), and then needs to migrate existing virtual machines with little downtime to the shared storage platform.
 
Scenario 2
Organisation purchases a second newer replacement VMware vSphere host, needs to migrate existing virtual machines with little downtime to new VMware vSphere host.


Traditionally we would use ESXi/ESX Backup and Restore techniques, VMware vCenter Converter Standalone 5.0, or Datastore browser to clone or copy see my previous Experts Exchange articles below, to address the above scenarios, (remember here that VMware's vMotion or VMware's Storage vMotion is NOT available, because it's not available in our licensed version of VMware vSphere).

VMware ESX/ESXi Backup Guide

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.0

Software Technology has improved and using Veeam Quick Migration, we can migrate Live VMs between hosts and datastores for FREE!

In the latest version of Veeam Backup Free Edition, there is a new function called Quick Migration. Veeam Backup Free Edition is the same download as Veeam Backup and Replication v6.1, but a Veeam license is not applied at installation time.

The Quick Migration utility in Veeam Backup Free Edition lets you migrate a live VM to any host or datastore—even if you don’t use clusters or shared storage.

Quick Migration leverages native VMware technology, as well as exclusive Veeam technology, to accommodate any migration scenario, including:

    Migrating a VM from a local datastore to shared storage
    Migrating a VM between 2 separate hosts and datastores

With Quick Migration’s point-and-click interface, you can easily move a live VM from any source to any destination, even if vMotion and vStorage Motion are not available. And with Veeam’s SmartSwitch technology, downtime is reduced to mere seconds.

Source
http://www.veeam.com/free-vmware-esxi-backup.html


In the following steps, I will demonstrate, how a Live virtual machine can be migrated from a Local Datastore attached to a VMware vSphere ESXi host, to an iSCSI LUN on a SAN and different VMware vSphere ESXi host. - this demonstrates a vMotion (migrate from one host to another host) and Storage vMotion. (from one datastore to new datastore) - using Veeam Quick Migration.

Prerequisites

1. VMware vCenter Server for Windows or VMware vCenter Appliance installed and configured with one or more VMware vSphere ESXi/ESX hosts. So you would need to have purchased at least VMware vSphere Essentials.

2. Veeam Backup Free Edition for VMware and Hyper-V installed on a virtual or physical server. We often install Veeam Backup and Replication v6.1 (same product) on a Microsoft Windows Server 2008 R2, with 2 vCPU and 8GB RAM. I'm not going to document the installation of Veeam Backup Free Edition, because it is simply, point and click; download the software, extract the software from the ZIP archive, Run the setup program, and Click Next...Next...Next...Finish.

1. Start Veeam Backup & Replication

Click the Veeam Backup & Replication icon to start the backup application.
Click the Veeam Backup & Replication iconThe application will start and display the following banner
Veeam Backup & Replication startup bannerthe following configuration screen will be displayed
Configuration Screen

2. Add VMware vSphere vCenter Server

Before using Veeam Backup Free Edition, you must register your virtual infrastructure. To start this process, Click the Add Server button in the ribbon, the following Add Server Dialogue box will be displayed.
Add ServerSelect VMware vSphere, the following dialogue box will be displayed, add the DNS name or IP Address of your VMware vCenter Server. We always prefer to use DNS names, and to ensure that DNS is working correctly.
Enter DNS Name or IP Addressin this tutorial the vCenter Server for Windows we will be using is called cyrus-vcenter1.cyrus-consultants.co.uk. Enter the FQDN of the vCenter Server and Click Next
Enter vCenter Server DNS NameEnter an Administrator account and password which has access to vCenter Server, followed by Next.
Enter Administrator username and passwordthe following dialogue boxes will appear in turn
Detecting server typeSaving server to configurationafter a few seconds the final Summary dialogue appears, confirming Successful addition of the vCenter Server. Click Finish.
Successful ConfigurationClick the "+" sign next to VMware vSphere, and expand, this will show the list of Virtual Machines registered on VMware vSphere vCenter.
Show Virtual Machines registered on vCenter Server

3. Using the Veeam QuickMigration function

In this tutorial, we will Quick Migrate a Live virtual machine called "Cyrus Time NTP Appliance", although this is a small virtual machine appliance it's very important because this single appliance is responsible for providing correct time synchronisation for all servers, workstations, routers, switches and printers in our offices.

This virtual machine is currently hosted on an VMware vSphere Hypervisor ESXi 5.0 host called - esxdev005.cyrus-consultants.co.uk, and is stored on the hosts local datastore called esxdev005_local_vmfs5.
Virtual Machine to be Quick Migratedand in this tutorial we will Quick Migrate the Live virtual machine to a host called - esxdev004.cyrus-consultants.co.uk and a shared storage iSCSI LUN, formatted VMFS5 datastore called lun26_filer03. This is an iSCSI LUN, on a NetApp filer.

Right Click the Virtual Machine to be QuickMigrated and select Quick Migration
Select the Virtual Machinethe following screen confirms the virtual machine you would like to Quick Migrate, Click Next to confirm
Confirm virtual machine for quick migrationSelect Destination host, resource pool, VM folder and datastore. In this tutorial the screeenshot shows the selection we have selected, followed by Next.
Select Destination host, resource pool, VM folder and datastore.The next screen asks which proxy to use, with the Free Edition, there is only one Backup Proxy installed on the default server, so select Automatic, and click Next. In the licensed version of Veeam Backup & Replication, multiple Backup Proxys can increase transfer times.
Select Backup Proxy - leave as AutomaticThe following diaglogue boxes appears that Checks the possibility of migration this ensures ESX/ESXi hosts are reachable, datastores, and networks are correct.

A confirmation screen is displayed which summarises the Migration, Click Finish to start the Quick Migration. You can also select that the source VM is deleted after a successful migration. (tick box)
Ready for Quick MigrationThe Quick Migration in Progress
Quick Migration in ProgressQuick Migration Completed successfully
Quick Migration Completed successfullyThe following screenshot shows the Quick Migrated machine, on the correct host and datastore.
Quick Migrated Virtual Machine
Finally, on inspection in the vSphere Client, you will find, you have a backup of the original VM called <vm name>_migrated and the migrated virtual machine on the host and datastore selected.

Quick Migrated Virtual Machines
BUT, both VMs are Suspended, so just issue a Power-On Request to your original VM to resume service! (that's CTRL+B)

I suspect there is a little bugget here with VMware vSphere Client because both VMs are suspended and should have Pause Symbols, but there is a Pause Symbol missing from the Migrated VM, I suspect it's not refreshing after being Registered with vCenter Server, if you watch carefully, you will see a Pause symbol shortly after a Power-On is issued, and then changes to a Green Powered On Symbol.

In this tutorial article we have shown How To Migrate a Live Virtual Machine from an ESX/ESXi host, to another ESXi/ESX host, and migrate from local storage to shared storage for FREE using the Quick Migrate function in the latest version of Veeam Backup Free Edition.

Try it today, it's free, and much easier than alternative methods.

******************************************************************************************************************************************************
Thank you for reading my article, please leave valuable feedback. If you liked my VMware article and would like to see more Articles from me, please click the Yes button near the: Was this article helpful? at the bottom of this article just below and to the right of this information. Thank You. Do not forget if you have a question about this article or another VMware, Virtualisation, Windows Server 2012 question, why not post a Question for Me and the other Experts Exchange Experts in the VMware, Virtualisation, Windows 2008 Zones. I look forward to hearing from you. - Andy :- twitter @einsteinagogo
******************************************************************************************************************************************************
22
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 2
  • 2
  • +9
24 Comments
 
LVL 3

Expert Comment

by:chris2506
hanccocka,

You answered one of my very first questions on EE, which along with others has inspired me to start answering questions that are posted and offering advice where I can.

This article, along with your prolific advice and input into the site is so helpful to IT professionals, whether just starting out or established but needing a helping hand on a new problem, and I look forward to reading new articles and posts from you - the fact that you so freely share your expertise is greatly appreciated!


Thanks,

Chris
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Thanks for your kinds words!
0
 
LVL 3

Expert Comment

by:chris2506
Well deserved - thank you!
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

Expert Comment

by:RyanHenry
Very great article!!!
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
thanks
0
 

Expert Comment

by:okamon
what happen if user modifying something during the migration?
0
 

Expert Comment

by:gihrnm
this is good!
0
 

Expert Comment

by:Member_Dennis
Hi hanccocka,

Would this work to migrate a VM to a host that is in a different datacentre?
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
@Member_Dennis

Yes.
0
 
LVL 1

Expert Comment

by:patron
Great articale..Thanks a lot.
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
@bk...

Thanks for your comments.
0
 
LVL 9

Expert Comment

by:Timothy McCartney
Thanks hanccocka!

Once again, your VMware expertise is greatly appreciated!
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Thanks you for your kind words. Glad you liked the Article.
0
 
LVL 9

Expert Comment

by:Timothy McCartney
Just thought I'd update here and say I just ran the free Veeam backup utility for the first time and it worked excellently! The only difference is that the VirtualMachine_Migrated was powered off and the VirtualMachine (after move) was automatically powered on and the console was sitting at the same screen as it was prior to the migration. Two thumbs up for this tool!
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Thanks for Thumbs Up!
0
 
LVL 1

Expert Comment

by:WSNSD
What if the VM you are trying to move is running your vCenter? I'm thinking this won't work for that. We have that exact scenario in Essentials. The only thing I can come up with is to log in directly to a host that can see both datastores and copy the VM files (powered down of course) to the new datastore. Then remove from inventory on the old host and discover it with the new one, reconfigure a few settings, and power on. Easier way? It'd be great if the method in this article worked. Great article though, and thanks!
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
@WingSwept1 Please post a question, and myself or other Experts will be glad to assist.
0
 
LVL 1

Expert Comment

by:WSNSD
No worries. Wasn't really a "question" I needed an answer to or the communitiy to help with. It was more of a discussion of this article.  Thought maybe it would provide a datapoint for people in the same situation using the methods you described here.
0
 
LVL 5

Expert Comment

by:Dawid Fusek
woow Andy, I didn't notice this nice Veeam feature is also available in free edition :P

so good art :)

best regards
NTShad0w
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
@NTShad0w - Thanks for your kind comments.
0
 
LVL 4

Expert Comment

by:pchettri
what happens if the old server is a single ESX 4 host and uses DAS? Can I add new vcenter 5.5 on Veem and migrate VMs from ESX 4 without shared storage?
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
@pchettri - Please post a question and myself or other Experts will be glad to assist.
0
 

Expert Comment

by:simo Simo
Hello,

Great article.

I have a question:

Does the Veeam Backup utility moves VMs from ESX 4 to ESXI 5.5.

Cause I Have a new clusters of ESXi Hosts version 5.5 and I need to move all the VMs from my old ESX host 4.1?
0
 
LVL 123

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
It used to support 4.1, but whether the latest download does is another question, as 4.1 has been retired long ago.

This article was written around 6.1, and it did support 4.1, the latest current version of Veeam is 9.0!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Join & Write a Comment

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…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month