Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

TO remove the target from OEM

$
0
0
OEM Server:

cd $OMS_HOME/bin

./emcli login -username=sysman

./emcli sync

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

Status  Status           Target Type           Target Name
-------------------------------------------------------------------------
0       Down             oracle_database       test.doyensys.com


Command:emcli delete_target -name="Target Name" -type="Target Type"
------------------------------------------------------------------------------------------------

./emcli delete_target -name="test.doyensys.com" -type="oracle_database"

Query
=====

SQL> select TARGET_NAME,TARGET_TYPE,PROPERTY_VALUE,PROPERTY_NAME  from mgmt$target_properties where target_name = '&1';

Enter value for 1: test.pasa.pas.local
old   1: select TARGET_NAME,TARGET_TYPE,PROPERTY_VALUE,PROPERTY_NAME  from mgmt$target_properties where target_name = '&1'
new   1: select TARGET_NAME,TARGET_TYPE,PROPERTY_VALUE,PROPERTY_NAME  from mgmt$target_properties where target_name = 'test.doyensys.com'

no rows selected

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>