[Gluster-users] Peers not connecting after changing IP address
Alex Crow
acrow at integrafin.co.uk
Tue Mar 10 15:47:26 UTC 2015
Hi JF,
They are all hostnames, no IPs anywhere. The odd thing is that now, the
remote site says everything is up, whereas the local servers only show
each other as connected. It's a bit odd.
Cheers
Alex
On 10/03/15 15:40, JF Le Fillâtre wrote:
> 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
>>>>
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).
More information about the Gluster-users
mailing list