DOYENSYS Knowledge Portal

We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal

Tuesday, January 17, 2017

How to Manually Remove the Enterprise Manager Grid/Cloud Control Agent

Steps to remove the agents in 12c:

$AGENT_HOME/bin/emctl stop agent

cd $OMS_HOME/bin

./emcli login -username=sysman

./emcli sync

[oracle@oem bin]$ emcli get_targets |grep Down

Status  Status           Target Type           Target Name
0       Down             oracle_database

./emcli delete_target -name="" -type="oracle_database"


select TARGET_NAME,TARGET_TYPE,PROPERTY_VALUE,PROPERTY_NAME  from mgmt$target_properties where target_name = ''

no rows selected

No comments: