[Pacemaker] Clone resource each instance start\Stop

Andrew Beekhof andrew at beekhof.net
Mon Aug 1 02:34:02 UTC 2011


On Tue, Jul 26, 2011 at 6:49 PM,  <manish.gupta at ionidea.com> wrote:
> Hi,
>
>    I have configured a multi-state(clone)resource float IP(IP).
>    It is running on all the configure Nodes.
>
>    I am trying to stop it using crm_resource command
>
>    crm_resource -r IP:0 -p target-role -v stopped

You can't set the target role for clone instances.
You can force the clone away from a specific node using --move

>
>    I am getting this error.
>
>    Error performing operation : The object/attribute does not exist.
>
>    Please anybody can help me. How can I stop a single instance using
> any command
>
>    If I manually down a single instance on one node ,then i clean
> instance than it comes up means it start again.
>
>  ifconfig eth0:1 down
>  crm_resource -C -r IP:0 -H NodeName
>
>  It is working properly.
>
>  Cluster stack
>  corosync-1.2
>  pacemaker-1.10
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list