Re: [Pacemaker] We cannot stop specific clone resources by a crm_resource order.

2010-02-22 Thread renayama19661014
Hi Andrew,

> > Can we stop one clone by a crm_resouce command and a crm command?
> > Or is it necessary to set -INIFINITY in a rule?
> 
> Right, a location rule
> 
> > Possibly was the clone the specifications that cannot stop individually?
> 
> Correct.
> You can however do:
>crm configure location not-here-please clone_stonith -inf: somenode

Thank you for a reply.
I understood as specifications. 
I use rule.

Best Regards,
Hideo Yamauchi.



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] We cannot stop specific clone resources by a crm_resource order.

2010-02-22 Thread Andrew Beekhof
On Wed, Feb 17, 2010 at 9:11 AM,   wrote:
> Hi,
>
> We cannot stop specific clone resources by a crm_resource order.
>
> 
> Last updated: Wed Feb 17 16:56:26 2010
> Stack: openais
> Current DC: srv01 - partition with quorum
> Version: 1.0.7-0d97eb2e69533c1352044394c88d7c05802a09a5
> 2 Nodes configured, 2 expected votes
> 2 Resources configured.
> 
>
> Online: [ srv01 srv02 ]
>
>  Resource Group: test_group
>     prmDummy1  (ocf::heartbeat:Dummy): Started srv01
>  Clone Set: clone_stonith
>     Started: [ srv02 srv01 ]
>
> try 1) In the case of the next, all clones stop.
>
>    [r...@srv01 ~]# crm_resource --meta -r clone_stonith-primitive -p 
> target-role -v stopped
>    [r...@srv01 ~]# crm_mon -1
>    
>    Last updated: Wed Feb 17 17:00:49 2010
>    Stack: openais
>    Current DC: srv01 - partition with quorum
>    Version: 1.0.7-0d97eb2e69533c1352044394c88d7c05802a09a5
>    2 Nodes configured, 2 expected votes
>    2 Resources configured.
>    
>
>    Online: [ srv01 srv02 ]
>
>     Resource Group: test_group
>         prmDummy1  (ocf::heartbeat:Dummy): Started srv01
>
> try 2) In the case of the next, I cannot stop one clone.
>
>    [r...@srv01 ~]# crm_resource --meta -r clone_stonith-primitive:0 -p 
> target-role -v stopped
>    Error performing operation: The object/attribute does not exist
>
>
> Can we stop one clone by a crm_resouce command and a crm command?
> Or is it necessary to set -INIFINITY in a rule?

Right, a location rule

> Possibly was the clone the specifications that cannot stop individually?

Correct.
You can however do:
   crm configure location not-here-please clone_stonith -inf: somenode

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] We cannot stop specific clone resources by a crm_resource order.

2010-02-17 Thread renayama19661014
Hi,

We cannot stop specific clone resources by a crm_resource order.


Last updated: Wed Feb 17 16:56:26 2010
Stack: openais
Current DC: srv01 - partition with quorum
Version: 1.0.7-0d97eb2e69533c1352044394c88d7c05802a09a5
2 Nodes configured, 2 expected votes
2 Resources configured.


Online: [ srv01 srv02 ]

 Resource Group: test_group
 prmDummy1  (ocf::heartbeat:Dummy): Started srv01
 Clone Set: clone_stonith
 Started: [ srv02 srv01 ]

try 1) In the case of the next, all clones stop.

[r...@srv01 ~]# crm_resource --meta -r clone_stonith-primitive -p 
target-role -v stopped
[r...@srv01 ~]# crm_mon -1

Last updated: Wed Feb 17 17:00:49 2010
Stack: openais
Current DC: srv01 - partition with quorum
Version: 1.0.7-0d97eb2e69533c1352044394c88d7c05802a09a5
2 Nodes configured, 2 expected votes
2 Resources configured.


Online: [ srv01 srv02 ]

 Resource Group: test_group
 prmDummy1  (ocf::heartbeat:Dummy): Started srv01

try 2) In the case of the next, I cannot stop one clone.

[r...@srv01 ~]# crm_resource --meta -r clone_stonith-primitive:0 -p 
target-role -v stopped
Error performing operation: The object/attribute does not exist


Can we stop one clone by a crm_resouce command and a crm command?
Or is it necessary to set -INIFINITY in a rule?

Possibly was the clone the specifications that cannot stop individually?

Best Regards,
Hideo Yamauchi.


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker