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
608c5e66
Commit
608c5e66
authored
Jan 27, 2018
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Geo database setup manual
parent
6c86916c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
doc/gitlab-geo/database.md
doc/gitlab-geo/database.md
+9
-8
No files found.
doc/gitlab-geo/database.md
View file @
608c5e66
...
...
@@ -237,7 +237,7 @@ The following guide assumes that:
cat ~gitlab-psql/data/server.crt
```
Copy the output into a
file on your local computer called `server.crt`
. You
Copy the output into a
clipboard or into a local file
. You
will need it when setting up the secondary! The certificate is not sensitive
data.
...
...
@@ -267,12 +267,6 @@ because we have not yet configured the secondary server. This is the next step.
### Step 3. Configure the secondary server
1.
From your
**local machine**
, copy
`server.crt`
to the secondary:
```
scp server.crt secondary.geo.example.com:
```
1.
SSH into your GitLab
**secondary**
server and login as root:
```
...
...
@@ -292,6 +286,13 @@ because we have not yet configured the secondary server. This is the next step.
that, if a firewall is present, the secondary is permitted to connect to the
primary on port 5432.
1.
Create a file
`server.crt`
in the secondary server, with the content you got on the last step of the primary setup:
```
editor server.crt
```
1.
Set up PostgreSQL TLS verification on the secondary
Install the `server.crt` file:
...
...
@@ -311,7 +312,7 @@ because we have not yet configured the secondary server. This is the next step.
```
When prompted enter the password you set in the first step for the
`gitlab_replicator` user. If all worked correctly, you should see
the
`gitlab_replicator` user. If all worked correctly, you should see
the list of primary's databases.
A failure to connect here indicates that the TLS configuration is incorrect.
...
...
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