Categories
OEM

Adding a Host Target in EM 13C

 

Before adding any Software Targets such as Databases, EBS, Middleware it is mandatory to add the Host Targets first in EM. In this post, we will see the simple process of adding a Host Target in EM. I am going to add a host “apps.example.com” which actually has an Oracle EBS Vision Instance running on it. Before you add the Host you need ensure below are done already:

  1. No firewall between OMS (EM) Host and Target Host. If you cannot open all ports, at least open the needed ports for e.g. 3872 on Target Host and 4889,4903 ports on EM. Always check ports needed to be opened using “emctl status oms -details
  2. Ensure both hosts are reachable from one another
  3. Create directory for emagent in Target Host for e.g. /u01/install/emagent

Adding Host Target

Adding a Host Target is very easy and self explanatory. Please find the screenshots below.

Using emctl command

Using the emctl status agent -details, you can find details of the Agent and its status as shown in the screenshot above.

Known Issues and Suggestions

You might be facing issues related to firewall, OS permissions on agent, unavailable of OS packages such as ZIP, UNZIP. These you should be able to fix easily ideally.

How to resolve issue :

Clearing an Enterprise manager agent that fails to upload

 

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

Categories
OEM Utilities

Clearing an Enterprise manager agent that fails to upload

 

This is the standard set of actions that I go through when I have problems with an EM agent that a stop/start/upload does not resolve

The two types of errors I generally see are

EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..

Starting agent …………………………… started but not ready.

Follow the steps below, which can be cut and pasted

export AGENT_HOME=/app/oracle/agent13c/agent_inst

Stop the agent

$AGENT_HOME/bin/emctl stop agent

Remove the old log files from AGENT_HOME/sysman/log

Delete any pending upload files from the agent home

rm -r $AGENT_HOME/sysman/emd/state/*

rm -r $AGENT_HOME/sysman/emd/upload/*

rm $AGENT_HOME/sysman/emd/lastupld.xml

rm $AGENT_HOME/sysman/emd/agntstmp.txt

rm $AGENT_HOME/sysman/emd/protocol.ini

Start the agent

$AGENT_HOME/bin/emctl start agent

Issue an agent clearstate from the agent home

$AGENT_HOME/bin/emctl clearstate agent

Force an upload to the OMS

$AGENT_HOME/bin/emctl upload agent

Finally I sometimes need to re-secure the agent

$AGENT_HOME/bin/emctl secure agent

 

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8