Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c6a7dc12
Commit
c6a7dc12
authored
May 17, 2021
by
Abhijeet Chatterjee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#329046 Fix Vale issues for ./administration/geo/replication/multiple_servers.md
parent
8f84338e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
doc/administration/geo/replication/multiple_servers.md
doc/administration/geo/replication/multiple_servers.md
+10
-10
No files found.
doc/administration/geo/replication/multiple_servers.md
View file @
c6a7dc12
...
@@ -53,14 +53,14 @@ It is possible to use cloud hosted services for PostgreSQL and Redis, but this i
...
@@ -53,14 +53,14 @@ It is possible to use cloud hosted services for PostgreSQL and Redis, but this i
## Prerequisites: Two working GitLab multi-node clusters
## Prerequisites: Two working GitLab multi-node clusters
One cluster
will serve
as the
**primary**
node. Use the
One cluster
serves
as the
**primary**
node. Use the
[
GitLab multi-node documentation
](
../../reference_architectures/index.md
)
to set this up. If
[
GitLab multi-node documentation
](
../../reference_architectures/index.md
)
to set this up. If
you already have a working GitLab instance that is in-use, it can be used as a
you already have a working GitLab instance that is in-use, it can be used as a
**primary**
.
**primary**
.
The second cluster
will serve
as the
**secondary**
node. Again, use the
The second cluster
serves
as the
**secondary**
node. Again, use the
[
GitLab multi-node documentation
](
../../reference_architectures/index.md
)
to set this up.
[
GitLab multi-node documentation
](
../../reference_architectures/index.md
)
to set this up.
It's a good idea to log in and test it, however, note that its data
will be
It's a good idea to log in and test it, however, note that its data
is
wiped out as part of the process of replicating from the
**primary**
.
wiped out as part of the process of replicating from the
**primary**
.
## Configure the GitLab cluster to be the **primary** node
## Configure the GitLab cluster to be the **primary** node
...
@@ -120,7 +120,7 @@ major differences:
...
@@ -120,7 +120,7 @@ major differences:
called the "tracking database", which tracks the synchronization state of
called the "tracking database", which tracks the synchronization state of
various resources.
various resources.
Therefore, we
will
set up the multi-node components one-by-one, and include deviations
Therefore, we set up the multi-node components one-by-one, and include deviations
from the normal multi-node setup. However, we highly recommend first configuring a
from the normal multi-node setup. However, we highly recommend first configuring a
brand-new cluster as if it were not part of a Geo setup so that it can be
brand-new cluster as if it were not part of a Geo setup so that it can be
tested and verified as a working cluster. And only then should it be modified
tested and verified as a working cluster. And only then should it be modified
...
@@ -133,7 +133,7 @@ Configure the following services, again using the non-Geo multi-node
...
@@ -133,7 +133,7 @@ Configure the following services, again using the non-Geo multi-node
documentation:
documentation:
-
[
Configuring Redis for GitLab
](
../../redis/replication_and_failover.md#example-configuration-for-the-gitlab-application
)
for multiple nodes.
-
[
Configuring Redis for GitLab
](
../../redis/replication_and_failover.md#example-configuration-for-the-gitlab-application
)
for multiple nodes.
-
[
Gitaly
](
../../gitaly/index.md
)
, which
will store
data that is
-
[
Gitaly
](
../../gitaly/index.md
)
, which
stores
data that is
synchronized from the
**primary**
node.
synchronized from the
**primary**
node.
NOTE:
NOTE:
...
@@ -143,7 +143,7 @@ recommended.
...
@@ -143,7 +143,7 @@ recommended.
### Step 2: Configure the main read-only replica PostgreSQL database on the **secondary** node
### Step 2: Configure the main read-only replica PostgreSQL database on the **secondary** node
NOTE:
NOTE:
The following documentation assumes the database
will be run
on
The following documentation assumes the database
runs
on
a single node only. Multi-node PostgreSQL on
**secondary**
nodes is
a single node only. Multi-node PostgreSQL on
**secondary**
nodes is
[
not currently supported
](
https://gitlab.com/groups/gitlab-org/-/epics/2536
)
.
[
not currently supported
](
https://gitlab.com/groups/gitlab-org/-/epics/2536
)
.
...
@@ -151,7 +151,7 @@ Configure the [**secondary** database](../setup/database.md) as a read-only repl
...
@@ -151,7 +151,7 @@ Configure the [**secondary** database](../setup/database.md) as a read-only repl
the
**primary**
database. Use the following as a guide.
the
**primary**
database. Use the following as a guide.
1.
Generate an MD5 hash of the desired password for the database user that the
1.
Generate an MD5 hash of the desired password for the database user that the
GitLab application
will use
to access the read-replica database:
GitLab application
uses
to access the read-replica database:
Note that the username (
`gitlab`
by default) is incorporated into the hash.
Note that the username (
`gitlab`
by default) is incorporated into the hash.
...
@@ -233,13 +233,13 @@ If using an external PostgreSQL instance, refer also to
...
@@ -233,13 +233,13 @@ If using an external PostgreSQL instance, refer also to
### Step 3: Configure the tracking database on the **secondary** node
### Step 3: Configure the tracking database on the **secondary** node
NOTE:
NOTE:
This documentation assumes the tracking database
will be run
on
This documentation assumes the tracking database
runs
on
only a single machine, rather than as a PostgreSQL cluster.
only a single machine, rather than as a PostgreSQL cluster.
Configure the tracking database.
Configure the tracking database.
1.
Generate an MD5 hash of the desired password for the database user that the
1.
Generate an MD5 hash of the desired password for the database user that the
GitLab application
will use
to access the tracking database:
GitLab application
uses
to access the tracking database:
Note that the username (
`gitlab_geo`
by default) is incorporated into the
Note that the username (
`gitlab_geo`
by default) is incorporated into the
hash.
hash.
...
@@ -377,7 +377,7 @@ Make sure that current node IP is listed in `postgresql['md5_auth_cidr_addresses
...
@@ -377,7 +377,7 @@ Make sure that current node IP is listed in `postgresql['md5_auth_cidr_addresses
After making these changes
[
Reconfigure GitLab
](
../../restart_gitlab.md#omnibus-gitlab-reconfigure
)
so the changes take effect.
After making these changes
[
Reconfigure GitLab
](
../../restart_gitlab.md#omnibus-gitlab-reconfigure
)
so the changes take effect.
On the secondary the following GitLab frontend services
will b
e enabled:
On the secondary the following GitLab frontend services
ar
e enabled:
-
`geo-logcursor`
-
`geo-logcursor`
-
`gitlab-pages`
-
`gitlab-pages`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment