Hi, On Mon, Dec 06, 2010 at 03:20:19PM +0800, Bin Chen(sunwen_ling) wrote: > Thanks for your answer, I just do a google search but can't find how to set > the resource stickness, can you point me some document that how can I add a > resource stickness to a primitive?
primitive ... meta resource-stickiness=n Thanks, Dejan > Bin > > On Mon, Dec 6, 2010 at 3:20 AM, Lars Ellenberg > <[email protected]>wrote: > > > On Sun, Dec 05, 2010 at 02:02:25PM +0800, Bin Chen(sunwen_ling) wrote: > > > Hi Dan, Thanks so much for your explanation! > > > > > > I am wondering is there an easy way to change the default behavior? Can I > > > set the score dynamically when the resource is going up(set the currently > > > running node higher than other node)? > > > I just don't want the resource to be migrated unnecessarily. The result I > > > want is, when the resource is running in one node, regardless of other > > node > > > status, and as long as currently node is up and running, the resouce > > > shouldn't be migrated. > > > > > > I don't know if I set the location constraints works, because what I want > > is > > > some sort of dynamic feature, not restrict the resource to some permanent > > > ones. > > > > > > Can you please suggest? > > > > set a positive (but not infinity) default resource stickiness > > > > -- > > : Lars Ellenberg > > : LINBIT | Your Way to High Availability > > : DRBD/HA support and consulting http://www.linbit.com > > > > DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. > > _______________________________________________ > > 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
