[Pacemaker] Rule constraint monitoring interval

Sam Gardner lwnexgen at gmail.com
Wed Oct 9 12:22:53 EDT 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: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131009/2c4f0bb8/attachment-0002.html>


More information about the Pacemaker mailing list