JF Le Fillâtre
2015-Mar-10 15:04 UTC
[Gluster-users] Peers not connecting after changing IP address
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
Alex Crow
2015-Mar-10 15:29 UTC
[Gluster-users] Peers not connecting after changing IP address
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).