On 8/13/07, Maxim Veksler <[EMAIL PROTECTED]> wrote:
> Hello guys,
>
> Well I'm stonithed too ;)
>
> I'm trying to configure SSH STONITH, yes I KNOW it's a bad idea.
> It will soon be replaced by hardware.
>
> In the mean time, I can't seem to get it to work.
>
> I'm trying to use STONITH to get the nodes out of a split brain
> situation. I'm missing
> a method on which I can test this, because polling the cable out an
> returning it does not
> seem to make it shoot. I've tried to make it shoot using
> <on_fail="fence"> in the start() of my
> rsc_mis but this does not seem to work as well (I'm always returning 1
> in my rsc script, to test this).
>
> How is the log looks for the shooting node? and for the murdered one ?
> Who should be executing this ? (lrmd, pengine, crmd) ?
>
> Using """stonith -t ssh -p rnd-dev1,rnd-dev2 -T reset rnd-dev2""" works for 
> me.
>
> So what am I doing wrong ?

Try checking out CTS's Stonithd test (cts/CTStests.py).
That should give you an idea how to see if your stonith config is
working and what patterns to look for.

To then see the CRM in action, go to a non-DC node and type:
   killall -9 heartbeat lrmd

That is sure to get the node fenced.

> Do I even need the stonith-enabled=true instruction ?

definitly
_______________________________________________
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