<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/30/2017 12:40 AM, Renaud Fortier
      wrote:<br>
    </div>
    <blockquote
      cite="mid:75dee2265727472e92ced0ecc181d830@ul-exc-pr-mbx14.ulaval.ca"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.m8247256111198925433gmail-pl-c
        {mso-style-name:m_8247256111198925433gmail-pl-c;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        mso-fareast-language:FR-CA;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">On
            my nodes, when i use the system.d script to kill gluster
            (service glusterfs-server stop) only glusterd is killed.
            Then I guess the shutdown doesn’t kill everything !</span></p>
      </div>
    </blockquote>
    <br>
    Killing glusterd does not kill other gluster processes.<br>
    <br>
    When you shutdown a node, everything obviously gets killed but the
    client does not get notified immediately that the brick went down,
    leading for it to wait for the 42 second ping-timeout after which it
    assumes the brick is down. When you kill the brick manually before
    shutdown, the client immediate  receives the notification and you
    don't see the hang. See Xavi's description in Bug 1054694.<br>
    <br>
    So if it is a planned shutdown or reboot, it is better to kill the
    gluster processes before shutting the node down. BTW, you can use
<a class="moz-txt-link-freetext" href="https://github.com/gluster/glusterfs/blob/master/extras/stop-all-gluster-processes.sh">https://github.com/gluster/glusterfs/blob/master/extras/stop-all-gluster-processes.sh</a>
    which automatically checks for pending heals etc before killing the
    gluster processes.<br>
    <br>
    -Ravi<br>
     <br>
    <br>
    <blockquote
      cite="mid:75dee2265727472e92ced0ecc181d830@ul-exc-pr-mbx14.ulaval.ca"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"
              lang="FR">De :</span></b><span
            style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"
            lang="FR"> Gandalf Corvotempesta
            [<a class="moz-txt-link-freetext" href="mailto:gandalf.corvotempesta@gmail.com">mailto:gandalf.corvotempesta@gmail.com</a>]
            <br>
            <b>Envoyé :</b> 29 juin 2017 13:41<br>
            <b>À :</b> Ravishankar N <a class="moz-txt-link-rfc2396E" href="mailto:ravishankar@redhat.com">&lt;ravishankar@redhat.com&gt;</a><br>
            <b>Cc :</b> <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>; Renaud Fortier
            <a class="moz-txt-link-rfc2396E" href="mailto:Renaud.Fortier@fsaa.ulaval.ca">&lt;Renaud.Fortier@fsaa.ulaval.ca&gt;</a><br>
            <b>Objet :</b> Re: [Gluster-users] How to shutdown a node
            properly ?<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Init.d/system.d script doesn't kill
            gluster automatically on reboot/shutdown?<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">Il 29 giu 2017 5:16 PM, "Ravishankar N"
              &lt;<a moz-do-not-send="true"
                href="mailto:ravishankar@redhat.com">ravishankar@redhat.com</a>&gt;
              ha scritto:<o:p></o:p></p>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0cm 0cm 0cm
              6.0pt;margin-left:4.8pt;margin-right:0cm">
              <div>
                <div>
                  <p class="MsoNormal">On 06/29/2017 08:31 PM, Renaud
                    Fortier wrote:<o:p></o:p></p>
                </div>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Everytime
                      I shutdown a node, I lost access (from clients) to
                      the volumes for 42 seconds (network.ping-timeout).
                      Is there a special way to shutdown a node to keep
                      the access to the volumes without interruption ?
                      Currently, I use the ‘shutdown’ or ‘reboot’
                      command.<o:p></o:p></p>
                  </div>
                </blockquote>
                <p class="MsoNormal">`<span
                    class="m8247256111198925433gmail-pl-c">killall
                    glusterfs glusterfsd glusterd` before issuing
                    shutdown or reboot. If it is a replica or EC volume,
                    ensure that there are no pending heals before
                    bringing down a node. i.e. `gluster volume heal
                    volname info` should show 0 entries.</span><br>
                  <br>
                  <br>
                  <o:p></o:p></p>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">My
                      setup is :<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">-4
                      gluster 3.10.3 nodes on debian 8 (jessie)<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">-3
                      volumes Distributed-Replicate 2 X 2 = 4<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank
                      you<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Renaud<o:p></o:p></p>
                  </div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
                  <pre>_______________________________________________<o:p></o:p></pre>
                  <pre>Gluster-users mailing list<o:p></o:p></pre>
                  <pre><a moz-do-not-send="true" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><o:p></o:p></pre>
                  <pre><a moz-do-not-send="true" href="http://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://lists.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></pre>
                </blockquote>
                <p><o:p> </o:p></p>
              </div>
              <p class="MsoNormal"><br>
                _______________________________________________<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://lists.gluster.org/mailman/listinfo/gluster-users"
                  target="_blank">http://lists.gluster.org/mailman/listinfo/gluster-users</a><o:p></o:p></p>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>