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
- device 8 osd.8
- device 9 osd.9
- device 10 osd.10
- device 11 osd.11
- device 12 osd.12
- device 13 osd.13
- device 14 osd.14
- device 15 osd.15
- # 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
- root default {
- id -1 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- }
- host ceph-osd0 {
- id -2 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 0.450
- }
- host ceph-osd1 {
- id -3 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.1 weight 0.450
- }
- host ceph-osd2 {
- id -4 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 0.450
- }
- host ceph-osd3 {
- id -5 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.3 weight 0.450
- }
- host ceph-osd4 {
- id -6 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.4 weight 0.450
- }
- host ceph-osd5 {
- id -7 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.5 weight 0.450
- }
- host ceph-osd6 {
- id -8 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.6 weight 0.450
- }
- host ceph-osd7 {
- id -9 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.7 weight 0.450
- }
- host ceph-osd8 {
- id -10 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.8 weight 0.450
- }
- host ceph-osd9 {
- id -11 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.9 weight 0.450
- }
- host ceph-osd10 {
- id -12 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.10 weight 0.450
- }
- host ceph-osd11 {
- id -13 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.11 weight 0.450
- }
- host ceph-osd12 {
- id -14 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.12 weight 0.450
- }
- host ceph-osd13 {
- id -15 # do not change unnecessarily
- # weight 0.450
- alg straw
- hash 0 # rjenkins1
- item osd.13 weight 0.450
- }
- host ceph-osd14 {
- id -16 # do not change unnecessarily
- # weight 0.910
- alg straw
- hash 0 # rjenkins1
- item osd.14 weight 0.910
- }
- host ceph-osd15 {
- id -17 # do not change unnecessarily
- # weight 0.910
- alg straw
- hash 0 # rjenkins1
- item osd.15 weight 0.910
- }
- rack rack1-pdu1 {
- id -18 # do not change unnecessarily
- # weight 2.260
- alg straw
- hash 0 # rjenkins1
- item ceph-osd0 weight 0.450
- item ceph-osd1 weight 0.450
- item ceph-osd2 weight 0.450
- item ceph-osd15 weight 0.910
- }
- rack rack1-pdu2 {
- id -19 # do not change unnecessarily
- # weight 1.350
- alg straw
- hash 0 # rjenkins1
- item ceph-osd3 weight 0.450
- item ceph-osd4 weight 0.450
- item ceph-osd5 weight 0.450
- }
- rack rack1-pdu3 {
- id -20 # do not change unnecessarily
- # weight 1.350
- alg straw
- hash 0 # rjenkins1
- item ceph-osd6 weight 0.450
- item ceph-osd7 weight 0.450
- item ceph-osd8 weight 0.450
- }
- rack rack2-pdu1 {
- id -21 # do not change unnecessarily
- # weight 1.350
- alg straw
- hash 0 # rjenkins1
- item ceph-osd9 weight 0.450
- item ceph-osd10 weight 0.450
- item ceph-osd11 weight 0.450
- }
- rack rack2-pdu2 {
- id -22 # do not change unnecessarily
- # weight 1.810
- alg straw
- hash 0 # rjenkins1
- item ceph-osd12 weight 0.450
- item ceph-osd13 weight 0.450
- item ceph-osd14 weight 0.910
- }
- # rules
- rule replicated_ruleset {
- ruleset 0
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- rule rack-pdu {
- ruleset 2
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 0 type rack
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement