Rebuilding Replications

Replication rebuilding is required in CUBRID HA when data in the CUBRID HA group is inconsistent because of multiple failures in multiple-slave node structure, or because of a generic error. Rebuliding replications in CUBRID HA is done using a script.

For rebuilding replications to happen, the following environment must be the same in the slave node and in the master node.

ha_make_slavedb.sh script

To rebuild replications, use the ha_make_slavedb.sh. This script is located in $CUBRID/share/script/ha. Before rebuilding replications, the following items must be configured for the environment of the user.

The following are optional items:

Once the script has been configured, execute the ha_make_slavedb.sh script at the slave node in which a replication will be rebuilt. When the script is executed, replication rebuilding occurs in a number of phases. To move to the next stage, the user must enter an appropriate value. The following are the descriptions of available values.

Constraints