EM 12c: Deleting Instances with Command Line dbca does not Remove the Targets from Enterprise Manager 12c Cloud Control (Doc ID 2063859.1)

Last updated on OCTOBER 13, 2015

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.1.0 and later
Oracle Database Configuration Assistant - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

The database utility dbca allows for coordinated removal of an instance and its record from Enterprise Manager, either with the dbca graphical user interface or with command line dbca. The command line version can take a response file for most inputs, allowing for multiple instance deletion in one command.

An example of command line dbca instance removal, referencing a response file, is the following:

dbca -silent -responseFile /opt/oracle/12.1.0.2.4_DB-x86_64/assistants/dbca/femi.rsp -emConfiguration CENTRAL -omsHost -omsPort -emUser -emPassword

This command will remove all instances listed in the response file and will delete the instance target records from EM 12c Cloud Control.

Any effort to include the EM-based parameters in the response file will result in no target view actions being taken. The instances will be deleted, but their target images will remain listed in the EM 12c targets view

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms