GlusterFS_Installation: drbl_Cloud.vol

File drbl_Cloud.vol, 1.1 KB (added by rock, 16 years ago)

drbl_Cloud.vol

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