[Pacemaker] Rule constraint monitoring interval

Sam Gardner lwnexgen at gmail.com
Wed Oct 9 16:22:53 UTC 2013


As I understand it, there are two ways to monitor the status of a resource.

1) Use the monitor action on the resource agent script - this is equivalent
to polling the resource at every <monitor interval>

2) Write a value into the cib, and create a constraint rule and scoring to
handle failover based on the value of that attribute. This is what the
ocf:heartbeat:ethmonitor resource agent does.

In the second case, what is the interval at which the cib value is
monitored? Does the constraint rule just get checked on an event basis -
ie, whenever the cib value changes, the rule is evaluated again)?

Thanks,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131009/2c4f0bb8/attachment-0003.html>


More information about the Pacemaker mailing list