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