To apply customized actions to a server fault monitor, you must specify the custom action file that the fault monitor should use. Customized actions are applied to a server fault monitor when the server fault monitor reads a custom action file. A server fault monitor reads a custom action file when the you specify the file.
Specifying a custom action file also validates the file. If the file contains syntax errors, an error message is displayed. Therefore, after modifying a custom action file, specify the file again to validate the file.
If syntax errors in a modified custom action file are detected, correct the errors before the fault monitor is restarted. If the syntax errors remain uncorrected when the fault monitor is restarted, the fault monitor reads the erroneous file, ignoring entries that occur after the first syntax error.
On a cluster node, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Set the Custom_action_file extension property of the SUNW.oracle_server resource.
Set this property to the absolute path of the custom action file.
# clresource set -p custom_action_file=filepath server-resource
Specifies the absolute path of the custom action file.
Specifies the SUNW.oracle_server resource.