How to migrate KVM?

andrewg

New Member
Aug 22, 2008
42
0
0
Ok so I guess the documentation is not clear that proxmox ve does not support migration of KVM machines... At least when I try, I get the message: "Error: VM migration for vm type 'qemu' is not implemented jet"

(typo on yet by the way)

So can someone outline the procedure for migrating a KVM machine? Do I just copy the qcow2 file and then setup a new VMID like the migration instructions? http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
Or is there a more elegant way to do it...?
 
Ok so I guess the documentation is not clear that proxmox ve does not support migration of KVM machines... At least when I try, I get the message: "Error: VM migration for vm type 'qemu' is not implemented jet"

(typo on yet by the way)

So can someone outline the procedure for migrating a KVM machine? Do I just copy the qcow2 file and then setup a new VMID like the migration instructions? http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
Or is there a more elegant way to do it...?

currently you have to move the files. in the upcoming version 1.x offline migration via web interface will be implemented (rsync these files).

for 2.x, we think of live migration (but then you need shared storage).
 
Ok so I copy the qcow2 files from /var/lib/vz/images and the conf files from /etc/qemu-server/XXX.conf, and is that it?
How do you get the new target machine to recognize the copied VMIDs and how to get the old machine to drop them?
Or do I not copy the /etc/qemu-server/XXX.conf files and setup new VMIDs on the target?