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