<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello<br>
    I have a working example using pacemaker corosync with stonith<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    primitive s_ipmi_hv1 stonith:fence_ipmilan \<br>
        op monitor interval="20s" \<br>
        params action="off" pcmk_host_check="static-list"
    pcmk_host_list="hv2" ipaddr="21.37.43.132" login="admin"
    passwd="xxxxx" power_wait="4" lanplus="true" delay="1" verbose="1"<br>
    primitive s_ipmi_hv2 stonith:fence_ipmilan \<br>
        op monitor interval="20s" \<br>
        params action="off" pcmk_host_check="static-list"
    pcmk_host_list="hv1" ipaddr="21.37.43.130" login="admin"
    passwd="xxxx" power_wait="4" lanplus="true" delay="10" verbose="1"<br>
    location loc-prefer-stonith-1 s_ipmi_hv1 \<br>
        rule $id="loc-prefer-stonith-1-rule" inf: #uname eq hv1<br>
    location loc-prefer-stonith-2 s_ipmi_hv2 \<br>
        rule $id="loc-prefer-stonith-2-rule" inf: #uname eq hv2<br>
    <br>
    <br>
    But When I set<br>
    stonith-action=poweroff stonith stop working <br>
    <br>
    and if I reset back to<br>
    stonith-action=reboot it working killing the node<br>
    <br>
    I really can't undestand why<br>
    <br>
  </body>
</html>