[Gluster-users] Replicate over WAN?
Count Zero
countz at gmail.com
Wed May 5 20:15:32 UTC 2010
>
>
> Replicate is not really designed for a WAN environment. A couple of things that are probably affecting you are:
>
> 1) "lookup" (first access to any file or directory) needs to be sent to all subvolumes to gather information to determine if self-heal is needed. There is no way to fix this without losing the ability to self-heal.
>
> 2) "readdir" (ls) is always sent to the first subvolume. This is necessary to ensure consistent inode numbers. Perhaps you could ensure that the first subvolume is local? (Make sure the order of subvolumes is the same on all your clients.)
>
Wait a sec. I believe there's a possible conflict in point (2), or perhaps I misunderstood:
- Ensure the first subvolume is the local one - I am assuming that in order to do this, I need make the local subvolume the first one in the list of volumes, in the 'subvolumes' option
- If I do this on every client, it means the order of subvolumes can not be the same, since on every client the local subvolume will be the first in the list.
Can you confirm the above is ok?
Thanks! :-)
Also, I noticed this morning 3 patches were released to address the WAN issue?
I will try them on a parallel test system first, and run some measurements.
More information about the Gluster-users
mailing list