<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I understand the problem. <br>
      <br>
      Fencing and reallocation of resources is not possible if the
      fencing resource is not able to know the real status of the other
      node. So, I'm going to try to remove this single point of failure
      adding a second fencing method (thanks for the links). Our PDU's
      are not able to disconnect a sinble power bank, so this is not
      actually an option for us, but I think we have other options. <br>
      <br>
      I'll post if I can solve the problem. Thank you so much. You have
      been very helpfull.<br>
      <br>
      JoseM<br>
      <br>
      <br>
      El 03/03/15 a las 19:51, Digimer escribió:<br>
    </div>
    <blockquote cite="mid:54F602C3.5020005@alteeve.ca" type="cite">
      <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/03/15 01:42 PM, Ken Gaillot wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 03/03/2015 01:14 PM, Jose Manuel Martínez wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello everybody.

I'm trying to build an active/passive cluster for the Lustre
filesystem. Pacemaker is working fine in most situations except
one: If a node goes out of power in a 2-node cluster, and I am
using fence_ipmilan as fencing resource (for HP iLO2), the alive
node is not able to takeover the resources of the failed node. It
tries to check the fencing device trying to reboot it, but as the
node is dead (no power), the IPMI interface does not answer.
</pre>
        </blockquote>
        <pre wrap="">
Correct, IPMI that shares power with its host should not be used as
the sole fencing device for this very reason. There is no way for
the cluster to be certain that the host is down and not just the
IPMI.

IPMI is fine as the first-attempt fencing device, but there should
be a fallback fencing device that is independent of the host (such
as a remotely controllable power switch).
</pre>
      </blockquote>
      <pre wrap="">
I agree 100%, and do this myself.

IPMI fencing, when it works, is best because when it returns "off", we
can be *very* sure the node is actually off. As you said though, it is
electrically and mechanically coupled to the host, so it's vulnerable
to certain failure cases (ie: total loss of power, mechanical
destruction, etc).

For this, I always use a pair of switched PDUs (APC and Raritan both
work well, TrippLite works but is slow). I use a pair because I also
have power redundancy (separate UPSes, PDUs, etc). So to hand this,
you need a fairly complex stonith configuration to make it work.

In 'pcs', this is called 'STONITH Levels' and you can see how how to
build this here:

<a class="moz-txt-link-freetext" href="http://clusterlabs.org/wiki/STONITH_Levels">http://clusterlabs.org/wiki/STONITH_Levels</a>

In 'crm', this is called "Fencing Topology" and you can see how to
configure it here:

<a class="moz-txt-link-freetext" href="http://clusterlabs.org/wiki/Fencing_topology">http://clusterlabs.org/wiki/Fencing_topology</a>

In my opinion, this is the only proper configuration for fencing if
you want to remove all single points of failure.

- -- 
Digimer
Papers and Projects: <a class="moz-txt-link-freetext" href="https://alteeve.ca/w/">https://alteeve.ca/w/</a>
What if the cure for cancer is trapped in the mind of a person without
access to education?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU9gLDAAoJECChztQA3mh0SUUQAJ89YOoBH3m1/jR0hUsS5VV2
sgwi2DuCXPKamHDzMNL8mFnozZxCD5QMs5+yDjWJZWxXCXEz6VB4aR4zVz31URi5
iZdN0RmaUVbdVqgJrY0KH8QaxuCg440H2mE41Qj/8OKYmK9RW0fhErU59Ydud5wX
jTuTqBRhfniMr4Qd2myYTmkm7+AwEwy1NfthimweTOTLib/11G8/esJ5AMz6Upeq
dyKbDxoOJuPODJfglKCrytqJnWuFrfzUWSbVnpRf4pMaRIdeL/Ko9Vsi4zIB3UD3
TWxbWUS/MM3QopzV9ruFX1yvu0B+YHKhmecgEGtXAxgyWI6zj7RQNHiJ/rBRi8Rk
Dld5bdAnTzADQeHsvU3PIK+ilrwFjZsCoK8dgK5eSr0jQrKRGUhkTOF6LtMP7HYA
xtWu3kXE/YbVrBT8BhdFTWSGTBvnCGIfzGNY+/wm45uLXf4lMg2fWW5OCKlgAj0K
W/srPAU5M8tJesrPXiDY//V2DkQhAsurrNUwVjL+e6mA8LQyyH79bNcP0cN+gyIo
LHqmK2OVEdwr7uOjijtA5y49iyreR92nfVLOZUzxjrpjXs36eSzJ+DdUulzx3cJJ
49BQPlT/+Hb5V7hIVUSFTneyLGrJOLG9g9hFtx4nL9sNTddzpJhXeeEyfy/q9+yy
DEigN8nBiILHLfHdGMIh
=1UnT
-----END PGP SIGNATURE-----

_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de globo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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"><b><span
style="font-size:8.0pt;font-family:"Arial","sans-serif"">Jose
              Manuel Martínez García / Tel. 987 293 174 <o:p></o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-size:8.0pt;font-family:"Arial","sans-serif"">Coordinador
              de Sistemas</span></b><span
style="font-size:8.0pt;font-family:"Arial","sans-serif""><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F">Fundación
            Centro de Supercomputación de Castilla y León<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F">Edificio
            CRAI-TIC, Campus de Vegazana, s/n<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F">Universidad
            de León<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F">24071
            León, España<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F"><a
              href="www.fcsc.es"><span style="color:blue">www.fcsc.es</span></a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F"><img
              style="margin-right:15px" id="Imagen_x0020_1"
              src="cid:part2.06090004.09090002@fcsc.es" alt="logoFCSCL"
              border="0" height="53" width="160"> </span><img
            id="Imagen_x0020_2"
            src="cid:part3.00030605.04080901@fcsc.es" alt="jcyl"
            border="0" height="59" width="98"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#7F7F7F"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Arial","sans-serif"">_________________________________<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:7.0pt;font-family:"Arial","sans-serif"">Este
            correo va dirigido, de manera exclusiva, a su destinatario y
            puede contener información confidencial, cuya divulgación no
            está permitida por la ley. Si usted no es su destinatario
            notifíquelo urgentemente al remitente y borre este correo de
            su sistema.<br>
            Proteja el Medio Ambiente. Evite imprimir este mensaje si no
            es estrictamente necesario.</span><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </div>
  </body>
</html>