[ClusterLabs] Pacemaker migration - how to?

Jan Pokorný jpokorny at redhat.com
Thu Sep 8 14:46:11 EDT 2016

On 08/09/16 14:44 +0000, Nurit Vilosny wrote:
> I have a very basic question that I couldn't find an answer for.
> I am using the pacemaker to control a 3 nodes cluster, with
> a private application that works in an active - standby - standby
> mode.
> My node have priorities in which is better to migrate to.
> I implemented it via location constraint scores.
> I want to give my user the ability to migrate / failover  from the
> active to one of the / or specific  standby.
> What is the correct way to do it?
> Currently I am changing the location constraint score to make
> pacemaker move my resources, but I think this method is wrong.

This is exactly what higher level tools (crm/pcs resource move)
do, relying on the logic of the low-level "crm_resource --move".

This is, by design, a reversible action, so look at the respective
man pages/help screens for how to cancel that effect, should it be

Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160908/92c13430/attachment-0003.sig>

More information about the Users mailing list