On 2007-07-13T17:06:27, Maxim Veksler <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I have two nodes (rnd-dev1, rnd-dev2) running RH4 with CentOS based
> rpm install of heartbeat 2.0.7
2.0.7 is ancient. Do not use it any longer. Please, update.
> I'm seeing a problem where heartbeat prefers to always run resources
> on node2, even when I deliberately make them return 1 on monitor
> action.
>
> The only scenario where heartbeat chooses to run them on node1 is when
> I stop heartbeat on node2, if I start heartbeat again on node2 the
> resources will migrate there again (and continue failing).
>
> Have I configured something wrong in the cib? (attached below)
Yes. monitor failures do not automatically imply that the node is
broken, just that the resource needs to be restarted. You need
resource_stickiness and resource_failure_stickiness, both of which are
documented on the website.
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