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 device3
- device 4 osd.4
- device 5 osd.5
- device 6 osd.6
- # 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-OSD-01 {
- id -6 # do not change unnecessarily
- # weight 7.280
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 1.820
- item osd.5 weight 1.820
- item osd.6 weight 3.640
- }
- host ceph-OSD-02 {
- id -7 # do not change unnecessarily
- # weight 7.280
- alg straw
- hash 0 # rjenkins1
- item osd.1 weight 1.820
- item osd.4 weight 1.820
- item osd.2 weight 3.640
- }
- rack 2 {
- id -4 # do not change unnecessarily
- # weight 14.560
- alg straw
- hash 0 # rjenkins1
- item ceph-OSD-01 weight 7.280
- item ceph-OSD-02 weight 7.280
- }
- room basement {
- id -3 # do not change unnecessarily
- # weight 14.560
- alg straw
- hash 0 # rjenkins1
- item 2 weight 14.560
- }
- datacenter T1Y7E1 {
- id -2 # do not change unnecessarily
- # weight 14.560
- alg straw
- hash 0 # rjenkins1
- item basement weight 14.560
- }
- root default {
- id -1 # do not change unnecessarily
- # weight 14.560
- alg straw
- hash 0 # rjenkins1
- item T1Y7E1 weight 14.560
- }
- # rules
- rule data {
- ruleset 0
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- rule metadata {
- ruleset 1
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- rule rbd {
- ruleset 2
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement