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