OEM 12C startup and shutdown procedure step by step

OEM 12C startup and shutdown

OEM 12C startup and shutdown – In this article I will share the steps of OEM to stop and start the services from backend server where you have configured the OEM services. OEM is the tool which are very helpful in real-time environment to monitor all the target and host server. 

Oracle Management Service

Oracle Management Service is a Web-based application managed the discover targets, monitor and manage those targets, and store the collected information in a repository for future reference and analysis. Oracle Management Service also renders the user interface for Enterprise Manager Cloud Control. Oracle Management Services is deployed to the Oracle middleware home (middleware home), which is the parent directory that contains the Oracle WebLogic Server home, the Oracle Management Service home, the Management Agent home. etc.

Oracle Management Agent

Oracle Management Agent (Management Agent) is an integral software component that is deployed on each monitored host. It is responsible for monitoring all of the targets running on those hosts, communicating that information to the middle-tier Oracle Management Service, and managing and maintaining the hosts and its targets.

You can download the OEM12C software from this link Oracle Enterprise Manager Downloads

Oracle Enterprise Manager Cloud Control 13c Release 5 (13.5.0.0.0)New!

Enterprise Manager Base Platform (Full Installers for OMS, Agent, Repository, Management Plug-ins)

Action task :

The purpose of this document is to provide the process for startup and shutdown of OEM 12c server.

Workaround:

This article are created for testing purpose which help you to learn about startup and shutdown the OEM 12c server.

Check the steps of practice

  • Action task
  • Workaround
  • Check the steps of practice
  • OEM 12c startup and shutdown procedure

OEM 12c shutdown steps

cd /msdb/db/omonitor11g/oms12cr5/oms/bin/
   
./emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up


./emctl stop oms

OEM AGENT shutdown steps

cd /msdb/db/omonitor11g/agent12c/agent_inst/bin/

./emctl status agent

./emctl stop agent

Now if you want to shutdown the OEM12C repository database then you have to login to sqlplus.

[omonitor@testserver01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue Jan 1 14:21:39 2022

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options

SQL> 
SQL > shu immediate

OEM 12c database startup

sqlplus "/ as sysdba"

startup

OEM 12c Enterprise Manager startup

cd /msdb/db/omonitor11g/oms12cr5/oms/bin/

./emctl stop oms -all

./emctl start oms

./emctl status oms

Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up

OEM AGENT startup steps

cd /msdb/db/omonitor11g/agent12c/agent_inst/bin/

bash-4.1$ ./emctl clearstate agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
EMD clearstate completed successfully

bash-4.1$ ./emctl start agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Starting agent ........................ started.

bash-4.1$ ./emctl upload agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
bash-4.1$
bash-4.1$
bash-4.1$ ./emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 12.1.0.5.0
OMS Version            : 12.1.0.5.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /msdb/db/omonitor11g/agent12c/agent_inst
Agent Log Directory    : /msdb/db/omonitor11g/agent12c/agent_inst/sysman/log
Agent Binaries         : /msdb/db/omonitor11g/agent12c/core/12.1.0.5.0
Agent Process ID       : 28567
Parent Process ID      : 28389
Agent URL              : http://testserver01.com:1830/emd/main/
Local Agent URL in NAT : http://testserver01.com:1830/emd/main/
Repository URL         : http://testserver01.com:4903/empbs/upload
Started at             : 2017-06-01 05:17:47
Started by user        : omonitor
Operating System       : Linux version 2.6.32-642.6.2.el6.x86_64 (amd64)
Last Reload            : (none)
Last successful upload                       : 2017-06-01 05:18:13
Last attempted upload                        : 2017-06-01 05:18:13
Total Megabytes of XML files uploaded so far : 0.07
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 67.88%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2017-06-01 05:17:55
Last successful heartbeat to OMS             : 2017-06-01 05:17:55
Next scheduled heartbeat to OMS              : 2017-06-01 05:18:55

---------------------------------------------------------------
Agent is Running and Ready
bash-4.1$ 

Login to OEM12C homepage.

http://testserver01.com:7802/em

Pass the admin login credential what you have.

If you want to learn how to install the OEM12C click on – Installation of OEM12C

Please share this Blog with your colleagues or friends. Your suggestions and feedback are very helpful for everyone who come to this site and learn it from oracleocpworld.com.
Please comment here for your any query related to above post. You can email me on : oracleocpworld@gmail.com.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top