[Pacemaker] crm_resource - migrating/halt a cloned resource
Andrew Beekhof
beekhof at gmail.com
Sat Dec 6 13:48:11 UTC 2008
On Dec 6, 2008, at 2:24 PM, Raoul Bhatia [IPAX] wrote:
> 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
but not the clone name (i took a guess before because i didn't know
what it was called):
crm_resource -M -r clone_webservice
More information about the Pacemaker
mailing list