The solution applies to HP 11.21 or 11.31 and Solaris 8 and later, as well as to Veritas Cluster Server Releases 4.0 or later.
Make sure that the path to the MonitorProgram or CleamProgram exists on the system, where the Application resource is online or going to be online.
To verify the existence of the path that is specified in the MonitorProgram or CleamProgram, use the test –f command. For example:
# test –f /appdir/myapplication/mymonitor.sh
To change the path:
-
Make sure that the configuration is writable. If not, enter:
# haconf-makerw
-
Modify the value of the attribute for the Application resource. Enter:
#hares –modify res_name MonitorProgram value
-
Save the configuration. Enter:
#haconf –dump -makero