Advertisement
Guest User

Untitled

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