Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # begin crush map
- tunable choose_local_tries 0
- tunable choose_local_fallback_tries 0
- tunable choose_total_tries 100
- tunable chooseleaf_descend_once 1
- tunable chooseleaf_vary_r 1
- tunable straw_calc_version 1
- # devices
- device 0 osd.0 class hdd
- device 1 osd.1 class hdd
- device 2 osd.2 class hdd
- device 3 osd.3 class hdd
- device 4 osd.4 class hdd
- device 5 osd.5 class hdd
- device 6 osd.6 class hdd
- device 7 osd.7 class hdd
- device 8 osd.8 class hdd
- device 9 osd.9 class hdd
- device 10 osd.10 class hdd
- device 11 osd.11 class hdd
- device 12 osd.12 class hdd
- device 13 osd.13 class hdd
- device 14 osd.14 class hdd
- device 15 osd.15 class hdd
- device 16 osd.16 class hdd
- device 17 osd.17 class hdd
- device 18 osd.18 class ssd
- device 19 osd.19 class ssd
- device 20 osd.20 class ssd
- device 21 osd.21 class ssd
- device 22 osd.22 class ssd
- device 23 osd.23 class ssd
- device 24 osd.24 class ssd
- device 25 osd.25 class ssd
- device 26 osd.26 class ssd
- device 27 osd.27 class ssd
- device 28 osd.28 class ssd
- device 29 osd.29 class ssd
- device 30 osd.30 class ssd
- device 31 osd.31 class ssd
- device 32 osd.32 class ssd
- device 33 osd.33 class ssd
- device 34 osd.34 class ssd
- device 35 osd.35 class ssd
- device 36 osd.36 class ssd
- device 37 osd.37 class ssd
- device 38 osd.38 class ssd
- device 39 osd.39 class ssd
- device 40 osd.40 class ssd
- device 41 osd.41 class ssd
- device 42 osd.42 class ssd
- device 43 osd.43 class ssd
- device 44 osd.44 class ssd
- device 45 osd.45 class ssd
- device 46 osd.46 class ssd
- device 47 osd.47 class ssd
- device 48 osd.48 class ssd
- device 49 osd.49 class ssd
- device 50 osd.50 class ssd
- device 51 osd.51 class ssd
- device 52 osd.52 class ssd
- device 53 osd.53 class ssd
- device 54 osd.54 class ssd
- device 55 osd.55 class ssd
- device 56 osd.56 class ssd
- device 57 osd.57 class ssd
- device 58 osd.58 class ssd
- device 59 osd.59 class ssd
- device 60 osd.60 class ssd
- device 61 osd.61 class ssd
- device 62 osd.62 class ssd
- device 63 osd.63 class ssd
- device 64 osd.64 class ssd
- device 65 osd.65 class ssd
- device 66 osd.66 class ssd
- device 67 osd.67 class ssd
- device 68 osd.68 class ssd
- device 69 osd.69 class ssd
- device 70 osd.70 class ssd
- device 71 osd.71 class ssd
- device 72 osd.72 class ssd
- device 73 osd.73 class ssd
- device 74 osd.74 class ssd
- device 75 osd.75 class ssd
- device 76 osd.76 class ssd
- device 77 osd.77 class ssd
- device 78 osd.78 class ssd
- device 79 osd.79 class ssd
- device 80 osd.80 class ssd
- device 81 osd.81 class ssd
- device 82 osd.82 class ssd
- device 83 osd.83 class ssd
- device 84 osd.84 class ssd
- device 85 osd.85 class ssd
- device 86 osd.86 class ssd
- device 87 osd.87 class ssd
- device 88 osd.88 class ssd
- device 89 osd.89 class ssd
- device 90 osd.90 class ssd
- device 91 osd.91 class ssd
- device 92 osd.92 class ssd
- device 93 osd.93 class ssd
- device 94 osd.94 class ssd
- device 95 osd.95 class ssd
- device 96 osd.96 class ssd
- device 97 osd.97 class ssd
- device 98 osd.98 class ssd
- device 99 osd.99 class ssd
- device 100 osd.100 class ssd
- device 101 osd.101 class ssd
- device 102 osd.102 class ssd
- device 103 osd.103 class ssd
- device 104 osd.104 class ssd
- device 105 osd.105 class ssd
- device 106 osd.106 class ssd
- device 107 osd.107 class ssd
- device 108 osd.108 class hdd
- device 109 osd.109 class hdd
- device 110 osd.110 class hdd
- device 111 osd.111 class hdd
- device 112 osd.112 class hdd
- device 113 osd.113 class hdd
- device 114 osd.114 class hdd
- device 115 osd.115 class hdd
- device 116 osd.116 class hdd
- device 117 osd.117 class hdd
- device 118 osd.118 class hdd
- device 119 osd.119 class hdd
- device 120 osd.120 class hdd
- device 121 osd.121 class hdd
- device 122 osd.122 class hdd
- device 123 osd.123 class hdd
- device 124 osd.124 class hdd
- device 125 osd.125 class hdd
- device 126 osd.126 class ssd
- device 127 osd.127 class ssd
- device 128 osd.128 class ssd
- device 129 osd.129 class ssd
- device 130 osd.130 class ssd
- device 131 osd.131 class ssd
- device 132 osd.132 class ssd
- device 133 osd.133 class ssd
- device 134 osd.134 class ssd
- device 135 osd.135 class ssd
- device 136 osd.136 class ssd
- device 137 osd.137 class ssd
- device 138 osd.138 class ssd
- device 139 osd.139 class ssd
- device 140 osd.140 class ssd
- device 141 osd.141 class ssd
- device 142 osd.142 class ssd
- device 143 osd.143 class ssd
- # 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 stor-a01-ssd {
- id -8 # do not change unnecessarily
- id -44 class hdd # do not change unnecessarily
- id -24 class ssd # do not change unnecessarily
- # weight 23.555
- alg straw2
- hash 0 # rjenkins1
- item osd.18 weight 1.435
- item osd.24 weight 1.435
- item osd.39 weight 1.435
- item osd.42 weight 1.435
- item osd.48 weight 1.435
- item osd.60 weight 1.435
- item osd.66 weight 1.435
- item osd.72 weight 1.435
- item osd.78 weight 1.435
- item osd.84 weight 1.435
- item osd.90 weight 1.435
- item osd.96 weight 1.435
- item osd.30 weight 1.435
- item osd.102 weight 3.500
- item osd.54 weight 1.400
- }
- host stor-a02-ssd {
- id -11 # do not change unnecessarily
- id -45 class hdd # do not change unnecessarily
- id -25 class ssd # do not change unnecessarily
- # weight 23.505
- alg straw2
- hash 0 # rjenkins1
- item osd.27 weight 1.435
- item osd.21 weight 1.435
- item osd.33 weight 1.435
- item osd.38 weight 1.435
- item osd.45 weight 1.435
- item osd.51 weight 1.435
- item osd.57 weight 1.435
- item osd.63 weight 1.435
- item osd.69 weight 1.435
- item osd.75 weight 1.435
- item osd.81 weight 1.435
- item osd.87 weight 1.350
- item osd.93 weight 1.435
- item osd.99 weight 1.435
- item osd.103 weight 3.500
- }
- host ssdstor-a01 {
- id -54 # do not change unnecessarily
- id -61 class hdd # do not change unnecessarily
- id -62 class ssd # do not change unnecessarily
- # weight 0.600
- alg straw2
- hash 0 # rjenkins1
- item osd.126 weight 0.100
- item osd.127 weight 0.100
- item osd.128 weight 0.100
- item osd.129 weight 0.100
- item osd.130 weight 0.100
- item osd.131 weight 0.100
- }
- rack rack-a-ssd {
- id -201 # do not change unnecessarily
- id -46 class hdd # do not change unnecessarily
- id -26 class ssd # do not change unnecessarily
- # weight 47.660
- alg straw2
- hash 0 # rjenkins1
- item stor-a01-ssd weight 23.555
- item stor-a02-ssd weight 23.505
- item ssdstor-a01 weight 0.600
- }
- host stor-b01-ssd {
- id -9 # do not change unnecessarily
- id -47 class hdd # do not change unnecessarily
- id -27 class ssd # do not change unnecessarily
- # weight 23.435
- alg straw2
- hash 0 # rjenkins1
- item osd.19 weight 1.435
- item osd.25 weight 1.435
- item osd.31 weight 1.435
- item osd.40 weight 1.435
- item osd.43 weight 1.435
- item osd.49 weight 1.280
- item osd.55 weight 1.435
- item osd.61 weight 1.435
- item osd.67 weight 1.435
- item osd.73 weight 1.435
- item osd.79 weight 1.435
- item osd.85 weight 1.435
- item osd.91 weight 1.435
- item osd.97 weight 1.435
- item osd.104 weight 3.500
- }
- host stor-b02-ssd {
- id -12 # do not change unnecessarily
- id -48 class hdd # do not change unnecessarily
- id -28 class ssd # do not change unnecessarily
- # weight 23.590
- alg straw2
- hash 0 # rjenkins1
- item osd.28 weight 1.435
- item osd.22 weight 1.435
- item osd.34 weight 1.435
- item osd.37 weight 1.435
- item osd.46 weight 1.435
- item osd.52 weight 1.435
- item osd.58 weight 1.435
- item osd.64 weight 1.435
- item osd.70 weight 1.435
- item osd.76 weight 1.435
- item osd.82 weight 1.435
- item osd.88 weight 1.435
- item osd.94 weight 1.435
- item osd.100 weight 1.435
- item osd.105 weight 3.500
- }
- host ssdstor-b01 {
- id -55 # do not change unnecessarily
- id -59 class hdd # do not change unnecessarily
- id -60 class ssd # do not change unnecessarily
- # weight 0.385
- alg straw2
- hash 0 # rjenkins1
- item osd.132 weight 0.030
- item osd.133 weight 0.070
- item osd.134 weight 0.080
- item osd.135 weight 0.100
- item osd.136 weight 0.065
- item osd.137 weight 0.040
- }
- rack rack-b-ssd {
- id -202 # do not change unnecessarily
- id -49 class hdd # do not change unnecessarily
- id -29 class ssd # do not change unnecessarily
- # weight 47.410
- alg straw2
- hash 0 # rjenkins1
- item stor-b01-ssd weight 23.435
- item stor-b02-ssd weight 23.590
- item ssdstor-b01 weight 0.385
- }
- host stor-c01-ssd {
- id -10 # do not change unnecessarily
- id -50 class hdd # do not change unnecessarily
- id -30 class ssd # do not change unnecessarily
- # weight 23.590
- alg straw2
- hash 0 # rjenkins1
- item osd.20 weight 1.435
- item osd.26 weight 1.435
- item osd.32 weight 1.435
- item osd.41 weight 1.435
- item osd.44 weight 1.435
- item osd.50 weight 1.435
- item osd.56 weight 1.435
- item osd.62 weight 1.435
- item osd.68 weight 1.435
- item osd.74 weight 1.435
- item osd.80 weight 1.435
- item osd.86 weight 1.435
- item osd.92 weight 1.435
- item osd.98 weight 1.435
- item osd.106 weight 3.500
- }
- host stor-c02-ssd {
- id -13 # do not change unnecessarily
- id -51 class hdd # do not change unnecessarily
- id -31 class ssd # do not change unnecessarily
- # weight 23.085
- alg straw2
- hash 0 # rjenkins1
- item osd.29 weight 1.435
- item osd.23 weight 1.200
- item osd.35 weight 1.435
- item osd.36 weight 1.435
- item osd.47 weight 1.435
- item osd.53 weight 1.435
- item osd.59 weight 1.435
- item osd.65 weight 1.435
- item osd.71 weight 1.435
- item osd.77 weight 1.435
- item osd.83 weight 1.435
- item osd.89 weight 1.200
- item osd.95 weight 1.435
- item osd.101 weight 1.400
- item osd.107 weight 3.500
- }
- host ssdstor-c01 {
- id -56 # do not change unnecessarily
- id -57 class hdd # do not change unnecessarily
- id -58 class ssd # do not change unnecessarily
- # weight 0.430
- alg straw2
- hash 0 # rjenkins1
- item osd.138 weight 0.060
- item osd.139 weight 0.070
- item osd.140 weight 0.050
- item osd.141 weight 0.060
- item osd.142 weight 0.090
- item osd.143 weight 0.100
- }
- rack rack-c-ssd {
- id -203 # do not change unnecessarily
- id -52 class hdd # do not change unnecessarily
- id -32 class ssd # do not change unnecessarily
- # weight 47.105
- alg straw2
- hash 0 # rjenkins1
- item stor-c01-ssd weight 23.590
- item stor-c02-ssd weight 23.085
- item ssdstor-c01 weight 0.430
- }
- root default {
- id -1 # do not change unnecessarily
- id -53 class hdd # do not change unnecessarily
- id -33 class ssd # do not change unnecessarily
- # weight 142.175
- alg straw2
- hash 0 # rjenkins1
- item rack-a-ssd weight 47.660
- item rack-b-ssd weight 47.410
- item rack-c-ssd weight 47.105
- }
- host stor-a01 {
- id -2 # do not change unnecessarily
- id -34 class hdd # do not change unnecessarily
- id -14 class ssd # do not change unnecessarily
- # weight 33.825
- alg straw2
- hash 0 # rjenkins1
- item osd.0 weight 7.275
- item osd.6 weight 7.275
- item osd.12 weight 7.275
- item osd.108 weight 4.000
- item osd.109 weight 4.000
- item osd.110 weight 4.000
- }
- host stor-b01 {
- id -3 # do not change unnecessarily
- id -37 class hdd # do not change unnecessarily
- id -17 class ssd # do not change unnecessarily
- # weight 27.150
- alg straw2
- hash 0 # rjenkins1
- item osd.1 weight 7.275
- item osd.13 weight 7.275
- item osd.114 weight 4.000
- item osd.115 weight 4.000
- item osd.116 weight 4.000
- item osd.7 weight 0.600
- }
- host stor-b02 {
- id -4 # do not change unnecessarily
- id -38 class hdd # do not change unnecessarily
- id -18 class ssd # do not change unnecessarily
- # weight 33.825
- alg straw2
- hash 0 # rjenkins1
- item osd.2 weight 7.275
- item osd.10 weight 7.275
- item osd.16 weight 7.275
- item osd.117 weight 4.000
- item osd.118 weight 4.000
- item osd.119 weight 4.000
- }
- host stor-c02 {
- id -5 # do not change unnecessarily
- id -41 class hdd # do not change unnecessarily
- id -21 class ssd # do not change unnecessarily
- # weight 33.825
- alg straw2
- hash 0 # rjenkins1
- item osd.3 weight 7.275
- item osd.11 weight 7.275
- item osd.17 weight 7.275
- item osd.123 weight 4.000
- item osd.124 weight 4.000
- item osd.125 weight 4.000
- }
- host stor-c01 {
- id -6 # do not change unnecessarily
- id -40 class hdd # do not change unnecessarily
- id -20 class ssd # do not change unnecessarily
- # weight 33.825
- alg straw2
- hash 0 # rjenkins1
- item osd.4 weight 7.275
- item osd.8 weight 7.275
- item osd.14 weight 7.275
- item osd.120 weight 4.000
- item osd.121 weight 4.000
- item osd.122 weight 4.000
- }
- host stor-a02 {
- id -7 # do not change unnecessarily
- id -35 class hdd # do not change unnecessarily
- id -15 class ssd # do not change unnecessarily
- # weight 33.825
- alg straw2
- hash 0 # rjenkins1
- item osd.5 weight 7.275
- item osd.9 weight 7.275
- item osd.15 weight 7.275
- item osd.111 weight 4.000
- item osd.113 weight 4.000
- item osd.112 weight 4.000
- }
- rack rack-a {
- id -101 # do not change unnecessarily
- id -36 class hdd # do not change unnecessarily
- id -16 class ssd # do not change unnecessarily
- # weight 67.650
- alg straw2
- hash 0 # rjenkins1
- item stor-a01 weight 33.825
- item stor-a02 weight 33.825
- }
- rack rack-b {
- id -102 # do not change unnecessarily
- id -39 class hdd # do not change unnecessarily
- id -19 class ssd # do not change unnecessarily
- # weight 60.975
- alg straw2
- hash 0 # rjenkins1
- item stor-b01 weight 27.150
- item stor-b02 weight 33.825
- }
- rack rack-c {
- id -103 # do not change unnecessarily
- id -42 class hdd # do not change unnecessarily
- id -22 class ssd # do not change unnecessarily
- # weight 67.650
- alg straw2
- hash 0 # rjenkins1
- item stor-c01 weight 33.825
- item stor-c02 weight 33.825
- }
- root hdd {
- id -100 # do not change unnecessarily
- id -43 class hdd # do not change unnecessarily
- id -23 class ssd # do not change unnecessarily
- # weight 200.275
- alg straw2
- hash 0 # rjenkins1
- item rack-a weight 67.650
- item rack-b weight 60.975
- item rack-c weight 67.650
- item osd.112 weight 4.000
- }
- # rules
- rule replicated_ruleset {
- id 0
- type replicated
- min_size 1
- max_size 10
- step take default
- step choose firstn 0 type rack
- step chooseleaf firstn 0 type host
- step emit
- }
- rule hdd_replicated {
- id 1
- type replicated
- min_size 1
- max_size 3
- step take hdd
- step choose firstn 0 type rack
- step chooseleaf firstn 0 type host
- step emit
- }
- rule ssd_then_spinner {
- id 2
- type replicated
- min_size 1
- max_size 10
- step take default
- step chooseleaf firstn 1 type host
- step emit
- step take hdd
- step choose firstn -1 type rack
- step chooseleaf firstn -1 type host
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement