Advertisement
TShiva

Untitled

Oct 9th, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.43 KB | None | 0 0
  1. ID CLASS WEIGHT TYPE NAME
  2. -1 1.32465 root default
  3. -3 0.03879 host node1
  4. 0 hdd 0.01939 osd.0
  5. 1 hdd 0.01939 osd.1
  6. -5 0.01939 host node2
  7. 2 hdd 0.01939 osd.2
  8. -7 0.03879 host node3
  9. 3 hdd 0.01939 osd.3
  10. 4 hdd 0.01939 osd.4
  11. -9 1.22768 host ubuntu
  12. 5 hdd 0.40929 osd.5
  13. 6 hdd 0.40919 osd.6
  14. 7 hdd 0.40919 osd.7
  15.  
  16.  
  17.  
  18. {
  19. "devices": [
  20. {
  21. "id": 0,
  22. "name": "osd.0",
  23. "class": "hdd"
  24. },
  25. {
  26. "id": 1,
  27. "name": "osd.1",
  28. "class": "hdd"
  29. },
  30. {
  31. "id": 2,
  32. "name": "osd.2",
  33. "class": "hdd"
  34. },
  35. {
  36. "id": 3,
  37. "name": "osd.3",
  38. "class": "hdd"
  39. },
  40. {
  41. "id": 4,
  42. "name": "osd.4",
  43. "class": "hdd"
  44. },
  45. {
  46. "id": 5,
  47. "name": "osd.5",
  48. "class": "hdd"
  49. },
  50. {
  51. "id": 6,
  52. "name": "osd.6",
  53. "class": "hdd"
  54. },
  55. {
  56. "id": 7,
  57. "name": "osd.7",
  58. "class": "hdd"
  59. }
  60. ],
  61. "types": [
  62. {
  63. "type_id": 0,
  64. "name": "osd"
  65. },
  66. {
  67. "type_id": 1,
  68. "name": "host"
  69. },
  70. {
  71. "type_id": 2,
  72. "name": "chassis"
  73. },
  74. {
  75. "type_id": 3,
  76. "name": "rack"
  77. },
  78. {
  79. "type_id": 4,
  80. "name": "row"
  81. },
  82. {
  83. "type_id": 5,
  84. "name": "pdu"
  85. },
  86. {
  87. "type_id": 6,
  88. "name": "pod"
  89. },
  90. {
  91. "type_id": 7,
  92. "name": "room"
  93. },
  94. {
  95. "type_id": 8,
  96. "name": "datacenter"
  97. },
  98. {
  99. "type_id": 9,
  100. "name": "region"
  101. },
  102. {
  103. "type_id": 10,
  104. "name": "root"
  105. }
  106. ],
  107. "buckets": [
  108. {
  109. "id": -1,
  110. "name": "default",
  111. "type_id": 10,
  112. "type_name": "root",
  113. "weight": 86812,
  114. "alg": "straw2",
  115. "hash": "rjenkins1",
  116. "items": [
  117. {
  118. "id": -3,
  119. "weight": 2542,
  120. "pos": 0
  121. },
  122. {
  123. "id": -5,
  124. "weight": 1271,
  125. "pos": 1
  126. },
  127. {
  128. "id": -7,
  129. "weight": 2542,
  130. "pos": 2
  131. },
  132. {
  133. "id": -9,
  134. "weight": 80457,
  135. "pos": 3
  136. }
  137. ]
  138. },
  139. {
  140. "id": -2,
  141. "name": "default~hdd",
  142. "type_id": 10,
  143. "type_name": "root",
  144. "weight": 86812,
  145. "alg": "straw2",
  146. "hash": "rjenkins1",
  147. "items": [
  148. {
  149. "id": -4,
  150. "weight": 2542,
  151. "pos": 0
  152. },
  153. {
  154. "id": -6,
  155. "weight": 1271,
  156. "pos": 1
  157. },
  158. {
  159. "id": -8,
  160. "weight": 2542,
  161. "pos": 2
  162. },
  163. {
  164. "id": -10,
  165. "weight": 80457,
  166. "pos": 3
  167. }
  168. ]
  169. },
  170. {
  171. "id": -3,
  172. "name": "node1",
  173. "type_id": 1,
  174. "type_name": "host",
  175. "weight": 2542,
  176. "alg": "straw2",
  177. "hash": "rjenkins1",
  178. "items": [
  179. {
  180. "id": 0,
  181. "weight": 1271,
  182. "pos": 0
  183. },
  184. {
  185. "id": 1,
  186. "weight": 1271,
  187. "pos": 1
  188. }
  189. ]
  190. },
  191. {
  192. "id": -4,
  193. "name": "node1~hdd",
  194. "type_id": 1,
  195. "type_name": "host",
  196. "weight": 2542,
  197. "alg": "straw2",
  198. "hash": "rjenkins1",
  199. "items": [
  200. {
  201. "id": 0,
  202. "weight": 1271,
  203. "pos": 0
  204. },
  205. {
  206. "id": 1,
  207. "weight": 1271,
  208. "pos": 1
  209. }
  210. ]
  211. },
  212. {
  213. "id": -5,
  214. "name": "node2",
  215. "type_id": 1,
  216. "type_name": "host",
  217. "weight": 1271,
  218. "alg": "straw2",
  219. "hash": "rjenkins1",
  220. "items": [
  221. {
  222. "id": 2,
  223. "weight": 1271,
  224. "pos": 0
  225. }
  226. ]
  227. },
  228. {
  229. "id": -6,
  230. "name": "node2~hdd",
  231. "type_id": 1,
  232. "type_name": "host",
  233. "weight": 1271,
  234. "alg": "straw2",
  235. "hash": "rjenkins1",
  236. "items": [
  237. {
  238. "id": 2,
  239. "weight": 1271,
  240. "pos": 0
  241. }
  242. ]
  243. },
  244. {
  245. "id": -7,
  246. "name": "node3",
  247. "type_id": 1,
  248. "type_name": "host",
  249. "weight": 2542,
  250. "alg": "straw2",
  251. "hash": "rjenkins1",
  252. "items": [
  253. {
  254. "id": 3,
  255. "weight": 1271,
  256. "pos": 0
  257. },
  258. {
  259. "id": 4,
  260. "weight": 1271,
  261. "pos": 1
  262. }
  263. ]
  264. },
  265. {
  266. "id": -8,
  267. "name": "node3~hdd",
  268. "type_id": 1,
  269. "type_name": "host",
  270. "weight": 2542,
  271. "alg": "straw2",
  272. "hash": "rjenkins1",
  273. "items": [
  274. {
  275. "id": 3,
  276. "weight": 1271,
  277. "pos": 0
  278. },
  279. {
  280. "id": 4,
  281. "weight": 1271,
  282. "pos": 1
  283. }
  284. ]
  285. },
  286. {
  287. "id": -9,
  288. "name": "ubuntu",
  289. "type_id": 1,
  290. "type_name": "host",
  291. "weight": 80457,
  292. "alg": "straw2",
  293. "hash": "rjenkins1",
  294. "items": [
  295. {
  296. "id": 5,
  297. "weight": 26823,
  298. "pos": 0
  299. },
  300. {
  301. "id": 6,
  302. "weight": 26817,
  303. "pos": 1
  304. },
  305. {
  306. "id": 7,
  307. "weight": 26817,
  308. "pos": 2
  309. }
  310. ]
  311. },
  312. {
  313. "id": -10,
  314. "name": "ubuntu~hdd",
  315. "type_id": 1,
  316. "type_name": "host",
  317. "weight": 80457,
  318. "alg": "straw2",
  319. "hash": "rjenkins1",
  320. "items": [
  321. {
  322. "id": 5,
  323. "weight": 26823,
  324. "pos": 0
  325. },
  326. {
  327. "id": 6,
  328. "weight": 26817,
  329. "pos": 1
  330. },
  331. {
  332. "id": 7,
  333. "weight": 26817,
  334. "pos": 2
  335. }
  336. ]
  337. }
  338. ],
  339. "rules": [
  340. {
  341. "rule_id": 0,
  342. "rule_name": "replicated_rule",
  343. "ruleset": 0,
  344. "type": 1,
  345. "min_size": 1,
  346. "max_size": 10,
  347. "steps": [
  348. {
  349. "op": "take",
  350. "item": -1,
  351. "item_name": "default"
  352. },
  353. {
  354. "op": "chooseleaf_firstn",
  355. "num": 0,
  356. "type": "host"
  357. },
  358. {
  359. "op": "emit"
  360. }
  361. ]
  362. }
  363. ],
  364. "tunables": {
  365. "choose_local_tries": 0,
  366. "choose_local_fallback_tries": 0,
  367. "choose_total_tries": 50,
  368. "chooseleaf_descend_once": 1,
  369. "chooseleaf_vary_r": 1,
  370. "chooseleaf_stable": 1,
  371. "straw_calc_version": 1,
  372. "allowed_bucket_algs": 54,
  373. "profile": "jewel",
  374. "optimal_tunables": 1,
  375. "legacy_tunables": 0,
  376. "minimum_required_version": "jewel",
  377. "require_feature_tunables": 1,
  378. "require_feature_tunables2": 1,
  379. "has_v2_rules": 0,
  380. "require_feature_tunables3": 1,
  381. "has_v3_rules": 0,
  382. "has_v4_buckets": 1,
  383. "require_feature_tunables5": 1,
  384. "has_v5_rules": 0
  385. },
  386. "choose_args": {}
  387. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement