[Pacemaker] Migration, constraints and failback off
Dominik Klein
dk at in-telegence.net
Wed Sep 2 06:47:07 UTC 2009
Diego Woitasen wrote:
> HI
> I'm building a two node cluster with Xen, DRBD and
> Pacemaker+Heartbeat. I've set default_resouce_stickiness to INFINITY
> to disable failback (I want to handle it manually). When I want to
> migrate a resource I execute
>
> crm resource migrate gw-piso-lab
>
> and
>
> crm resource unmigrate gw-piso-lab
>
> to remove the constraint. If I execute
>
> crm resource migrate gw-piso-lab nodeX
>
> It's doesn't work because that command create a constraint setting the
> score to INFINITY which is the same as default. I undertand that.
>
> My question is, Is there way to have manual failback using migration
> freely (without adding and/or removing constraints)?
Try setting the default stickiness to something large, but less than
INFINITY?
Regards
Dominik
More information about the Pacemaker
mailing list