What Is VM Live Migration and How Does It Avoid Downtime?
Live migration moves a running virtual machine from one physical host to another without shutting down its operating system, so applications and users see zero or near-zero downtime. Most major virtualization platforms support it, and production data centers rely on it wherever services have to keep running.
Updated · Mr.PlanB
Overview
Migrating a VM used to mean shutting it down, exporting it, importing it on another host, and starting it again. That works, but the service is interrupted. Live migration avoids the interruption by transferring the VM's memory state, configuration, and execution context while the VM is still running.
The process usually uses a pre-copy mechanism. The target host first creates a shadow VM to receive the source machine's memory. Memory pages are then copied from the source to the destination while the VM keeps running, and any pages that change during the transfer are tracked and sent again in further rounds. When only a few changes remain, the source VM is paused briefly, the last memory differences are transferred, storage access is switched to the destination host, and the VM continues running there. Network switches are then updated so traffic goes to the new host.
Live migration also helps with load balancing and hardware maintenance, since administrators can move workloads off overloaded or aging servers without affecting business operations. It may need specific licensing, shared storage, compatible CPUs, and correct network configuration, and live migration between different platforms is usually not supported.
1. Does live migration always guarantee zero downtime?
The downtime is usually so short that users do not notice it, although a short pause can happen during the final switchover.
2. What infrastructure is required for live migration?
It commonly needs shared storage, network connectivity between hosts, and compatible CPUs.
3. Can live migration move VMs between different hypervisors?
No. Live migration usually works only within the same virtualization platform.
Related guides
More from the backup hub on the same topics.
Need help with backup and recovery?
Use the form below to get in touch about backup strategy, recovery planning, and data protection projects.