Re: [Gluster-users] Arbiter

2022-02-08 Thread Diego Zuccato

Il 08/02/2022 12:17, Karthik Subrahmanya ha scritto:

Since there are 4 nodes available here, and based on the configuration 
of the available volumes (requested volume info for the same) I was 
thinking whether the arbiter brick can be hosted on one of those nodes 
itself, or a new node is required.
We're using replica 3 arbiter 1, with quorum balanced between the 3 
servers. No need for an extra server.


When we will add a 4th server, there'll be a lot of brick juggling 
(luckily they're connected by IB100 :) ) . The simplest thing you can do 
to balance load across 4 servers i laying down data as:

S1  S2  S3  S4
0a  b0  q0  1a
1b  1q  2a  2b
2q  3a  3b  3q
... and so on: it requires adding 8 disks at a time, 2 per server -- as 
long as you have enough blocks *and inodes* available on an ssd for 
metadata.


Hope the layout is clear: Xa and Xb are the replicated bricks, Xq is 
quorum brick for bricks Xa  and Xb.


For a 3 servers setup the layout we're using is
S1 S2 S3
0a 0b 0q
1a 1q 1b
2q 2a 2b

HIH.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Arbiter

2022-02-08 Thread Gilberto Ferreira
Yes! That's what I meant. Two-nodes plus the arbiter to achieve quorum.
Sorry if I made some confusion.
Thanks a lot.
---
Gilberto Nunes Ferreira
(47) 99676-7530 - Whatsapp / Telegram






Em ter., 8 de fev. de 2022 às 08:18, Karthik Subrahmanya <
ksubr...@redhat.com> escreveu:

>
>
> On Tue, Feb 8, 2022 at 4:28 PM Gilberto Ferreira <
> gilberto.nune...@gmail.com> wrote:
>
>> Forgive me if I am wrong, but AFAIK, arbiter is for a two-node
>> configuration, isn't it?
>>
> Arbiter is to give the same consistency as replica-3 with 3 nodes, without
> the need to have a full sized 3rd brick [1]. It will store the files and
> their metadata but no data. This acts as a quorum brick to
> avoid split-brains.
> Since there are 4 nodes available here, and based on the configuration of
> the available volumes (requested volume info for the same) I was thinking
> whether the arbiter brick can be hosted on one of those nodes itself, or a
> new node is required.
>
> [1]
> https://docs.gluster.org/en/latest/Administrator-Guide/arbiter-volumes-and-quorum/
>
> Regards,
> Karthik
>
>> ---
>> Gilberto Nunes Ferreira
>> (47) 99676-7530 - Whatsapp / Telegram
>>
>>
>>
>>
>>
>>
>> Em ter., 8 de fev. de 2022 às 07:17, Karthik Subrahmanya <
>> ksubr...@redhat.com> escreveu:
>>
>>> Hi Andre,
>>>
>>> Striped volumes are deprecated long back, see [1] & [2]. Seems like you
>>> are using a very old version. May I know which version of gluster you are
>>> running and the gluster volume info please?
>>> Release schedule and the maintained branches can be found at [3].
>>>
>>>
>>> [1] https://docs.gluster.org/en/latest/release-notes/6.0/
>>> [2]
>>> https://lists.gluster.org/pipermail/gluster-users/2018-July/034400.html
>>> [3] https://www.gluster.org/release-schedule/
>>>
>>> Regards,
>>> Karthik
>>>
>>> On Mon, Feb 7, 2022 at 9:43 PM Andre Probst 
>>> wrote:
>>>
 I have a striped and replicated volume with 4 nodes. How do I add an
 arbiter to this volume?


 --
 André Probst
 Consultor de Tecnologia
 43 99617 8765
 



 Community Meeting Calendar:

 Schedule -
 Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
 Bridge: https://meet.google.com/cpu-eiue-hvk
 Gluster-users mailing list
 Gluster-users@gluster.org
 https://lists.gluster.org/mailman/listinfo/gluster-users

>>> 
>>>
>>>
>>>
>>> Community Meeting Calendar:
>>>
>>> Schedule -
>>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>>> Bridge: https://meet.google.com/cpu-eiue-hvk
>>> Gluster-users mailing list
>>> Gluster-users@gluster.org
>>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>>
>>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Arbiter

2022-02-08 Thread Karthik Subrahmanya
On Tue, Feb 8, 2022 at 4:28 PM Gilberto Ferreira 
wrote:

> Forgive me if I am wrong, but AFAIK, arbiter is for a two-node
> configuration, isn't it?
>
Arbiter is to give the same consistency as replica-3 with 3 nodes, without
the need to have a full sized 3rd brick [1]. It will store the files and
their metadata but no data. This acts as a quorum brick to
avoid split-brains.
Since there are 4 nodes available here, and based on the configuration of
the available volumes (requested volume info for the same) I was thinking
whether the arbiter brick can be hosted on one of those nodes itself, or a
new node is required.

[1]
https://docs.gluster.org/en/latest/Administrator-Guide/arbiter-volumes-and-quorum/

Regards,
Karthik

> ---
> Gilberto Nunes Ferreira
> (47) 99676-7530 - Whatsapp / Telegram
>
>
>
>
>
>
> Em ter., 8 de fev. de 2022 às 07:17, Karthik Subrahmanya <
> ksubr...@redhat.com> escreveu:
>
>> Hi Andre,
>>
>> Striped volumes are deprecated long back, see [1] & [2]. Seems like you
>> are using a very old version. May I know which version of gluster you are
>> running and the gluster volume info please?
>> Release schedule and the maintained branches can be found at [3].
>>
>>
>> [1] https://docs.gluster.org/en/latest/release-notes/6.0/
>> [2]
>> https://lists.gluster.org/pipermail/gluster-users/2018-July/034400.html
>> [3] https://www.gluster.org/release-schedule/
>>
>> Regards,
>> Karthik
>>
>> On Mon, Feb 7, 2022 at 9:43 PM Andre Probst 
>> wrote:
>>
>>> I have a striped and replicated volume with 4 nodes. How do I add an
>>> arbiter to this volume?
>>>
>>>
>>> --
>>> André Probst
>>> Consultor de Tecnologia
>>> 43 99617 8765
>>> 
>>>
>>>
>>>
>>> Community Meeting Calendar:
>>>
>>> Schedule -
>>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>>> Bridge: https://meet.google.com/cpu-eiue-hvk
>>> Gluster-users mailing list
>>> Gluster-users@gluster.org
>>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>>
>> 
>>
>>
>>
>> Community Meeting Calendar:
>>
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://meet.google.com/cpu-eiue-hvk
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Arbiter

2022-02-08 Thread Diego Zuccato

IIUC it always requires 3 servers.
Lightweight arbiter is just to avoid split brain (a client needs to 
reach two servers out of three to be able to write data).
"Full" arbiter is a third replica of metadata while there are only two 
copies of the data.


Il 08/02/2022 11:58, Gilberto Ferreira ha scritto:
Forgive me if I am wrong, but AFAIK, arbiter is for a two-node 
configuration, isn't it?

---
Gilberto Nunes Ferreira
(47) 99676-7530 - Whatsapp / Telegram






Em ter., 8 de fev. de 2022 às 07:17, Karthik Subrahmanya 
mailto:ksubr...@redhat.com>> escreveu:


Hi Andre,

Striped volumes are deprecated long back, see [1] & [2]. Seems like
you are using a very old version. May I know which version of
gluster you are running and the gluster volume info please?
Release schedule and the maintained branches can be found at [3].


[1] https://docs.gluster.org/en/latest/release-notes/6.0/

[2]
https://lists.gluster.org/pipermail/gluster-users/2018-July/034400.html

[3] https://www.gluster.org/release-schedule/


Regards,
Karthik

On Mon, Feb 7, 2022 at 9:43 PM Andre Probst mailto:andrefpro...@gmail.com>> wrote:

I have a striped and replicated volume with 4 nodes. How do I
add an arbiter to this volume?


--
André Probst
Consultor de Tecnologia
43 99617 8765




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk

Gluster-users mailing list
Gluster-users@gluster.org 
https://lists.gluster.org/mailman/listinfo/gluster-users






Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk

Gluster-users mailing list
Gluster-users@gluster.org 
https://lists.gluster.org/mailman/listinfo/gluster-users







Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Arbiter

2022-02-08 Thread Gilberto Ferreira
Forgive me if I am wrong, but AFAIK, arbiter is for a two-node
configuration, isn't it?
---
Gilberto Nunes Ferreira
(47) 99676-7530 - Whatsapp / Telegram






Em ter., 8 de fev. de 2022 às 07:17, Karthik Subrahmanya <
ksubr...@redhat.com> escreveu:

> Hi Andre,
>
> Striped volumes are deprecated long back, see [1] & [2]. Seems like you
> are using a very old version. May I know which version of gluster you are
> running and the gluster volume info please?
> Release schedule and the maintained branches can be found at [3].
>
>
> [1] https://docs.gluster.org/en/latest/release-notes/6.0/
> [2]
> https://lists.gluster.org/pipermail/gluster-users/2018-July/034400.html
> [3] https://www.gluster.org/release-schedule/
>
> Regards,
> Karthik
>
> On Mon, Feb 7, 2022 at 9:43 PM Andre Probst 
> wrote:
>
>> I have a striped and replicated volume with 4 nodes. How do I add an
>> arbiter to this volume?
>>
>>
>> --
>> André Probst
>> Consultor de Tecnologia
>> 43 99617 8765
>> 
>>
>>
>>
>> Community Meeting Calendar:
>>
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://meet.google.com/cpu-eiue-hvk
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>
> 
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


Re: [Gluster-users] Arbiter

2022-02-08 Thread Karthik Subrahmanya
Hi Andre,

Striped volumes are deprecated long back, see [1] & [2]. Seems like you are
using a very old version. May I know which version of gluster you are
running and the gluster volume info please?
Release schedule and the maintained branches can be found at [3].


[1] https://docs.gluster.org/en/latest/release-notes/6.0/
[2] https://lists.gluster.org/pipermail/gluster-users/2018-July/034400.html
[3] https://www.gluster.org/release-schedule/

Regards,
Karthik

On Mon, Feb 7, 2022 at 9:43 PM Andre Probst  wrote:

> I have a striped and replicated volume with 4 nodes. How do I add an
> arbiter to this volume?
>
>
> --
> André Probst
> Consultor de Tecnologia
> 43 99617 8765
> 
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users@gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>




Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users