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