Oracle instance Startup
Startup procedure of an Oracle instance is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysdba
startup nomount or startup mount
alter database mount (if "startup nomount" was executed at step "4")
alter database open
Initialized parameter file and server parameter file
The initialized parameter file is not specified for Oracle startup through PRIMECLUSTER Wizard for Oracle, so the default initialized parameter file will be used instead. Specify the initialized parameter file for the following default path (symbolic link).
<$ORACLE_HOME>/dbs/init<$ORACLE_SID>.ora
The server parameter file should be located in the shared disk because it is dynamically changed. When you use the server parameter file, specify the full path of the server parameter file to the initialization parameter file. Refer to "2.2.6 Oracle Database Creation and Setting".
It is recommended that the initialization parameter file settings are the same on the operating nodes and standby nodes.
Note
In single-node cluster operation, the definition described at "Initialized parameter file and server parameter file" is not necessary.
Recovery processing
PRIMECLUSTER Wizard for Oracle recovers the Oracle instance in the following cases:
When there is ACTIVE table space in the V$BACKUP view.
When there are files required to be recovered in the V$RECOVER_FILE view.
DBA authentication
PRIMECLUSTER Wizard for Oracle connects to Oracle instance with SYSDBA system privilege to start up or stop Oracle instance/database. In this case, local connection in operating system authentication is used.
Oracle instance Shutdown
Shutdown procedure of an Oracle instance by user operation is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysdba
shutdown <immediate / abort / transactional> (Setup with StopModeStop)
Default : immediate
If Oracle is not stopped at step "4" (except for abort), use shutdown abort.
If Oracle is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.
Shutdown procedure of an Oracle instance by resource failure or failover is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysdba
shutdown <immediate / abort> (Setup with StopModeFail)
Default : abort
If Oracle is not stopped at step "4" (except for abort), use shutdown abort.
If Oracle is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.
Listener Startup
Startup procedure of a Listener is as follows:
su - <Oracle user>
lsnrctl start <ListenerName>
Makes sure that a Listener process does exist.
Listener Shutdown
Shutdown procedure of a Listener is as follows:
su - <Oracle user>
lsnrctl stop <ListenerName>
Makes sure that a Listener process does not exist.
If Listener is not stopped at step "3", shut it down forcibly by sending SIGKILL to the background process.
ASM instance Startup
Startup procedure of an ASM instance is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysasm
startup mount (if "STARTED" already, "alter diskgroup all mount" is executed.)
ASM instance Shutdown
Shutdown procedure of an ASM instance by user operation is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysasm
shutdown <immediate / abort / transactional> (Setup with StopModeStop)
Default : immediate
If ASM is not stopped at step "4" (except for abort), use shutdown abort.
If ASM is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.
Shutdown procedure of an ASM instance by resource failure or failover is as follows:
su - <Oracle DBA user>
sqlplus / nolog
connect / as sysasm
shutdown <immediate / abort> (Setup with StopModeFail)
Default : abort
If ASM is not stopped at step "4" (except for abort), use shutdown abort.
If ASM is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.