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
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to