Advertisement
Guest User

Untitled

a guest
Mar 27th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. # begin crush map
  2.  
  3. # devices
  4. device 0 osd.0
  5. device 1 osd.1
  6. device 2 osd.2
  7. device 3 osd.3
  8. device 4 osd.4
  9. device 5 osd.5
  10. device 6 osd.6
  11. device 7 osd.7
  12. device 8 osd.8
  13. device 9 osd.9
  14. device 10 osd.10
  15. device 11 osd.11
  16. device 12 osd.12
  17. device 13 osd.13
  18. device 14 osd.14
  19.  
  20. # types
  21. type 0 osd
  22. type 1 host
  23. type 2 rack
  24. type 3 row
  25. type 4 room
  26. type 5 datacenter
  27. type 6 root
  28.  
  29. # buckets
  30. host gwboss1.iu.xsede.org {
  31. id -2 # do not change unnecessarily
  32. # weight 3.000
  33. alg straw
  34. hash 0 # rjenkins1
  35. item osd.0 weight 1.000
  36. item osd.1 weight 1.000
  37. item osd.2 weight 1.000
  38. }
  39. host gwboss2.iu.xsede.org {
  40. id -4 # do not change unnecessarily
  41. # weight 4.000
  42. alg straw
  43. hash 0 # rjenkins1
  44. item osd.3 weight 1.000
  45. item osd.4 weight 1.000
  46. item osd.5 weight 1.000
  47. item osd.6 weight 1.000
  48. item osd.7 weight 1.000
  49. item osd.8 weight 1.000
  50. }
  51. rack bloomingtonrack {
  52. id -3 # do not change unnecessarily
  53. # weight 7.000
  54. alg straw
  55. hash 0 # rjenkins1
  56. item gwboss1.iu.xsede.org weight 3.000
  57. item gwboss2.iu.xsede.org weight 6.000
  58. }
  59. host gwioss1.iu.xsede.org {
  60. id -5 # do not change unnecessarily
  61. # weight 4.000
  62. alg straw
  63. hash 0 # rjenkins1
  64. item osd.9 weight 1.000
  65. item osd.10 weight 1.000
  66. item osd.11 weight 1.000
  67. item osd.12 weight 1.000
  68. item osd.13 weight 1.000
  69. item osd.14 weight 1.000
  70. }
  71. rack indyrack {
  72. id -6 # do not change unnecessarily
  73. # weight 7.000
  74. alg straw
  75. hash 0 # rjenkins1
  76. item gwboss1.iu.xsede.org weight 6.000
  77. }
  78.  
  79. root default {
  80. id -1 # do not change unnecessarily
  81. # weight 7.000
  82. alg straw
  83. hash 0 # rjenkins1
  84. item bloomingtonrack weight 9.000
  85. item indyrack weight 6.000
  86. }
  87.  
  88. # rules
  89. rule data {
  90. ruleset 0
  91. type replicated
  92. min_size 1
  93. max_size 10
  94. step take default
  95. step chooseleaf firstn 0 type host
  96. step emit
  97. }
  98. rule metadata {
  99. ruleset 1
  100. type replicated
  101. min_size 1
  102. max_size 10
  103. step take default
  104. step chooseleaf firstn 0 type host
  105. step emit
  106. }
  107. rule rbd {
  108. ruleset 2
  109. type replicated
  110. min_size 1
  111. max_size 10
  112. step take default
  113. step chooseleaf firstn 0 type host
  114. step emit
  115. }
  116.  
  117. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement