PURPOSE -------
To show how to start the Oracle9i Application Server Release 2 (9.0.2) Infrastructure instance.
Scope and Application ---------------------
The Infrastucture consists of the Metadata Repository Database, Single Sign-On Server (SSO), Oracle Internet Directory (OID), and the Oracle management Server (OMS). In addition, the Infrastructure uses its own Oracle HTTP Server (OHS), Oracle Containers for Java (OC4J), and Web Cache, managed by the Oracle Process Manager (OPMN).
Commands to Start/Stop all the Processes in Infrastructure Install ------------------------------------------------------------------
Set the environment variable $ORACLE_HOME to your 9iAS Infrastructure directory for all of these commands. Some extra setting are required, as stated below:
1) Database listener
To Start
$ORACLE_HOME/bin/lsnrctl start
To Stop
$ORACLE_HOME/bin/lsnrctl stop
2) Repository Database
Set the environment variable ORACLE_SID
To Start
$ORACLE_HOME/bin/sqlplus At the SQL prompt > sys/change_on_install as sysdba At the SQL prompt > startup
To Stop
$ORACLE_HOME/bin/sqlplus At the SQL prompt > sys/change_on_install as sysdba At the SQL prompt > shutdown normal [or immediate or abort option]
In the above commands, if the sys password has been changed, instead of change_on_install, please give the new password.
3) Oracle Internet Directory (OID)
Set the environment variable ORACLE_SID. (Before this step, Steps 1 and 2 must be completed)
To Start
<OH>/bin/oidmon start then wait for a minute to start oidmon <OH>/bin/oidctl server=oidldapd configset=0 instance=n start Where instance can be any number like 1,2,etc. which are not already started (in use)
To Stop
<OH>/bin/oidctl server=oidldapd configset=0 instance=n stop Where configset is optional while stopping and instance should be the same instance which is already started Then wait for couple of minutes for all the OID processes to shutdown <OH>/bin/oidmon stop
4) OPMN, OHS, OC4J instances
To Start
$ORACLE_HOME/opmn/bin/opmnctl startall
To Stop
$ORACLE_HOME/opmn/bin/opmnctl stopall
5) Single Sign-On (SSO)
If you do the above 4 steps, then your SSO will be accessible. (There is no other specific process for SSO to start/stop)
6) Enterprise Manager (EM)
Set the environment variable DISPLAY to a console
To Start
$ORACLE_HOME/bin/emctl start
To Stop
$ORACLE_HOME/bin/emctl stop
7) OMS Server [If it is configured.]
To Start
$ORACLE_HOME/bin/oemctl start oms
To Stop
$ORACLE_HOME/bin/oemctl stop oms
8) Agent [This is required only if OMS is configured and running]
To Start
$ORACLE_HOME/bin/agentctl start
To Stop
$ORACLE_HOME/bin/agentctl stop
9) Web Cache [If it is configured. By default in Infrastructure it will NOT be configured and started]
To Start
$ORACLE_HOME/webcache/bin/webcachectl start
To Stop
$ORACLE_HOME/webcache/bin/webcachectl stop |