Re: [Gluster-users] master volume

2019-08-15 Thread richard lucassen
On Thu, 15 Aug 2019 09:12:43 +0530
Shwetha Acharya  wrote:

> Consider that you have a volume, named vol1. Now you want to have a
> replica of it, for disaster recovery. What do you do? You will create
> a new volume, say, repica-vol1 in a different cluster.
> 
> To replicate data from vol1 to replica-vol1, you will set up a geo-rep
> session between vol1 and replica-vol1. In geo-replication, we call
> your primary volume vol1 as master. The replicated volume
> replica-vol1 is called slave. We call it master and slave because you
> will see unidirectional sync of data from master volume(vol1) to
> slave volume(replica-vol1).
> 
> Hope this helps.

Yep, thnx, that's much clearer now.

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] master volume

2019-08-14 Thread Shwetha Acharya
Consider that you have a volume, named vol1. Now you want to have a replica
of it, for disaster recovery. What do you do? You will create a new volume,
say, repica-vol1 in a different cluster.

To replicate data from vol1 to replica-vol1, you will set up a geo-rep
session between vol1 and replica-vol1. In geo-replication, we call your
primary volume vol1 as master. The replicated volume replica-vol1 is called
slave. We call it master and slave because you will see unidirectional sync
of data from master volume(vol1) to slave volume(replica-vol1).

Hope this helps.

On Thu, 15 Aug 2019, 3:35 am richard lucassen, 
wrote:

> On Wed, 14 Aug 2019 20:24:53 +0530
> Aravinda Vishwanathapura Krishna Murthy  wrote:
>
> > > > If Master and Slave Volumes are in
> > > > the same cluster then it is not so helpful when disaster happens.
> > >
> > > So, do I need to do something like this?:
> > >
> > > cluster volume name: gvol0
> > > replication vol name: rep-gvol0
> >
> > Volume names can be kept as your convenience.
>
> The doc is quite unclear for me as a gluster newbie. It's the old Linux
> paradox: the moment that you will understand the docs is the moment
> that you don't need them anymore.
>
> Why is there a MASTER_VOL and a SLAVE_VOL? If I have a volume called
> "gvol0" it seems logical to me that the geo-replication slave server
> also uses this volume name "gvol0". The geo-replication server knows it
> is not part of the active cluster because it was told to do so.
>
> OTOH, I think there must be an obvious reason for this MASTER_VOL and
> SLAVE_VOL, but I don't understand this from the docs.
>
> R.
>
> --
> richard lucassen
> http://contact.xaq.nl/
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] master volume

2019-08-14 Thread richard lucassen
On Wed, 14 Aug 2019 20:24:53 +0530
Aravinda Vishwanathapura Krishna Murthy  wrote:

> > > If Master and Slave Volumes are in
> > > the same cluster then it is not so helpful when disaster happens.
> >
> > So, do I need to do something like this?:
> >
> > cluster volume name: gvol0
> > replication vol name: rep-gvol0
> 
> Volume names can be kept as your convenience.

The doc is quite unclear for me as a gluster newbie. It's the old Linux
paradox: the moment that you will understand the docs is the moment
that you don't need them anymore.

Why is there a MASTER_VOL and a SLAVE_VOL? If I have a volume called
"gvol0" it seems logical to me that the geo-replication slave server
also uses this volume name "gvol0". The geo-replication server knows it
is not part of the active cluster because it was told to do so.

OTOH, I think there must be an obvious reason for this MASTER_VOL and
SLAVE_VOL, but I don't understand this from the docs.

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] master volume

2019-08-14 Thread Aravinda Vishwanathapura Krishna Murthy
On Wed, Aug 14, 2019 at 7:07 PM richard lucassen 
wrote:

> On Wed, 14 Aug 2019 11:24:08 +0530
> Aravinda Vishwanathapura Krishna Murthy  wrote:
>
> > Gluster Geo-replication is a feature to replicate data from one
> > Gluster Volume to other. This needs to be set up for each Volume for
> > which data needs to be replicated.
>
> That sounds logical :)
>
> > If Master and Slave Volumes are in
> > the same cluster then it is not so helpful when disaster happens.
>
> So, do I need to do something like this?:
>
> cluster volume name: gvol0
> replication vol name: rep-gvol0
>

Volume names can be kept as your convenience.


>
> R.
>
> --
> richard lucassen
> http://contact.xaq.nl/
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>


-- 
regards
Aravinda VK
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] master volume

2019-08-14 Thread richard lucassen
On Wed, 14 Aug 2019 11:24:08 +0530
Aravinda Vishwanathapura Krishna Murthy  wrote:

> Gluster Geo-replication is a feature to replicate data from one
> Gluster Volume to other. This needs to be set up for each Volume for
> which data needs to be replicated.

That sounds logical :)

> If Master and Slave Volumes are in
> the same cluster then it is not so helpful when disaster happens.

So, do I need to do something like this?:

cluster volume name: gvol0
replication vol name: rep-gvol0

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] master volume

2019-08-13 Thread Aravinda Vishwanathapura Krishna Murthy
Gluster Geo-replication is a feature to replicate data from one Gluster
Volume to other. This needs to be set up for each Volume for which data
needs to be replicated. If Master and Slave Volumes are in the same cluster
then it is not so helpful when disaster happens.

On Wed, Aug 14, 2019 at 1:02 AM richard lucassen 
wrote:

> Hello list,
>
> I want to add a geo-replication server to a 2 node + arbiter
> environment. Reading the docs, many questions pop up, under which this
> one, they're talking about a "master volume" and a "slave volume":
>
> gluster volume geo-replication  \
> :: create push-pem [force]
>
>
> https://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Administrator%20Guide/Distributed%20Geo%20Replication/
>
> I have a few volumes running, but I fear I missed something crucial
> somewhere. Or should I set up a geo-replication for each and every
> volume I run on the two nodes?
>
> R.
>
> --
> richard lucassen
> http://contact.xaq.nl/
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>


-- 
regards
Aravinda VK
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] master volume

2019-08-13 Thread richard lucassen
Hello list,

I want to add a geo-replication server to a 2 node + arbiter
environment. Reading the docs, many questions pop up, under which this
one, they're talking about a "master volume" and a "slave volume":

gluster volume geo-replication  \
:: create push-pem [force]

https://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Administrator%20Guide/Distributed%20Geo%20Replication/

I have a few volumes running, but I fear I missed something crucial
somewhere. Or should I set up a geo-replication for each and every
volume I run on the two nodes?

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users