<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 6:02 PM, Alexandre Blanca <span dir="ltr"><<a href="mailto:alexandre.blanca@inria.fr" target="_blank">alexandre.blanca@inria.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>Hi,</div><div><br></div><div><span lang="en">how to change the host name of gluster servers?</span></div><div><span lang="en"> if I modify the hostname1 in /etc/lib/glusterd/peers/uuid, the change is not save...<br></span></div><div><span lang="en"> </span></div><div><span lang="en">gluster pool list return ipserver and not new hostname...<br></span></div></div></div></blockquote><div><br></div><div>If you have used the same hostname for peer probing the cluster then here it goes:<br></div><div><br></div><div>1. You'd need to bring down all the glusterd instances in the cluster.</div><div>2. Find out the hostname entries in /var/lib/glusterd/* and replace them with the new hostname.</div><div>3. Bring up glusterd instances one after another.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><span lang="en"></span></div><div><span lang="en"> </span></div><span lang="en">Thank you</span></div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>