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
0ede8899
Commit
0ede8899
authored
Mar 09, 2018
by
Ian Baum
Committed by
Achilleas Pipinellis
Mar 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update PG HA documentation
parent
9270cc24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/administration/high_availability/database.md
doc/administration/high_availability/database.md
+4
-4
No files found.
doc/administration/high_availability/database.md
View file @
0ede8899
...
@@ -117,7 +117,7 @@ When using default setup, minimum configuration requires:
...
@@ -117,7 +117,7 @@ When using default setup, minimum configuration requires:
-
`CONSUL_PASSWORD_HASH`
. This is a hash generated out of consul username/password pair.
-
`CONSUL_PASSWORD_HASH`
. This is a hash generated out of consul username/password pair.
Can be generated with:
Can be generated with:
```
sh
```
sh
echo
-n
'CONSUL_DATABASE_PASSWORDCONSUL_USERNAME'
|
md5sum
sudo
gitlab-ctl pg-password-md5 CONSUL_USERNAME
```
```
-
`CONSUL_SERVER_NODES`
. The IP addresses or DNS records of the Consul server nodes.
-
`CONSUL_SERVER_NODES`
. The IP addresses or DNS records of the Consul server nodes.
...
@@ -159,7 +159,7 @@ We will need the following password information for the application's database u
...
@@ -159,7 +159,7 @@ We will need the following password information for the application's database u
-
`POSTGRESQL_PASSWORD_HASH`
. This is a hash generated out of the username/password pair.
-
`POSTGRESQL_PASSWORD_HASH`
. This is a hash generated out of the username/password pair.
Can be generated with:
Can be generated with:
```
sh
```
sh
echo
-n
'POSTGRESQL_USER_PASSWORDPOSTGRESQL_USERNAME'
|
md5sum
sudo
gitlab-ctl pg-password-md5 POSTGRESQL_USERNAME
```
```
##### Pgbouncer information
##### Pgbouncer information
...
@@ -171,7 +171,7 @@ When using default setup, minimum configuration requires:
...
@@ -171,7 +171,7 @@ When using default setup, minimum configuration requires:
-
`PGBOUNCER_PASSWORD_HASH`
. This is a hash generated out of pgbouncer username/password pair.
-
`PGBOUNCER_PASSWORD_HASH`
. This is a hash generated out of pgbouncer username/password pair.
Can be generated with:
Can be generated with:
```
sh
```
sh
echo
-n
'PGBOUNCER_PASSWORDPGBOUNCER_USERNAME'
|
md5sum
sudo
gitlab-ctl pg-password-md5 PGBOUNCER_USERNAME
```
```
-
`PGBOUNCER_NODE`
, is the IP address or a FQDN of the node running Pgbouncer.
-
`PGBOUNCER_NODE`
, is the IP address or a FQDN of the node running Pgbouncer.
...
@@ -228,7 +228,7 @@ On each Consul node perform the following:
...
@@ -228,7 +228,7 @@ On each Consul node perform the following:
server: true,
server: true,
retry_join: %w(Y.Y.Y.Y consul1.gitlab.example.com Z.Z.Z.Z)
retry_join: %w(Y.Y.Y.Y consul1.gitlab.example.com Z.Z.Z.Z)
}
}
# Disable auto migrations
# Disable auto migrations
gitlab_rails['auto_migrate'] = false
gitlab_rails['auto_migrate'] = false
#
#
...
...
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