Stopping replication temporarily
- If necessary, stop a geo-replication replica from serving user traffic by removing the Geo DNS entries for the replica.
- On the replica where you wish to temporarily stop replication, run ghe-repl-stop.
$ ghe-repl-stop
- To start replication again, run
ghe-repl-start
.$ ghe-repl-start
Removing replication permanently
-
If necessary, stop a geo-replication replica from serving user traffic by removing the Geo DNS entries for the replica.
-
On the replica you wish to remove replication from, run
ghe-repl-stop
.$ ghe-repl-stop
-
On the replica, to tear down the replication state, run
ghe-repl-teardown
.$ ghe-repl-teardown
Note: If you have GitHub Actions enabled, you should decommission the former replica server or update its GitHub Actions configuration to use different external storage. For more information, see "High availability for GitHub Actions."