Installation guide

Page 50 of 59
Similar to the above, if the Middle tier is located on a different server than the
Infrastructure tier, you can issue the following commands from the middle tier Oracle
Home to start and stop the instance:
$ORACLE_HOME/bin/runstartupconsole.sh start
$ORACLE_HOME/bin/runstartupconsole.sh stop
These commands start and stop the following in the Oracle Home for the middle tier:
OPMN and all of the processes that OPMN manages, including: DCM, Oracle
HTTP Server, OC4J instances, OracleAS Web Cache, OracleAS Forms Services,
and OracleAS Reports Services
Enterprise Manager Application Server Control Console
The opmnctl command can be used to start, stop, or restart individual OracleAS
components.
$ORACLE_HOME/bin/opmnctl startproc ias-component=component
$ORACLE_HOME/bin/opmnctl stopproc ias-component=component
$ORACLE_HOME/bin/opmnctl restartproc ias-component=component
The opmnctl command can also be used to start, stop, or restart the sub-processes of a
component:
$ORACLE_HOME/bin/opmnctl startproc process-type=process
$ORACLE_HOME/bin/opmnctl stopproc process-type=process
$ORACLE_HOME/bin/opmnctl restartproc process-type=process
You can start or stop most opmn managed processes with the following commands:
$ORACLE_HOME/bin/opmnctl startall
$ORACLE_HOME/bin/opmnctl stopall
The startall command does not automatically start the Log Loader component. Instead,
you have to use the component level syntax:
$ORACLE_HOME/bin/opmnctl startproc ias-component=LogLoader
In a multi-tier, multi-server deployment, OracleAS instances have to be started and
stopped in a particular sequence. Regardless of how many servers are involved, start up
OracleAS instances in the following order:
1. Start any Infrastructure instances that contain only a Metadata Repository
instance. You do not need to use opmnctl to start any processes, and you do not
need to start Application Server Console.
2. Start any Infrastructure instance that contains Oracle Internet Directory. If the
same server contains an OID instance and a Metadata Repository instance, start
the Metadata Repository instance first.
3. Start OracleAS middle-tier Clusters. If there are multiple clusters, start them in
any order.
4. Start other middle-tier instances.
Stop the instances in the following order:
1. Stop OracleAS middle-tier Clusters.
2. Stop other middle-tier instances.