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