replicator
The replicator command allows for control of the replicators, and includes a number of uses.
Usage
replicator [ds-name] [sub-command]
The following sub-commands are available:
| Option | Description | Version |
|---|---|---|
master | Configure a replicator as a master. | |
offline | Set replicator offline. | |
online | Set replicator online. | |
relay | Set the replicator as a relay of the supplied service/host. | |
restart | Restart the replicator process. | |
slave | Configure replicator as a slave of the current master. | |
start | Start the replicator process if it is not running. | |
status | Show the current replicator status. | |
stop | Stop the replicator process if it is running. |
To perform operations safely on replicators you should either put the cluster in MAINTENANCE mode or shun the data source associated with the replicator.
AUTOMATIC policy mode may interfere with stop/offline operations.
important
Commands controlling the replicator should be used with care and only be experienced operators, or under the guidance of Continuent Support.
Incorrect use of this option could cause replicators to be misconfigured leading to unexpected replication errors, or even worse, data loss or corruption