Live Migration
Cheat sheet · https://pcornel.dk/topic.php?topic=3339
Answer
Live migration transfers VM execution state and coordinates storage/network identity so the running workload transitions to the destination host; shared-nothing scenarios can also move the required storage over the network.
Remember
- Live migration success proves a VM mobility operation, not application-level zero interruption.
- Source and destination compatibility, authentication, networking and storage access are independent prerequisites.
- Clustered and nonclustered live migration are related but different management contexts.
- A VM can be Running on the destination while guest networking or application sessions are degraded.
First checks
Get-VM— VMs and stateGet-VMHost— host settingsGet-VMSwitch— virtual switchesGet-VMNetworkAdapter -VMName <vm>— vNICs, switch, VLANGet-VMHardDiskDrive -VMName <vm>— attached disksGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— VMMS events
Verify in this order
memory copied → final pause → ownership moves to target
Where it usually breaks
First mismatch in host/cluster identity → management configuration → quorum/resource ownership → network/storage dependencies → VM/service runtime → guest/application verification; preserve identity/native error/pre-state before mutation.
Hyper-V → Live Migration reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Prerequisites | Hosts/auth/network/storage satisfy migration requirements | Does not prove migration will complete |
| Transfer | VM state is being moved | Does not prove destination workload healthy yet |
| Completion | VM runs on destination host | Does not prove application session continuity |
| Workload | Guest/app checks succeed after move | Required final operational evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3339