[Pacemaker] crm_resource - migrating/halt a cloned resource

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Sat Dec 6 13:24:06 UTC 2008


Andrew Beekhof wrote:
>> how do i specifically halt apache2:0 or apache2:1?
> 
> you can't.  just specify the clone name
> 
>    crm_resource -M -r apache2

to bad - wouldn't that be nice?

anyways - my configuration:
> Clone Set: clone_webservice
>     Resource Group: group_webservice:0
>         fs_www:0        (ocf::heartbeat:Filesystem):    Started wc01
>         apache2:0       (ocf::heartbeat:apache):        Started wc01
>     Resource Group: group_webservice:1
>         fs_www:1        (ocf::heartbeat:Filesystem):    Started wc02
>         apache2:1       (ocf::heartbeat:apache):        Started wc02

and i tried:
> root at wc02 ~ # crm_resource -M -r apache2 -N wc01
> Resource apache2 not found: The object/attribute does not exist
> Error performing operation: The object/attribute does not exist
> (reverse-i-search)`-1': crm_mon -1
> root at wc02 ~ # crm_resource -M -r apache2
> Resource apache2 not found: The object/attribute does not exist
> Error performing operation: The object/attribute does not exist

apparently not working.

on debian testing/lenny, installed from opensuse buildservice:
pacemaker 1.0.1-1
heartbeat 2.99.1-1

any ideas?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list