[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Anthony D'Atri
Understandable concern. FWIW I’ve used rbd-mirror to move thousands of volumes between clusters with zero clobbers. —aad > On May 14, 2020, at 9:46 AM, Kees Meijs | Nefos wrote: > > My main concern is pulling images into a non-empty pool. It would be > (very) bad if rbd-mirror tries to be sm

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Kees Meijs | Nefos
Thanks for clearing that up, Jason. K. On 14-05-2020 20:11, Jason Dillaman wrote: > rbd-mirror can only remove images that (1) have mirroring enabled and > (2) are not split-brained with its peer. It's totally fine to only > mirror a subset of images within a pool and it's fine to only mirror > o

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Jason Dillaman
On Thu, May 14, 2020 at 12:47 PM Kees Meijs | Nefos wrote: > Hi Anthony, > > A one-way mirror suits fine in my case (the old cluster will be > dismantled in mean time) so I guess a single rbd-mirror daemon should > suffice. > > The pool consists of OpenStack Cinder volumes containing a UUID (i.e.

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Kees Meijs | Nefos
Hi Anthony, A one-way mirror suits fine in my case (the old cluster will be dismantled in mean time) so I guess a single rbd-mirror daemon should suffice. The pool consists of OpenStack Cinder volumes containing a UUID (i.e. volume-ca69183a-9601-11ea-8e82-63973ea94e82 and such). The change of con

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Anthony D'Atri
When you set up the rbd-mirror daemons with each others’ configs, and initiate mirroring of a volume, the destination will create the volume in the destination cluster and pull over data. Hopefully you’re creating unique volume names so there won’t be conflicts, but that said if the destinati

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Eugen Block
The pool names in both clusters have to be identical in addition to the required journal feature. It’s probably an advantage if the existing pool in the second cluster has a different name. In that case you can set up the mirror for a new pool without affecting the other pool and after mirr

[ceph-users] Re: Using rbd-mirror in existing pools

2020-05-14 Thread Zhenshi Zhou
As a matter of my experience, rbd-mirror only copy the images with journaling feature of clusterA to clusterB. It doesn't influence the other images in the pool of clusterB. You'd better have a test on it. Kees Meijs | Nefos 于2020年5月14日周四 下午10:22写道: > Hi list, > > Thanks again for pointing me to