Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 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.  
  7. # devices
  8. device 0 osd.0
  9. device 1 osd.1
  10. device 2 osd.2
  11. device 3 osd.3
  12. device 4 osd.4
  13. device 5 osd.5
  14. device 6 osd.6
  15. device 7 osd.7
  16. device 8 osd.8
  17. device 9 osd.9
  18. device 10 osd.10
  19. device 11 osd.11
  20.  
  21. # types
  22. type 0 osd
  23. type 1 host
  24. type 2 chassis
  25. type 3 rack
  26. type 4 row
  27. type 5 pdu
  28. type 6 pod
  29. type 7 room
  30. type 8 datacenter
  31. type 9 region
  32. type 10 root
  33.  
  34. # buckets
  35. host pipeline-store1 {
  36. id -4 # do not change unnecessarily
  37. # weight 10.920
  38. alg straw
  39. hash 0 # rjenkins1
  40. item osd.6 weight 3.640
  41. item osd.7 weight 3.640
  42. item osd.8 weight 3.640
  43. }
  44. host pipeline-store2 {
  45. id -5 # do not change unnecessarily
  46. # weight 10.920
  47. alg straw
  48. hash 0 # rjenkins1
  49. item osd.9 weight 3.640
  50. item osd.10 weight 3.640
  51. item osd.11 weight 3.640
  52. }
  53. rack rack-pipeline {
  54. id -6 # do not change unnecessarily
  55. # weight 21.840
  56. alg straw
  57. hash 0 # rjenkins1
  58. item pipeline-store1 weight 10.920
  59. item pipeline-store2 weight 10.920
  60. }
  61. host pipeline-store3 {
  62. id -2 # do not change unnecessarily
  63. # weight 10.920
  64. alg straw
  65. hash 0 # rjenkins1
  66. item osd.0 weight 3.640
  67. item osd.1 weight 3.640
  68. item osd.2 weight 3.640
  69. }
  70. host pipeline-store4 {
  71. id -3 # do not change unnecessarily
  72. # weight 10.920
  73. alg straw
  74. hash 0 # rjenkins1
  75. item osd.3 weight 3.640
  76. item osd.4 weight 3.640
  77. item osd.5 weight 3.640
  78. }
  79. rack rack-k {
  80. id -7 # do not change unnecessarily
  81. # weight 21.840
  82. alg straw
  83. hash 0 # rjenkins1
  84. item pipeline-store3 weight 10.920
  85. item pipeline-store4 weight 10.920
  86. }
  87. root default {
  88. id -1 # do not change unnecessarily
  89. # weight 43.680
  90. alg straw
  91. hash 0 # rjenkins1
  92. item rack-pipeline weight 21.840
  93. item rack-k weight 21.840
  94. }
  95.  
  96. # rules
  97. rule replicated_ruleset {
  98. ruleset 0
  99. type replicated
  100. min_size 1
  101. max_size 10
  102. step take default
  103. step chooseleaf firstn 0 type rack
  104. step emit
  105. }
  106.  
  107. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement