Virtualization

Perform a Live KVM Migration and Measure the Interruption

Start an external one-second service probe; Migrate a running guest with the selected storage topology; Measure the last-success to first-success gap; Prove persistent ownership and disk paths on the destination.

By InventiveHQ Team

Episode 19 of the InventiveHQ KVM virtualization series.

Lab verified July 2026 · Ubuntu 26.04 · libvirt 12.0.0 · QEMU 10.2.1

What this episode proves

  • Start an external one-second service probe
  • Migrate a running guest with the selected storage topology
  • Measure the last-success to first-success gap
  • Prove persistent ownership and disk paths on the destination

Validated workflow

1. Start an external one-second service probe

./probe-service.sh 192.168.122.81 192.168.124.125 /tmp/host-key 120

2. Migrate a running guest with the selected storage topology

virsh migrate --live --persistent --undefinesource --copy-storage-all ep18-migrate01 qemu+ssh://destination/system

3. Measure the last-success to first-success gap

virsh domblklist ep18-migrate01 --details

4. Prove persistent ownership and disk paths on the destination

curl http://192.168.122.81:8080/ihq-migration-proof

Finished state

The demonstration guest runs on host01 after a verified return migration. The public scripts contain no private keys, passwords, or tokens. Review names, addresses, paths, ownership, backups, quorum, and fencing for your own environment before running them.

Need help from an IT & cybersecurity partner?

InventiveHQ helps businesses secure, modernize, and run their technology. Let's talk about your goals.

Get in touch