You might need to delete a data-replicated component from a protection group if you previously added a data-replicated component to that protection group. Normally, after an application is configured to connect to the database, you would not change the database.
Before You Begin
Before you delete a data-replicated component, ensure that the following conditions are met:
The protection group is defined on the local cluster.
The protection group is offline on the local cluster and the partner cluster, if the partner cluster can be reached.
The device group is managed by the protection group.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information, see Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide .
For information about deleting protection groups, refer to Deleting Protection Groups and Data Replication Components in Oracle Solaris Cluster Geographic Edition System Administration Guide .
# geopg remove-replication-component mysql-replicated-component protection-group
In this syntax, mysql-replicated-component specifies the name of the data-replicated component, and protection-group specifies the name of the protection group.
In the following example, the mysql-dg data-replicated device group is deleted from the mysql-pg protection group.
# geopg remove-replication-component mysql.sbp mysql-pg