Faddom ❤️ Nutanix: A new official partnership - now mapping Nutanix AHV

VMware Live Migration (vSphere vMotion): Process, Requirements and Limitations

Read Time: 4 minutes

VMware Live Migration (vSphere vMotion): Process, Requirements and Limitations

What Is vSphere vMotion? 

VMware vSphere vMotion, the primary tool that enables VMware live migration, allows for the seamless transfer of running virtual machines (VMs) from one physical server to another with no downtime. This technology ensures continuous workload operations, enabling hardware maintenance and load balancing without impacting system performance or user experience. 

Useful for IT administrators to achieve high availability in virtual environments, vSphere vMotion operates by dynamically moving the state of a VM—including its memory, storage, and network connectivity—from the source host to the destination host. This process is transparent to the VM, which continues to run uninterrupted during the migration. 

This is part of a series of articles about VMware Migration

How Does vMotion Work? 

Here are the primary steps involved in the vMotion process:

  1. Target compatibility check: vMotion establishes a migration task through the vCenter Server, which performs a compatibility check to ensure the virtual machine can be hosted on the destination ESXi server. This involves assessing constraints that could impede live migration. 
  2. Migration specification: A detailed migration specification is created and shared with the source and destination hosts, outlining details such as VM configuration, network settings, and host information. This ensures all necessary data is in place for a smooth transition.
  3. Pre-copy migration phase: vMotion manages the virtual machine’s memory during migration. It prepares the destination host by pre-allocating required compute resources and setting up a masked version of the VM. The pre-copy phase is where active memory pages from the source are replicated to the destination host. This phase includes tracing memory page changes (dirty pages) to ensure no data is lost or overwritten during transfer.
  4. Memory state convergence: To achieve memory state convergence between source and destination hosts, vMotion uses an iterative process that gradually reduces the amount of data needing replication with each cycle. If necessary, mechanisms like Stun During Page Send (SDPS) can slow down guest OS operations, allowing all memory pages to be synchronized without exceeding network transmission capacities. 
  5. Completing the switchover: Once all memory pages have been successfully replicated and verified for consistency, vMotion completes the switchover by suspending the source VM and activating it on the destination host with no perceptible downtime.

Key Features of VMware vMotion 

VMware vMotion provides the following features and capabilities:

  • Intelligent migration management: Optimized to ensure minimal impact on system resources and operations during migration. It intelligently manages the live transfer of virtual machines by dynamically adjusting to network bandwidth and storage capabilities, ensuring efficient use of resources. Advanced algorithms minimize the migration time, reducing the potential for performance degradation on source and destination hosts.
  • Interoperability: Extends across a range of VMware products and solutions, allowing for seamless migration of VMs within the same data center, across different geographical locations, within and between public clouds. It supports migration between hosts with different CPU architectures.
  • Multiple concurrent migrations: Allows IT administrators to optimize the use of network and compute resources with simultaneous transfers of multiple virtual machines across different hosts within the same cluster or across clusters. By managing several migrations at once, vMotion reduces the time required for large-scale migration projects.
  • Scheduled migration tasks: Allows IT administrators to plan and automate VM migrations during off-peak hours, such as maintenance windows. This minimizes the impact on critical business operations, ensuring that migrations do not interfere with user activities or system performance. 

Related content: Read our guide to VMware migration tool (coming soon)

vMotion Live Migration Requirements 

Here are the basic requirements for using vMotion to initiate and execute live migrations of virtual machines between physical servers in a virtualized environment: 

  • vCenter License: A vCenter Server license is essential as vMotion tasks are initiated through vCenter.
  • ESXi Hosts: The migration process occurs between two ESXi hosts, both of which must have a VMkernel interface enabled for vMotion and be network reachable from each other.
  • Network bandwidth: A minimum bandwidth of 250 Mbps per migration is required. However, more bandwidth is recommended, particularly for virtual machines with large amounts of RAM, as it speeds up the migration process.
  • Layer 2 network: The virtual machines being migrated must remain within the same layer 2 network to ensure network connectivity and consistency.
  • vMotion feature enabled: Both source and destination hosts need to have the vMotion feature enabled on their VMkernel interfaces.

VMware vMotion Limitations and Considerations 

VMware vMotion comes with certain limitations that must be accounted for to ensure smooth operations: 

  • Requirement for matching network IP address families between the source and destination hosts. 
  • Migrations across hosts using different IP versions, specifically from IPv4 to IPv6 or vice versa, are not supported. 
  • Using 1 GbE network adapters may lead to migration failures when dealing with virtual machines that have large vGPU profiles due to bandwidth constraints; hence, 10 GbE network adapters are recommended for such scenarios.
  • There is limited compatibility with virtual CPU performance counters and 3D graphics configurations. VMs can only be migrated to hosts with compatible CPU performance counters if these are enabled. For VMs with 3D graphics enabled and set to automatic rendering, they adapt to the destination host’s capabilities, requiring a GPU on the destination host if set to hardware rendering. 
  • Limitations on virtual machines that use USB devices connected to physical devices on the host or those using devices not accessible on the destination host. This requires disconnection before migration.

VMware Migration Made Easy with Faddom

Faddom’s application dependency mapping provides critical information you’ll need before migrating VMware workloads, automatically discovering all VM instances and their dependencies. Faddom is agentless and doesn’t require credentials to scan your environment. It is cheap, starting at $10K/year, and maps the entire environment in real-time, automatically updating maps 24/7. One person can map an entire data center in an hour.

Learn more about Faddom for data center migration or try it yourself with a free trial

Map All Your Servers, Applications, and Dependencies in 60 Minutes

Document your IT infrastructure both on premises and in the cloud.
No agents. No open firewalls. Can work offline.
FREE for 14 days. No credit card needed.

Share this article

Map Your Infrastructure Now

Simulate and plan ahead. Leave firewalls alone. See a current blueprint of your topology.

Try Faddom Now!

Map all your on-prem servers and cloud instances, applications, and dependencies
in under 60 minutes.

Get a 14-day FREE trial license.
No credit card required.

Try Faddom Now!

Map all your servers, applications, and dependencies both on premises and in the cloud in as little as one hour.

Get a FREE, immediate 14-day trial license
without talking to a salesperson.
No credit card required.
Support is always just a Faddom away.