[Pacemaker] using crm_resource -C when the affected node is down

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Fri Feb 6 10:25:25 UTC 2009


hi,

crm_mon -1 shows:
> ============
> Last updated: Wed Feb  4 13:59:51 2009
> Current DC: wc01 (31de4ab3-2d05-476e-8f9a-627ad6cd94ca)
> Version: 1.0.1-node: f228d820ba27cc33ea5778224d8d2084119b588c
> 2 Nodes configured.
> 10 Resources configured.
> ============
> 
> Node: wc01 (31de4ab3-2d05-476e-8f9a-627ad6cd94ca): online
> Node: wc02 (f36760d8-d84a-46b2-b452-4c8cac8b3396): OFFLINE
> 
> Resource Group: group_www_data
...
> Failed actions:
>     nfs-common:1_monitor_10000 (node=wc02, call=27, rc=7, status=complete): not running
>     nfs-common:1_start_0 (node=wc02, call=40, rc=-2, status=Timed Out): unknown exec error

wc02 is already dead (/etc/init.d/heartbeat stop && reboot -fn)

i now issue a cleanup:
> root at wc01 /etc # crm_resource -C -r nfs-common:1 -H wc02; echo $?
> Error performing operation: The object/attribute does not exist
> 234

this does not work. ok, i now try to use "crm_failcount":


> root at wc01 /etc # crm_failcount -r nfs-common:1
> Query failed for attribute fail-count-nfs-common:1 (section=status, node=31de4ab3-2d05-476e-8f9a-627ad6cd94ca, set=<null>, xpath=//cib/status//node_state[@id='31de4ab3-2d05-476e-8f9a-627ad6cd94ca']//nvpair[@name='fail-count-nfs-common:1']): The object/attribute does not exist
> Query failed for attribute fail-count-nfs-common:1 (section=status, node=<null>, set=31de4ab3-2d05-476e-8f9a-627ad6cd94ca): The object/attribute does not exist
>  name=fail-count-nfs-common:1 value=0

i am not able to remove crm_mon -1.

after wc02 rebootet, there was no failed action (at least not related to
this issue ;) ) in crm_mon -1.

any idea?

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