Hi Dejan and Lars,
All right, I agree with you.
Only "max-consecutive-failures" is unsafe
in the case every other monitor operation failed, indeed.
And only "max-failures-per-period" is unsafe too.
(In the case monitor function itself takes long time)
Well then, I would like to confirm the specifications.
(i)3 settings should be added.
- max-consecutive-failures:
Maximum times in a row a monitor may fail,
Default value -> 1
- period-length:
Period in seconds to count monitor failures,
Set to zero to disable,
Default value -> 0
- max-failures-per-period:
Maximum times per period a monitor may fail,
Default value -> 1
(ii)When a condition matches even either "consecutive" or "per-period",
lrmd notifies its client that the failure occurs.
Do you have any comments?
I'm trying to implement above.
Best Regards,
Satomi Taniguchi
_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker