[Pacemaker] crm_resource - migrating/halt a cloned resource

Andrew Beekhof beekhof at gmail.com
Sat Dec 6 10:17:43 UTC 2008


On Dec 5, 2008, at 7:29 PM, Raoul Bhatia [IPAX] wrote:

> how do i migrate/disable a cloned resource on one node?
>
> e.h. apache2:0 running on wc01 and apache2:1 running on wc02:
>
> i tried to issue
>> crm_resource -M -r apache2:0
> and
>> crm_resource -M -r apache2:1 -N wc01
>
> which is not working...
>
> i too tried to issue
>> crm_resource -r apache2:0 -v 'Stopped' --meta -p target-role
>
> again, not working.
>
> how do i specifically halt apache2:0 or apache2:1?

you can't.  just specify the clone name

    crm_resource -M -r apache2





More information about the Pacemaker mailing list