Live migrating a virtual machine with libvirt without a shared storage

We received our new VM host today, so the first thing I wanted to try was live migration. I started with the virsh migrate –help command, then looked up the official documentation to find out what should I exactly do.

What command to run?

As of today, the official libvirt: Guest migration page is a bit outdated and has a lot of different transport modes and configuration available. To be honest, I do not understand the libvirt migration models, and I did not spend much time trying to understand it.

I want to migrate a VM without any interruption and without using any shared storage. So basically the new host will receive a running virtual machine that it never heard about, neither does it have the associated virtual disks. Apart from this, I want the persistent VM to remain persistent on the receiving host.

Continue reading “Live migrating a virtual machine with libvirt without a shared storage”