"Quick" migration utility for VM(s) on ESX and ESXi

From VI-Toolkit
Jump to navigation Jump to search

Download script: ghettoQuickMigrate.sh

Compatible with: ESX/ESXi 3.5u2+

Please find more details located at: http://communities.vmware.com/docs/DOC-9400

This script provides administrators running the free version of ESXi on several hosts with the capability to perform Hyper-V-like "quick" migrations of virtual machines residing on shared storage between the hosts. VMware's VIMA virtual appliance was chosen as the central launch point for the quick migration process. ghettoQuickMigration.sh is executed from within VIMA and is compatible with ESXi 3.5u2+.

This script follows similarly to the Hyper-V Quick Migration process with the exception of replacing the disk resource swap with a virtual machine unregister/register command on the source and target hosts respectively. The state (powered ON/Suspended/OFF) of the virtual machine designated for migration is preserved through the entire process. Online virtual machines undergoing this migration will experience a temporary pause due to the suspend and resume steps.