]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/simple.template.multitree
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / simple.template.multitree
CommitLineData
7c673cae
FG
1# begin crush map
2
3# devices
4device 0 device0
5device 1 osd1
6
7# types
8type 0 device
9type 1 host
10type 2 cluster
11
12# buckets
13host host0 {
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 host1 {
20effc67 20 # weight 2.00000
7c673cae
FG
21 alg straw
22 hash 0 # rjenkins1
20effc67 23 item osd1 weight 2.00000
7c673cae
FG
24}
25cluster cluster0 {
20effc67 26 # weight 3.00000
7c673cae
FG
27 alg straw
28 hash 0 # rjenkins1
20effc67
TL
29 item host0 weight 1.00000
30 item host1 weight 2.00000
7c673cae
FG
31}
32
33cluster cluster1 {
20effc67 34 # weight 3.00000
7c673cae
FG
35 alg straw
36 hash 0 # rjenkins1
20effc67
TL
37 item host0 weight 1.00000
38 item host1 weight 2.00000
7c673cae
FG
39}
40
41# rules
42rule data {
20effc67 43 id 0
7c673cae 44 type replicated
7c673cae
FG
45 step take cluster0
46 step chooseleaf firstn 0 type host
47 step emit
48}
49rule metadata {
20effc67 50 id 1
7c673cae 51 type replicated
7c673cae
FG
52 step take cluster0
53 step chooseleaf firstn 0 type host
54 step emit
55}
56rule rbd {
20effc67 57 id 2
7c673cae 58 type replicated
7c673cae
FG
59 step take cluster1
60 step chooseleaf firstn 0 type host
61 step emit
62}
63
64# end crush map