; ceph-users@lists.ceph.com
Subject: Re: [ceph-users] CRUSHMAP for chassis balance
With sufficiently new CRUSH versions (all the latest point releases on LTS?) I
think you can simply have the rule return extra IDs which are dropped if they
exceed the number required. So you can choose two chassis
Dear cepher,
Currently I am working on crushmap to try to make sure the at least one copy
are going to different chassis.
Say chassis1 has host1,host2,host3, and chassis2 has host4,host5,host6.
With replication =2, it's not a problem, I can use the following step in rule
step take chasses1
step
With sufficiently new CRUSH versions (all the latest point releases on
LTS?) I think you can simply have the rule return extra IDs which are
dropped if they exceed the number required. So you can choose two chassis,
then have those both choose to lead OSDs, and return those 4 from the rule.
-Greg