[Pacemaker] stonith and pacemaker with Centos 6
Charles Richard
chachi.richard at gmail.com
Tue Sep 20 17:59:45 UTC 2011
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.
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.
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110920/b8df8858/attachment.htm>
More information about the Pacemaker
mailing list