Run a live migration in the VMM fabric
This article describes how to run a live migration of virtual machines (VMs) or VM storage in the System Center Virtual Machine Manager (VMM) fabric. VMM provides live migration support between standalone Hyper-V hosts or between cluster hosts that have live migration enabled. Learn more.
Migrate a VM between two standalone hosts
To migrate a virtual machine from one standalone Hyper-V host to another standalone Hyper-V host, the VM configuration files and virtual hard disk must be located on an SMB 3.0 file share.
- In VMs and Services > All Hosts, select the standalone source host from which you want to migrate.
- Select the host and in VMs, select the running VM that you want to migrate. Start the machine if it's not running.
- In Virtual Machine, select Migrate Virtual Machine to start the Migrate Virtual Machine Wizard.
- In Select Host, review the destination hosts and their associated transfer types. The Live transfer type appears if both hosts are configured to connect to the same SMB 3.0 file share.
- Select the destination host where the transfer type is Live and select Next.
- In Summary, select Move. To track the job status, open the Jobs workspace.
- To verify that the virtual machine was migrated, check the VMs list on the destination host to ensure the VM is running.
Migrate a VM between clusters
You can migrate a VM between clusters using shared storage or with no shared infrastructure.
Select the required tab for steps for live migration with shared storage or with no shared infrastructure:
Migrate storage between two locations on a standalone host
Note
You can't live migrate storage for a shared VHDX file. You can move the other VM files and perform normal live migration. To move the shared VHDX file to another location, you must shut down the VMs and then move the file.
You can run a live migration of VM storage between locations on standalone hosts. You can move the entire virtual machine, which includes virtual hard disks (VHDs) and configuration information, or move only specific VHDs to a different location.
In VMs and Services > All Hosts, select the standalone host where the VM is located.
In VMs, select the running VM for which you want to migrate storage. Start the machine if it's not running.
In Virtual Machine, select Migrate Storage to start the Migrate Virtual Machine Wizard.
In Select Path > Storage location, select one of the default storage locations on the host. Or select Browse to view all possible storage destinations. Select the destination SMB 3.0 file share or location on the local hard disk and select OK.
If you specify an SMB 3.0 file share in the Storage location list, ensure that you use the fully qualified domain name (FQDN) of the destination server in the share path. For example, instead of \\fileserver1\smbshare, use \\fileserver1.contoso.com\smbshare.
Optionally, select Add this path to the list of default storage locations on the host, and select Next.
On the Summary page, select Move. Track the progress in Jobs.
Run live migrations concurrently
You can run live migration on multiple VMs so that two migrations occur at the same time on the same host. Note that:
- You can't select multiple VMs for a live migration. You need to manually start each migration.
- You can specify how many concurrent migrations to run. The default setting is two, which is the number of simultaneous live migrations and storage migrations that are enabled in Hyper-V. For example, a host can participate in one outgoing live migration plus one incoming, two outgoing live migrations, or two incoming live migrations.
- Live migrations and live storage migrations are independent. You can perform two live migrations and two live storage migrations simultaneously. VMM considers live virtual machine and storage migration (live VSM) as one live migration and one storage migration.
- You can view concurrent migrations in progress in Hyper-V Manager > Actions > Hyper-V Settings > Server > Live Migrations and Storage Migrations. In Jobs, verify that the migrations occur simultaneously.
Improve live migration speed
On Hyper-V hosts, you can increase live migration speed using compression using SMB as the transport or both. The compression method uses algorithms that reduce the data that is transmitted over the wire. The SMB method can allow for faster data transfer.
By default, faster live migration is enabled to use the compression method. You can disable, enable, or change the method of faster live migration by changing the live storage migration settings, either at the Hyper-V host level or for each live migration instance.
Change live migration settings as follows:
In Hyper-V Manager, select Actions > Hyper-V Settings > Server > Live Migration, and select Advanced Features.
In Migration settings > Live migration settings, do one of the following:
- To disable faster live migration, select Standard live migration.
- To use compression for faster live migration, select Use compression.
- To use SMB for faster live migration, select Use SMB as Transport.