[Pacemaker] update the failcount of promote/demote error

Junko IKEDA tsukishima.ha at gmail.com
Thu Oct 21 09:10:24 UTC 2010


Hi,

When the promote/demote action returns error code,
it seems that failcount isn't incremented,
so promote/demote action would go into a loop in some cases.
Default settings for promote/demote are implicitly-defined
(on_fail="restart" and interval=0).
Is it possible to handle them as in the case of start/stop operation?
It means, if there are some errors about promote/demote,
pacemaker considers its interval as 1 temporarily.
see attached.

Thanks,
Junko IKEDA

NTT DATA INTELLILINK CORPORATION
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_failcount_for_promote_or_demote_error.diff
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101021/34afd381/attachment-0003.bin>


More information about the Pacemaker mailing list