[Gluster-users] Confused about Geo Replication..
Robert Krig
robert at bitcaster.de
Tue Oct 25 10:39:58 UTC 2011
On 10/24/2011 12:44 PM, Robert Krig wrote:
>
> On 10/24/2011 11:11 AM, Venky Shankar wrote:
>> On 10/24/2011 02:16 PM, Robert Krig wrote:
>>> I've been reading the documentation, but I'm a bit stumped as to how to
>>> setup geo-replication with glusterfs.
>>>
>>> The documentation mentions that you use an existing glusterfs volume to
>>> start geo replication. But what kind of volume? Do you just create a
>>> standard replicated volume with a replica count of 1?
>> Geo-rep only needs the volume name. You can create volume of any type
>> (plain distribute, replicate, distribute-replicate etc...) and use it
>> as the master volume for geo-replication. Suppose you have a
>> distribute-replicate volume called 'vol-dr' then you start geo-rep by:
>>
>> # gluster volume geo-replication vol-dr <slave> start
>>
> So if I want to just create a simple 2 server master>slave setup, what
> would be the best choice for the initial Gluster volume? Replicated with
> a single node?
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
I've been trying a few things out, it seems for geo-replication you need
a third node. Or am I overlooking something?
I would like to try to setup a A->B geo-replication setup. One node
being replicated by a slave node.
But if I try to create a replicated volume, glusterfs insists on at
least two bricks.
Or should I try creating a distributed gluster volume with just one brick?
More information about the Gluster-users
mailing list