Advertisement
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
- # types
- type 0 osd
- type 1 host
- type 2 rack
- type 3 root
- # buckets
- host nfs01 {
- id -2 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 1.000
- }
- host ceph02 {
- id -4 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.1 weight 1.000
- }
- host ceph03 {
- id -5 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.2 weight 1.000
- }
- host mgmt01 {
- id -6 # do not change unnecessarily
- # weight 1.000
- alg straw
- hash 0 # rjenkins1
- item osd.3 weight 1.000
- }
- host ceph01 {
- id -7 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- }
- host control01 {
- id -8 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- }
- host compute01 {
- id -9 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- }
- rack racksecondfloor {
- id -3 # do not change unnecessarily
- # weight 4.000
- alg straw
- hash 0 # rjenkins1
- item nfs01 weight 1.000
- item ceph02 weight 1.000
- item ceph03 weight 1.000
- item mgmt01 weight 1.000
- item ceph01 weight 0.000
- item control01 weight 0.000
- item compute01 weight 0.000
- }
- root root {
- id -12 # do not change unnecessarily
- # weight 4.000
- alg straw
- hash 0 # rjenkins1
- item racksecondfloor weight 4.000
- }
- # rules
- rule myrule {
- ruleset 2
- type replicated
- min_size 2
- max_size 2
- step take root
- step chooseleaf firstn 0 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement