Re: Try to find the right way to enable rbd-mirror.

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

 



On Thu, May 12, 2016 at 6:33 AM, Mika c <mika.leaf666@xxxxxxxxx> wrote:

> 4.) Both sites  installed "rbd-mirror".
>      Start daemon "rbd-mirror" .
>      On site1:$sudo rbd-mirror -m 192.168.168.21:6789
>      On site2:$sudo rbd-mirror -m 192.168.168.22:6789

Assuming you use keep "ceph" as the local cluster name and use
"remote" for its peer, you should be able to do the following:

systemctl enable ceph-rbd-mirror@0
systemctl start ceph-rbd-mirror@0

You can override the local cluster name by putting
"CLUSTER=<whatever>" in /etc/sysconfig/ceph. The name of the remote
cluster is derived from the registration added via the "rbd mirror
pool peer add" command.

-- 
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux