Guest User

Untitled

a guest
Jul 14th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 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 chooseleaf_stable 1
  8. tunable straw_calc_version 1
  9. tunable allowed_bucket_algs 54
  10.  
  11. # devices
  12. device 0 osd.0
  13. device 1 osd.1
  14. device 2 osd.2
  15. device 3 osd.3
  16. device 4 osd.4
  17. device 5 osd.5
  18. device 6 osd.6
  19. device 7 osd.7
  20. device 8 osd.8
  21. device 9 osd.9
  22. device 10 osd.10
  23. device 11 osd.11
  24. device 12 osd.12
  25. device 13 osd.13
  26. device 14 osd.14
  27. device 15 osd.15
  28. device 16 osd.16
  29. device 17 osd.17
  30. device 18 osd.18
  31. device 19 osd.19
  32. device 20 osd.20
  33. device 21 osd.21
  34. device 22 osd.22
  35. device 23 osd.23
  36. device 24 osd.24
  37. device 25 osd.25
  38. device 26 osd.26
  39. device 27 osd.27
  40. device 28 osd.28
  41. device 29 osd.29
  42. device 30 osd.30
  43. device 31 osd.31
  44. device 32 osd.32
  45. device 33 osd.33
  46. device 34 osd.34
  47. device 35 osd.35
  48. device 36 osd.36
  49. device 37 osd.37
  50. device 38 osd.38
  51. device 39 osd.39
  52. device 40 osd.40
  53. device 41 osd.41
  54. device 42 osd.42
  55. device 43 osd.43
  56. device 44 osd.44
  57. device 45 osd.45
  58. device 46 osd.46
  59. device 47 osd.47
  60. device 48 osd.48
  61. device 49 osd.49
  62. device 50 osd.50
  63. device 51 osd.51
  64. device 52 osd.52
  65. device 53 osd.53
  66. device 54 osd.54
  67. device 55 osd.55
  68. device 56 osd.56
  69. device 57 osd.57
  70. device 58 osd.58
  71. device 59 osd.59
  72. device 60 osd.60
  73. device 61 osd.61
  74. device 62 osd.62
  75. device 63 osd.63
  76. device 64 osd.64
  77. device 65 osd.65
  78. device 66 osd.66
  79. device 67 osd.67
  80. device 68 osd.68
  81. device 69 osd.69
  82. device 70 osd.70
  83. device 71 osd.71
  84. device 72 osd.72
  85. device 73 osd.73
  86. device 74 osd.74
  87. device 75 osd.75
  88. device 76 osd.76
  89. device 77 osd.77
  90. device 78 osd.78
  91. device 79 osd.79
  92. device 80 osd.80
  93. device 81 osd.81
  94. device 82 osd.82
  95. device 83 osd.83
  96. device 84 osd.84
  97. device 85 osd.85
  98. device 86 osd.86
  99. device 87 osd.87
  100. device 88 osd.88
  101. device 89 osd.89
  102.  
  103. # types
  104. type 0 osd
  105. type 1 host
  106. type 2 chassis
  107. type 3 rack
  108. type 4 row
  109. type 5 pdu
  110. type 6 pod
  111. type 7 room
  112. type 8 datacenter
  113. type 9 region
  114. type 10 root
  115.  
  116. # buckets
  117. host ceph1 {
  118. id -5 # do not change unnecessarily
  119. # weight 4.545
  120. alg straw
  121. hash 0 # rjenkins1
  122. item osd.0 weight 0.909
  123. item osd.2 weight 0.909
  124. item osd.1 weight 0.909
  125. item osd.3 weight 0.909
  126. item osd.4 weight 0.909
  127. }
  128. host ceph2 {
  129. id -6 # do not change unnecessarily
  130. # weight 4.545
  131. alg straw
  132. hash 0 # rjenkins1
  133. item osd.5 weight 0.909
  134. item osd.6 weight 0.909
  135. item osd.7 weight 0.909
  136. item osd.8 weight 0.909
  137. item osd.9 weight 0.909
  138. }
  139. host ceph3 {
  140. id -7 # do not change unnecessarily
  141. # weight 4.545
  142. alg straw
  143. hash 0 # rjenkins1
  144. item osd.10 weight 0.909
  145. item osd.11 weight 0.909
  146. item osd.12 weight 0.909
  147. item osd.13 weight 0.909
  148. item osd.14 weight 0.909
  149. }
  150. host ceph4 {
  151. id -8 # do not change unnecessarily
  152. # weight 4.545
  153. alg straw
  154. hash 0 # rjenkins1
  155. item osd.15 weight 0.909
  156. item osd.16 weight 0.909
  157. item osd.17 weight 0.909
  158. item osd.18 weight 0.909
  159. item osd.19 weight 0.909
  160. }
  161. host ceph5 {
  162. id -9 # do not change unnecessarily
  163. # weight 4.545
  164. alg straw
  165. hash 0 # rjenkins1
  166. item osd.20 weight 0.909
  167. item osd.21 weight 0.909
  168. item osd.22 weight 0.909
  169. item osd.23 weight 0.909
  170. item osd.24 weight 0.909
  171. }
  172. host ceph6 {
  173. id -10 # do not change unnecessarily
  174. # weight 4.545
  175. alg straw
  176. hash 0 # rjenkins1
  177. item osd.25 weight 0.909
  178. item osd.26 weight 0.909
  179. item osd.27 weight 0.909
  180. item osd.28 weight 0.909
  181. item osd.29 weight 0.909
  182. }
  183. rack rack1 {
  184. id -2 # do not change unnecessarily
  185. # weight 27.270
  186. alg straw
  187. hash 0 # rjenkins1
  188. item ceph1 weight 4.545
  189. item ceph2 weight 4.545
  190. item ceph3 weight 4.545
  191. item ceph4 weight 4.545
  192. item ceph5 weight 4.545
  193. item ceph6 weight 4.545
  194. }
  195. host ceph7 {
  196. id -11 # do not change unnecessarily
  197. # weight 4.545
  198. alg straw
  199. hash 0 # rjenkins1
  200. item osd.30 weight 0.909
  201. item osd.31 weight 0.909
  202. item osd.32 weight 0.909
  203. item osd.33 weight 0.909
  204. item osd.34 weight 0.909
  205. }
  206. host ceph8 {
  207. id -12 # do not change unnecessarily
  208. # weight 4.545
  209. alg straw
  210. hash 0 # rjenkins1
  211. item osd.35 weight 0.909
  212. item osd.36 weight 0.909
  213. item osd.37 weight 0.909
  214. item osd.38 weight 0.909
  215. item osd.39 weight 0.909
  216. }
  217. host ceph9 {
  218. id -13 # do not change unnecessarily
  219. # weight 4.545
  220. alg straw
  221. hash 0 # rjenkins1
  222. item osd.40 weight 0.909
  223. item osd.41 weight 0.909
  224. item osd.42 weight 0.909
  225. item osd.43 weight 0.909
  226. item osd.44 weight 0.909
  227. }
  228. host ceph10 {
  229. id -14 # do not change unnecessarily
  230. # weight 4.545
  231. alg straw
  232. hash 0 # rjenkins1
  233. item osd.45 weight 0.909
  234. item osd.46 weight 0.909
  235. item osd.47 weight 0.909
  236. item osd.48 weight 0.909
  237. item osd.49 weight 0.909
  238. }
  239. host ceph11 {
  240. id -15 # do not change unnecessarily
  241. # weight 4.545
  242. alg straw
  243. hash 0 # rjenkins1
  244. item osd.50 weight 0.909
  245. item osd.51 weight 0.909
  246. item osd.52 weight 0.909
  247. item osd.53 weight 0.909
  248. item osd.54 weight 0.909
  249. }
  250. host ceph12 {
  251. id -16 # do not change unnecessarily
  252. # weight 4.545
  253. alg straw
  254. hash 0 # rjenkins1
  255. item osd.55 weight 0.909
  256. item osd.56 weight 0.909
  257. item osd.57 weight 0.909
  258. item osd.58 weight 0.909
  259. item osd.59 weight 0.909
  260. }
  261. rack rack2 {
  262. id -3 # do not change unnecessarily
  263. # weight 27.270
  264. alg straw
  265. hash 0 # rjenkins1
  266. item ceph7 weight 4.545
  267. item ceph8 weight 4.545
  268. item ceph9 weight 4.545
  269. item ceph10 weight 4.545
  270. item ceph11 weight 4.545
  271. item ceph12 weight 4.545
  272. }
  273. host ceph13 {
  274. id -17 # do not change unnecessarily
  275. # weight 4.545
  276. alg straw
  277. hash 0 # rjenkins1
  278. item osd.60 weight 0.909
  279. item osd.61 weight 0.909
  280. item osd.62 weight 0.909
  281. item osd.63 weight 0.909
  282. item osd.64 weight 0.909
  283. }
  284. host ceph14 {
  285. id -18 # do not change unnecessarily
  286. # weight 4.545
  287. alg straw
  288. hash 0 # rjenkins1
  289. item osd.65 weight 0.909
  290. item osd.66 weight 0.909
  291. item osd.67 weight 0.909
  292. item osd.68 weight 0.909
  293. item osd.69 weight 0.909
  294. }
  295. host ceph15 {
  296. id -19 # do not change unnecessarily
  297. # weight 4.545
  298. alg straw
  299. hash 0 # rjenkins1
  300. item osd.70 weight 0.909
  301. item osd.71 weight 0.909
  302. item osd.72 weight 0.909
  303. item osd.73 weight 0.909
  304. item osd.74 weight 0.909
  305. }
  306. host ceph16 {
  307. id -20 # do not change unnecessarily
  308. # weight 4.545
  309. alg straw
  310. hash 0 # rjenkins1
  311. item osd.75 weight 0.909
  312. item osd.76 weight 0.909
  313. item osd.77 weight 0.909
  314. item osd.78 weight 0.909
  315. item osd.79 weight 0.909
  316. }
  317. host ceph17 {
  318. id -21 # do not change unnecessarily
  319. # weight 4.545
  320. alg straw
  321. hash 0 # rjenkins1
  322. item osd.80 weight 0.909
  323. item osd.81 weight 0.909
  324. item osd.82 weight 0.909
  325. item osd.83 weight 0.909
  326. item osd.84 weight 0.909
  327. }
  328. host ceph18 {
  329. id -22 # do not change unnecessarily
  330. # weight 4.545
  331. alg straw
  332. hash 0 # rjenkins1
  333. item osd.85 weight 0.909
  334. item osd.86 weight 0.909
  335. item osd.87 weight 0.909
  336. item osd.88 weight 0.909
  337. item osd.89 weight 0.909
  338. }
  339. rack rack3 {
  340. id -4 # do not change unnecessarily
  341. # weight 27.270
  342. alg straw
  343. hash 0 # rjenkins1
  344. item ceph13 weight 4.545
  345. item ceph14 weight 4.545
  346. item ceph15 weight 4.545
  347. item ceph16 weight 4.545
  348. item ceph17 weight 4.545
  349. item ceph18 weight 4.545
  350. }
  351. root default {
  352. id -1 # do not change unnecessarily
  353. # weight 81.810
  354. alg straw
  355. hash 0 # rjenkins1
  356. item rack1 weight 27.270
  357. item rack2 weight 27.270
  358. item rack3 weight 27.270
  359. }
  360.  
  361. # rules
  362. rule replicated_ruleset {
  363. ruleset 0
  364. type replicated
  365. min_size 1
  366. max_size 10
  367. step take default
  368. step chooseleaf firstn 0 type rack
  369. step emit
  370. }
  371.  
  372. # end crush map
Add Comment
Please, Sign In to add comment