[Gluster-users] using a preferred node ?
Ravishankar N
ravishankar at redhat.com
Mon May 11 05:13:01 UTC 2015
On 05/10/2015 08:29 PM, Mathieu Chateau wrote:
> Hello,
>
> Short way: Is there any way to define a preferred Gluster server ?
>
> Long way:
> I have the following setup (version 3.6.3) :
>
> Gluster A <==> VPN <==> Gluster B
>
> Volume is replicated between A and B.
>
> They are in same datacenter, using a 1Gb/s connection, low latency (0.5ms)
>
> I have gluster clients in lan A & B.
>
> When doing a "ls" on big folder (~60k files), both gluster node are
> used, and so it need 9mn instead on 1mn if only the local gluster is
> reachable.
>
Lookups (and writes of course) from clients are sent to both bricks
because AFR uses the result of the lookup to select which brick to read
from if there is a pending heal etc.
If the file is clean on both A and B, then reads are always served from
the local brick. i.e. reads on clients mounted on A will be served from
the brick in A (and likewise for B).
Hope that helps,
Ravi
> It's HA setup, application is present on both side. I would like a
> master/master setup, but using only local node as possible.
>
>
> Regards,
> Mathieu CHATEAU
> http://www.lotp.fr
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150511/0d951a1b/attachment.html>
More information about the Gluster-users
mailing list