Oracle® Solaris Cluster Geographic Edition Data Replication Guide for MySQL

Exit Print View

Updated: July 2014, E41326-01
 
 

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 13, Using the Oracle Solaris Cluster GUI, in Oracle Solaris Cluster System Administration Guide .

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 Oracle Solaris Cluster Geographic Edition System Administration Guide .

  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 1-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