Proper procedure for changing the IP address of a glustefs server

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

 



Perhaps someone here can help me. 

I have had to change the IP address of one of my GlusterFS servers. They are all 3.4.0.

It had been originally probed by hostname and "gluster peer status" on the other peers showed it's name. So, I shut it down, changed it's IP and booted it back up.

On the server with the new IP, gluster peer status shows the other peers correctly with their hostnames and as being connected.

On the other peers, the server with the changed IP showed up as it's old IP address (not the name) and as being disconnected. Peer probing the changed server by name from the other peers did not change anything.

One by one I stopped the glusterd service on the peers, and edited /var/lib/glusterd/peers/UUID for the changed server by replacing the old IP address with the hostname and then started the glusterd service.

Now the other peers display the changed server as being connected but using the old IP address as the hostname. Running ss shows that all of the peers are actually connected to the new IP address of the changed server. 

Everything seems to be working but I have some reservations about leaving it like this and would be interested in any advice as to how it might be corrected.

Thanks,
-Mark 
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.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