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'd use in my pacemaker config and this fencing agent would call "ipmitool" 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't. On the one it doesn'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'm hoping somebody might have some suggestions on why this isn't working or if I'm way out in left field and this isn't relevant to my DRBD, Pacemaker config on CentOS 6 to give me a nudge in another direction. I'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"><<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>></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 <<a href="mailto:andreas.kurz@gmail.com">andreas.kurz@gmail.com</a>> wrote:<br>
> On 09/16/2011 09:09 PM, Charles Richard wrote:<br>
>> Hi,<br>
>><br>
>> Not sure if this question is appropriate on this thread but I'm<br>
>> following a pacemaker doc to get a 2 node mysql cluster working and the<br>
>> doc mentioned that installing Stonith and having it enabled is preferable.<br>
>><br>
>> Well on my centos 6 box, i installed pacemaker but when i try to run the<br>
>> command "stonith -L" as suggested in this doc, i get command not found.<br>
>><br>
>> Any idea how i could get this installed?<br>
><br>
> In centos/rhel/sl 6 there is no "stonith" but "fence-agents" package<br>
> available ... the RHCS fencing agents.<br>
><br>
> These fence-agents can be used like the stonith agents, you will find<br>
> some threads on pacemaker mailing-list e.g.<br>
><br>
> <a href="http://www.gossamer-threads.com/lists/linuxha/pacemaker/73187" target="_blank">http://www.gossamer-threads.com/lists/linuxha/pacemaker/73187</a><br>
><br>
> 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 >= 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>