pveselov

ceph crush map

Mar 10th, 2014
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. got crush map from osdmap epoch 8566
  2. # begin crush map
  3.  
  4. # devices
  5. device 0 osd.0
  6. device 1 osd.1
  7. device 2 osd.2
  8. device 3 osd.3
  9.  
  10. # types
  11. type 0 osd
  12. type 1 host
  13. type 2 rack
  14. type 3 row
  15. type 4 room
  16. type 5 datacenter
  17. type 6 root
  18.  
  19. # buckets
  20. host ip-10-16-20-11 {
  21. id -1 # do not change unnecessarily
  22. # weight 1.000
  23. alg straw
  24. hash 0 # rjenkins1
  25. item osd.2 weight 1.000
  26. }
  27. host ip-10-16-43-12 {
  28. id -2 # do not change unnecessarily
  29. # weight 1.000
  30. alg straw
  31. hash 0 # rjenkins1
  32. item osd.3 weight 1.000
  33. }
  34. root default {
  35. id -3 # do not change unnecessarily
  36. # weight 2.000
  37. alg straw
  38. hash 0 # rjenkins1
  39. item ip-10-16-43-12 weight 1.000
  40. item ip-10-16-20-11 weight 1.000
  41. }
  42.  
  43. # rules
  44. rule data {
  45. ruleset 0
  46. type replicated
  47. min_size 1
  48. max_size 10
  49. step take default
  50. step chooseleaf firstn 0 type osd
  51. step emit
  52. }
  53. rule metadata {
  54. ruleset 1
  55. type replicated
  56. min_size 1
  57. max_size 10
  58. step take default
  59. step chooseleaf firstn 0 type host
  60. step emit
  61. }
  62. rule rbd {
  63. ruleset 2
  64. type replicated
  65. min_size 1
  66. max_size 10
  67. step take default
  68. step chooseleaf firstn 0 type host
  69. step emit
  70. }
  71.  
  72. # end crush map
Advertisement
Add Comment
Please, Sign In to add comment