Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. # begin crush map
  2. tunable choose_local_tries 0
  3. tunable choose_local_fallback_tries 0
  4. tunable choose_total_tries 50
  5. tunable chooseleaf_descend_once 1
  6. tunable chooseleaf_vary_r 1
  7. tunable straw_calc_version 1
  8.  
  9. # devices
  10. device 0 osd.0
  11. device 1 osd.1
  12. device 2 osd.2
  13. device 3 osd.3
  14. device 4 osd.4
  15. device 5 osd.5
  16. device 6 osd.6
  17. device 7 osd.7
  18. device 8 osd.8
  19. device 9 osd.9
  20. device 10 osd.10
  21. device 11 osd.11
  22. device 12 osd.12
  23. device 13 osd.13
  24. device 14 osd.14
  25. device 15 osd.15
  26. device 16 osd.16
  27. device 17 osd.17
  28. device 18 osd.18
  29. device 19 osd.19
  30. device 20 osd.20
  31. device 21 osd.21
  32. device 22 osd.22
  33. device 23 osd.23
  34. device 24 osd.24
  35.  
  36. # types
  37. type 0 osd
  38. type 1 host
  39. type 2 chassis
  40. type 3 rack
  41. type 4 row
  42. type 5 pdu
  43. type 6 pod
  44. type 7 room
  45. type 8 datacenter
  46. type 9 region
  47. type 10 root
  48.  
  49. # buckets
  50. host cn38x084 {
  51. id -2 # do not change unnecessarily
  52. # weight 3.000
  53. alg straw
  54. hash 0 # rjenkins1
  55. item osd.0 weight 1.000
  56. item osd.1 weight 1.000
  57. item osd.2 weight 1.000
  58. }
  59. host cv38x086 {
  60. id -3 # do not change unnecessarily
  61. # weight 3.000
  62. alg straw
  63. hash 0 # rjenkins1
  64. item osd.3 weight 1.000
  65. item osd.4 weight 1.000
  66. item osd.5 weight 1.000
  67. }
  68. host cn38x088 {
  69. id -4 # do not change unnecessarily
  70. # weight 3.000
  71. alg straw
  72. hash 0 # rjenkins1
  73. item osd.6 weight 1.000
  74. item osd.7 weight 1.000
  75. item osd.8 weight 1.000
  76. }
  77. host cn38x091 {
  78. id -5 # do not change unnecessarily
  79. # weight 4.000
  80. alg straw
  81. hash 0 # rjenkins1
  82. item osd.9 weight 1.000
  83. item osd.10 weight 1.000
  84. item osd.11 weight 1.000
  85. item osd.12 weight 1.000
  86. }
  87. host cn38x092 {
  88. id -6 # do not change unnecessarily
  89. # weight 4.000
  90. alg straw
  91. hash 0 # rjenkins1
  92. item osd.13 weight 1.000
  93. item osd.14 weight 1.000
  94. item osd.15 weight 1.000
  95. item osd.16 weight 1.000
  96. }
  97. host cv38x093 {
  98. id -7 # do not change unnecessarily
  99. # weight 4.000
  100. alg straw
  101. hash 0 # rjenkins1
  102. item osd.17 weight 1.000
  103. item osd.18 weight 1.000
  104. item osd.19 weight 1.000
  105. item osd.20 weight 1.000
  106. }
  107. host cv38x094 {
  108. id -8 # do not change unnecessarily
  109. # weight 4.000
  110. alg straw
  111. hash 0 # rjenkins1
  112. item osd.21 weight 1.000
  113. item osd.22 weight 1.000
  114. item osd.23 weight 1.000
  115. item osd.24 weight 1.000
  116. }
  117. root default {
  118. id -1 # do not change unnecessarily
  119. # weight 25.000
  120. alg straw
  121. hash 0 # rjenkins1
  122. item cn38x084 weight 3.000
  123. item cv38x086 weight 3.000
  124. item cn38x088 weight 3.000
  125. item cn38x091 weight 4.000
  126. item cn38x092 weight 4.000
  127. item cv38x093 weight 4.000
  128. item cv38x094 weight 4.000
  129. }
  130.  
  131. # rules
  132. rule replicated_ruleset {
  133. ruleset 0
  134. type replicated
  135. min_size 1
  136. max_size 10
  137. step take default
  138. step chooseleaf firstn 0 type host
  139. step emit
  140. }
  141.  
  142. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement