How to add target HOST and deploy agent on target server manually in OEM 12c
Step 1: Login to OEM 12c Cloud Control using below URL and click on “Setup Menu”.
Don’t click on “Add Target Menu”, instead just scroll your mouse on that option and click on “Add Targets Manually Menu”.
Select “Add Host Targets” option and click on “Add Host”.
Step 2: Click on “Add”. Select the radio button and enter your target host is to be monitored (Here: dc.locaoldomain). I got warning message when I entered IP address instead host name. Click NEXT.
Step 3: Now “Agent deployment” process will begin.
Create new directory on target DB server which is to be monitored and give proper permissions of oracle user to oinstall group. You can use different user for Agent Home.
Enter Agent Base Directory from target server(dc.localdomain).
Click on “Add a new Named Credential” option and enter os credentials as below. Click OK.
Click NEXT and verify the details of target DB server.
Step 4: Now “Agent Deployment” step begins. Click on “Deploy Agent” option. If you get any permission issue or any other issue then resolve the same and click continue.
I got the below warning message.
Cause:
Either set the “oracle.sysman.prov.agentpush.enablePty” property to TRUE in OEM_HOME/oms/sysman/prov/agentpush directory on OEM repository server.
Solution:
$cd /u01/app/oracle/oem12c/oms/sysman/prov/agentpush
$vi agentpush.properties
set oracle.sysman.prov.agentpush.enablePty=true
Step 5: Click Done. Check and verify the same if target host has been added successfully.
Check whether agent is up and running fine on target server (dc.localdomain).
+++++You have successfully added target host and deployed agent on target server. ++++
Thank you for your comment !