Re: Peers not connecting after changing IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my setup: on the host from which I peer probed, it's all hostnames.
On the other hosts, it's all IPs.

Can you check if it's the case on your setup too?

Thanks,
JF


On 10/03/15 16:29, Alex Crow wrote:
> Hi,
> 
> They only have the hostname:
> 
> uuid=22b88f85-0554-419f-a279-980fceaeaf49
> state=3
> hostname1=zalma
> 
> And pinging these hostnames give the correct IP. Still no connection
> though.
> 
> Thanks,
> 
> Alex
> 
> On 10/03/15 15:04, JF Le Fillâtre wrote:
>> Hello,
>>
>> Check the files in the peer directory:
>>
>> /var/lib/glusterd/peers
>>
>> They contain the IP addresses of the peers.
>>
>> I haven't done it but I assume that if you update those files on all
>> servers you should be back online.
>>
>> Thanks,
>> JF
>>
>>
>> On 10/03/15 16:00, Alex Crow wrote:
>>> Hi,
>>>
>>> I've had a 4 node Dis/Rep cluster up and running for a while, but
>>> recently moved two of the nodes (the replicas of the other 2) to a
>>> nearby datacentre. The IP addresses of the moved two therefore changed,
>>> but I updated the /etc/hosts file on all four hosts to reflect the
>>> change (and the peers were all probed by name, not IP).
>>>
>>> However at each site the other two peers show as disconnected, even
>>> though the servers can all successfully talk to each other. Is there
>>> some way I can kick this back into life?
>>>
>>> Regards,
>>>
>>> Alex
>>>
> 

-- 

 Jean-François Le Fillâtre
 -------------------------------
 HPC Systems Administrator
 LCSB - University of Luxembourg
 -------------------------------
 PGP KeyID 0x134657C6
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux