我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们
文章版本: Enterprise Server 2.20

Removing a high availability replica

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

本文内容

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

问问别人

找不到要找的内容?

联系我们