Removing a agent from oracle 12c OEM & Remove Monitoring
target from OMS
Stop the agent on the target server
#1 set the environment variables on the agent server
#2 stop the agent
oracle@bhudb01> emctl stop agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
Stopping agent ..... stopped.
#3 Login to the oms server and login to system
oracle@ bhuoms:~> emcli login -username=sysman
Enter password :
Login successful
oracle@ bhuoms:~>
oracle@bhuoms:~>
emcli delete_target -name="bhudb01.isihost.com:3872"
-type="oracle_emd" -delete_monitored_targets
Target "bhudb01.isihost.com:3872:oracle_emd" deleted
successfully
#4 you can De-install using Graphical(OUI) & silent one.
I am going to use GUI method
Connect to the Agent server
Make sure the agent is down.
$ cd $AGENT_HOME/12.1.0.4.0/oui/bin
$ ./runInstaller
You will get the OUI, click on the deinstall products
Step#1 chose the sbin
& other plugin homes.
Step#2 remove the agent
Step#3 exit the OUI and clean the $AGENT_HOME location.
If you want you can go ahead with the different agent
installation; my case I am hitting a bug where I am asked to installed 32bit
agent on the 64bit server.
No comments:
Post a Comment