GlusterFS 1.3.0-pre2.2: AFR setup

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

 



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





[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