• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to check the status of OMS and Agent in OEM 13cR2

by admin

Enterprise Manager Cloud Control setup consists of these components:

  • Oracle Management Service (OMS)
  • Oracle Management (Cloud Control) Repository, hosted in a certified Oracle Database.
  • Oracle Management (Cloud) Agent, installed on the target machines (including the OMS machine as well), which need to be monitored from Grid Console.

We used 2 servers, one for the Database server and another one is for the management server.

10.237.1.207 em13c.localdomain em13c
10.237.2.107 host01.localdomain host01

This post focuses on getting the status details for OMS and Agent in OEM 13cR2.

Check the status of OMS

To check the status of OMS, we can login to em server.

$ emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
BI Publisher Server is Down

To get more details about port and URL, then we can use -details in status command.

$ emctl status oms -details
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : em13c.localdomain
HTTP Console Port : 7788
HTTPS Console Port : 7802
HTTP Upload Port : 4889
HTTPS Upload Port : 4903
EM Instance Home : /u01/app/oracle/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://em13c.localdomain:7802/em
Upload URL: https://em13c.localdomain:4903/empbs/upload

WLS Domain Information
Domain Name : GCDomain
Admin Server Host : em13c.localdomain
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: em13c.localdomain
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up

BI Publisher Server Information
BI Publisher Managed Server Name: BIP
BI Publisher Server is Down

BI Publisher HTTP Managed Server Port : 9701
BI Publisher HTTPS Managed Server Port : 9803
BI Publisher HTTP OHS Port : 9788
BI Publisher HTTPS OHS Port : 9851
BI Publisher is locked.
BI Publisher Server named 'BIP' is configured to run at URL: https://em13c.localdomain:9851/xmlpserver
BI Publisher Server Logs: /u01/app/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/
BI Publisher Log : /u01/app/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/bipublisher/bipublisher.log

Check the status of EM13c Agent

To check the status of Agent in Em13c, use below command:

$ emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 13.2.0.0.0
OMS Version : 13.2.0.0.0
Protocol Version : 12.1.0.1.0
Agent Home : /u01/app/oracle/agent/agent_inst
Agent Log Directory : /u01/app/oracle/agent/agent_inst/sysman/log
Agent Binaries : /u01/app/oracle/agent/agent_13.2.0.0.0
Core JAR Location : /u01/app/oracle/agent/agent_13.2.0.0.0/jlib
Agent Process ID : 8372
Parent Process ID : 8276
Agent URL : https://em13c.localdomain:3872/emd/main/
Local Agent URL in NAT : https://em13c.localdomain:3872/emd/main/
Repository URL : https://em13c.localdomain:4903/empbs/upload
Started at : 2018-04-22 02:13:05
Started by user : oracle
Operating System : Linux version 3.8.13-26.2.1.el6uek.x86_64 (amd64)
Number of Targets : 27
Last Reload : (none)
Last successful upload : 2018-04-23 19:15:53
Last attempted upload : 2018-04-23 19:15:53
Total Megabytes of XML files uploaded so far : 2.3
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 29.28%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2018-04-23 19:21:42
Last successful heartbeat to OMS : 2018-04-23 19:21:42
Next scheduled heartbeat to OMS : 2018-04-23 19:22:42

---------------------------------------------------------------
Agent is Running and Ready

Filed Under: oracle

Some more articles you might also be interested in …

  1. How to quiesce an Oracle 12c RAC database
  2. Oracle SQL Script to Detect Tablespace Fragmentation
  3. Oracle Database 18c New Feature – Memoptimized Rowstore
  4. How to Use Recovery Manager (RMAN) to back up and restore files in a Data Guard configuration
  5. How to Enable Fast-Start Failover using Enterprise Manager
  6. Archived Redo File Conventions in Oracle RAC
  7. Oracle Database 12.2 RMAN Cross Platform Tablespace Transport Over Network
  8. How To Setup UDEV Rules For RAC OCR And Voting Devices on Partitions
  9. SQL Script to Monitor Usage of Indexes
  10. How to add or drop redo log groups in Oracle RAC

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright