copy a KVM/Qemu vm to a cluster

shocked

New Member
Mar 10, 2009
3
0
1
Hello,

I want to COPY not migrate a KVM/Qemu vm to another machine. I have it configured perfectly and I want to run another copy (i realize i will need to change the ip). I can't figure out how to do this so it appears in the control panel on the guest node. Can someone help?

Thanks
 
Hello,

I want to COPY not migrate a KVM/Qemu vm to another machine. I have it configured perfectly and I want to run another copy (i realize i will need to change the ip). I can't figure out how to do this so it appears in the control panel on the guest node. Can someone help?

Thanks

this is manual process. a KVM guest is defined here:

/etc/qemu-server/VMID.conf

and the disk image file should be in this directory:
/var/lib/vz/images/VMID/

so the easiest way is that you create a new VM with identical settings to the one you want to copy via web interface. do not start!

now, copy the disk image to the new location, adapt the config file, start (take care about not using duplicate MAC addresses)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!