Hi, on my quest to trying to understand STONITH more and to get it working with CentOS 6, i installed the fencing_agents on the os and also installed OpenIPMI.  If i understood a little, the fence_ipmilan fencing agent is the one I&#39;d use in my pacemaker config and this fencing agent would call &quot;ipmitool&quot; or some other similar command.<br>
<br>So i set out to make sure i could run the following on both my nodes: <br><br>ipmitool -I lan -U root -H xxx.xxx.xxx.xxx -a chassis power status<br><br>The problem being on one node this work and on another this doesn&#39;t.  On the one it doesn&#39;t, i get:<br>
<br>Activate Session command failed<br>Error: Unable to establish LAN session<br>Unable to get Chassis Power Status<br><br>which seems to be a standard error.<br><br>I&#39;m hoping somebody might have some suggestions on why this isn&#39;t working or if I&#39;m way out in left field and this isn&#39;t relevant to my DRBD, Pacemaker config on CentOS 6 to give me a nudge in another direction.  I&#39;m kind of getting stuck and google searches galore are not giving me any more inspiration.<br>
<br>Thanks,<br>Charles<br><br><div class="gmail_quote">On Sun, Sep 18, 2011 at 8:35 PM, Andrew Beekhof <span dir="ltr">&lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Sep 17, 2011 at 7:01 AM, Andreas Kurz &lt;<a href="mailto:andreas.kurz@gmail.com">andreas.kurz@gmail.com</a>&gt; wrote:<br>
&gt; On 09/16/2011 09:09 PM, Charles Richard wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Not sure if this question is appropriate on this thread but I&#39;m<br>
&gt;&gt; following a pacemaker doc to get a 2 node mysql cluster working and the<br>
&gt;&gt; doc mentioned that installing Stonith and having it enabled is preferable.<br>
&gt;&gt;<br>
&gt;&gt; Well on my centos 6 box, i installed pacemaker but when i try to run the<br>
&gt;&gt; command &quot;stonith -L&quot; as suggested in this doc, i get command not found.<br>
&gt;&gt;<br>
&gt;&gt; Any idea how i could get this installed?<br>
&gt;<br>
&gt; In centos/rhel/sl 6 there is no &quot;stonith&quot; but &quot;fence-agents&quot; package<br>
&gt; available ... the RHCS fencing agents.<br>
&gt;<br>
&gt; These fence-agents can be used like the stonith agents, you will find<br>
&gt; some threads on pacemaker mailing-list e.g.<br>
&gt;<br>
&gt; <a href="http://www.gossamer-threads.com/lists/linuxha/pacemaker/73187" target="_blank">http://www.gossamer-threads.com/lists/linuxha/pacemaker/73187</a><br>
&gt;<br>
&gt; to see how they can be used.<br>
<br>
</div><a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-stonith-configure.html" target="_blank">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-stonith-configure.html</a><br>

has also been updated for Pacemaker 1.1.6 (and RHEL/CENTOS &gt;= 6.2)<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br>