On Thu 12/20/2007 7:14 AM, Dejan Muhamedagic said: >Hi, > >On Thu, Dec 20, 2007 at 08:31:16AM -0500, Scott Mann wrote: >> On Thu 12/20/2007 2:50 AM, [EMAIL PROTECTED] 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 for this correction! I actually based this on a previous thread and, of course, my experience that "it works." I've really got to get a better handle on the v1/v2 split... > >Thanks, > >Dejan > >> > >> >Thanks in advance, >> >Rainhard >> > >> >> >> Scott Mann >> Sr Software Engineer >> Aztek Networks >> >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >_______________________________________________ >Linux-HA mailing list >[email protected] >http://lists.linux-ha.org/mailman/listinfo/linux-ha >See also: http://linux-ha.org/ReportingProblems Scott Mann Sr Software Engineer Aztek Networks _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
<<winmail.dat>>
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
