Hi,

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

NTT DATA INTELLILINK CORPORATION

Attachment: crm_attribute.patch
Description: Binary data

_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to