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
b33ff311
Commit
b33ff311
authored
Feb 03, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small documentation changes and fixes for Geo
parent
b671e84f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
doc/gitlab-geo/configuration.md
doc/gitlab-geo/configuration.md
+3
-2
doc/gitlab-geo/database.md
doc/gitlab-geo/database.md
+5
-4
No files found.
doc/gitlab-geo/configuration.md
View file @
b33ff311
...
@@ -65,7 +65,7 @@ logins opened on all nodes as we will be moving back and forth.
...
@@ -65,7 +65,7 @@ logins opened on all nodes as we will be moving back and forth.
sudo -i
sudo -i
```
```
1.
Create a new SSH key pair for the primary node. Choose the default location
1.
(Source install only):
Create a new SSH key pair for the primary node. Choose the default location
and leave the password blank by hitting 'Enter' three times:
and leave the password blank by hitting 'Enter' three times:
```bash
```bash
...
@@ -74,7 +74,7 @@ logins opened on all nodes as we will be moving back and forth.
...
@@ -74,7 +74,7 @@ logins opened on all nodes as we will be moving back and forth.
Read more in [additional info for SSH key pairs](#additional-information-for-the-ssh-key-pairs).
Read more in [additional info for SSH key pairs](#additional-information-for-the-ssh-key-pairs).
1.
Get the contents of
`id_rsa.pub`
the was just created
:
1.
Get the contents of
`id_rsa.pub`
for the git user
:
```
```
# Omnibus GitLab installations
# Omnibus GitLab installations
...
@@ -86,6 +86,7 @@ logins opened on all nodes as we will be moving back and forth.
...
@@ -86,6 +86,7 @@ logins opened on all nodes as we will be moving back and forth.
1.
Visit the primary node's
**Admin Area ➔ Geo Nodes**
(
`/admin/geo_nodes`
) in
1.
Visit the primary node's
**Admin Area ➔ Geo Nodes**
(
`/admin/geo_nodes`
) in
your browser.
your browser.
1.
Add the primary node by providing its full URL and the public SSH key
1.
Add the primary node by providing its full URL and the public SSH key
you created previously. Make sure to check the box 'This is a primary node'
you created previously. Make sure to check the box 'This is a primary node'
when adding it.
when adding it.
...
...
doc/gitlab-geo/database.md
View file @
b33ff311
...
@@ -32,11 +32,11 @@ and `secondary` as either `slave` or `standby` server (read-only).
...
@@ -32,11 +32,11 @@ and `secondary` as either `slave` or `standby` server (read-only).
The following guide assumes that:
The following guide assumes that:
-
You are using PostgreSQL 9.
1
or later which includes the
-
You are using PostgreSQL 9.
2
or later which includes the
[
`pg_basebackup` tool
][
pgback
]
.
As of this writing, the latest Omnibus
[
`pg_basebackup` tool
][
pgback
]
.
If you are using Omnibus it includes the required
packages (8.5) have version 9.2
.
PostgreSQL version for Geo
.
-
You have a primary server already set up (the GitLab server you are
-
You have a primary server already set up (the GitLab server you are
replicating from), running
PostgreSQL 9.2.x
, and you
replicating from), running
Omnibus' PostgreSQL (or equivalent version)
, and you
have a new secondary server set up on the same OS and PostgreSQL version. If
have a new secondary server set up on the same OS and PostgreSQL version. If
you are using Omnibus, make sure the GitLab version is the same on all nodes.
you are using Omnibus, make sure the GitLab version is the same on all nodes.
-
The IP of the primary server for our examples will be
`1.2.3.4`
, whereas the
-
The IP of the primary server for our examples will be
`1.2.3.4`
, whereas the
...
@@ -182,6 +182,7 @@ The following guide assumes that:
...
@@ -182,6 +182,7 @@ The following guide assumes that:
postgresql['max_wal_senders'] = 10
postgresql['max_wal_senders'] = 10
postgresql['wal_keep_segments'] = 10
postgresql['wal_keep_segments'] = 10
postgresql['hot_standby'] = "on"
postgresql['hot_standby'] = "on"
gitlab_rails['auto_migrate'] = false # prevents migrations to be executed on the secondary server
```
```
1.
[
Reconfigure GitLab
][]
for the changes to take effect.
1.
[
Reconfigure GitLab
][]
for the changes to take effect.
...
...
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