]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/crushtool/simple.template.adj.two
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / simple.template.adj.two
1 # begin crush map
2
3 # devices
4 device 0 device0
5
6 # types
7 type 0 device
8 type 1 host
9 type 2 cluster
10
11 # buckets
12 host host0 {
13 id -2 # do not change unnecessarily
14 # weight 1.00000
15 alg straw
16 hash 0 # rjenkins1
17 item device0 weight 1.00000
18 }
19 host fake {
20 id -3 # do not change unnecessarily
21 # weight 2.00000
22 alg straw
23 hash 0 # rjenkins1
24 item device0 weight 2.00000
25 }
26 cluster cluster0 {
27 id -1 # do not change unnecessarily
28 # weight 3.00000
29 alg straw
30 hash 0 # rjenkins1
31 item host0 weight 1.00000
32 item fake weight 2.00000
33 }
34
35 # rules
36 rule data {
37 id 0
38 type replicated
39 step take cluster0
40 step chooseleaf firstn 0 type host
41 step emit
42 }
43 rule metadata {
44 id 1
45 type replicated
46 step take cluster0
47 step chooseleaf firstn 0 type host
48 step emit
49 }
50 rule rbd {
51 id 2
52 type replicated
53 step take cluster0
54 step chooseleaf firstn 0 type host
55 step emit
56 }
57
58 # end crush map