Re: GlusterFS 1.3.0-pre2.2: AFR setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux