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 this post Share on Facebook0Share on Google+0Share on LinkedIn6Share on Reddit0Tweet about this on Twitter

Gokhan Atil is a database administrator who has hands-on experience with both RDBMS and noSQL databases (Oracle, PostgreSQL, Microsoft SQL Server, Sybase IQ, MySQL, Cassandra, MongoDB and ElasticSearch), and strong background on software development. He is certified as Oracle Certified Professional (OCP) and is awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for his continuous contributions to the Oracle users community.

Leave Comment

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