Replication Commands

Replication commands are used for setting up replication, tearing down or repairing replication, upgrading, and viewing status and configuration of the cluster.

Replication commands are run from the command-line configuration utility prompt (#).

Note: From the command-line configuration utility, enter the console command to access the Linux shell. From the Linux shell, enter the config command to access the command-line configuration utility.
Command Description
replication repair Used to attempt to repair replication between two cluster database nodes without tearing down the entire cluster.
replication setup Creates a cluster of two Cloudpath ES nodes. You can create either an active-standby cluster or an active-active (with or without NAT) cluster. You are prompted from the command dialog to enter which options you are configuring.
replication add-appnode Adds an APP node to an existing active-active cluster. This command must be run from the DB node of the node group to which you are adding the APP node.
replication remove-appnode Removes an APP node from an existing active-active cluster. This command must be run from the DB node of the node group to which the the APP node belongs.
replication show-config Displays the configuration of the cluster. Example output:
 ------------------------------------------------------------------------------
     Primary - 192.168.94.243   ssh port# 8022
     Secondary - 192.168.94.244   ssh port# 8022

     Type - MULTISITE-ACTIVE-ACTIVE-NO-NAT

     Cluster Name - jeff247.cloudpath.net
 ------------------------------------------------------------------------------
replication show-status Displays database replication status.
replication teardown Tears down the cluster and sets each cluster node back to a single-node Cloudpath system. If you are going to tear down an active-active cluster that contains APP nodes, you must first remove all the APP nodes using the replication remove-appnode command.