Contents
Post Installation Tasks
Setup Env Variables
All Unix
* ORACLE_HOME=
* PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$PATH
* DISPLAY=hostname:display_number.screen_number
Linux
* LD_LIBRARY_PATH=$ORACLE_HOME/lib
Solaris
* LD_LIBRARY_PATH=$ORACLE_HOME/lib32
* LD_LIBRARY_PATH_64=$ORACLE_HOME/lib
AIX
* LIBPATH=$ORACLE_HOME/lib32 # 32 bit
* LIBPATH=$ORACLE_HOME/lib # 64 bit
* LD_LIBRARY_PATH=
HP-UX
* SHLIB_PATH=$ORACLE_HOME/lib32
* LD_LIBRARY_PATH=$ORACLE_HOME/lib
Windows
* ORACLE_HOME
* TEMP
* TMP
Manager Server Instances
Check Server Status and Port Numbers
ORACLE_HOME/opmn/bin/opmnctl status -l
Start/Stop All Servers
ORACLE_HOME/opmn/bin/opmnctl startall
ORACLE_HOME/opmn/bin/opmnctl stopall
Start/Stop Oracle HTTP Server
ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=HTTP_Server
ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=HTTP_Server
Start/Stop/Restart Components
* To start, stop, or restart a component using opmnctl:
opmnctl stopproc ias-component=component
opmnctl startproc ias-component=component
opmnctl restartproc ias-component=component
* To start, stop, or restart the sub-process of a component:
opmnctl stopproc process-type=process
opmnctl startproc process-type=process
opmnctl restartproc process-type=process
* To start, stop, or restart an application, such as Application Server Control:
opmnctl startproc application=app_name
opmnctl stopproc application=app_name
opmnctl restartproc application=app_name
* To view the status of components and processes:
opmnctl status -l
Start/Stop Application Server Environment
An environment can consist of multiple OracleAS Infrastructure and middle-tier instances distributed across multiple hosts. These instances are dependent on each other and it is important to start and stop them in the proper order.
* Start order
OracleAS Metadata Repository
ORACLE_HOME/bin/lsnrctl start ORACLE_HOME/bin/sqlplus /nolog SQL> connect SYS as SYSDBA SQL> startup SQL> quit ORACLE_HOME/bin/emctl start dbconsole
-> Oracle Identity Management
-> Middle-tier instances
ORACLE_HOME/opmn/bin/opmnctl startall ORACLE_HOME/bin/emctl start iasconsole
* Stop order
Middle-tier instances
-> Oracle Identity Management
ORACLE_HOME/bin/emctl stop iasconsole ORACLE_HOME/opmn/bin/opmnctl stopall
-> OracleAS Metadata Repository
ORACLE_HOME/bin/sqlplus /nolog SQL> connect SYS as SYSDBA SQL> shutdown SQL> quit ORACLE_HOME/bin/lsnrctl stop ORACLE_HOME/bin/emctl stop dbconsole