Oracle Enterprise Manager 13c release 4- How to add a target host and agent manually

Enterprise Manager tool in its release 13.4 has been up since January 2020 (ORACLE1) and its current release 13.5 since April 2021 (ORACLE2). Currently, I have been involved in a project where I had to install both Oracle Management Repository (Management Repository) (ORACLE3) following by the installations of the agents in several servers. Therefore, in this post, I will show how you can deploy an agent release 13.4 in a server that runs Oracle Database after configuring an Oracle Management Repository in another server. Thus, one of the primary steps that must be done is to add both the server where Oracle Management Repository (Management Repository) was installed and the server where the agent will be installed in the /etc/hosts file. Therefore, both servers will communicate with each other and avoid any errors while installing the agent. After that, go to the web-based application Oracle Management Service (OMS)(ORACLE3) and follow these steps:

Setup-> Add Target -> Add Targets Manually

If this is your first installation, click in “Install Agent on Host” under “Add Host Targets” section , after in the “ADD+” button and fill in database name and platform type: (In this example dbtechdatabasket.localdomain is the name and Linux x86-64 is the platform type):

Click “next” and fill in the installation Base Directory:

Near “Named Credential,” click on the “+” button and add all the user credentials to connect to the server as below:

The output will be like this:

From this moment, we start the deployment of the agent.

Execute the script in the target host as below:

[root@]# /u01/agentoem/agent_13.4.0.0.0/root.sh

Finished product-specific root actions.
/etc exist

Creating /etc/oragchomelist file…
You have new mail in /var/spool/mail/root
[root@]#

Go to “Targets”->”Hosts” to see the new host added as an agent in the OEM 13c.

So from now on, you can add the target databases and listeners under the agent installed in this host. Another post will be added to this blog about adding targets databases and listeners. Stay tuned!

References:

https://blogs.oracle.com/oem/oracle-enterprise-manager-134-is-now-available-for-download (ORACLE1)

https://blogs.oracle.com/oem/announcing-oracle-enterprise-manager-13c-release-5 (ORACLE2)

https://docs.oracle.com/cd/E63000_01/EMCON/overview.htm#CJAHFCGG (ORACLE3)

Related posts

Leave a Comment