Lars,

That link you provided actually helped a lot.  At least now I know I can
configure this without a CRM.  I do agree that perhaps this would be better
with a CRM, but it's not for me to say.

So now I can configure all of this within the ha.cf, good info to have!

I still need to figure out if there is a way that I can code something to
have the STONITH only work under specific conditions.  Any clues?  I've
thought about adding a resouse BASH script, but if I can't call STONITH from
a BASH prompt then it wouldn't work, would it?

 - Peter

On Tue, Aug 3, 2010 at 6:36 PM, Lars Ellenberg <[email protected]>wrote:

> On Tue, Aug 03, 2010 at 06:27:17PM -0400, Peter Sylvester wrote:
> > Sorry about spamming the list, but I figured it's probably best to ask
> more
> > specific questions and give a better idea of what it is I'm trying to
> > accomplish.
> >
> > I have 2 node cluster, active/passive.  They are currently test systems
> that
> > have not gone into production.  They are both going to be running MySQL,
> and
> > HA.  My client wants me to figure out how to intergrate STONITH with HA
> on
> > this system.  From what I can tell it's running HA version 3.  Or at
> least
> > that's what I'm guessing from the output of rpm -qa | grep heartbeat.
> >
> > The client does NOT currently have a CRM (Like pacemaker or anything like
> > that) and they do not want anything like that installed as they believe
> it
> > makes the situation more complicated than it needs to be.
>
> I disagree. But,
>  "Yeah, sure." :-/
>
> > However, the
> > client also wants it configured so that if someone logs into the machine
> and
> > inititates a failover by doing 'service heartbeat stop' the STONITH will
> not
> > occur, but if a failover occurs automatically (like the heartbeat just
> > failing) then STONITH should occur.
> >
> > Unfortuantly I normally work on the DB side of things so I have not had
> much
> > exposure to HA.  With all of this in mind here are some more specific
> > questions that might help.
> >
> > 1) Can I run stonith from a BASH prompt or does it need to be controlled
> > elsewhere?
> > 2) Can I even use STONITH without having a CRM installed?
> > 3) Can I code it so that STONITH will only work under certain conditions?
>
> http://www.linux-ha.org/ConfiguringStonithPlugins
>
> may help a bit.
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
>  _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to