Developing action script for scriptagent
Hi,
I'm not sure this is right community to ask this question but I did not find specific one for Clusterware and custom agents. Please redirect me if there is any better choice.
I'm writing custom Clusterware resource type based on cluster_resource using scriptagent an action script. I'm using Perl 5.12.
In my script's "start" entry point, I want to tell Clusterware framework to abort starting process EVEN if the successive "check" will succeed. This is in the scenario where my "start" logic discovers that application is already running (eg. it has been started manually by administrator), which I interpret as an unusual situation for which I want resource stays in UNKNOWN state. So basically I want to have a method to abort starting process from "start" entry point whatever "check" function returns. Now it seems that even if my "start" function returns non-zero return code - Clusterware goes further and