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

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Wed Feb 17 08:11:14 UTC 2010


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.

    [root at srv01 ~]# crm_resource --meta -r clone_stonith-primitive -p target-role -v stopped
    [root at 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.

    [root at 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.





More information about the Pacemaker mailing list