[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Switch scheduler for redundancy
From: |
Raghavendra G |
Subject: |
Re: [Gluster-devel] Switch scheduler for redundancy |
Date: |
Tue, 5 Aug 2008 08:17:52 +0400 |
Hi Luke,
You have to use unify over afr to achieve this.
As an example consider a setup having 3 nodes n1, n2 and n3. Let the
requirement be all the .avi files to be replicated on 2 nodes (say n1 and
n2) and all the text files to be replicated on all the three nodes.
glusterfs configuration would be,
volume afr-for-avi
type cluster/afr
subvolumes n1 n2
#options follow
.
.
.
end-volume
volume afr-for-txt
type cluster/afr
subvolumes n1 n2 n3
#options follow
.
.
.
end-volume
volume unify
type cluster/unify
subvolumes afr-for-avi afr-for-txt
option scheduler switch
option switch.case *.avi:afr-for-avi;*.txt:afr-for-txt
#other options follow
.
.
.
end-volume
regards,
On Tue, Aug 5, 2008 at 3:51 AM, Luke McGregor <address@hidden> wrote:
> Hi there
>
> On this site <http://gluster-tmp.enix.org/docs/index.php/GlusterFS_FAQ> it
> says that the switch scheduler can be used for file based regular
> expression
> redundancy. How exactly does this work and how does glusterfs keep the two
> copies consistent?
>
> Thanks
> Luke
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
Raghavendra G
A centipede was happy quite, until a toad in fun,
Said, "Prey, which leg comes after which?",
This raised his doubts to such a pitch,
He fell flat into the ditch,
Not knowing how to run.
-Anonymous
- [Gluster-devel] Switch scheduler for redundancy, Luke McGregor, 2008/08/04
- Re: [Gluster-devel] Switch scheduler for redundancy,
Raghavendra G <=
- [Gluster-devel] Unify/AFR crashes, Dmitriy Kotkin , 2008/08/05
- Re: [Gluster-devel] Unify/AFR crashes, Krishna Srinivas, 2008/08/06
- RE: [Gluster-devel] Unify/AFR crashes, Dmitriy Kotkin , 2008/08/07
- RE: [Gluster-devel] Unify/AFR crashes, Dmitriy Kotkin , 2008/08/11
- Re: [Gluster-devel] Unify/AFR crashes, Krishna Srinivas, 2008/08/11
- [Gluster-devel] Help needed on Booster Translator, Rohan, 2008/08/11
- [Gluster-devel] Booster Translator not working on client., Rohan, 2008/08/11
- Re: [Gluster-devel] Booster Translator not working on client., Amar S. Tumballi, 2008/08/11
- RE: [Gluster-devel] Booster Translator not working on client., Rohan, 2008/08/12
- Re: [Gluster-devel] Unify/AFR crashes, NovA, 2008/08/11