<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<p>Hi All,</p>
<p>We have a distributed gluster filesystem across 2 servers. We
recently realized that one of the servers (mseas-data3) has 2
hostnames for the other server (mseas-data2). One of these is on
an external port that we rarely use. When that port went down
following a power outage, we ended up in a weird state where the
gluster filesystem was being served to the rest of the cluster but
(a) mseas-data3 kept indicating that mseas-data2 was disconnected
in response to "gluster peer status" and (b) we kept having to
restart the glusterd daemon on mseas-data3. Since we don't use
the external port much and didn't think gluster used it at all it
was a while before we diagnosed the problem.</p>
<p>Now we would like to expunge that external hostname by making the
following changes<br>
</p>
<br>
<tt><u>Current setting on MSEAS-DATA3</u></tt><tt><br>
</tt><tt></tt><tt><span style="font-size: 10pt;">/var/lib/glusterd/peers/c1110fd9-cb99-4ca1-b18a-536a122d67ef</span></tt><tt><span
style="font-size: 10pt;"></span></tt><tt><br>
</tt><tt><span style="font-size: 10pt;"></span></tt><tt><span
style="font-size: 10pt;">uuid=c1110fd9-cb99-4ca1-b18a-536a122d67ef</span></tt><tt><span
style="font-size: 10pt;"></span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">state=3</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">hostname1=MSEAS-DATA2.MIT.EDU</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">hostname2=mseas-data2</span></tt><tt><br>
</tt>
<p><br>
<tt>
</tt></p>
<p><tt><u>Proposed change on MSEAS-DATA3</u></tt></p>
<tt>
</tt><tt><span style="font-size: 10pt;">/var/lib/glusterd/peers/c1110fd9-cb99-4ca1-b18a-536a122d67ef</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">uuid=c1110fd9-cb99-4ca1-b18a-536a122d67ef</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">state=3</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">#hostname1=MSEAS-DATA2.MIT.EDU</span></tt><tt><br>
</tt><tt>
</tt><tt><span style="font-size: 10pt;">hostname1=mseas-data2</span></tt>
<p>(manually changing a configuration file). Is this the correct
approach? Do we need to make this change in additional files as
well? Do we need to bring down the volume and daemons first?</p>
<p>Any advice will be greatly appreciated</p>
<p>Thanks</p>
<p>Pat<br>
</p>
<pre class="moz-signature" cols="72">--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley Email: <a class="moz-txt-link-abbreviated" href="mailto:phaley@mit.edu">phaley@mit.edu</a>
Center for Ocean Engineering Phone: (617) 253-6824
Dept. of Mechanical Engineering Fax: (617) 253-8125
MIT, Room 5-213 <a class="moz-txt-link-freetext" href="http://web.mit.edu/phaley/www/">http://web.mit.edu/phaley/www/</a>
77 Massachusetts Avenue
Cambridge, MA 02139-4301
</pre>
</body>
</html>