PRIMECLUSTER Wizard for Oracle allows users to execute their own unique processing before or after startup or stop of Oracle instances and listeners (Online/ Offline processing). For example, application startup/stop and batch processing can be executed along with startup or stop of Oracle instances and listeners.
See
For information on how to set up the script, see “2.2.8 Oracle Resource Creation and Setting” or “2.3.5 userApplication with Oracle RAC Instances and Listeners”.
Script
PreOnlineScript
Executed before Online processing
PostOnlineScript
Executed after Online processing
PreOfflineScript
Executed before Offline processing
PostOfflineScript
Executed after Offline processing
FaultScript
Executed when failures occur
Notice
Execute the scripts using root privileges.
The exit code 0 indicates normal termination. The value other than 0 indicates abnormal termination or Online processing and Offline processing of userApplication failure.
If the script exceeds the maximum execution time (ScriptTimeout), switching process will fail.
Each script has the environment variable defined in RMS.
See
For details of each script, see “2.6.3 Script” of the “PRIMECLUSTER RMS Configuration and Administration Guide”.