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
SQL>startup
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

stop
agent
$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
etc.

7 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,
    Ergem.

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

  3. sushma says:

    Hey Really Thanks for sharing the best information regarding category, hope you will write more great blogs.
    Oracle Fusion Financials Online Training

  4. Sravani says:

    Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information.

    Oracle Fusion HCM Online Training

  5. Santhosh says:

    I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.

    Oracle Fusion SCM Online Training

  6. harsha says:

    Really thanks for sharing such a wonderful blog.
    Oracle Fusion Financials Online Training

  7. Naga says:

    Very interesting blog, keep posting such an informative post.

    Oracle Fusion Financials Online Training

Powered by Blogger.

Page Views

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