]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/simple.template.five
update sources to v12.1.2
[ceph.git] / ceph / src / test / cli / crushtool / simple.template.five
1 # begin crush map
2
3 # devices
4 device 0 device0
5 device 1 osd1
6
7 # types
8 type 0 device
9 type 1 host
10 type 2 cluster
11
12 # buckets
13 host 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 }
20 host 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 }
27 cluster 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
37 rule data {
38 id 0
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 }
46 rule metadata {
47 id 1
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 }
55 rule rbd {
56 id 2
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