[Pacemaker] can not handle the failcount for clone resource using crm tool

Junko IKEDA ikedaj at intellilink.co.jp
Thu May 21 05:32:52 EDT 2009


Hi,

I have 4 nodes (dl380g5a, dl380g5b, dl380g5c, dl380g5d), 
and run 1 clone resource with the following configuration.
	clone_max"="2"
	clone_node_max"="1"

(1) Initial state
	dummy:0	dl380g5a
	dummy:1	dl380g5b

(2) dummy:1 break down, and move to dl380g5c
	dummy:0	dl380g5a
	dummy:1	dl380g5c

(3) dummy:1 break down again, move to dl380g5d
	dummy:0	dl380g5a
	dummy:1	dl380g5d

(4) Now, the failconts for dummy:1 are;
	dl380g5c = 1
	dl380g5d = 1

I tried to delete the failcount using crm.
But it seems that delete switch for clone resource doesn't work.

crm(live)resource# failcount dummy:1 show dl380g5c
scope=status  name=fail-count-dummy:1 value=1
crm(live)resource# failcount dummy:1 delete dl380g5c
crm(live)resource# failcount dummy:1 show dl380g5c
scope=status  name=fail-count-dummy:1 value=1

set value "0" worked.
crm(live)resource# failcount dummy:1 set dl380g5c 0
crm(live)resource# failcount dummy:1 show dl380g5c
scope=status  name=fail-count-dummy:1 value=0

Is this case only in the clone resrouce?

And anothre thing.
After set value "0",
The failcount was deleted not only for dl380g5c but also dl380g5d.
I expected that "failcount <rsc> show _<node>_" could specify one node.
Is there any wrong configurations?

See also attatched hb_report.

Best Regards,
Junko Ikeda

NTT DATA INTELLILINK CORPORATION

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clone.tar.bz2
Type: application/octet-stream
Size: 63399 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090521/89980a8c/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crm_mon.txt
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090521/89980a8c/attachment-0002.txt>


More information about the Pacemaker mailing list