Re: RBD Mirror between two separate clusters named ceph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The "cluster" name is really just the name of the configuration file.
The only issue with your command-line is that you should connect to
the "local" cluster to add a peer as a remote cluster:

rbd --cluster ceph mirror pool peer add spin2 client.admin@remote-mirror

On Thu, Oct 5, 2017 at 7:45 PM, Alex Gorbachev <ag@xxxxxxxxxxxxxxxxxxx> wrote:
> I am testing rbd mirroring, and have two existing clusters named ceph
> in their ceph.conf.  Each cluster has a separate fsid.  On one
> cluster, I renamed ceph.conf into remote-mirror.conf and
> ceph.client.admin.keyring to remote-mirror.client.admin.keyring, but
> it looks like this is not sufficient:
>
> root@lab2-mon3:/etc/ceph# rbd --cluster remote-mirror mirror pool peer
> add spin2 client.admin@remote-mirror
> rbd: error adding mirror peer
> 2017-10-05 19:40:52.003289 7f290935c100 -1 librbd: Cannot add self as
> remote peer
>
> Short of creating a whole new cluster, are there any options to make
> such configuration work?
>
> Thank you,
> --
> Alex Gorbachev
> Storcium
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux