[Openais] Multi State active resource each instance start\Stop

2011-07-19 Thread manish . gupta
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

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



Regards
Manish

___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais


Re: [Openais] Multi State active resource each instance start\Stop

2011-07-19 Thread Steven Dake
On 07/19/2011 03:21 AM, manish.gu...@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
 
 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
 
 

wrong ml.  Try the pacemaker ml.

 
 Regards
 Manish
 
 ___
 Openais mailing list
 Openais@lists.linux-foundation.org
 https://lists.linux-foundation.org/mailman/listinfo/openais

___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais