If you prefer RPM package management system to keep tracks of installed software on your systems, you can deploy Oracle Management Agent using RPM File.

First, you need to create “/usr/lib/oracle” on OMS server (if there is no such a directory). Login as root user and run the following commands:

Install the rpm-build package on the OMS host:

Switch to oracle user, and login to OEM using emcli as SYSMAN user:

List the platforms for which the Management Agent software is available on the OMS host:

As you see, there’s only Linux x86-64 agent available. Let’s create and download the RPM file for it:

Now we can copy the RPM to the target system to deploy the agent. I assume that you have already created a user for agent.

Login as root to the target system and install the RPM:

When it’s done, you need to edit /usr/lib/oracle/agent/agent.properties file, enter the required values:

OMS_HOST=cloudcontrol12.gokhanatil.com
OMS_PORT=7799
AGENT_REGISTRATION_PASSWORD=<registration_password>
AGENT_USERNAME=<user_created_for_agent>
AGENT_GROUP=<group_created_for_agent>
AGENT_PORT=3872
ORACLE_HOSTNAME=targetsystem.gokhanatil.com

Save the file and run /etc/init.d/oracle-agt:

That’s all, now you can check if agent is running:

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">