Advertisement
Guest User

Untitled

a guest
Feb 12th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 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.  
  13. # types
  14. type 0 osd
  15. type 1 host
  16. type 2 chassis
  17. type 3 rack
  18. type 4 row
  19. type 5 pdu
  20. type 6 pod
  21. type 7 room
  22. type 8 datacenter
  23. type 9 region
  24. type 10 root
  25.  
  26. # buckets
  27. host node-39 {
  28. id -2 # do not change unnecessarily
  29. # weight 2.970
  30. alg straw
  31. hash 0 # rjenkins1
  32. item osd.0 weight 1.150
  33. item osd.2 weight 1.820
  34. }
  35. host node-40 {
  36. id -3 # do not change unnecessarily
  37. # weight 0.250
  38. alg straw
  39. hash 0 # rjenkins1
  40. item osd.1 weight 0.250
  41. }
  42. host node-38 {
  43. id -4 # do not change unnecessarily
  44. # weight 0.880
  45. alg straw
  46. hash 0 # rjenkins1
  47. item osd.3 weight 0.880
  48. }
  49. root default {
  50. id -1 # do not change unnecessarily
  51. # weight 4.100
  52. alg straw
  53. hash 0 # rjenkins1
  54. item node-39 weight 2.970
  55. item node-40 weight 0.250
  56. item node-38 weight 0.880
  57. }
  58.  
  59. # rules
  60. rule replicated_ruleset {
  61. ruleset 0
  62. type replicated
  63. min_size 1
  64. max_size 10
  65. step take default
  66. step chooseleaf firstn 0 type host
  67. step emit
  68. }
  69.  
  70. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement