<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sorry, I've sent the message before I complete to write it... <br>
    <br>
    What I think is --delay option is accepted once fencing it's on its
    way, but it will be irremediably executed after this period.<br>
    <br>
    <div class="moz-cite-prefix">On 19/01/15 15:20, Angel Docampo wrote:<br>
    </div>
    <blockquote cite="mid:54BD1299.10402@dltec.net" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      I forgot to mention I'd already tried --delay option, but it isn't
      working for me, perhaps I'm doing it wrong.<br>
      What I'm doing to test it is setting the link down and up on the
      cluster network interface, simulating a network microcut.<br>
      My scenario is a HA two-cluster with quorum disk. The relevant
      cluster.conf configuration is<br>
      ...<br>
       <fencedevices><br>
          <fencedevice agent="fence_ipmilan" cipher="1"
      ipaddr="192.168.1.111" lanplus="1" login="username"
      name="fenceAtlantis" passwd="password" power_wait="60"
      delay="30"/><br>
          <fencedevice agent="fence_ipmilan" cipher="1"
      ipaddr="192.168.1.112" lanplus="1" login="username"
      name="fenceBree" passwd="password" power_wait="60" delay="30"/><br>
        </fencedevices><br>
      ...<br>
      <clusternodes><br>
          <clusternode name="atlantis" nodeid="1" votes="1"><br>
            <fence><br>
              <method name="1"><br>
                <device action="off" name="fenceAtlantis"/><br>
              </method><br>
            </fence><br>
          </clusternode><br>
          <clusternode name="bree" nodeid="2" votes="1"><br>
            <fence><br>
              <method name="1"><br>
                <device action="off" name="fenceBree"/><br>
              </method><br>
            </fence><br>
          </clusternode><br>
        </clusternodes><br>
      <br>
      <br>
      What I think is --delay option is <br>
      <br>
      <div class="moz-cite-prefix">On 19/01/15 14:23, Steffen Wagner
        wrote:<br>
      </div>
      <blockquote
        cite="mid:19C1CB295B1B48DA863A72886FF36ABD@emea.global.corp.sap"
        type="cite">
        <div dir="ltr">
          <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
            #000000">
            <div>There should be some parameter like the following</div>
            <div> </div>
            <pre style="TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: ; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">+      <parameter name="delay" unique="0" required="0">
+               <getopt mixed="--delay=[seconds]" />
+               <content type="string" default="0"  />
+               <shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
+       </parameter></pre>
            <pre style="TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: ; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"> </pre>
            <pre style="TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: ; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><a moz-do-not-send="true" title="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-fence-device-param-CA.html" href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-fence-device-param-CA.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-fence-device-param-CA.html</a></pre>
            <div style="FONT-SIZE: small; FONT-FAMILY: 'Calibri';
              FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal;
              TEXT-DECORATION: none; DISPLAY: inline">
              <div style="FONT: 10pt tahoma">
                <div> </div>
                <div style="BACKGROUND: #f5f5f5">
                  <div style="font-color: black"><b>From:</b> <a
                      moz-do-not-send="true" title="adocampo@dltec.net"
                      href="mailto:adocampo@dltec.net">Angel Docampo</a>
                  </div>
                  <div><b>Sent:</b> Monday, January 19, 2015 2:12 PM</div>
                  <div><b>To:</b> <a moz-do-not-send="true"
                      title="pve-user@pve.proxmox.com"
                      href="mailto:pve-user@pve.proxmox.com">ProxMox
                      Users</a> </div>
                  <div><b>Subject:</b> [PVE-User] Delay fencing</div>
                </div>
              </div>
              <div> </div>
            </div>
            <div style="FONT-SIZE: small; FONT-FAMILY: 'Calibri';
              FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal;
              TEXT-DECORATION: none; DISPLAY: inline">I would like to
              know if there are any way to delay fencing.<br>
              I had some network microcuts, and fencing immediately
              stonith the node who had them...<br>
              Is there any way to make cluster to delay fencing some
              seconds or make another comprovation prior to fencing the
              offending node?<br>
              <br>
              Regards<br>
              <br>
              <div class="moz-signature">-- <br>
                <table style="COLOR: #000000" border="0" cellpadding="2"
                  cellspacing="2" height="88" width="424">
                  <tbody>
                    <tr>
                      <td valign="top"><img alt=""
                          src="cid:part4.06030501.00020605@dltec.net"
                          height="56" width="151"><br>
                      </td>
                      <td valign="top">
                        <div style="MARGIN: 0px"><font face="Times New
                            Roman,serif" size="3"><span
                              style="FONT-SIZE: 12pt"><font
                                color="#1f497d"
                                face="Calibri,sans-serif" size="2"><span
                                  style="FONT-SIZE: 10pt" lang="es"><b>Angel

                                    Docampo<br>
                                  </b></span></font></span></font></div>
                        <div style="MARGIN: 0px"><font face="Times New
                            Roman,serif" size="3"><span
                              style="FONT-SIZE: 12pt"><font
                                color="#1f497d"
                                face="Calibri,sans-serif" size="2"><span
                                  style="FONT-SIZE: 10pt" lang="es"><b>Datalab

                                    Tecnologia, s.a.</b></span></font></span></font></div>
                        <div style="MARGIN: 0px"><font face="Times New
                            Roman,serif" size="3"><span
                              style="FONT-SIZE: 12pt"><font
                                color="#1f497d"
                                face="Calibri,sans-serif" size="2"><span
                                  style="FONT-SIZE: 10pt" lang="es">Castillejos,

                                  352 - 08025 Barcelona</span></font></span></font></div>
                        <div style="MARGIN: 0px"><font face="Times New
                            Roman,serif" size="3"><span
                              style="FONT-SIZE: 12pt"><font
                                color="#1f497d"
                                face="Calibri,sans-serif" size="2"><span
                                  style="FONT-SIZE: 10pt" lang="es">Tel.
                                  93 476 69 14 - Ext: 706<br>
                                  Mob. 670.299.381</span></font></span></font></div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <br>
              <a moz-do-not-send="true"
                href="http://www.dltec.net/aviso-legal">Nota Legal</a>
              <p> </p>
              <hr> _______________________________________________<br>
              pve-user mailing list<br>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        <table border="0" cellpadding="2" cellspacing="2" height="88"
          width="424">
          <tbody>
            <tr>
              <td valign="top"><img moz-do-not-send="false" alt=""
                  src="cid:part8.02070705.06080309@dltec.net"
                  height="56" width="151"><br>
              </td>
              <td valign="top">
                <div style="MARGIN: 0px"><font face="Times New
                    Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                        color="#1f497d" face="Calibri,sans-serif"
                        size="2"><span style="FONT-SIZE: 10pt" lang="es"><b>Angel

                            Docampo<br>
                          </b></span></font></span></font></div>
                <div style="MARGIN: 0px"><font face="Times New
                    Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                        color="#1f497d" face="Calibri,sans-serif"
                        size="2"><span style="FONT-SIZE: 10pt" lang="es"><b>Datalab

                            Tecnologia, s.a.</b></span></font></span></font></div>
                <div style="MARGIN: 0px"><font face="Times New
                    Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                        color="#1f497d" face="Calibri,sans-serif"
                        size="2"><span style="FONT-SIZE: 10pt" lang="es">Castillejos,

                          352 - 08025 Barcelona</span></font></span></font></div>
                <div style="MARGIN: 0px"><font face="Times New
                    Roman,serif" size="3"><span style="font-size: 12pt;"><font
                        color="#1f497d" face="Calibri,sans-serif"
                        size="2"><span style="font-size: 10pt;"
                          lang="es">Tel. 93 476 69 14 - Ext: 706<br>
                          Mob. 670.299.381</span></font></span></font></div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <table border="0" cellpadding="2" cellspacing="2" height="88"
        width="424">
        <tbody>
          <tr>
            <td valign="top"><img moz-do-not-send="false" alt=""
                src="cid:part9.00050703.02040909@dltec.net" height="56"
                width="151"><br>
            </td>
            <td valign="top">
              <div style="MARGIN: 0px"><font face="Times New
                  Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                      color="#1f497d" face="Calibri,sans-serif" size="2"><span
                        style="FONT-SIZE: 10pt" lang="es"><b>Angel
                          Docampo<br>
                        </b></span></font></span></font></div>
              <div style="MARGIN: 0px"><font face="Times New
                  Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                      color="#1f497d" face="Calibri,sans-serif" size="2"><span
                        style="FONT-SIZE: 10pt" lang="es"><b>Datalab
                          Tecnologia, s.a.</b></span></font></span></font></div>
              <div style="MARGIN: 0px"><font face="Times New
                  Roman,serif" size="3"><span style="FONT-SIZE: 12pt"><font
                      color="#1f497d" face="Calibri,sans-serif" size="2"><span
                        style="FONT-SIZE: 10pt" lang="es">Castillejos,
                        352 - 08025 Barcelona</span></font></span></font></div>
              <div style="MARGIN: 0px"><font face="Times New
                  Roman,serif" size="3"><span style="font-size: 12pt;"><font
                      color="#1f497d" face="Calibri,sans-serif" size="2"><span
                        style="font-size: 10pt;" lang="es">Tel. 93 476
                        69 14 - Ext: 706<br>
                        Mob. 670.299.381</span></font></span></font></div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>