[Gluster-users] NUFA w/ AFR ?

Keith Freedman freedman at FreeFormIT.com
Thu Dec 4 17:36:49 UTC 2008

At 08:25 AM 12/4/2008, Daniel Maher wrote:
>Hello all,
>I am curious to know if anybody is using NUFA with AFR, or indeed
>whether this is desirable, or even possible.
>The scenario is a simple one : a series of web servers, each one both a
>gluster server and client, and since the data is collective, they would
>all mount one big AFR'd dataspace.  The idea would be to have each
>server "preferring" to access itself (from a client perspective),
>instead of reaching out across the network needlessly.

just use "option read-subvolume" in your AFR brick and this will do 
the same thing:
volume afrbrick
   type cluster/afr
   option read-subvolume local-volume-brick
   subvolumes local-volume-brick remote-brick1 remote-brick2

>The Gluster wiki has an entry which appears to deal with a similar
>scenario, though i'm not entirely sure i understand what's being proposed :
>Comments are greatly appreciated.
>Daniel Maher <dma+gluster AT witbe DOT net>
>Gluster-users mailing list
>Gluster-users at gluster.org

More information about the Gluster-users mailing list