[Pacemaker] stonith and pacemaker with Centos 6

Andrew Beekhof andrew at beekhof.net
Fri Sep 23 00:43:21 UTC 2011


On Wed, Sep 21, 2011 at 3:59 AM, Charles Richard
<chachi.richard at gmail.com> wrote:
> 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.

Correct.  Although I don't know the exact mechanism used by fence_ipmilan

>
> So i set out to make sure i could run the following on both my nodes:
>
> ipmitool -I lan -U root -H xxx.xxx.xxx.xxx -a chassis power status
>
> The problem being on one node this work and on another this doesn't.  On the
> one it doesn't, i get:
>
> Activate Session command failed
> Error: Unable to establish LAN session
> Unable to get Chassis Power Status
>
> which seems to be a standard error.

Agreed.  Not something I've had experience with I'm afraid :-(

>
> 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.
>
> Thanks,
> Charles
>
> On Sun, Sep 18, 2011 at 8:35 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
>>
>> On Sat, Sep 17, 2011 at 7:01 AM, Andreas Kurz <andreas.kurz at gmail.com>
>> wrote:
>> > On 09/16/2011 09:09 PM, Charles Richard wrote:
>> >> Hi,
>> >>
>> >> Not sure if this question is appropriate on this thread but I'm
>> >> following a pacemaker doc to get a 2 node mysql cluster working and the
>> >> doc mentioned that installing Stonith and having it enabled is
>> >> preferable.
>> >>
>> >> Well on my centos 6 box, i installed pacemaker but when i try to run
>> >> the
>> >> command "stonith -L" as suggested in this doc, i get command not found.
>> >>
>> >> Any idea how i could get this installed?
>> >
>> > In centos/rhel/sl 6 there is no "stonith" but "fence-agents" package
>> > available ... the RHCS fencing agents.
>> >
>> > These fence-agents can be used like the stonith agents, you will find
>> > some threads on pacemaker mailing-list e.g.
>> >
>> > http://www.gossamer-threads.com/lists/linuxha/pacemaker/73187
>> >
>> > to see how they can be used.
>>
>>
>> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-stonith-configure.html
>> has also been updated for Pacemaker 1.1.6 (and RHEL/CENTOS >= 6.2)
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs:
>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list