Commit 6bb1fceb authored by Craig Norris's avatar Craig Norris

Revise primary/secondary instruction lines

Minor wording edits to the primary and secondary instruction lines, to emphasize primary and secondary servers.
parent 567667c7
...@@ -509,7 +509,8 @@ To set up database replication with Patroni on a secondary node, configure a ...@@ -509,7 +509,8 @@ To set up database replication with Patroni on a secondary node, configure a
_permanent replication slot_ on the primary node's Patroni cluster, and ensure _permanent replication slot_ on the primary node's Patroni cluster, and ensure
password authentication is used. password authentication is used.
In `/etc/gitlab/gitlab.rb` on Patroni instances on the primary node: On Patroni instances for the primary node, add the following to the
`/etc/gitlab/gitlab.rb` file:
```ruby ```ruby
# You need one entry for each secondary, with a unique name following PostgreSQL slot_name constraints: # You need one entry for each secondary, with a unique name following PostgreSQL slot_name constraints:
...@@ -531,7 +532,8 @@ postgresql['sql_replication_password'] = 'POSTGRESQL_REPLICATION_PASSWORD_HASH' ...@@ -531,7 +532,8 @@ postgresql['sql_replication_password'] = 'POSTGRESQL_REPLICATION_PASSWORD_HASH'
postgresql['sql_user_password'] = 'POSTGRESQL_PASSWORD_HASH' postgresql['sql_user_password'] = 'POSTGRESQL_PASSWORD_HASH'
``` ```
In `/etc/gitlab/gitlab.rb` on Patroni instances on a secondary node: On Patroni instances for the secondary node, add the following to the
`/etc/gitlab/gitlab.rb` file:
```ruby ```ruby
postgresql['md5_auth_cidr_addresses'] = [ postgresql['md5_auth_cidr_addresses'] = [
......
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