Project

General

Profile

Tasks #12118 ยป crush.txt

chuanhong wang, 06/23/2015 07:22 AM

 
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 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 device9
device 10 device10
device 11 device11
device 12 device12
device 13 osd.13
device 14 osd.14
device 15 osd.15
device 16 osd.16

# 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 ceph2 {
id -3 # do not change unnecessarily
# weight 1.100
alg straw
hash 0 # rjenkins1
item osd.4 weight 0.270
item osd.6 weight 0.270
item osd.8 weight 0.270
item osd.1 weight 0.290
}
host ceph3 {
id -4 # do not change unnecessarily
# weight 1.370
alg straw
hash 0 # rjenkins1
item osd.0 weight 0.290
item osd.2 weight 0.270
item osd.3 weight 0.270
item osd.5 weight 0.270
item osd.7 weight 0.270
}
host ceph1 {
id -2 # do not change unnecessarily
# weight 7.270
alg straw
hash 0 # rjenkins1
item osd.13 weight 1.820
item osd.14 weight 1.820
item osd.15 weight 1.810
item osd.16 weight 1.820
}
root default {
id -1 # do not change unnecessarily
# weight 9.740
alg straw
hash 0 # rjenkins1
item ceph2 weight 1.100
item ceph3 weight 1.370
item ceph1 weight 7.270
}

# 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
}

# end crush map
    (1-1/1)