This article may be too technical for most readers to understand. Please help improve it to make it understandable to non-experts, without removing the technical details. (April 2018) (Learn how and when to remove this template message)
VMware vMotion and svMotion require the use of vCenter and ESXi hosts.
vMotion (live migration)
Live migration (vMotion) in ESX allows a virtual machine to move between two different hosts. Live storage migration (Storage vMotion) enables live migration of virtual disks on the fly.
During vMotion Live Migration (vLM) of a running virtual machine (VM) the content of the (RAM) memory of the VM is sent from the running VM to the new VM (the instance on another host that will become the running VM after the vLM). The content of memory is by its nature changing all the time. ESX uses a system where the content is sent to the other VM and then it will check what data is changed and send that, each time smaller blocks. At the last moment it will very briefly 'freeze' the existing VM, transfer the last changes in the RAM content and then start the new VM. The intended effect of this process is to minimize the time during which the VM is suspended; in a best case this will be the time of the final transfer plus the time required to start the new VM.
svMotion (Storage vMotion)
svMotion enables live migration of virtual disks and their home directories without any downtime. svMotion uses a mirror driver to copy virtual hard drives and/or the home directory from the source to destination datastores simultaneously, which keeps everything in sync until the svMotion operation is complete on the destination, at which point the source data is deleted.
There is a performance impact from running svMotion – read IO from the source and write IO on the destination. This can be verified through esxtop. If VAAI is enabled on the ESXi hosts and on the storage array, it will offload the svMotion migration operation to the array instead of going through the VMkernel, which increases the migration speed.
- "The Design and Evolution of Live Storage Migration in VMware ESX" (PDF). Retrieved April 6, 2018.
- VMware Blog by Kyle Gleed: vMotion: what's going on under the covers, 25 February 2011, visited: 2 February 2012
- VMware website vMotion brochure. Retrieved 3 February 2012
- Epping, Duncan (July 14, 2011). "svMotion Mirror Driver". Yellow Bricks. Retrieved April 6, 2018.
- Epping, Duncan. "How to use ESXTOP". Yellow Bricks. Retrieved April 6, 2018.