Additional Information About the Agent
Startup and Shutdown Options
You can specify Startup and Shutdown options for configured Oracle instances.
Startup Options
The agent supports the following startup options:
Startup Option
|
Description
|
STARTUP
(Default)
|
Runs startup pfile='location_of_pfile' force if the pfile is configured.
If the pfile is not configured, the agent runs startup force. It picks up the default parameter files from their default locations.
|
RESTRICTED
|
Starts the database in the RESTRICTED mode.
|
RECOVERDB
|
Performs a database recovery on instance startup.
|
CUSTOM
|
Uses a predefined SQL script (start_custom_$SID.sql) and runs custom startup options. The script must be in the $VCS_HOME/bin/Oracle directory and must have access to the Oracle Owner OS user. If the file is not present, the agent logs an error message.
With a custom script, the agent takes the following action:
sqlplus /nolog <<!
connect / as sysdba;
@start_custom_$SID.sql
exit;
!
|
SRVCTLSTART
|
Uses the srvctl utility to start an instance of the database. Use this option for RAC clusters for Oracle9i R2 and later.
|
Shutdown Options
The agent supports the following shutdown options:
Shutdown Option
|
Description
|
IMMEDIATE
(Default)
|
Shuts down the Oracle instance by running shutdown immediate.
|
SRVCTLSTOP
|
Sets up srvctl as the client tool and uses srvctl syntax to shut down the instance. This option is valid only for RAC instances in versions 9.2.0 and above.
|
TRANSACTIONAL
|
Runs the shutdown transactional command. This option is valid only for databases that support this option.
|
CUSTOM
|
Uses a predefined SQL script (shut_custom_$SID.sql) and runs custom shutdown options. The script must be in the $VCS_HOME/bin/Oracle directory and must have access to the Oracle Owner OS user. If the file is not present, the agent shuts the agent down with the default option.
|
SRVCTLSTOP
|
Uses the srvctl utility to stop an instance of the database. Use this option for RAC clusters for Oracle9i R2 and later.
|
|