Monitoring your IT landscape is in many cases an under estimated topic, however IT departments spend time on doing it. But there are hardly no standards how to approach this, and in a typical IT operations team, every team uses its own tools. Either it can be some scripts, monitoring software from different vendors or some freeware/opensource.

Companies who do Oracle, often use the Oracle Enterprise Manager Cloud Control(EMC), which is a agent based centralized repository to gather diagnostic information of all connected systems, database, middleware and applications. It's a very broad and complete solution to monitor and manage IT systems.

But often the case is, that this platform is owned by one team, typically a DBA team, because EMC finds its origin from the Oracle Database. And they use it also to monitor their database. But a company running an Oracle SOA Suite or BPM or any other Fusion Middleware, it is not a common habit to use the EMC to monitor their FMW applications. The reason why is:

  • There are no management packs licensed
  • There is no or not enough knowledge how to implement and use these management packs
  • The team who owns the platform does not allow other teams to use the EMC

Management Packs are layers for specific tasks or platforms to extend the management capability of the EMC.

 

To overcome owner issues, the Oracle Management Cloud(OMC) can help. Teams can order there own subscriptions, or do it as a joined company effort to monitor their applications in the Cloud. Although OMC is not a replacement of EMC you migh notice some similarities, especially in the Infrastructure Monitoring and Compliancy Management.

But other than EMC, OMC is a more coherent solution where the different modules work closely together, more or less out of the box. An Application Performance Management uses the log analytics to drill down deep into Application Issues.

 

Now what if your company uses the EMC but wants to make uses of some of all the features of the OMC? Or better, why would a company want that? Well, a good usecase for a company is to try out the OMC, or wants to make use of one of the modules such as Log Analytics. But how to get all the information from your on premises EMC to the OMC?

You can make use of the:

 

 

Data Collector

The OMC comes with a variety of agents:

  • The Gateway Agent. An inbetween agent when your systems are not supposed to be eposed to the outside world, a Gateway Agent can be placed in your DMZ, gathers all information from all your OMC connected applications and DB's and pushes it outside the datacenter to the OMC.
  • The Cloud Agent - An agent installed to collect server information and gather logfiles for the log analytics
  • The APM Agent - An agent specificaly used for Application Performance Diagnostics. Has to be implemented in the application server infrastructure, can be a Java , Node JS, Apple ord Android or .Net agent.
  • The Data Collector. This agent can be useful to collect all the data from your EMC and to be showed in your OMC on the Infrastructure Monitoring Module.

 

 

Data Collector Implementation

 

To implement the Data Collector, you need to locate your EMC system. This can be one host or maybe separate if the OMS application and OMS database run on separate servers. It us sufficcient only to install it on the OMS appliction host ( OMS = Oracle Management System - the engine that runs EMC).

 

First step is to download the Data Collector Agent from your OMC platform:

Transfrom the package to your EMC host and unzip it in a directory.

The next task to do is to modify the agent.rsp. Modify the following

 

TENANT_ID=<YOUR OMC TENANT>

UPLOAD_ROOT=https://<youromc.europe.oraclecloud.com/

AGENT_REGISTRATION_KEY=*********************** --> to be found in

Administration --> Agents --> Registration Keys.

AGENT_BASE_DIRECTORY=/u01/app/omcagent

DATA_COLLECTOR_USERNAME=omc_collector

DATA_COLLECTOR_USER_PASSWORD=**************

OMR_USERNAME=sys

OMR_USER_PASSWORD=***********

OMR_HOST_USERNAME=oracle

OMR_STAGE_DIR=/u01/app/omcstage

 

OMR is the EMC repository. The datacollector schema will be installed in this repository.

Next is it just to run the AgentInstall.sh script, and if finished, after a while you can start the agent form your omcagent directory

/u01/app/omc/agent_inst/bin/omcli start agent

/u01/app/omc/agent_inst/bin/omcli status agent

 

 

 

From here your databases and systems monitored in EMC are now to be showned in OMC, but basic stuff. If you want to see more you will have to specify a json file and register databases against the OMC. Oracle provides for various types of json scripts for various database flavours.