Changes between Version 2 and Version 3 of GlusterFS_Installation


Ignore:
Timestamp:
Aug 22, 2008, 4:49:44 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GlusterFS_Installation

    v2 v3  
    9797 * Cloud1 ~ Cloud2
    9898{{{
     99$ cat drbl_Cloud1_2.vol
     100### Cloud Server ###
     101volume brick
     102   type storage/posix
     103   option directory /home/bc
     104end-volume
     105
     106volume server
     107   type protocol/server
     108   subvolumes brick
     109   option transport-type tcp/server # For TCP/IP transport
     110   option auth.ip.brick.allow 192.168.1.*
     111end-volume
     112
     113### Client ###
     114##Cloud##
     115volume client1
     116   type protocol/client
     117   option transport-type tcp/client
     118   option remote-host Cloud0
     119   option remote-subvolume brick1
     120end-volume
     121
     122volume client2
     123   type protocol/client
     124   option transport-type tcp/client
     125   option remote-host Cloud0
     126   option remote-subvolume brick2
     127end-volume
     128
     129##Cloud1##
     130volume client3
     131   type protocol/client
     132   option transport-type tcp/client
     133   option remote-host Cloud1
     134   option remote-subvolume brick
     135end-volume
     136
     137##Cloud2##
     138volume client4
     139   type protocol/client
     140   option transport-type tcp/client
     141   option remote-host Cloud2
     142   option remote-subvolume brick
     143end-volume
     144
     145volume stripe0
     146   type cluster/stripe
     147   option block-size *:1MB
     148   subvolumes client1 client2 client3 client4
     149end-volume
     150
    99151}}}
    100152[[BR]]
    101153== 3.Test ==
    102  * [[Image(drbl_Cloud0.png)]]
     154 * Startup GlusterFS
     155{{{
     156==== Cloud0 ====
     157$ glusterfs -f drbl_Cloud.vol /home/mnt
     158
     159==== Cloud1 ====
     160$ glusterfs -f less drbl_Cloud1_2.vol /home/mnt
     161
     162==== Cloud2 ====
     163$ glusterfs -f drbl_Cloud1_2.vol /home/mnt
     164
     165==== Check GlusterFS status ====
     166less /var/log/glusterfs/glusterfs.log
     167ps -aux | grep gluster
     168$
     169}}}
     170 * Check FS Volume [[BR]] [[Image(drbl_Cloud0.png)]]
    103171[[BR]]
    104172== 4.Refernece ==