[Gluster-users] Trouble to add brick
Karim Latouche
klatouche at digitalchocolate.com
Mon May 23 17:01:48 UTC 2011
hi
Here is the output of gluster peer status command of the four nodes
mysqldccbackup mysqldccbackupmirror are the two first nodes
I got issues when I tried to add gfsbrick1 and two to the already
working cluster
> [root at gfsbrick1 ~]# gluster peer status
> Number of Peers: 1
>
> Hostname: 10.0.4.225
> Uuid: 00000000-0000-0000-0000-000000000000
> State: Establishing Connection (Connected)
> [root at gfsbrick2 ~]# gluster peer status
> Number of Peers: 2
>
> Hostname: 10.0.4.225
> Uuid: 2f4a1869-8c7e-49ea-a7b1-d9b2d364e5d6
> State: Peer in Cluster (Connected)
>
> Hostname: mysqldccbackupmirror
> Uuid: 0961e0d2-e2e8-497d-9c51-4b96c061f939
> State: Peer Rejected (Connected)
> [root at mysqldccbackup ~]# gluster peer status
> Number of Peers: 3
>
> Hostname: mysqldccbackupmirror
> Uuid: 0961e0d2-e2e8-497d-9c51-4b96c061f939
> State: Peer in Cluster (Connected)
>
> Hostname: gfsbrick2
> Uuid: 14f07412-b2e5-4b34-8980-d180a64b720f
> State: Peer in Cluster (Connected)
>
> Hostname: gfsbrick1
> Uuid: 00000000-0000-0000-0000-000000000000
> State: Establishing Connection (Connected)
> root at mysqldccbackupmirror ~]# gluster peer status
> Number of Peers: 1
>
> Hostname: 10.0.4.225
> Uuid: 2f4a1869-8c7e-49ea-a7b1-d9b2d364e5d6
> State: Peer in Cluster (Connected)
> [root at mysqldccbackupmirror ~]# gluster peer status
> Number of Peers: 1
>
> Hostname: 10.0.4.225
> Uuid: 2f4a1869-8c7e-49ea-a7b1-d9b2d364e5d6
> State: Peer in Cluster (Connected)
Thx a lot
KL
> Please send the complete output of gluster peer status from both the nodes.
>
> On Mon, May 23, 2011 at 9:44 AM, Karim Latouche
> <klatouche at digitalchocolate.com> wrote:
>> hi
>>
>> Thx for your answer.
>>
>> I should have mention that I already set up a proper hosts file to avoid DNS
>> resolution issue but I still have same issue.
>>
>> The last brick is allways the one having issues to be added . I tried adding
>> gfsbrick2 first then gfsbrick1 and the result is the same
>>
>> I get
>>
>>> Hostname: gfsbrick2
>>> Uuid: 14f07412-b2e5-4b34-8980-d180a64b720f
>>> State: Peer in Cluster (Connected)
>>>
>>> Hostname: gfsbrick1
>>> Uuid: 00000000-0000-0000-0000-000000000000
>>> State: Establishing Connection (Connected)
>>
>> instead of
>>
>>
>>> Hostname: gfsbrick2
>>> Uuid: 00000000-0000-0000-0000-000000000000
>>> State: Establishing Connection (Connected)
>>
>> It 's really strange.
>>
>>
>> Thx
>>
>> KL
>>
>>
>>
>>
>>> Karim,
>>> gfsbrick1 is not able to contact gfsbrick2 yet. Generally happens if
>>> the DNS resolutions dont happen as expected. You can map them manually in
>>> /etc/hosts for both the machines?.
>>>
>>> something like:
>>> on gfsbrick1
>>> <ip-of-brick2> gfsbrick2
>>> on gfsbrick2
>>> <ip-of-brick1> gfsbrick1
>>>
>>> Pranith.
>>>
>>> ----- Original Message -----
>>> From: "Karim Latouche"<klatouche at digitalchocolate.com>
>>> To: gluster-users at gluster.org
>>> Sent: Monday, May 23, 2011 7:56:22 PM
>>> Subject: [Gluster-users] Trouble to add brick
>>>
>>> Hi
>>>
>>> I got a strange problems
>>>
>>> I run a two bricks replicated volume and I tried to add 2 more bricks
>>>
>>> The first one went ok
>>>
>>>> gluster peer probe gfsbrick1
>>>> Probe successful
>>> It seems I can't add the second one
>>>
>>> I get a
>>>
>>>> Hostname: gfsbrick2
>>>> Uuid: 00000000-0000-0000-0000-000000000000
>>>> State: Establishing Connection (Connected)
>>> Did anyone encounter this issue ?
>>>
>>> Thx
>>>
>>> KL
>>>
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
More information about the Gluster-users
mailing list