Since Qemu supports live migration using virsh
command for a long time now, how can that be used in OpenNebula to migrate a VM which is using local storage from one hypervisor to another? I found an old discussion which suggest that you should edit /var/lib/one/remotes/vmm/kvm/migrate
and add a --copy-storage-all
parameter to the virsh
command. If we try the migration then, we get this error:
Storage volume not found: no storage pool with matching target path '/var/lib/one//datastores/0/3'
But even if it worked, wouldn’t this break migrating of VMs which are using shared storage?
Is there a way to make this work with both shared and local storage? Is there maybe a better way, and does anyone know if OpenNebula plans to add support for live migration of VMs without shared storage?