How to Deploy Oracle Management Agent using RPM File

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/ file, enter the required values:

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

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

Please share

AWS Big Data Specialist. Oracle Certified Professional (OCP) for EBS R12, Oracle 10g and 11g. Co-author of "Expert Oracle Enterprise Manager 12c" book published by Apress. Awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for the continuous contributions to the Oracle users community. Founding member, and vice president of Turkish Oracle User Group (TROUG). Presented at various international conferences including Oracle Open World.

Leave Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.