Advertisement
johnmichaellowe

Untitled

Jan 11th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 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.  
  17. # types
  18. type 0 osd
  19. type 1 host
  20. type 2 rack
  21. type 3 pool
  22.  
  23. # buckets
  24. host gwboss1.quarry.iu.teragrid.org {
  25. id -2 # do not change unnecessarily
  26. # weight 12.000
  27. alg straw
  28. hash 0 # rjenkins1
  29. item osd.0 weight 1.000
  30. item osd.1 weight 1.000
  31. item osd.2 weight 1.000
  32. item osd.3 weight 1.000
  33. item osd.4 weight 1.000
  34. item osd.5 weight 1.000
  35. }
  36. host gwboss2.iu.xsede.org {
  37. id -4 # do not change unnecessarily
  38. # weight 12.000
  39. alg straw
  40. hash 0 # rjenkins1
  41. item osd.10 weight 1.000
  42. item osd.11 weight 1.000
  43. item osd.6 weight 1.000
  44. item osd.7 weight 1.000
  45. item osd.8 weight 1.000
  46. item osd.9 weight 1.000
  47. }
  48. rack unknownrack {
  49. id -3 # do not change unnecessarily
  50. # weight 24.000
  51. alg straw
  52. hash 0 # rjenkins1
  53. item gwboss1.quarry.iu.teragrid.org weight 6.000
  54. item gwboss2.iu.xsede.org weight 6.000
  55. }
  56. pool default {
  57. id -1 # do not change unnecessarily
  58. # weight 24.000
  59. alg straw
  60. hash 0 # rjenkins1
  61. item unknownrack weight 12.000
  62. }
  63.  
  64. # rules
  65. rule data {
  66. ruleset 0
  67. type replicated
  68. min_size 4
  69. max_size 10
  70. step take default
  71. step chooseleaf firstn 0 type host
  72. step emit
  73. }
  74. rule metadata {
  75. ruleset 1
  76. type replicated
  77. min_size 4
  78. max_size 10
  79. step take default
  80. step chooseleaf firstn 0 type host
  81. step emit
  82. }
  83. rule rbd {
  84. ruleset 2
  85. type replicated
  86. min_size 4
  87. max_size 10
  88. step take default
  89. step chooseleaf firstn 0 type host
  90. step emit
  91. }
  92.  
  93. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement