On 2008-08-22T09:20:02, Ronny Becker <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying to configure a fencing after failover and cannot find a way to
> do this.
> I am using heartbeat 2.1.4.
>
> This is what I have configured:
> - resource_stickiness is about 99
> - rosource_failure_stickiness is -50
> - Operations "on_fail" is restart
on_fail="restart" for which operation?
> So, if the resource fails twice on a node, the resource will migrate to
> another node. That`s ok. But I need to fence, too. How do I configure "try a
> restart twice and if that fails, migrate and fence the node" ???
You can set on_fail="fence". But there's no need to fence a node after a
successful stop, so that is simply not supported.
Instead of describing how you want to achieve something, maybe you could
try to explain why?
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems