On 7/15/10, Greg Woods <[email protected]> wrote:
> On Thu, 2010-07-15 at 07:36 -0700, Pushkar Pradhan wrote:
>> Hi,
>> I have a strange requirement: I don't want failover to happen unless a
>> operator says go ahead or a big timeout has occurred (e.g. 1 hour). I am
>> using Heartbeat R1 style cluster with 2 nodes.
>> Is this possible or do I need to write some custom plugin?
>
> This may not be the most elegant solution, but you could do this with
> the "meatware" stonith device which does exactly this; someone has to
> manually confirm that the other machine is really and truly dead before
> a failover will happen.
>
> This would be easy to set up if you are already using stonith, and a
> non-trivial learning curve otherwise.

Sorry for the hijack but I'm also looking for a way to do this and
just started looking into Heartbeart. Is it possible to have heartbeat
simply send an email alert or run a bash script (which maybe waits
half an hour before triggering a failover) instead of immediately
failing over?

We can just increase the deadtime to 30 minutes, but how can we manually 
takeover during that time? When the 2 nodes cannot communicate, trying to run 
hb_takeover on the live node (suppose only the other node lost network 
connectivity) does not work.
pushkar

<<winmail.dat>>

_______________________________________________
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