|
# begin crush map
|
|
tunable choose_local_tries 0
|
|
tunable choose_local_fallback_tries 0
|
|
tunable choose_total_tries 50
|
|
tunable chooseleaf_descend_once 1
|
|
tunable chooseleaf_vary_r 1
|
|
tunable straw_calc_version 1
|
|
|
|
# devices
|
|
device 0 osd.0
|
|
device 1 osd.1
|
|
device 2 osd.2
|
|
device 3 osd.3
|
|
device 4 osd.4
|
|
device 5 osd.5
|
|
device 6 osd.6
|
|
device 7 osd.7
|
|
device 8 osd.8
|
|
device 9 osd.9
|
|
device 10 osd.10
|
|
device 11 osd.11
|
|
device 12 osd.12
|
|
device 13 osd.13
|
|
device 14 osd.14
|
|
device 15 osd.15
|
|
device 16 osd.16
|
|
device 17 osd.17
|
|
device 18 osd.18
|
|
device 19 osd.19
|
|
device 20 osd.20
|
|
device 21 osd.21
|
|
device 22 osd.22
|
|
device 23 osd.23
|
|
device 24 osd.24
|
|
device 25 osd.25
|
|
device 26 osd.26
|
|
device 27 osd.27
|
|
device 28 osd.28
|
|
device 29 osd.29
|
|
device 30 osd.30
|
|
device 31 osd.31
|
|
device 32 osd.32
|
|
device 33 osd.33
|
|
device 34 osd.34
|
|
device 35 osd.35
|
|
device 36 osd.36
|
|
device 37 osd.37
|
|
device 38 osd.38
|
|
device 39 osd.39
|
|
device 40 osd.40
|
|
device 41 osd.41
|
|
device 42 osd.42
|
|
device 43 device43
|
|
device 44 osd.44
|
|
device 45 osd.45
|
|
device 46 osd.46
|
|
device 47 osd.47
|
|
device 48 osd.48
|
|
device 49 osd.49
|
|
device 50 osd.50
|
|
|
|
# types
|
|
type 0 osd
|
|
type 1 host
|
|
type 2 chassis
|
|
type 3 rack
|
|
type 4 row
|
|
type 5 pdu
|
|
type 6 pod
|
|
type 7 room
|
|
type 8 datacenter
|
|
type 9 region
|
|
type 10 root
|
|
|
|
# buckets
|
|
host g1 {
|
|
id -2 # do not change unnecessarily
|
|
# weight 6.257
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.0 weight 3.576
|
|
item osd.20 weight 2.681
|
|
}
|
|
host g2 {
|
|
id -3 # do not change unnecessarily
|
|
# weight 5.361
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.1 weight 3.576
|
|
item osd.21 weight 1.785
|
|
}
|
|
host g3 {
|
|
id -4 # do not change unnecessarily
|
|
# weight 4.850
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.16 weight 3.450
|
|
item osd.2 weight 1.400
|
|
}
|
|
host n7 {
|
|
id -9 # do not change unnecessarily
|
|
# weight 6.251
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.8 weight 2.681
|
|
item osd.27 weight 1.785
|
|
item osd.29 weight 1.785
|
|
}
|
|
host stri {
|
|
id -12 # do not change unnecessarily
|
|
# weight 4.681
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.15 weight 2.000
|
|
item osd.13 weight 2.681
|
|
}
|
|
host g4 {
|
|
id -13 # do not change unnecessarily
|
|
# weight 15.276
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.17 weight 3.800
|
|
item osd.23 weight 3.900
|
|
item osd.22 weight 4.000
|
|
item osd.18 weight 3.576
|
|
}
|
|
host g5 {
|
|
id -15 # do not change unnecessarily
|
|
# weight 8.043
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.25 weight 2.681
|
|
item osd.24 weight 2.681
|
|
item osd.26 weight 2.681
|
|
}
|
|
host g6 {
|
|
id -18 # do not change unnecessarily
|
|
# weight 6.257
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.28 weight 2.681
|
|
item osd.9 weight 3.576
|
|
}
|
|
host g8 {
|
|
id -20 # do not change unnecessarily
|
|
# weight 7.188
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.30 weight 4.507
|
|
item osd.41 weight 2.681
|
|
}
|
|
host g9 {
|
|
id -22 # do not change unnecessarily
|
|
# weight 5.681
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.33 weight 3.000
|
|
item osd.35 weight 2.681
|
|
}
|
|
host g10 {
|
|
id -24 # do not change unnecessarily
|
|
# weight 8.938
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.39 weight 3.576
|
|
item osd.38 weight 2.681
|
|
item osd.37 weight 2.681
|
|
}
|
|
host g11 {
|
|
id -25 # do not change unnecessarily
|
|
# weight 5.222
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.3 weight 1.500
|
|
item osd.44 weight 1.000
|
|
item osd.11 weight 2.722
|
|
}
|
|
host g12 {
|
|
id -28 # do not change unnecessarily
|
|
# weight 8.098
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.45 weight 1.813
|
|
item osd.46 weight 1.813
|
|
item osd.47 weight 2.722
|
|
item osd.48 weight 1.750
|
|
}
|
|
root default {
|
|
id -1 # do not change unnecessarily
|
|
# weight 92.103
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item g1 weight 6.257
|
|
item g2 weight 5.361
|
|
item g3 weight 4.850
|
|
item n7 weight 6.251
|
|
item stri weight 4.681
|
|
item g4 weight 15.276
|
|
item g5 weight 8.043
|
|
item g6 weight 6.257
|
|
item g8 weight 7.188
|
|
item g9 weight 5.681
|
|
item g10 weight 8.938
|
|
item g11 weight 5.222
|
|
item g12 weight 8.098
|
|
}
|
|
host g1-ssd {
|
|
id -6 # do not change unnecessarily
|
|
# weight 0.403
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.42 weight 0.403
|
|
}
|
|
host g2-ssd {
|
|
id -7 # do not change unnecessarily
|
|
# weight 0.436
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.4 weight 0.214
|
|
item osd.7 weight 0.222
|
|
}
|
|
host g3-ssd {
|
|
id -8 # do not change unnecessarily
|
|
# weight 0.222
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.6 weight 0.222
|
|
}
|
|
host n7-ssd {
|
|
id -10 # do not change unnecessarily
|
|
# weight 0.409
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.14 weight 0.409
|
|
}
|
|
host stri-ssd {
|
|
id -11 # do not change unnecessarily
|
|
# weight 0.209
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.12 weight 0.209
|
|
}
|
|
host g4-ssd {
|
|
id -14 # do not change unnecessarily
|
|
# weight 0.208
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.19 weight 0.208
|
|
}
|
|
host g5-ssd {
|
|
id -16 # do not change unnecessarily
|
|
# weight 0.209
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.5 weight 0.209
|
|
}
|
|
host g6-ssd {
|
|
id -17 # do not change unnecessarily
|
|
# weight 0.209
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.10 weight 0.209
|
|
}
|
|
host g8-ssd {
|
|
id -19 # do not change unnecessarily
|
|
# weight 0.431
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.31 weight 0.209
|
|
item osd.32 weight 0.222
|
|
}
|
|
host g9-ssd {
|
|
id -21 # do not change unnecessarily
|
|
# weight 0.539
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.34 weight 0.449
|
|
item osd.36 weight 0.090
|
|
}
|
|
host g10-ssd {
|
|
id -23 # do not change unnecessarily
|
|
# weight 0.090
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.40 weight 0.090
|
|
}
|
|
host g11-ssd {
|
|
id -26 # do not change unnecessarily
|
|
# weight 0.403
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.50 weight 0.403
|
|
}
|
|
host g12-ssd {
|
|
id -27 # do not change unnecessarily
|
|
# weight 0.403
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item osd.49 weight 0.403
|
|
}
|
|
root ssd {
|
|
id -5 # do not change unnecessarily
|
|
# weight 4.171
|
|
alg straw2
|
|
hash 0 # rjenkins1
|
|
item g1-ssd weight 0.403
|
|
item g2-ssd weight 0.436
|
|
item g3-ssd weight 0.222
|
|
item n7-ssd weight 0.409
|
|
item stri-ssd weight 0.209
|
|
item g4-ssd weight 0.208
|
|
item g5-ssd weight 0.209
|
|
item g6-ssd weight 0.209
|
|
item g8-ssd weight 0.431
|
|
item g9-ssd weight 0.539
|
|
item g10-ssd weight 0.090
|
|
item g11-ssd weight 0.403
|
|
item g12-ssd weight 0.403
|
|
}
|
|
|
|
# rules
|
|
rule replicated_ruleset {
|
|
ruleset 0
|
|
type replicated
|
|
min_size 1
|
|
max_size 10
|
|
step take default
|
|
step chooseleaf firstn 0 type host
|
|
step emit
|
|
}
|
|
rule ssd_replicated_ruleset {
|
|
ruleset 1
|
|
type replicated
|
|
min_size 1
|
|
max_size 10
|
|
step take ssd
|
|
step chooseleaf firstn 0 type host
|
|
step emit
|
|
}
|
|
rule ec4p1 {
|
|
ruleset 2
|
|
type erasure
|
|
min_size 3
|
|
max_size 20
|
|
step set_chooseleaf_tries 5
|
|
step take default
|
|
step choose indep 0 type osd
|
|
step emit
|
|
}
|
|
rule ec3p1 {
|
|
ruleset 3
|
|
type erasure
|
|
min_size 3
|
|
max_size 20
|
|
step set_chooseleaf_tries 5
|
|
step take default
|
|
step chooseleaf indep 0 type host
|
|
step emit
|
|
}
|
|
rule ec8p2 {
|
|
ruleset 4
|
|
type erasure
|
|
min_size 3
|
|
max_size 10
|
|
step set_chooseleaf_tries 5
|
|
step set_choose_tries 100
|
|
step take default
|
|
step chooseleaf indep 0 type host
|
|
step emit
|
|
}
|
|
|
|
# end crush map
|