Monday, April 29, 2013

Start/Stop Oracle Enterprise Manager 12c

To Start enterprise manager 12c you need to follow the below steps :

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export OMS_HOME=/u03/app/oracle/Middleware/om12c/oms/
export AGENT_HOME=/u03/app/oracle/Middleware/agent12c/agent_inst/

  • ensure database and listener is running
  • Run the below command from $OMS_HOME
emctl start oms

  • Run the below command from $AGENT_HOME
emctl start agent 

to Stop all the services you need to do the below :

 export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export OMS_HOME=/u03/app/oracle/Middleware/om12c/oms/
export AGENT_HOME=/u03/app/oracle/Middleware/agent12c/agent_inst/

  • Run the below command from $OMS_HOME
emctl stop oms -all

  • Run the below command from $AGENT_HOME
emctl stop agent 

  • Now you can shutdown database and listener.


Thank you
Osama mustafa

 



2 comments:

  1. I have installed a fresh copy of Linux 6.6 and Oracle database 12c enterprise.
    the emctl command does not exist in my system at all how to bring that command first in terminal .

    azwaronline@hotmail.com

    ReplyDelete
    Replies
    1. with 12c there is no more emctl read my blog about how to enable enterprise manager in 12c and it's called EM express now.

      Delete