User's Manual

3.1 Set up Oracle-related script
Script files on a PRIMECLUSTER system control each resource startup and stop. Script files in
PRIMECLUSTER Wizard also start and stop of the Oracle instance and Oracle listener. Along
with this Oracle startup and stop, the scripts can execute user programs and batch process.
PreOnlineScript
Executed before Online processing
PostOnlineScript
Executed after Online processing
PreOfflineScript
Executed before Offline processing
PostOfflineScript
Executed after Offline processing
FaultScript
Executed when a fault occurs
Notice
System administrator access privileges are used for execution.
The exit code 0 indicates normal termination. The value other than 0 indicates abnormal
termination or switching process failure.
The script is abnormally terminated when the execution time exceeds the given timeout.
This also causes a failure during switchover process.
Each script has the environment variable defined in RMS.
See “PRIMECLUSTER RMS Configuration and Administration” for further details.
24