I am trying to live migrate my KVM based VM from one host to another for non shared storage using virsh migrate. I have set both the hostnames at /etc/hosts on each of the host. Also I have set passwordless ssh between the hosts. Still i am not able to live migrate my VM.
Steps I followed:
- Created a vm on host1 with a lv
- Created a dummy lv on host2
- symlink the host2 lv with host1 vm disk
- executed command: virsh migrate --live --persistent --verbose --copy-storage-all --desturi qemu+ssh://root@host2/system v4108
I get the error : error: internal error: unable to execute QEMU command 'drive-mirror': Failed to connect socket: No route to host
Can anyone help to sort this issue? Is anything that I might be missing out?