>>> Marcus Bointon <[email protected]> schrieb am 19.04.2013 um 14:22 in
Nachricht <[email protected]>:
> When I request that a resource moves from one node to another, like:
> 
> crm resource move ip3
> 
> It tells me:
> 
> WARNING: Creating rsc_location constraint 'cli-standby-ip3' with a score of 
> -INFINITY for resource ip3 on proxy2.
> This will prevent ip3 from running on proxy2 until the constraint is removed 
> using the 'crm_resource -U' command or manually with cibadmin
> This will be the case even if proxy2 is the last node in the cluster
> 
> I can understand that to an extent, but it seems a bit aggressive to prevent 
> it *ever* moving back.

Let me comment: "crm resource migrate prm_yours PT2M" will make a constraint 
that will stay in your CIB forever also, but it's active only for 2 minutes.


> 
> What's more of a problem is that if I issue the same command again (to make 
> it migrate back), it does the same thing (but to the other node), pinning it 
> hard to its original location rather than just removing the constraint. Is 
> there a better way of doing this?

See above.

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to