]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/simple.template.five
update sources to v12.1.2
[ceph.git] / ceph / src / test / cli / crushtool / simple.template.five
CommitLineData
7c673cae
FG
1# begin crush map
2
3# devices
4device 0 device0
5device 1 osd1
6
7# types
8type 0 device
9type 1 host
10type 2 cluster
11
12# buckets
13host host0 {
14 id -2 # do not change unnecessarily
15 # weight 1.000
16 alg straw
17 hash 0 # rjenkins1
18 item device0 weight 1.000
19}
20host host1 {
21 id -3 # do not change unnecessarily
22 # weight 2.000
23 alg straw
24 hash 0 # rjenkins1
25 item osd1 weight 2.000
26}
27cluster cluster0 {
28 id -1 # do not change unnecessarily
29 # weight 3.000
30 alg straw
31 hash 0 # rjenkins1
32 item host0 weight 1.000
33 item host1 weight 2.000
34}
35
36# rules
37rule data {
c07f9fc5 38 id 0
7c673cae
FG
39 type replicated
40 min_size 1
41 max_size 10
42 step take cluster0
43 step chooseleaf firstn 0 type host
44 step emit
45}
46rule metadata {
c07f9fc5 47 id 1
7c673cae
FG
48 type replicated
49 min_size 1
50 max_size 10
51 step take cluster0
52 step chooseleaf firstn 0 type host
53 step emit
54}
55rule rbd {
c07f9fc5 56 id 2
7c673cae
FG
57 type replicated
58 min_size 1
59 max_size 10
60 step take cluster0
61 step chooseleaf firstn 0 type host
62 step emit
63}
64
65# end crush map