PRIMECLUSTER Wizard for Oracle provides user interfaces that allow users to perform unique operation during Oracle instance startup.
prestartup script
Called before Oracle instance startup. If the Oracle state (STATUS of the V$INSTANCE view) has to be checked
Put the executable file that begins with “prestartup” in the “/opt/FJSVclora/usr” directory.
nomount script
Called when the Oracle status (STATUS column in V$INSTANCE view) is “STARTED” during Oracle startup. Put the executable file that begins with “nomount” in the “/opt/FJSVclora/usr” directory.
mount script
Called when the Oracle status (STATUS column in V$INSTANCE view) is “MOUNTED” during Oracle startup. Put the executable file that begins with “mount” in the “/opt/FJSVclora/usr” directory.
The rules for the user interfaces are as follows:
The file is stored in /opt/FJSVclora/usr. If there are two or more files, they will be executed in alphabetical order of the file name.
A return code of 0 indicates normal termination. A return code of other than 0 indicates abnormal termination. If the script terminates abnormally, Oracle instance startup will also fail.
System administrator access privileges are used for script execution.
The parameters are as follows:
$1:$ORACLE_HOME
$2:$ORACLE_SID
$3:Oracle user name
If the script is not completed within the timeout period for Oracle instance startup, it will be considered as abnormal exit. See step 4 of “2.2.9 userApplication with Oracle Resources”.
Using of the "su -" command is not supported for user scripts(prestartup*, nomount*, mount*) under /opt/FJSVclora/usr.
Note
The user scripts above are enabled in standby operation or scalable operation with Oracle9i RAC.
Note that they cannot be used in scalable operation with Oracle RAC 10g or later.