To start the grid control you must start the agent and the web components
in the oms home along with the agent in the agent home:

Start everything

startup database
$export ORACLE_HOME=$ORACLE_BASE/OracleHomes/db10g/
$export ORACLE_SID=emrep
$sqlplus / as sysdba
start listener
$lsnrctl start
start oms server
$ORACLE_BASE/OracleHomes/oms10g/opmn/bin/opmnctl startall
start agent
$ORACLE_BASE/OracleHomes/agent10g/bin/emctl start agent

Stop everything

$ORACLE_BASE/OracleHomes/agent10g/bin/emctl stop agent
stop oms server
$ORACLE_BASE/OracleHomes/oms10g/opmn/bin/opmnctl stopall
shutdown database
$export ORACLE_HOME=$ORACLE_BASE/OracleHomes/db10g/
$export ORACLE_SID=emrep
$sqlplus / as sysdba
SQL>shutdown immediate
stop listener
$lsnrctl stop

Check status

$ORACLE_BASE/OracleHomes/oms10g/opmn/bin/opmnctl status

Processes in Instance: EnterpriseManager0.buyukada
ias-component | process-type | pid | status
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | N/A | Down
OC4J | OC4J_EM | N/A | Down
OC4J | OC4J_EMPROV | N/A | Down
WebCache | WebCache | 22513 | Alive
WebCache | WebCacheAdmin | 22514 | Alive

Start Components one by one

$ORACLE_BASE/OracleHomes/oms10g/opmn/bin/opmnctl startproc ias-component=DSA
$ORACLE_BASE/oracle/OracleHomes/oms10g/opmn/bin/opmnctl startproc ias-component=LogLoader

2 Responses so far.

  1. Hi Emre,

    You can also start or stop the process-type explicitly by running the following command.

    opmnctl startproc process-type=OC4J_EM

    this is especially useful when you have more then one OC4J container and dont want to open all of them.

    Nice post,

  2. Hi Ergem,
    Thank you very much for the useful information ;)

Powered by Blogger.

Page Views

- Copyright © Emre Baransel - Oracle Blog -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -