Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # begin crush map
- # 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 device
- type 1 host
- type 2 rack
- type 3 row
- type 4 room
- type 5 datacenter
- type 6 root
- # buckets
- host HOST-1 {
- id -1 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 1.000
- }
- host HOST-2 {
- id -2 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.1 weight 1.000
- }
- host HOST-3 {
- id -3 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 1.000
- }
- host HOST-4 {
- id -4 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.3 weight 1.000
- }
- host HOST-5 {
- id -5 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.4 weight 1.000
- }
- host HOST-6 {
- id -6 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.5 weight 1.000
- }
- host HOST-7 {
- id -7 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.6 weight 1.000
- }
- host HOST-8 {
- id -8 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.7 weight 1.000
- }
- host HOST-9 {
- id -9 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.8 weight 1.000
- }
- host HOST-10 {
- id -10 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.9 weight 1.000
- }
- host HOST-11 {
- id -11 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.10 weight 1.000
- }
- host HOST-12 {
- id -12 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.11 weight 1.000
- }
- host HOST-13 {
- id -13 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.12 weight 1.000
- }
- host HOST-14 {
- id -14 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.13 weight 1.000
- }
- host HOST-15 {
- id -15 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.14 weight 1.000
- }
- host HOST-16 {
- id -16 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.15 weight 1.000
- }
- rack rack0 {
- id -17 # do not change unnecessarily
- # weight 16.000
- alg straw
- hash 0 # rjenkins1
- item HOST-1 weight 1.000
- item HOST-2 weight 1.000
- item HOST-3 weight 1.000
- item HOST-4 weight 1.000
- item HOST-5 weight 1.000
- item HOST-6 weight 1.000
- item HOST-7 weight 1.000
- item HOST-8 weight 1.000
- item HOST-9 weight 1.000
- item HOST-10 weight 1.000
- item HOST-11 weight 1.000
- item HOST-12 weight 1.000
- item HOST-13 weight 1.000
- item HOST-14 weight 1.000
- item HOST-15 weight 1.000
- item HOST-16 weight 1.000
- }
- row row0 {
- id -18 # do not change unnecessarily
- # weight 16.000
- alg straw
- hash 0 # rjenkins1
- item rack0 weight 16.000
- }
- room room0 {
- id -19 # do not change unnecessarily
- # weight 16.000
- alg straw
- hash 0 # rjenkins1
- item row0 weight 16.000
- }
- datacenter datacenter0 {
- id -20 # do not change unnecessarily
- # weight 16.000
- alg straw
- hash 0 # rjenkins1
- item room0 weight 16.000
- }
- root default {
- id -21 # do not change unnecessarily
- # weight 16.000
- alg straw
- hash 0 # rjenkins1
- item datacenter0 weight 16.000
- }
- # rules
- rule data {
- ruleset 0
- type replicated
- min_size 3
- max_size 3
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- rule metadata {
- ruleset 1
- type replicated
- min_size 3
- max_size 3
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- rule rbd {
- ruleset 2
- type replicated
- min_size 3
- max_size 3
- step take default
- step chooseleaf firstn 0 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment