[SOLVED] qm remote-migrate with shared storage

bjsko

Active Member
Sep 25, 2019
30
4
28
Hi,
I have a use case where we have fairly large PVE 7 cluster connected to an external ceph cluster. We would like to set up a second PVE cluster in the same physical location due to the current cluster is now pushing 36 hosts. The new cluster will be connected to the same external ceph cluster.

To be able to online migrate VM's between the clusters, I was thinking that qm remote-migrate(even if experimental) could be a nice feature. Testing this in a test environment seems to work just fine (for online migration), with the exception that it also performs a storage migration.

As both PVE clusters are connected to the same external ceph cluster, I would only like to online migrate the VM's, not the storage.

Is this possible as it is now, or will it be possible in later iterations of qm remote-migrate or by other means?

Many thanks

/bjørn
 
First of, having two Proxmox VE clusters accessing the exact same storage without any separation like namespaces is not recommended. Without much care, you might run into VMID conflicts and in the worst case scenario, one cluster removes disk images belonging to a VM in the other cluster.

Using Datacenter->Options->Next free VMID Range can help in this situation, but it is not a hard limit. It is still possible to manually set any VMID you want.


The right place for feature requests would be our bug tracker: https://bugzilla.proxmox.com
Please open one there, so technicalities can be discussed in the right place and won't get lost in the forum :)
 
First of, having two Proxmox VE clusters accessing the exact same storage without any separation like namespaces is not recommended. Without much care, you might run into VMID conflicts and in the worst case scenario, one cluster removes disk images belonging to a VM in the other cluster.

Using Datacenter->Options->Next free VMID Range can help in this situation, but it is not a hard limit. It is still possible to manually set any VMID you want.

We are autogenerating all VM's and in that process the VM-id's are assigned from our cmdb accross all clusters in all locations, so we should be fairly safe. But of course - you are absolutely right! ;)

The right place for feature requests would be our bug tracker: https://bugzilla.proxmox.com
Please open one there, so technicalities can be discussed in the right place and won't get lost in the forum :)
Thanks, I have opened a feature request: https://bugzilla.proxmox.com/show_bug.cgi?id=4928

Thanks for the fast reply and all the hard work going into Proxmox. Marking this as solved as you have provided an answer and further discussions will take place in bugzilla.

/bjørn
 

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!