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.  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?

 - Peter


On Tue, Aug 3, 2010 at 5:48 PM, Peter Sylvester <[email protected]
> wrote:

> I did check out the man pages.  Does this mean that I can run an sh script
> that calls a command like this....
>
> stonith -svh -t external/riloe -p <hostlist> <ilo_hostname> <ilo_user>
> <ilo_password> <ilo_can_reset> <ilo_protocol> <ilo_powerdown_method>
>
> And, assuming that I have all of the arguments after -p correct the server
> attached to the ILO that I'm calling will shut down?
>
>  - Peter
>   On Tue, Aug 3, 2010 at 5:18 PM, Tony Hunter <[email protected]> wrote:
>
>>  On Tue, Aug 03, 2010 at 03:03:48PM -0400, Peter Sylvester wrote:
>> > Hey there folks!  I've been scouring the net (including the HA docs) for
>> the
>> > past couple days trying to figure out the basics of how STONITH works
>> with
>> > HA.  I'm a novice with Linux and have been a MySQL DBA for the last
>> several
>> > years.  My currently task is to figure out cluster fencing. something
>> that I
>> > would consider at this point to be slightly above my current linux skill
>> > level.
>> >
>> > First off I need to know how STONITH works.  My client is using HP ILO
>> > system.  From what I can tell this is built into the current version of
>> HA
>> > as "riloe" but I don't know how to get it to work.
>> >
>> > Can any of you recommend any documentation online that reffers to how to
>> get
>> > this kind of ILO working with STONITH in HA?
>>
>> Like the manual page?
>> $ man stonith
>>
>> Or the stonith help pages?
>> $ stonith -t external/riloe -h
>> $ stonith -t external/riloe -m
>>
>> Or even the iL02 docs:
>> http://tinyurl.com/373sylb
>>
>> Sorry I don't use HP servers, so can't help with the specifics.
>>
>>
>> >  - Peter
>> > _______________________________________________
>> > Linux-HA mailing list
>> > [email protected]
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> > See also: http://linux-ha.org/ReportingProblems
>>
>> --
>> regards,
>> --tony
>> _______________________________________________
>> 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