Commit 0f81d895 authored by Ben Bodenmiller's avatar Ben Bodenmiller

Minor Gitaly docs on seperate server clarification

parent 92c346f6
...@@ -86,7 +86,8 @@ Below we describe how to configure two Gitaly servers one at ...@@ -86,7 +86,8 @@ Below we describe how to configure two Gitaly servers one at
`gitaly1.internal` and the other at `gitaly2.internal` `gitaly1.internal` and the other at `gitaly2.internal`
with secret token `abc123secret`. We assume with secret token `abc123secret`. We assume
your GitLab installation has three repository storages: `default`, your GitLab installation has three repository storages: `default`,
`storage1` and `storage2`. `storage1` and `storage2`. You can use as little as just one server with one
repository storage if desired.
### 1. Installation ### 1. Installation
...@@ -129,7 +130,7 @@ Configure a token on the instance that runs the GitLab Rails application. ...@@ -129,7 +130,7 @@ Configure a token on the instance that runs the GitLab Rails application.
Next, on the Gitaly servers, you need to configure storage paths, enable Next, on the Gitaly servers, you need to configure storage paths, enable
the network listener and configure the token. the network listener and configure the token.
NOTE: **Note:** if you want to reduce the risk of downtime when you enable NOTE: **Note:** If you want to reduce the risk of downtime when you enable
authentication you can temporarily disable enforcement, see [the authentication you can temporarily disable enforcement, see [the
documentation on configuring Gitaly documentation on configuring Gitaly
authentication](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/configuration/README.md#authentication) authentication](https://gitlab.com/gitlab-org/gitaly/blob/master/doc/configuration/README.md#authentication)
...@@ -190,7 +191,7 @@ Check the directory layout on your Gitaly server to be sure. ...@@ -190,7 +191,7 @@ Check the directory layout on your Gitaly server to be sure.
1. Append the following to `/etc/gitlab/gitlab.rb` for each respective server: 1. Append the following to `/etc/gitlab/gitlab.rb` for each respective server:
For `gitaly1.internal`: On `gitaly1.internal`:
``` ```
gitaly['storage'] = [ gitaly['storage'] = [
...@@ -199,7 +200,7 @@ Check the directory layout on your Gitaly server to be sure. ...@@ -199,7 +200,7 @@ Check the directory layout on your Gitaly server to be sure.
] ]
``` ```
For `gitaly2.internal`: On `gitaly2.internal`:
``` ```
gitaly['storage'] = [ gitaly['storage'] = [
...@@ -231,7 +232,7 @@ Check the directory layout on your Gitaly server to be sure. ...@@ -231,7 +232,7 @@ Check the directory layout on your Gitaly server to be sure.
1. Append the following to `/home/git/gitaly/config.toml` for each respective server: 1. Append the following to `/home/git/gitaly/config.toml` for each respective server:
For `gitaly1.internal`: On `gitaly1.internal`:
```toml ```toml
[[storage]] [[storage]]
...@@ -241,7 +242,7 @@ Check the directory layout on your Gitaly server to be sure. ...@@ -241,7 +242,7 @@ Check the directory layout on your Gitaly server to be sure.
name = 'storage1' name = 'storage1'
``` ```
For `gitaly2.internal`: On `gitaly2.internal`:
```toml ```toml
[[storage]] [[storage]]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment