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
- tunable chooseleaf_vary_r 1
- # devices
- device 0 osd.0
- device 1 osd.1
- device 2 osd.2
- device 3 osd.3
- device 4 osd.4
- device 5 osd.5
- device 6 osd.6
- device 7 osd.7
- # types
- type 0 osd
- type 1 host
- type 2 chassis
- type 3 rack
- type 4 row
- type 5 pdu
- type 6 pod
- type 7 room
- type 8 datacenter
- type 9 region
- type 10 root
- # buckets
- host stor2 {
- id -2 # do not change unnecessarily
- # weight 73.020
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 72.760
- }
- host stor4 {
- id -3 # do not change unnecessarily
- # weight 72.760
- alg straw
- hash 0 # rjenkins1
- item osd.1 weight 72.760
- }
- host stor2-ssd {
- id -4 # do not change unnecessarily
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 1.0
- item osd.7 weight 1.0
- }
- host stor4-ssd {
- id -5 # do not change unnecessarily
- alg straw
- hash 0 # rjenkins1
- item osd.3 weight 1.0
- item osd.4 weight 1.0
- item osd.5 weight 1.0
- item osd.6 weight 1.0
- }
- root default {
- id -10 # do not change unnecessarily
- # weight 145.780
- alg straw
- hash 0 # rjenkins1
- item stor2 weight 73.020
- item stor4 weight 72.760
- }
- root ssd {
- id -11
- alg straw
- hash 0
- item stor2-ssd weight 1.0
- item stor4-ssd weight 1.0
- }
- # rules
- rule replicated_ruleset {
- ruleset 0
- type replicated
- min_size 1
- max_size 10
- step take default
- step choose firstn 0 type osd
- step emit
- }
- rule ssd {
- ruleset 1
- type replicated
- min_size 1
- max_size 10
- step take ssd
- step chooseleaf firstn 0 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement