[Gluster-users] Proper procedure for changing the IP address of a glustefs server

Mark Morlino mark at gina.alaska.edu
Fri May 16 23:33:13 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140516/f38176ba/attachment.html>


More information about the Gluster-users mailing list