[Linux-HA] When the failed node power on again, it will take over the resource from the active one?
binary.chen at gmail.com
Mon Dec 6 00:20:19 MST 2010
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?
On Mon, Dec 6, 2010 at 3:20 AM, Lars Ellenberg <lars.ellenberg at linbit.com>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
> > 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
> > 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
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA