]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/simple.template.five
import quincy beta 17.1.0
[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.00000
16 alg straw
17 hash 0 # rjenkins1
18 item device0 weight 1.00000
19 }
20 host host1 {
21 id -3 # do not change unnecessarily
22 # weight 2.00000
23 alg straw
24 hash 0 # rjenkins1
25 item osd1 weight 2.00000
26 }
27 cluster cluster0 {
28 id -1 # do not change unnecessarily
29 # weight 3.00000
30 alg straw
31 hash 0 # rjenkins1
32 item host0 weight 1.00000
33 item host1 weight 2.00000
34 }
35
36 # rules
37 rule data {
38 id 0
39 type replicated
40 step take cluster0
41 step chooseleaf firstn 0 type host
42 step emit
43 }
44 rule metadata {
45 id 1
46 type replicated
47 step take cluster0
48 step chooseleaf firstn 0 type host
49 step emit
50 }
51 rule rbd {
52 id 2
53 type replicated
54 step take cluster0
55 step chooseleaf firstn 0 type host
56 step emit
57 }
58
59 # end crush map