Re: Help with crushmap

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

 



10 copies for a replicated setup seems... excessive.

The rules are quite simple, for example rule 1 could be:

take default
choose firstn 5 type datacenter # picks 5 datacenters
chooseleaf firstn 2 type host # 2 different hosts in each datacenter
emit

rule 2 is the same but type region and first 3 and for rule3 you can
just start directly in the selected dc (take dc1).

-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

Am So., 2. Dez. 2018 um 17:44 Uhr schrieb Vasiliy Tolstov <v.tolstov@xxxxxxxxx>:
>
> Hi, i need help with crushmap
> I have
> 3 regions - r1 r2 r3
> 5 dc - dc1 dc2 dc3 dc4 dc5
> dc1 dc2 dc3 in r1
> dc4 in r2
> dc5 in r3
>
> Each dc have 3 nodes with 2 disks
> I need to have 3 rules
> rule1 to have 2 copies on two nodes in each dc - 10 copies total failure domain dc
> rule2 to have 2 copies on two nodes in each region - 6 copies total failure domain region
> rule3 to have 2 copies on two nodes in dc1 failure domain node
>
> How looks crushmap in this case for replicated type?
> Thanks.
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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