Tuesday, September 20, 2016

OEM 12c: Removing Host Agent Binaries and Target from monitoring

OEM 12c: Removing Host Agent Binaries and Target from monitoring

1.       Remove target from OEM .

Navigate to Setup => Manage Cloud Control => Agents.
Expand the drop-down menu near the "Agent"
Expand the "Target Setup" option.
Select "Remove Target"

2.       Stop agent from host .
Login to agent host with oracle e.g edw-ntz-0a1-lp

$ emctl stop agent.

3.       Decommission Agent from OEM server .
Navigate to Setup => Manage Cloud Control => Agents
Select your target.



Then Navigate to Agent > Target setup > Agent Decommission.




Then continue.



Again continue > OK


And wait for few mins to complete this process.

4.       Remove the Agent software on the Agent host using AgentDeinstall perl script.

Login to agent host with oracle.
$export AGENT_HOME= /usr/oracle/agent12c/core/12.1.0.5.0
$perl $AGENT_HOME/sysman/install/AgentDeinstall.pl -agentHome $AGENT_HOME
In last you will get the output like this.
Deinstall in progress (Tuesday, September 20, 2016 2:49:49 PM PDT)
Configuration assistant "Agent Deinstall Assistant" succeeded
............................................................... 100% Done.
Deinstall successful
End of install phases.(Tuesday, September 20, 2016 2:49:56 PM PDT)
End of deinstallations
Please check '/home/oracle/oraInventory/logs/silentInstall2016-09-20_02-49-46PM.log' for more details.

NOTE: The targets monitored by this Management Agent will not be deleted in the Enterprise Manager Repository by this deinstall script. Make sure to delete the targets manually from the Cloud Control Console for a successful deinstallation.


1 comment: