Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # begin crush map
- # devices
- device 0 device0
- device 1 device1
- device 2 osd.2
- device 3 osd.3
- # types
- type 0 osd
- type 1 host
- type 2 rack
- type 3 row
- type 4 room
- type 5 datacenter
- type 6 root
- # buckets
- host ip-10-16-43-12 {
- id -7 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.3 weight 1.000
- }
- rack az1 {
- id -3 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item ip-10-16-43-12 weight 1.000
- }
- host ip-10-16-20-11 {
- id -6 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 1.000
- }
- rack az2 {
- id -5 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item ip-10-16-20-11 weight 1.000
- }
- root default {
- id -1 # do not change unnecessarily
- # weight 2.000
- alg straw
- hash 0 # rjenkins1
- item az1 weight 1.000
- item az2 weight 1.000
- }
- # 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