[Gluster-devel] GlusterFS 1.3.0-pre2.2: AFR setup
Krishna Srinivas
krishna at zresearch.com
Sun Mar 4 08:57:29 UTC 2007
Hi Gerry,
Could not really understand the requirements for your setup.
Have you gone through the documentation?
http://www.gluster.org/docs/index.php/GlusterFS_User_Guide#Automatic_File_Replication_Translator
Have a look at it to understand how different translators can be
together.
Krishna
On 3/4/07, Gerry Reno <greno at verizon.net> wrote:
> If I want to have four webservers each with local storage brick that is
> mirrored between them how do I setup the .vol files?
> Would I put a client and server .vol on each webserver? How do I get
> the bricks to mirror? Would I need a cluster unify translator?
>
> This is what I have so far:
>
> Server.vol:
> ############################
> volume brick
> type storage/posix
> option directory /var/www
> end-volume
> volume server
> type protocol/server
> option transport-type tcp/server
> option bind-address 127.0.0.1
> option listen-port 6996
> subvolumes brick
> option auth.ip.brick.allow 127.0.0.1
> end-volume
> ############################
>
> Client.vol
> ############################
> volume client
> type protocol/client
> option transport-type tcp/client
> option remote-host 127.0.0.1
> option remote-port 6996
> option remote-subvolume brick
> end-volume
> volume afr
> type cluster/automatic-file-replication
> option replicate:* *
> end-volume
> ############################
>
> Gerry
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
More information about the Gluster-devel
mailing list