<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks. Luckily this system isn't in production yet so it
shouldn't be a big deal to take gluster offline for a bit.<br>
</p>
<br>
<div class="moz-cite-prefix">On 01/06/2017 12:28 AM, Atin Mukherjee
wrote:<br>
</div>
<blockquote
cite="mid:CAGNCGH03dmtXvnMb5C_PbYnDQwF8=+w+1h7__2ZJ6oTRzh=BZw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Jan 6, 2017 at 4:14 AM,
Michael Watters <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:wattersm@watters.ws"
target="_blank">wattersm@watters.ws</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I've set
up a small gluster cluster running three nodes and I would
like<br>
to rename one of the hosts. What is the proper procedure
for changing<br>
the host name on a node? Do I simply stop the gluster
service, detach<br>
the peer and then run sed on the files under
/var/lib/gluster to use the<br>
new name? Any other locations that I should be aware of?<br>
</blockquote>
<div><br>
</div>
<div>You need not to detach the peer. Here are the steps
you'd need to follow:<br>
<br>
</div>
<div>1. Stop glusterd process on N1, N2, N3.<br>
</div>
<div>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<br>
</div>
<div>3. Restart GlusterD on all the nodes and check the peer
status.<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a moz-do-not-send="true"
href="http://www.gluster.org/mailman/listinfo/gluster-users"
rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><br>
</div>
<div>~ Atin (atinm)<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>