Introduction
There may be times where it makes sense to disable and re-enable performance replication to a secondary cluster. This KB will walk through the basic steps of performing this action.
Expected Outcome
Re-setting performance replication on a secondary cluster
Prerequisites
- Performance Primary Cluster
- Performance Secondary Cluster
Use Case
If all other troubleshooting steps related to resolving Performance Replication steps have failed it may make sense to start from scratch.
Procedure
-
Step 1 - Disable Performance Replication on the Secondary Cluster by running:
$ vault write sys/replication/performance/secondary/disable
-
Step 2 - Generate a new Secondary Token on the Performance Primary Cluster where the id is a unique value used to identify this particular secondary.
$ vault write sys/replication/performance/primary/secondary-token id=<id>
-
Step 3 - Enable Performance Replication on the Secondary Cluster using the token generated above:
$ vault write sys/replication/performance/secondary/enable token=<token>
-
Step 4: Revoke the old Secondary Token on the Performance Primary:
$ vault write sys/replication/performance/primary/revoke-secondary id=<id>