[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

volume afr-for-txt
    type cluster/afr
    subvolumes n1 n2 n3
    #options follow

volume  unify
    type cluster/unify
    subvolumes afr-for-avi afr-for-txt
    option scheduler switch
    option *.avi:afr-for-avi;*.txt:afr-for-txt
    #other options follow


On Tue, Aug 5, 2008 at 3:51 AM, Luke McGregor <address@hidden> wrote:

> Hi there
> On this site <> 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

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]