Libvirt live migrate without shared storage
Create disks on the dest. For lvm
1 | lvcreate -L 200G -n $disk_name $vg |
Make sure the network is set up (virtual networks/bridges/etc)
migrate from src, this example uses ssh1
virsh migrate --live $domain_name qemu+ssh://$dst_domain/system --copy-storage-all --verbose --persistent --undefinesource
For CentOS/Rhel1
error: internal error: unable to execute QEMU command 'migrate': this feature or command is not currently supported
Redhat is a bunch of dick bags, so they disable migration capabilities in the default qemu they ship and CentOS doesn’t ship rhev by default.
To get around this, you need to use rhev. Luckily, it’s simple enough to either grab the source of your desired version, modify the spec to enable rhev, and rebuild the rpm or use the SIG ovirt version.