This content has been marked as final. Show 6 replies
I have give thru this doc.
12c: How to Delete Agent/Targets Using EMCLI Delete Verb. [ID 1459204.1] To Bottom
I have 5 targets installed correctly. out of which 2 of my agents are installed into a non-standard directory.
I would like to uninstall for those 2 agents only which are deployed thru mass agent deployment.
Just wanted to confirm on this - don't want to touch the agents which are installed correctly.
I guess I should go for option b.
b) To delete a specific target:
$<EMCLI_HOME>/emcli delete_target -name="<target_name>" -type="<target_type>"
and here target_type = oracle_database is that corretc ?
one more question is will the above command also remove the software that is pushed over to target database agent servers ? do I remove everything manually by "rm" command ?
Irrespective how you install agent ( mass agent deployment or manual gaent deploy) the deinstall procedure remains the same. The deinstall of agent is very clearly documented in the guide with examples and you should follow the guide- http://docs.oracle.com/cd/E24628_01/install.121/e24089/deinstall_agent.htm#CBBCEJHG
Coming to your point that you don’t have $<AGENT_HOME>/oui/bin dir then can you confirm that the agent was installed successfully? You should have this dir and pls don’t do rm-rf and manually modify the inventory, as this can lead to more problems. If you are not able to figure the deinstall pls open an SR with oracle support and let us know the SR number.
Yes. The Agent is installed successfully. I got the message agent is installed successfully after which I ran the roo.sh on both the nodes where I installed the agent.
Other than these 2 nodes, I looked at the other target host where I have installed the agent successfully and able to monitor the target successfully from the OEM 12c. I looked at the directories underneath that target as well where I was not able to see
Installation Base Directory - /cust/oracle/app/oracle/product/agent12c
Instance Directory - /cust/oracle/app/oracle/product/agen12c/agent_inst
The only directories I could see are - bin diag install sysman on all the other installations as well.
I will create an SR will let you know the SR# here.