1
0
mirror of synced 2026-01-02 12:04:38 -05:00

add --datacenter

This commit is contained in:
Matt Cooper
2022-06-09 14:35:06 -04:00
committed by GitHub
parent 68520e3a81
commit 170ab7fc75

View File

@@ -62,10 +62,10 @@ Then, when told to fetch `https://github.example.com/myorg/myrepo`, Git will ins
$ ghe-repl-setup <em>PRIMARY IP</em>
```
1. Set a `cache_location` for the repository cache, replacing *CACHE-LOCATION* with an alphanumeric identifier, such as the region where the cache is deployed.
1. Set a `cache_location` for the repository cache, replacing *CACHE-NAME* with an alphanumeric identifier, such as the region where the cache is deployed. Also set a datacenter name for this cache; new caches will attempt to seed from another in the same datacenter.
```shell
$ ghe-repl-node --cache <em>CACHE-LOCATION</em>
$ ghe-repl-node --cache <em>CACHE-NAME</em> --datacenter <em>REPLICA-DC-NAME</em>
```
{% data reusables.enterprise_installation.replication-command %}