Oracle Management Cloud (OMC) – Installing Agent

Pre-Requisites

Once you have received all your credentials for OMC, you will be able to log into OMC and look at your account details.

First thing we want to do is get the Master Installer.

In OMC :

  1. On the navigation bar, click the navigator icon, and then click Oracle Management Cloud Agents.
  2. On the Oracle Management Cloud Agents page, click Download on the left navigation pane.
  3. Click the Learn more icon to access other information resources.
  4. Click the Download icon to download the master installer.

Also from this section , you can get your key that you will need with the installer. If you do not have one, just create one.

Premises Linux Database Server

Step 1 Install the agent

[x33245 oms]$ cd agentsw

[x33245 agentsw]$ ls

AgentInstall.zip

[x33245 agentsw]$ unzip AgentInstall.zip

Archive:
AgentInstall.zip

  inflating:
AgentInstall.sh

  inflating:
AgentInstall.bat

  inflating: README

[x33245 agentsw]$ pwd

/cima1/oms/agentsw

[x33245 agentsw]$ mkdir temp

[x33245 agentsw]$ pwd

/cima1/oms/agentsw

[x33245 agentsw]$ ls

AgentInstall.bat  AgentInstall.sh  AgentInstall.zip  README
temp

[x33245 agentsw]$ ./AgentInstall.sh AGENT_TYPE=cloud_agent
STAGE_LOCATION=./temp AGENT_REGISTRATION_KEY=<ENTER REGKEY> –download_only

WARNING: The current cURL version
7.15.5 does not support TLS1.2 protocol; the downloader script will attempt to
continue but may not work. Please install 7.49.1 or later versions of cURL for error-free execution.

Downloading lama agent software …

Downloading AgentInstall.sh …

[x33245 agentsw]$

[x33245 agentsw]$ cd temp

[x33245 temp]$ ls

AgentInstall.sh  lama.zip

[x33245 temp]$ ./AgentInstall.sh
AGENT_TYPE=cloud_agent AGENT_REGISTRATION_KEY=<ENTER
REGKEY> AGENT_BASE_DIR=/cima1/oms/agent -staged –ignoreUlimitCheck

WARNING: The current cURL version
7.15.5 does not support TLS1.2 protocol; the downloader script will attempt to
continue but may not work. Please install 7.49.1 or later versions of cURL for error-free execution.

Generating emaas.properties

Extracting Agent Software …

Installing the Agent …

Registering the Agent …

Downloading Certificates …

Configuring the Agent …

Cleanup temporary files …

The following configuration scripts need to be executed as
the root user

#!/bin/sh

#Root script to run

/cima1/oms/agent/core/1.16.0/root.sh

[x33245 temp]$

[root@ x33245 temp]#
/cima1/oms/agent/core/1.16.0/root.sh

/etc exist

Creating /etc/oragchomelist
file…

[root@x33245 temp]#

  • We can check in OMS, to see if we can see the agent.

Step 2 Configure the Agent

/cima1/oms/agent/plugins/oracle.em.sgfm.zip/1.16.0/configs

[root@eux3300392 configs]# ls

discovery.properties  entityid.properties  explorer.properties

[root@eux3300392 configs]# vi discovery.properties

<![if !supportLists]>
<![endif]>What we doing here is
to enable the monitoring of linux, by commenting out
the disable section highlighted below.

[x33245 bin]$ pwd

/cima1/oms/agent/agent_inst/bin

[x33245 bin]$ ./omcli
stop agent

Oracle Management Cloud Agent

Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.

Stopping agent … stopped.

[x33245 bin]$ ./omcli
start agent

Oracle Management Cloud Agent

Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.

Starting agent ………….. started.

  • If we now log into the OMS, we can see premises server being monitored.