Oracle instance Startup
Startup procedure of an Oracle instance is as follows:
su - <Oracle 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 instance 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 user>
sqlplus /nolog
connect / as sysdba
shutdown <immediate / abort / transactional> (Setup with StopModeStop)
Default : immediate
If Oracle instance is not stopped at step "4" (except for abort), use shutdown abort.
If Oracle instance 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 user>
sqlplus /nolog
connect / as sysdba
shutdown <immediate / abort> (Setup with StopModeFail)
Default : abort
If Oracle instance is not stopped at step "4" (except for abort), use shutdown abort.
If Oracle instance 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.
Oracle ASM instance Startup
Startup procedure of an Oracle ASM instance is as follows:
Oracle Database 11g R1/11g R2/12c R1(12.1.0.1)
su - <Oracle user>
sqlplus /nolog
connect / as sysasm
startup mount (if "STARTED" already, "alter diskgroup all mount" is executed.)
Oracle Database 12c R1 PSR12.1.0.2 or later
su - <Oracle user>
srvctl enable asm
srvctl start asm
srvctl disable asm
Oracle ASM instance Shutdown
Oracle Database 11g R1/11g R2/12c R1(12.1.0.1)
Shutdown procedure of an Oracle ASM instance by user operation is as follows:
su - <Oracle user>
sqlplus /nolog
connect / as sysasm
shutdown <immediate / abort / transactional> (Setup with StopModeStop)
Default : immediate
If the Oracle ASM is not stopped at step "4" (except for abort), use shutdown abort.
If the Oracle ASM is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.
Shutdown procedure of an Oracle ASM instance by resource failure or failover is as follows:
su - <Oracle user>
sqlplus /nolog
connect / as sysasm
shutdown <immediate / abort> (Setup with StopModeFail)
Default : abort
If the Oracle ASM is not stopped at step "4" (except for abort), use shutdown abort.
If the Oracle ASM is not stopped at step "4" or "5", shut it down forcibly by sending SIGKILL to the background processes.
Oracle Database 12c R1 PSR12.1.0.2 or later
Shutdown procedure of an Oracle ASM instance by user operation is as follows:
su - <Oracle user>
srvctl stop asm -stopoption <immediate/abort/transactional (Setup by "StopModeStop")> -force
default : immediate
If the Oracle ASM has not stopped in "2", execute the following. (When choosing excluding "abort" in "2")
sqlplus /nolog
connect / as sysasm
shutdown abort
If the Oracle ASM has not stopped in "2" or "3", abort the background process by sending SIGKILL.
Shutdown procedure of an Oracle ASM instance by resource failure or failover is as follows:
su - <Oracle user>
srvctl stop asm -stopoption <immediate/abort (Setup by "StopModeFail")> -force
default : abort
If the Oracle ASM has not stopped in "2", execute the following. (When choosing excluding "abort" in "2")
sqlplus /nolog
connect / as sysasm
shutdown abort
If the Oracle ASM has not stopped in "2" or "3", abort the background process by sending SIGKILL.