One of my friend told me that they used to have Oracle Enterprise Manager Grid Control 10g and deployed its agents to some database servers but now they removed Grid Control and want to use Oracle Enterprise Manager Database Console. Usually people ask the opposite question
Anyway, in this blog post, I’ll describe how to manually remove Enterprise Manager Grid/Cloud Control Agent and then enable Enterprise Manager Database Control on the target system. First we need to stop the agent:
|
1 |
$AGENT_HOME/bin/emctl stop agent |
If your Cloud Control is up, we need to remove agent. Login as oracle user and run the following commands:
|
1 2 3 4 |
emcli login -username=SYSMAN emcli sync emcli delete_target -name="targetsystem.testdomain.com:1836" \ -type="oracle_emd" -delete_monitored_targets |
If you have Grid Control 10g/11g, then login to the repository database as SYSMAN and execute the following:
|
1 |
exec mgmt_admin.cleanup_agent('targetsystem.testdomain.com:3872'); |
Read More


