Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 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. host pipeline-store3 {
  54. id -2 # do not change unnecessarily
  55. # weight 10.920
  56. alg straw
  57. hash 0 # rjenkins1
  58. item osd.0 weight 3.640
  59. item osd.1 weight 3.640
  60. item osd.2 weight 3.640
  61. }
  62. host pipeline-store4 {
  63. id -3 # do not change unnecessarily
  64. # weight 10.920
  65. alg straw
  66. hash 0 # rjenkins1
  67. item osd.3 weight 3.640
  68. item osd.4 weight 3.640
  69. item osd.5 weight 3.640
  70. }
  71.  
  72. root default {
  73. id -1 # do not change unnecessarily
  74. # weight 21.840
  75. alg straw
  76. hash 0 # rjenkins1
  77. item rack-pipeline weight 10.920
  78. item rack-k weight 10.920
  79. }
  80.  
  81. rack rack-pipeline {
  82. id -6
  83. alg straw
  84. hash 0
  85. item pipeline-store1 weight 10.920
  86. item pipeline-store2 weight 10.920
  87. }
  88. rack rack-k {
  89. id -7
  90. alg straw
  91. hash 0
  92. item pipeline-store3 weight 10.920
  93. item pipeline-store4 weight 10.920
  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