Start and Stop the Oracle Enterprise Manager(OEM) and agent services in Oracle

Start and Stop the Oracle Enterprise Manager(OEM) and agent services in Oracle

Start and Stop the OEM and agent services in Oracle cloud control

Start the OEM and Agent Services
Start all the Cloud Control components on a Server.

1. Set the Oracle home for Management Repository.

-- Set the Oracle Home to Management Repository Oracle database
SET ORACLE_HOME=C:\Oracle\12.2.0\dbhome_1
--Set SID to Management repository database
SET ORACLE_SID=ORCL

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 OEM binary file location and start with emctl command
OMS_HOME/bin/emctl start oms

5. Start the agent service.

--Go to Agent Home location and start agent with emctl command
AGENT_HOME/bin/emctl start agent

Stop the OEM and Agent Services

1. Stop the OMS.

$ORACLE_HOME/bin/emctl stop oms -all

2. Stop the Agent.

$AGENT_HOME/bin/emctl stop agent

3. Stop the Management Repository database.

--Set Oracle Home and Oracle Sid for Management Repository database
sqlplus / as sysdba
Shutdown immediate;

4. Stop the Listener.

lsnrctl stop

This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

1 thought on “Start and Stop the Oracle Enterprise Manager(OEM) and agent services in Oracle

Leave a Reply