Project

General

Profile

cm-20151207.txt

Loïc Dachary, 12/07/2015 05:29 PM

Download (6.62 KB)

 
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
device 0 osd.0
11
device 1 osd.1
12
device 2 osd.2
13
device 3 osd.3
14
device 4 osd.4
15
device 5 osd.5
16
device 6 osd.6
17
device 7 osd.7
18
device 8 osd.8
19
device 9 osd.9
20
device 10 osd.10
21
device 11 device11
22
device 12 osd.12
23
device 13 osd.13
24
device 14 osd.14
25
device 15 osd.15
26
device 16 osd.16
27
device 17 osd.17
28
device 18 osd.18
29
device 19 osd.19
30
device 20 osd.20
31
device 21 osd.21
32
device 22 osd.22
33
device 23 osd.23
34
device 24 osd.24
35
device 25 osd.25
36
device 26 osd.26
37
device 27 osd.27
38
device 28 osd.28
39
device 29 osd.29
40
device 30 osd.30
41
device 31 osd.31
42
device 32 osd.32
43
device 33 osd.33
44
device 34 osd.34
45
device 35 osd.35
46
device 36 osd.36
47
device 37 osd.37
48
device 38 osd.38
49
device 39 osd.39
50
device 40 osd.40
51
device 41 osd.41
52
device 42 osd.42
53
device 43 osd.43
54
device 44 osd.44
55
device 45 osd.45
56
device 46 osd.46
57
device 47 osd.47
58
device 48 osd.48
59
device 49 osd.49
60
device 50 osd.50
61

    
62
# types
63
type 0 osd
64
type 1 host
65
type 2 chassis
66
type 3 rack
67
type 4 row
68
type 5 pdu
69
type 6 pod
70
type 7 room
71
type 8 datacenter
72
type 9 region
73
type 10 root
74

    
75
# buckets
76
host g1 {
77
	id -2		# do not change unnecessarily
78
	# weight 6.257
79
	alg straw
80
	hash 0	# rjenkins1
81
	item osd.0 weight 3.576
82
	item osd.20 weight 2.681
83
}
84
host g2 {
85
	id -3		# do not change unnecessarily
86
	# weight 5.361
87
	alg straw
88
	hash 0	# rjenkins1
89
	item osd.1 weight 3.576
90
	item osd.21 weight 1.785
91
}
92
host g3 {
93
	id -4		# do not change unnecessarily
94
	# weight 5.389
95
	alg straw
96
	hash 0	# rjenkins1
97
	item osd.16 weight 3.576
98
	item osd.2 weight 1.813
99
}
100
host n7 {
101
	id -9		# do not change unnecessarily
102
	# weight 6.251
103
	alg straw
104
	hash 0	# rjenkins1
105
	item osd.8 weight 2.681
106
	item osd.27 weight 1.785
107
	item osd.29 weight 1.785
108
}
109
host stri {
110
	id -12		# do not change unnecessarily
111
	# weight 5.362
112
	alg straw
113
	hash 0	# rjenkins1
114
	item osd.15 weight 2.681
115
	item osd.13 weight 2.681
116
}
117
host g4 {
118
	id -13		# do not change unnecessarily
119
	# weight 14.304
120
	alg straw
121
	hash 0	# rjenkins1
122
	item osd.17 weight 3.576
123
	item osd.23 weight 3.576
124
	item osd.22 weight 3.576
125
	item osd.18 weight 3.576
126
}
127
host g5 {
128
	id -15		# do not change unnecessarily
129
	# weight 8.043
130
	alg straw
131
	hash 0	# rjenkins1
132
	item osd.25 weight 2.681
133
	item osd.24 weight 2.681
134
	item osd.26 weight 2.681
135
}
136
host g6 {
137
	id -18		# do not change unnecessarily
138
	# weight 6.257
139
	alg straw
140
	hash 0	# rjenkins1
141
	item osd.28 weight 2.681
142
	item osd.9 weight 3.576
143
}
144
host g8 {
145
	id -20		# do not change unnecessarily
146
	# weight 7.188
147
	alg straw
148
	hash 0	# rjenkins1
149
	item osd.30 weight 4.507
150
	item osd.41 weight 2.681
151
}
152
host g9 {
153
	id -22		# do not change unnecessarily
154
	# weight 7.152
155
	alg straw
156
	hash 0	# rjenkins1
157
	item osd.35 weight 3.576
158
	item osd.33 weight 3.576
159
}
160
host g10 {
161
	id -24		# do not change unnecessarily
162
	# weight 8.938
163
	alg straw
164
	hash 0	# rjenkins1
165
	item osd.39 weight 3.576
166
	item osd.38 weight 2.681
167
	item osd.37 weight 2.681
168
}
169
host g11 {
170
	id -25		# do not change unnecessarily
171
	# weight 5.439
172
	alg straw
173
	hash 0	# rjenkins1
174
	item osd.3 weight 1.813
175
	item osd.43 weight 1.813
176
	item osd.44 weight 1.813
177
}
178
host g12 {
179
	id -28		# do not change unnecessarily
180
	# weight 8.161
181
	alg straw
182
	hash 0	# rjenkins1
183
	item osd.45 weight 1.813
184
	item osd.46 weight 1.813
185
	item osd.47 weight 2.722
186
	item osd.48 weight 1.813
187
}
188
root default {
189
	id -1		# do not change unnecessarily
190
	# weight 94.102
191
	alg straw
192
	hash 0	# rjenkins1
193
	item g1 weight 6.257
194
	item g2 weight 5.361
195
	item g3 weight 5.389
196
	item n7 weight 6.251
197
	item stri weight 5.362
198
	item g4 weight 14.304
199
	item g5 weight 8.043
200
	item g6 weight 6.257
201
	item g8 weight 7.188
202
	item g9 weight 7.152
203
	item g10 weight 8.938
204
	item g11 weight 5.439
205
	item g12 weight 8.161
206
}
207
host g1-ssd {
208
	id -6		# do not change unnecessarily
209
	# weight 0.403
210
	alg straw
211
	hash 0	# rjenkins1
212
	item osd.42 weight 0.403
213
}
214
host g2-ssd {
215
	id -7		# do not change unnecessarily
216
	# weight 0.436
217
	alg straw
218
	hash 0	# rjenkins1
219
	item osd.4 weight 0.214
220
	item osd.7 weight 0.222
221
}
222
host g3-ssd {
223
	id -8		# do not change unnecessarily
224
	# weight 0.222
225
	alg straw
226
	hash 0	# rjenkins1
227
	item osd.6 weight 0.222
228
}
229
host n7-ssd {
230
	id -10		# do not change unnecessarily
231
	# weight 0.409
232
	alg straw
233
	hash 0	# rjenkins1
234
	item osd.14 weight 0.409
235
}
236
host stri-ssd {
237
	id -11		# do not change unnecessarily
238
	# weight 0.209
239
	alg straw
240
	hash 0	# rjenkins1
241
	item osd.12 weight 0.209
242
}
243
host g4-ssd {
244
	id -14		# do not change unnecessarily
245
	# weight 0.208
246
	alg straw
247
	hash 0	# rjenkins1
248
	item osd.19 weight 0.208
249
}
250
host g5-ssd {
251
	id -16		# do not change unnecessarily
252
	# weight 0.209
253
	alg straw
254
	hash 0	# rjenkins1
255
	item osd.5 weight 0.209
256
}
257
host g6-ssd {
258
	id -17		# do not change unnecessarily
259
	# weight 0.209
260
	alg straw
261
	hash 0	# rjenkins1
262
	item osd.10 weight 0.209
263
}
264
host g8-ssd {
265
	id -19		# do not change unnecessarily
266
	# weight 0.431
267
	alg straw
268
	hash 0	# rjenkins1
269
	item osd.31 weight 0.209
270
	item osd.32 weight 0.222
271
}
272
host g9-ssd {
273
	id -21		# do not change unnecessarily
274
	# weight 0.539
275
	alg straw
276
	hash 0	# rjenkins1
277
	item osd.34 weight 0.449
278
	item osd.36 weight 0.090
279
}
280
host g10-ssd {
281
	id -23		# do not change unnecessarily
282
	# weight 0.090
283
	alg straw
284
	hash 0	# rjenkins1
285
	item osd.40 weight 0.090
286
}
287
host g11-ssd {
288
	id -26		# do not change unnecessarily
289
	# weight 0.403
290
	alg straw
291
	hash 0	# rjenkins1
292
	item osd.50 weight 0.403
293
}
294
host g12-ssd {
295
	id -27		# do not change unnecessarily
296
	# weight 0.403
297
	alg straw
298
	hash 0	# rjenkins1
299
	item osd.49 weight 0.403
300
}
301
root ssd {
302
	id -5		# do not change unnecessarily
303
	# weight 4.171
304
	alg straw
305
	hash 0	# rjenkins1
306
	item g1-ssd weight 0.403
307
	item g2-ssd weight 0.436
308
	item g3-ssd weight 0.222
309
	item n7-ssd weight 0.409
310
	item stri-ssd weight 0.209
311
	item g4-ssd weight 0.208
312
	item g5-ssd weight 0.209
313
	item g6-ssd weight 0.209
314
	item g8-ssd weight 0.431
315
	item g9-ssd weight 0.539
316
	item g10-ssd weight 0.090
317
	item g11-ssd weight 0.403
318
	item g12-ssd weight 0.403
319
}
320

    
321
# rules
322
rule replicated_ruleset {
323
	ruleset 0
324
	type replicated
325
	min_size 1
326
	max_size 10
327
	step take default
328
	step chooseleaf firstn 0 type host
329
	step emit
330
}
331
rule ssd_replicated_ruleset {
332
	ruleset 1
333
	type replicated
334
	min_size 1
335
	max_size 10
336
	step take ssd
337
	step chooseleaf firstn 0 type host
338
	step emit
339
}
340
rule ec4p1 {
341
	ruleset 2
342
	type erasure
343
	min_size 3
344
	max_size 20
345
	step set_chooseleaf_tries 5
346
	step take default
347
	step choose indep 0 type osd
348
	step emit
349
}
350
rule ec3p1 {
351
	ruleset 3
352
	type erasure
353
	min_size 3
354
	max_size 20
355
	step set_chooseleaf_tries 5
356
	step take default
357
	step chooseleaf indep 0 type host
358
	step emit
359
}
360
rule ec8p2 {
361
	ruleset 4
362
	type erasure
363
	min_size 3
364
	max_size 10
365
	step set_chooseleaf_tries 5
366
	step set_choose_tries 100
367
	step take default
368
	step chooseleaf indep 0 type host
369
	step emit
370
}
371

    
372
# end crush map