[ClusterLabs] Q: start/stop/order/colocate resources based on an attribute value
Ulrich.Windl at rz.uni-regensburg.de
Tue Nov 26 02:40:53 EST 2019
I'm thinking about some mechanism that involves remote probing of some resource. As a result of such probing an attribute value would be set (like 0|1, maybe even multiple values).
Is it possible to start a resource after the attribute is set to 1 (and stop it when the attribute changes to 0)?
Is it possible to wait for start until the attribute is 1?
Is it possible to suspend monitoring (or to ignore the results of it) if the attribute is 0? (That would be to avoid "false" monitoring errors)
When on multiple nodes is it possible to colocate a resource where the attribute is 1?
Obviously such things have to be done using rules, but I haven't found any examples going in such direction.
More information about the Users