<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
OK, I've set the stonith action to &quot;poweroff&quot; and I already had quarum action set to &quot;ignore&quot;.&nbsp; The &quot;poweroff&quot; makes is much easier to re-set &quot;stonith-enabled&quot; to &quot;false&quot; so that I can get two systems online again. ;-)<BR>
<BR>
However, I was more hoping to be able to reboot the fenced system without triggering a reboot (or halt) of the working system.&nbsp; Here are some specifics:<BR>
<BR>
SLES11 HAE (GA)<BR>
external/ipmi<BR>
two HA servers
<PRE>

<TT><FONT SIZE="2">&lt;crm_config&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp; &lt;cluster_property_set id=&quot;cib-bootstrap-options&quot;&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;cib-bootstrap-options-dc-version&quot; name=&quot;dc-version&quot; value=&quot;1.0.3-0080ec086ae9c20ad5c4c3562000c0ad68374f0a&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;cib-bootstrap-options-expected-quorum-votes&quot; name=&quot;expected-quorum-votes&quot; value=&quot;2&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;cib-bootstrap-options-last-lrm-refresh&quot; name=&quot;last-lrm-refresh&quot; value=&quot;1242661586&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;cib-bootstrap-options-no_quorum_policy&quot; name=&quot;no_quorum_policy&quot; value=&quot;ignore&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;cib-bootstrap-options-stonith-enabled&quot; name=&quot;stonith-enabled&quot; value=&quot;true&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-a8fa01f7-fd6c-4e9b-adf6-0e48250691f1&quot; name=&quot;stonith-action&quot; value=&quot;poweroff&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-1d2c923d-7619-4b45-989a-698357f9f8cb&quot; name=&quot;no-quorum-policy&quot; value=&quot;ignore&quot;/&gt;</FONT></TT>
<TT><FONT SIZE="2">&nbsp; &lt;/cluster_property_set&gt;</FONT></TT>

<FONT SIZE="2">And, the two stonith resources:</FONT>

<FONT SIZE="2">&nbsp; &lt;primitive class=&quot;stonith&quot; id=&quot;ipmi_stonith_hikari&quot; type=&quot;external/ipmi&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;meta_attributes id=&quot;ipmi_stonith_hikari-meta_attributes&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;operations id=&quot;ipmi_stonith_hikari-operations&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;op id=&quot;ipmi_stonith_hikari-op-monitor-15&quot; interval=&quot;30&quot; name=&quot;monitor&quot; start-delay=&quot;30&quot; timeout=&quot;30&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;/operations&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;instance_attributes id=&quot;ipmi_stonith_hikari-instance_attributes&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-d95c4018-1ebc-447b-9028-050e68c9929c&quot; name=&quot;hostname&quot; value=&quot;hikari&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-3aca66aa-bb82-43ec-8b63-e936b2507fa3&quot; name=&quot;ipaddr&quot; value=&quot;172.16.1.247&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-3f623098-c266-4132-8d9c-77744e0e8713&quot; name=&quot;userid&quot; value=&quot;ADMIN&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-04e6a6d7-6541-45d4-8d36-9768e240e79d&quot; name=&quot;passwd&quot; value=&quot;ADMIN&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-1a90ef3c-3b67-41c2-98cf-58b8a2f9cfe0&quot; name=&quot;interface&quot; value=&quot;lanplus&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;/instance_attributes&gt;</FONT>
<FONT SIZE="2">&nbsp; &lt;/primitive&gt;</FONT>
<FONT SIZE="2">&nbsp; &lt;primitive class=&quot;stonith&quot; id=&quot;ipmi_stonith_hikari2&quot; type=&quot;external/ipmi&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;meta_attributes id=&quot;ipmi_stonith_hikari2-meta_attributes&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-88049439-39e2-459d-9820-78cdeb9ae282&quot; name=&quot;target-role&quot; value=&quot;started&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;/meta_attributes&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;operations id=&quot;ipmi_stonith_hikari2-operations&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;op id=&quot;ipmi_stonith_hikari2-op-monitor-15&quot; interval=&quot;30&quot; name=&quot;monitor&quot; start-delay=&quot;30&quot; timeout=&quot;30&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;/operations&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;instance_attributes id=&quot;ipmi_stonith_hikari2-instance_attributes&quot;&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-c4b4e4ce-6f9a-4a8d-a7fb-b8726f09ccf0&quot; name=&quot;hostname&quot; value=&quot;hikari2&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-e9d42aca-110f-4308-a3dd-645d793e49d3&quot; name=&quot;ipaddr&quot; value=&quot;172.16.1.248&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-31b086de-5209-4361-a4b8-55460cad95a8&quot; name=&quot;userid&quot; value=&quot;ADMIN&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-5b3c6b97-a49e-4d18-beea-6d7aaec000fa&quot; name=&quot;passwd&quot; value=&quot;ADMIN&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;nvpair id=&quot;nvpair-6f98c068-7b2e-4309-8f5b-2c7c2527cc93&quot; name=&quot;interface&quot; value=&quot;lanplus&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp;&nbsp;&nbsp; &lt;/instance_attributes&gt;</FONT>
<FONT SIZE="2">&nbsp; &lt;/primitive&gt;</FONT>
</PRE>
And the relevant pair of constraints:
<PRE>
<FONT SIZE="2">&nbsp; &lt;rsc_location id=&quot;stonith_hikari_on_hikari2&quot; node=&quot;hikari&quot; rsc=&quot;ipmi_stonith_hikari&quot; score=&quot;-INFINITY&quot;/&gt;</FONT>
<FONT SIZE="2">&nbsp; &lt;rsc_location id=&quot;stonith_hikari2_on_hikari&quot; node=&quot;hikari2&quot; rsc=&quot;ipmi_stonith_hikari2&quot; score=&quot;-INFINITY&quot;/&gt;</FONT>
</PRE>
<BR>
Any suggestions as to what needs changing so that the stonith deathmarch can be avoided?<BR>
<BR>
Cheers and thanks,<BR>
Bob Haxo<BR>
SGI<BR>
<BR>
<BR>
<BR>
On Fri, 2009-05-15 at 20:26 -0500, Karl Katzke wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Bob, as we've discussed a few other times recently, when you're testing (and depending on your preference in production), you may want to set the stonith policy to 'poweroff' as opposed to 'reboot'. </FONT><BR>
    <FONT COLOR="#000000">Also, if you have a two-node cluster, pacemaker depends on quorum and the loss thereof creates another stonith event. You'll want to set the loss of quorum action to 'ignore'. </FONT><BR>
    <FONT COLOR="#000000">... in short, RTFM: <A HREF="http://www.clusterlabs.org/wiki/Documentation">http://www.clusterlabs.org/wiki/Documentation</A> -- Pacemaker Configuration Explained 1.0 has *everything* you need to know in it. </FONT>
<PRE>

<FONT COLOR="#000000">-K </FONT>


<FONT COLOR="#000000">---</FONT>
<FONT COLOR="#000000">Karl Katzke</FONT>
<FONT COLOR="#000000">Systems Analyst II</FONT>
<FONT COLOR="#000000">TAMU - DRGS</FONT>






<FONT COLOR="#000000">&gt;&gt;&gt; On 5/15/2009 at  7:22 PM, in message</FONT>
<FONT COLOR="#000000">&lt;<A HREF="mailto:1242433367.21186.4.camel@nalu.engr.sgi.com">1242433367.21186.4.camel@nalu.engr.sgi.com</A>&gt;, Bob Haxo &lt;<A HREF="mailto:bhaxo@sgi.com">bhaxo@sgi.com</A>&gt; wrote:</FONT>

<FONT COLOR="#000000">&gt; Ok, never mind this question.  &quot;ifdown interface&quot; works nicely to </FONT>
<FONT COLOR="#000000">&gt; trigger STONITH action. </FONT>
<FONT COLOR="#000000">&gt;  </FONT>
<FONT COLOR="#000000">&gt; Unfortunately (if I may ask a new question) ... I now have one server </FONT>
<FONT COLOR="#000000">&gt; rebooting, then the other rebooting, and back to the first rebooting in </FONT>
<FONT COLOR="#000000">&gt; what looks to be an endless loop of reboots. </FONT>
<FONT COLOR="#000000">&gt;  </FONT>
<FONT COLOR="#000000">&gt; Suggestions? </FONT>
<FONT COLOR="#000000">&gt;  </FONT>
<FONT COLOR="#000000">&gt; Cheers, </FONT>
<FONT COLOR="#000000">&gt; Bob Haxo </FONT>
<FONT COLOR="#000000">&gt; SGI </FONT>
<FONT COLOR="#000000">&gt;  </FONT>
<FONT COLOR="#000000">&gt; On Fri, 2009-05-15 at 16:53 -0700, Bob Haxo wrote: </FONT>
<FONT COLOR="#000000">&gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; Greetings, </FONT>
<FONT COLOR="#000000">&gt; &gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; What manual administrative actions can be used to trigger STONITH </FONT>
<FONT COLOR="#000000">&gt; &gt; action?   </FONT>
<FONT COLOR="#000000">&gt; &gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; I have created a pair of STONITH resources (external/ipmi) and would </FONT>
<FONT COLOR="#000000">&gt; &gt; like to test that these resources work as expected (which, if I </FONT>
<FONT COLOR="#000000">&gt; &gt; understand the default correctly, is to reboot the node). </FONT>
<FONT COLOR="#000000">&gt; &gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; Thanks, </FONT>
<FONT COLOR="#000000">&gt; &gt; Bob Haxo </FONT>
<FONT COLOR="#000000">&gt; &gt; SGI </FONT>
<FONT COLOR="#000000">&gt; &gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; SLES11 HAE  </FONT>
<FONT COLOR="#000000">&gt; &gt;  </FONT>
<FONT COLOR="#000000">&gt; &gt; _______________________________________________ </FONT>
<FONT COLOR="#000000">&gt; &gt; Pacemaker mailing list </FONT>
<FONT COLOR="#000000">&gt; &gt; <A HREF="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</A> </FONT>
<FONT COLOR="#000000">&gt; &gt; <A HREF="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</A> </FONT>
<FONT COLOR="#000000">&gt;  </FONT>



<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Pacemaker mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>