1 | ### Cloud Server ### |
---|
2 | volume brick |
---|
3 | type storage/posix |
---|
4 | option directory /home/bc |
---|
5 | end-volume |
---|
6 | |
---|
7 | volume server |
---|
8 | type protocol/server |
---|
9 | subvolumes brick |
---|
10 | option transport-type tcp/server # For TCP/IP transport |
---|
11 | option auth.ip.brick.allow 192.168.1.* |
---|
12 | end-volume |
---|
13 | |
---|
14 | ### Client ### |
---|
15 | ##Cloud## |
---|
16 | volume client1 |
---|
17 | type protocol/client |
---|
18 | option transport-type tcp/client |
---|
19 | option remote-host Cloud0 |
---|
20 | option remote-subvolume brick1 |
---|
21 | end-volume |
---|
22 | |
---|
23 | volume client2 |
---|
24 | type protocol/client |
---|
25 | option transport-type tcp/client |
---|
26 | option remote-host Cloud0 |
---|
27 | option remote-subvolume brick2 |
---|
28 | end-volume |
---|
29 | |
---|
30 | ##Cloud1## |
---|
31 | volume client3 |
---|
32 | type protocol/client |
---|
33 | option transport-type tcp/client |
---|
34 | option remote-host Cloud1 |
---|
35 | option remote-subvolume brick |
---|
36 | end-volume |
---|
37 | |
---|
38 | ##Cloud2## |
---|
39 | volume client4 |
---|
40 | type protocol/client |
---|
41 | option transport-type tcp/client |
---|
42 | option remote-host Cloud2 |
---|
43 | option remote-subvolume brick |
---|
44 | end-volume |
---|
45 | |
---|
46 | volume stripe0 |
---|
47 | type cluster/stripe |
---|
48 | option block-size *:1MB |
---|
49 | subvolumes client1 client2 client3 client4 |
---|
50 | end-volume |
---|