[Pacemaker] crm_failcount would take some irrelevant values

Junko IKEDA ikedaj at intellilink.co.jp
Fri May 16 04:45:05 EDT 2008


Using Pacemaker stable-0.6, the following operation works well.

# crm_failcount -r <resource-id> -U <nodename> -v INFINITY
fail-count would be increased to 10000.

This one would fail, 
# crm_failcount -r <resource-id> -U <nodename> -v ERROR

fail-count wouldn't be changed.
But crm_failcount command updates CIB.

cibadmin -Q sais;
# cibadmin -Q | grep fail-count
<nvpair id="status-db8f2da4-a7fb-40bf-bf14-befe4af11db7-fail-count-dummy"
name="fail-count-dummy" value="ERROR"/>

It would be convenient if crm_faicount can ignore some string value given by
-v option other than "INFINITY".
See atached.

Best Regards,
Junko Ikeda


-------------- next part --------------
A non-text attachment was scrubbed...
Name: crm_attribute.patch
Type: application/octet-stream
Size: 719 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20080516/d0ba1207/attachment.obj>

More information about the Pacemaker mailing list