How to Stop and Start the Oracle Management Service (OMS) and Oracle Enterprise Manager(OEM) agent services
How to Stop and Start the Oracle Management Service (OMS) and Oracle Enterprise Manager(OEM) agent services
In this post I am sharing how to start and stop the services on OMS server for OEM 12c/13c
Stopping the Services
1. Stop the OMS.
#Go to the OMS HOME location stop with emctl command
$OMS_HOME/bin/emctl stop oms -all
2. Stop the Agent.
#Go to the AGENT HOME location stop with emctl command
$AGENT_HOME/bin/emctl stop agent
3. Stop the Management Repository database.
#Source Oracle Home to Management Repository Oracle database
export ORACLE_HOME=/u01/oracle/app/db/12.1.0
#Source SID to Management repository database
export ORACLE_SID=BEE122
sqlplus / as sysdba
Shutdown immediate;
4. Stop the Listener.
$ORACLE_HOME/bin/lsnrctl stop
Starting the Services
1. Set the Oracle home for Management Repository.
#Source Oracle Home to Management Repository Oracle database
export ORACLE_HOME=/u01/oracle/app/db/12.1.0
#Source SID to Management repository database
export ORACLE_SID=BEE122
2. Start the Listener associated with Database.
$ORACLE_HOME/bin/lsnrctl start
3. Start the Oracle Database which having management repository.
sqlplus / as sysdba
startup
4. Start the Oracle Management Service.
#Go to the OMS HOME location start with emctl command
$OMS_HOME/bin/emctl start oms
5. Start the agent service.
#Go to the AGENT HOME location start with emctl command
$AGENT_HOME/bin/emctl start agent

Comments
Post a Comment