Go to main content

Oracle® Solaris Cluster Data Replication Guide for MySQL

Exit Print View

Updated: August 2018
 
 

How to Delete a Data-Replicated Component From a MySQL Protection Group

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.


Note -  You can also accomplish this procedure by using the Oracle Solaris Cluster Manager GUI. Click Partnerships, click the partnership name, click the protection group name, highlight the data replication component name, and click Remove. For more information about Oracle Solaris Cluster Manager, see Chapter 12, Using the Oracle Solaris Cluster Manager Browser Interface in Administering an Oracle Solaris Cluster 4.4 Configuration.

Before You Begin

Before you delete a data-replicated component, ensure that the following conditions are met:

For information about deleting protection groups, refer to Deleting Protection Groups and Data Replication Components in Administering the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

  1. Log in to a cluster node.
  2. Remove the replicated component.
    # 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.

Example 4  Deleting a Replicated Component From a MySQL 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