dg_remove_configuration
Removes the Data Guard configuration determined from the member database that is a part of the Data Guard configuration.
Format
emcli dg_remove_configuration -member_target_name="<target name>" -member_target_type="oracle_database|rac_database" [-member_db_creds_name="<member database credential name>"] [-member_host_creds_name="<mamber database host credential name>"] [-preserve_redo_dests] [ ] indicates that the parameter is optional.
Options
-
member_target_name
Enterprise Manager target name of the member database that is a part of the Data Guard configuration. This can be either a single-instance database or a cluster database.
-
member_target_type
Database target type of the member database that is a part of the Data Guard configuration. The following values are allowed:
-
oracle_database: Single instance database
-
rac_database: Cluster database
-
-
member_db_creds_name
Database named credential for a user with SYSDBA or SYSDG role of the member database that is a part of the Data Guard configuration. Default Value: Preferred credentials will be used.
-
member_host_creds_name
Database host named credential for an operating system user who can access the member database Oracle home. Default Value: Preferred credentials will be used.
-
preserve_redo_dests
Preserve all archived log destinations configured on the primary database after the Data Guard broker configuration is removed. Redo continues to be shipped to the standby databases. Default Value: Not enabled
Examples
Example 1
The following example removes the Data Guard configuration determined from member database named "database".
emcli dg_remove_configuration -member_target_name="database" -member_target_type="oracle_database"
Example 2
The following example removes the Data Guard configuration determined from member database named "database", and the redo continues to be shipped to the standby database.
emcli dg_remove_configuration -member_target_name="database" -member_target_type="rac_database" -preserve_redo_dests