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