Live KVM migration without shared storage or cluster.

vladhk

New Member
Aug 15, 2018
1
0
1
29
Looking for advice. I have couple of old proxmox servers (v3.4) and new one (fresh install). Need to migrate VM's from old to new over network. Right now i'm using "stop vm -> rsync copy disk and config -> start vm on new server" method. Looking for live migration method without shared storage or cluster i found this libvirt implementation:
Code:
virsh migrate  --live --copy-storage-all --persistent qemu+ssh://root@/system
Copy VM over ssh connection without downtime (live). How can i implement this approach in proxmox?
 
I have pretty much the same issue. I would like to move some VM's to another Proxmox server incl. virtual drives. This works fine with the migrate VM command but still the virtual drive is on the same (old) drive. I can now try to move the virtual drive to the new drive. This fails with message: "
volume 'xxxxxxxxxxxxxxxxxxxx/vm-117-disk-1.qcow2' does not exist (500)". I run this command on the new server. Still the virtual drive is there but it is not recognized by the new server. I have set the drives as shared drives. I managed to move a single VM with virtual drive but now it fails with the others. Old Promox is 4.4 - new is 5.2 - both are in cluster.
I did the following steps:
- on server 1 - migrate VM to the new server (it starts to copy but there is now progress)
- on server 2 - move the virtual drive to the drive on server 2 (this is what failed)

I appreciate your reply.
 
Lets ask the other way around: is there any way to copy a virtual disk from one node to the other using the GUI?