Guest User

Untitled

a guest
May 4th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 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.  
  11. # types
  12. type 0 osd
  13. type 1 host
  14. type 2 chassis
  15. type 3 rack
  16. type 4 row
  17. type 5 pdu
  18. type 6 pod
  19. type 7 room
  20. type 8 datacenter
  21. type 9 region
  22. type 10 root
  23.  
  24. # buckets
  25. root default {
  26. id -1 # do not change unnecessarily
  27. # weight 0.000
  28. alg straw
  29. hash 0 # rjenkins1
  30. }
  31.  
  32. # rules
  33. rule replicated_ruleset {
  34. ruleset 0
  35. type replicated
  36. min_size 1
  37. max_size 10
  38. step take default
  39. step chooseleaf firstn 0 type host
  40. step emit
  41. }
  42.  
  43. # end crush map
Add Comment
Please, Sign In to add comment