👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.21

Removing a high availability replica

You can stop replication to a GitHub Enterprise Server replica temporarily, or permanently remove replication.

In this article

Were you able to find what you were looking for?

Stopping replication temporarily

  1. If necessary, stop a geo-replication replica from serving user traffic by removing the Geo DNS entries for the replica.
  2. On the replica where you wish to temporarily stop replication, run ghe-repl-stop.
    $ ghe-repl-stop
  3. To start replication again, run ghe-repl-start.
    $ ghe-repl-start

Removing replication permanently

  1. If necessary, stop a geo-replication replica from serving user traffic by removing the Geo DNS entries for the replica.
  2. On the replica you wish to remove replication from, run ghe-repl-stop.
    $ ghe-repl-stop
  3. On the replica, to tear down the replication state, run ghe-repl-teardown.
    $ ghe-repl-teardown

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us