Re: Crush rule examples

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

 



I have worked with crush and crush rules a lot over the last 12 years. I
would always recommend testing the rules with a crushtool, for example.
https://docs.ceph.com/en/reef/man/8/crushtool/


  joachim.kraftmayer@xxxxxxxxx

  www.clyso.com

  Hohenzollernstr. 27, 80801 Munich

Utting | HR: Augsburg | HRB: 25866 | USt. ID-Nr.: DE275430677



Am Mi., 20. Nov. 2024 um 11:31 Uhr schrieb Janne Johansson <
icepic.dz@xxxxxxxxx>:

> > Sorry, sent too early. So here we go again:
> >   My setup looks like this:
> >
> >        DC1
> >            node01
> >            node02
> >            node03
> >            node04
> >            node05
> >        DC2
> >            node06
> >            node07
> >            node08
> >            node09
> >            node10
> >
> > I want a replicated pool with size=4. Two copies should go in each DC,
> > and then no two copies on a single node.
> > How can I describe this in a crush rule?
>
> This post seem to show that, except they have their root named "nvme"
> and they split on rack and not dc, but that is not important.
>
>
> https://unix.stackexchange.com/questions/781250/ceph-crush-rules-explanation-for-multiroom-racks-setup
>
> with the answer at the bottom:
>
> for example this should work as well, to have 4 replicas in total,
> distributed across two racks:
> step take default class nvme
> step choose firstn 2 type rack
> step chooseleaf firstn 2 type host
>
> --
> May the most significant bit of your life be positive.
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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