[Linux-HA] prevent resource switching
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Dec 20 07:14:12 MST 2007
Hi,
On Thu, Dec 20, 2007 at 08:31:16AM -0500, Scott Mann wrote:
> On Thu 12/20/2007 2:50 AM, linux-ha at mynx.org said:
>
> >
> >Hi everyone!
> >
> >I have a question about switching resources.
> >Cluster consist of 2 nodes, one fails and the other one takes over.
> >Lets say the failed one come up again, is there a way to prevent that
> >the failed one takes the resources over again?
> >I tried the default_resource_stickiness parameter, but if I use the
> >value "INFINITY"
> >there is no way to manually switch the resource.
Yes, there is. You can use crm_resource -M -r ... Once the
resources moved, you can remove the constraint crm_resource
created and everything should stay put (again).
> >And if I manually switch it, any value > 0 doesn't work either,
> >because the prefer score is at "INFINITY".
> >
> >What are my options to accomplish that?
>
> Add "auto_failback off" (without the quotes) to your ha.cf file.
That's for v1 configurations. Won't help with v2.
Thanks,
Dejan
> >
> >Thanks in advance,
> >Rainhard
> >
>
>
> Scott Mann
> Sr Software Engineer
> Aztek Networks
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list