>>> Kristoffer Grönlund <[email protected]> schrieb am 25.06.2015 um 22:06 in Nachricht <[email protected]>:
[...] > Another option is to modify the resource agent and check in the monitor > action if this is the probe (ocf_is_probe). In that case, the monitor > action should return OCF_NOT_RUNNING rather than OCF_ERR_INSTALLED on > those nodes where the resource is not supposed to run. Hi! First, I think if a resource cannot be started on a node it's better to return OCF_ERR_INSTALLED rather than OCF_NOT_RUNNING, because it does not make any sense to try to start the resource on that particular node. Then, how would you check in the resource agent that a resource it not to be run on the particular node? I mean you can do it, but aren't you duplicating cluster decision logic into the resource agent (where it doesn't belong to IMHO)? Regards, Ulrich _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
