Home > cloud control1 2c > EM12c will not delete database system targets after dropping database

EM12c will not delete database system targets after dropping database

Had an issue where I dropped a few database and i wanted to remove these from em12c , Once I deleted the databases from EM12c , I was left with the database system targets in am unknown state

grid3

When I tried deleting these targets in EM12c it threw the following error

grid2

Found a solution to delete these target using emcli

make sure all the targets belonging to the system are removed successfully.

Setup -> Manage Cloud Control -> Health Overview -> click on ‘Deleted Targets’ link -> ‘Time Deleted Column’ should have a date.

grid1

/u01/app/oracle/middleware12.1.0.3/oms/bin/emcli login -username=SYSMAN -password=xxxxx
/u01/app/oracle/middleware12.1.0.3/oms/bin/emcli  sync 
/u01/app/oracle/middleware12.1.0.3/oms/bin/emcli  delete_target -name="APPSH3.cpp_sys" -type="oracle_dbsys"
/u01/app/oracle/middleware12.1.0.3/oms/bin/emcli  delete_target -name="DBAH3.cpp_sys" -type="oracle_dbsys"
/u01/app/oracle/middleware12.1.0.3/oms/bin/emcli delete_target -name="H3PRE.cpp_sys" -type="oracle_dbsys"
Advertisements
Categories: cloud control1 2c
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: