Connecting 2 PVE clusters to one RBD from separate Ceph cluster

Feb 7, 2019
12
1
21
31
Hello,

i would like to ask you if there is any problem with the following configuration.

2 Separate PVE clusters
1 Pacific ceph cluster - unmanaged by proxmox

The plan is to use one RBD for both PVE clusters. My concern is that the naming conventions for disk images of VMs would cause colisions if the VMs have the same ID on separate PVE clusters. Is the image name pseudorandom or some stanadard naming as with qcow2?

Thank you
 
The disks are named vm-<vmid>-disk-<num>. So if you make sure you don't have overlapping VMIDs on both clusters, it should work. But we really don't recommend doing it like this.
Can you perhaps create separate pools for both clusters? Then this is no longer an issue.
 
  • Like
Reactions: Moayad