What is VMotion?
VMware VMotion enables the live migration of running virtual machines from one physical server to another with zero downtime, continuous service availability, and complete transaction integrity. It is transparent to users.
VMotion lets you:
- Automatically optimize and allocate entire pools of resources for maximum hardware utilization and availability.
- Perform hardware maintenance without any scheduled downtime.
- Proactively migrate virtual machines away from failing or underperforming servers.
So how Does VMotion work?
First, the entire state of a virtual machine is encapsulated by a set of files stored on shared storage. VMware’s clustered Virtual Machine FileSystem (VMFS) allows multiple installations of ESX Server to access the same virtual machine files concurrently.
Second, the active memory and precise execution state of the virtual machine is rapidly transferred over a high speed network. This allows the virtual machine to instantaneously switch from running on the source ESX Server to the destination ESX Server. VMotion keeps the transfer period imperceptible to users by keeping track of on-going memory transactions in a bitmap. Once the entire memory and system state has been copied over to the target ESX Server, VMotion suspends the source virtual machine, copies the bitmap to the target ESX Server, and resumes the virtual machine on the target ESX Server. This entire process takes less than two seconds on a Gigabit Ethernet network.
Third, the networks used by the virtual machine are also virtualized by the underlying ESX Server. This ensures that even after the migration, the virtual machine network identity and network connections are preserved. VMotion manages the virtual MAC address as part of the process. Once the destination machine is activated, VMotion pings the network router to ensure that it is aware of the new physical location of the virtual MAC address. Since the migration of a virtual machine with VMotion preserves the precise execution state, the network identity, and the active network connections, the result is zero downtime and no disruption to users.