On Fri, Jan 6, 2017 at 4:14 AM, Michael Watters <[email protected]> wrote:
> I've set up a small gluster cluster running three nodes and I would like > to rename one of the hosts. What is the proper procedure for changing > the host name on a node? Do I simply stop the gluster service, detach > the peer and then run sed on the files under /var/lib/gluster to use the > new name? Any other locations that I should be aware of? > You need not to detach the peer. Here are the steps you'd need to follow: 1. Stop glusterd process on N1, N2, N3. 2. If you are trying to change the hostname of N1, then in N2 & N3 you'd need to replace the occurrences of old hostname with new hostname in all the files located at /var/lib/glusterd 3. Restart GlusterD on all the nodes and check the peer status. > _______________________________________________ > Gluster-users mailing list > [email protected] > http://www.gluster.org/mailman/listinfo/gluster-users > -- ~ Atin (atinm)
_______________________________________________ Gluster-users mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-users
