Replicating between two datacenters without decompiling CRUSH map

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

 



Hi,

I created a rule with this command:

ceph osd crush rule create-replicated rrd default datacenter

Since chooseleaf type is 1, I expected it to distribute the copies
evenly on two datacenters with six hosts each. For example, six copies
would mean a copy on each host.

When I test the resulting CRUSH map with the crush tool I get bad
mappings. PGs stay in active+clean+remapped and
active+undersized+remapped. I thought it might help if I increase the
choose tries, but it stays the same.

What is the best method to distribute at least three copies over two
datacenters? Since the docs state that it is rarely needed to decompile
the CRUSH map, I thought it must be possible with a rule create command
like above. I don’t think it is that rare to have two sites…

Thanks!
Torsten

-- 
Torsten Casselt, IT-Sicherheit, Leibniz Universität IT Services
Tel: +49-(0)511-762-799095      Schlosswender Str. 5
Fax: +49-(0)511-762-3003        D-30159 Hannover

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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