]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/multitype.after
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / multitype.after
1 # begin crush map
2
3 # devices
4 device 0 osd0
5 device 1 osd1
6 device 2 osd2
7 device 3 osd3
8 device 4 osd4
9 device 5 osd5
10 device 6 osd6
11 device 7 osd7
12 device 8 osd8
13 device 9 osd9
14
15 # types
16 type 0 osd
17 type 1 host
18 type 2 cluster
19
20 # buckets
21 host host0 {
22 id -2 # do not change unnecessarily
23 # weight 3.00000
24 alg straw
25 hash 0 # rjenkins1
26 item osd0 weight 2.00000
27 item osd1 weight 1.00000
28 }
29 host host1 {
30 id -3 # do not change unnecessarily
31 # weight 3.00000
32 alg list # add new items at the end; do not change order unnecessarily
33 hash 0 # rjenkins1
34 item osd3 weight 2.00000
35 item osd4 weight 1.00000
36 }
37 host host2 {
38 id -4 # do not change unnecessarily
39 # weight 5.50000
40 alg tree # do not change pos for existing items unnecessarily
41 hash 0 # rjenkins1
42 item osd5 weight 1.00000 pos 0
43 item osd6 weight 2.00000 pos 1
44 item osd7 weight 0.50000 pos 2
45 item osd8 weight 1.00000 pos 3
46 item osd9 weight 1.00000 pos 4
47 }
48 cluster cluster0 {
49 id -1 # do not change unnecessarily
50 # weight 11.50000
51 alg straw
52 hash 0 # rjenkins1
53 item host0 weight 3.00000
54 item host1 weight 3.00000
55 item host2 weight 5.50000
56 }
57
58 # rules
59 rule data {
60 id 0
61 type replicated
62 step take cluster0
63 step chooseleaf firstn 0 type host
64 step emit
65 }
66 rule metadata {
67 id 1
68 type replicated
69 step take cluster0
70 step chooseleaf firstn 0 type host
71 step emit
72 }
73 rule rbd {
74 id 2
75 type replicated
76 step take cluster0
77 step chooseleaf firstn 0 type host
78 step emit
79 }
80
81 # end crush map