Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # begin crush map
- tunable choose_local_tries 0
- tunable choose_local_fallback_tries 0
- tunable choose_total_tries 50
- tunable chooseleaf_descend_once 1
- # devices
- device 0 osd.0
- device 1 osd.1
- device 2 osd.2
- device 3 osd.3
- device 4 osd.4
- # types
- type 0 osd
- type 1 host
- type 2 rack
- type 3 row
- type 4 room
- type 5 datacenter
- type 6 root
- # buckets
- host ceph-osd1 {
- id -1 # do not change unnecessarily
- # weight 7.600
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 3.800
- item osd.1 weight 3.800
- }
- host ceph-osd6 {
- id -2 # do not change unnecessarily
- # weight 5.700
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 1.900
- item osd.3 weight 1.900
- item osd.4 weight 1.900
- }
- root rack1 {
- id -3 # do not change unnecessarily
- # weight 13.300
- alg straw
- hash 0 # rjenkins1
- item ceph-osd1 weight 7.600
- item ceph-osd6 weight 5.700
- }
- # rules
- rule HWraid {
- ruleset 0
- type replicated
- min_size 1
- max_size 2
- step take rack1
- step chooseleaf firstn 0 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement