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
needed.

-- 
Jan (Poki)

Attachment: pgpA3MDVtnAPX.pgp
Description: PGP signature

_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to