<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"MS Sans Serif";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
        {mso-style-name:"HTML Preformatted";
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.BalloonText, li.BalloonText, div.BalloonText
        {mso-style-name:"Balloon Text";
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.E-MailFormatvorlage26
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m wondering why gluster has to heal itself in the first place &#8211; as the underlying architicutre is a RAID5, that one should repair itself and
 gluster should not notice a defect &#8211; or does &#8220;heal&#8221; mean &#8220;re-sync&#8221;?!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">Von:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> gluster-users-bounces@gluster.org [mailto:gluster-users-bounces@gluster.org]
<b>Im Auftrag von </b>Bobby Jacob<br>
<b>Gesendet:</b> Sonntag, 13. Oktober 2013 15:27<br>
<b>An:</b> Alan Orth; gluster-users@gluster.org<br>
<b>Betreff:</b> Re: [Gluster-users] Shutting down a GlusterFS server.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Alan,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks a lot.
</span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"> Going through your document, I find that you were not required to any
 follow any particular procedure for shutting down GlusterFS. Just a normal server reboot and as the glusterd service was started after reboot and it worked.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Do correct me if I&#8217;m wrong. !!</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Thanks &amp; Regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Bobby Jacob</span></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:18.0pt;font-family:Webdings;color:green">P</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;MS Sans Serif&quot;;color:navy">
</span><b><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:green">SAVE TREES</span></b><b><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:green">.
</span></b><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:green">Please don't print this e-mail unless you really need to.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
<a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a> [<a href="mailto:gluster-users-bounces@gluster.org">mailto:gluster-users-bounces@gluster.org</a>]
<b>On Behalf Of </b>Alan Orth<br>
<b>Sent:</b> Sunday, October 13, 2013 3:54 PM<br>
<b>To:</b> <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
<b>Subject:</b> Re: [Gluster-users] Shutting down a GlusterFS server.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Bobby,<br>
<br>
I had to shut down a node in a replica the other week to replace a drive in the hardware RAID.&nbsp; I was surprised with the resilience of my replica!<br>
<br>
I documented the procedure here:<br>
<br>
<a href="http://mjanja.co.ke/2013/09/replacing-failed-drive-in-hardware-raid5-on-glusterfs-replica/">http://mjanja.co.ke/2013/09/replacing-failed-drive-in-hardware-raid5-on-glusterfs-replica/</a><br>
<br>
Cheers,<br>
<br>
Alan<br>
<br>
On 10/02/2013 12:54 PM, Bobby Jacob wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">Hi Hoggins,<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Thanks. I have set gluster services to start during startup. I believe the self-heal would play the most important role of taking care of the changes in the dead-peer once it comes back up. Any comments or suggestions for the same ?<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Thanks &amp; Regards,<o:p></o:p></span></pre>
<pre><span lang="EN-US">Bobby Jacob<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">-----Original Message-----<o:p></o:p></span></pre>
<pre><span lang="EN-US">From: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a> [<a href="mailto:gluster-users-bounces@gluster.org">mailto:gluster-users-bounces@gluster.org</a>] On Behalf Of Hoggins!<o:p></o:p></span></pre>
<pre><span lang="EN-US">Sent: Wednesday, October 02, 2013 12:46 PM<o:p></o:p></span></pre>
<pre><span lang="EN-US">To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">Subject: Re: [Gluster-users] Shutting down a GlusterFS server.<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Hello Bobby,<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">I experienced problems shutting down Gluster servers, because the startup scripts (SystemD) did not have dependencies for system shutdown that would stop the Gluster services before anything else. My problems were also related to the fact that my nodes are connected to each other through IPSec links, and during shutdown, the links were cut before the Gluster service was properly shut down. The other node was waiting for the well-known 42 seconds before considering the peer dead, hence not responding to any file request, and hanging all client systems. Not cool.<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">So the best practice is simply to end the Gluster services before shutting down the server. Everything runs as smooth as it should be, and the clients don't notice any downtime.<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Hope this helps.<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;&nbsp;&nbsp; Hoggins!<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Le 02/10/2013 11:36, Bobby Jacob a écrit :<o:p></o:p></span></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">Hi,<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US"> <o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">I have a 2-node replica volume running with GlusterFS 3.3.2 on Centos <o:p></o:p></span></pre>
<pre><span lang="EN-US">6.4. I want to shut down one of the gluster servers for maintenance.<o:p></o:p></span></pre>
<pre><span lang="EN-US">Any best practice that is to be followed while turning off a server in <o:p></o:p></span></pre>
<pre><span lang="EN-US">terms of services etc.&nbsp; Or can I just shut down the server. ?<o:p></o:p></span></pre>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
</blockquote>
<pre><span lang="EN-US">&nbsp;<o:p></o:p></span></pre>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Gluster-users mailing list<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Gluster-users mailing list<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></span></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<pre><span lang="EN-US">-- <o:p></o:p></span></pre>
<pre><span lang="EN-US">Alan Orth<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="mailto:alan.orth@gmail.com">alan.orth@gmail.com</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="http://alaninkenya.org">http://alaninkenya.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="http://mjanja.co.ke">http://mjanja.co.ke</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">&quot;I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.&quot; -Bjarne Stroustrup, inventor of C&#43;&#43;<o:p></o:p></span></pre>
</div>
</div>
</body>
</html>