Commit c8a15c23 authored by DJ Mountney's avatar DJ Mountney

Merge branch 'remove-pg-11-replication-docs' into 'master'

Remove repmgr references from PG failover and replication documentation

See merge request gitlab-org/gitlab!63843
parents fa4d1a20 59ef1829
...@@ -16,7 +16,7 @@ There are essentially three setups to choose from. ...@@ -16,7 +16,7 @@ There are essentially three setups to choose from.
This setup is for when you have installed GitLab using the This setup is for when you have installed GitLab using the
[Omnibus GitLab **Enterprise Edition** (EE) package](https://about.gitlab.com/install/?version=ee). [Omnibus GitLab **Enterprise Edition** (EE) package](https://about.gitlab.com/install/?version=ee).
All the tools that are needed like PostgreSQL, PgBouncer, Patroni, and repmgr are bundled in All the tools that are needed like PostgreSQL, PgBouncer, and Patroni are bundled in
the package, so you can it to set up the whole PostgreSQL infrastructure (primary, replica). the package, so you can it to set up the whole PostgreSQL infrastructure (primary, replica).
[> Read how to set up PostgreSQL replication and failover using Omnibus GitLab](replication_and_failover.md) [> Read how to set up PostgreSQL replication and failover using Omnibus GitLab](replication_and_failover.md)
......
...@@ -164,7 +164,7 @@ and [GitLab upgrades](https://docs.gitlab.com/omnibus/update/README.html#use-pos ...@@ -164,7 +164,7 @@ and [GitLab upgrades](https://docs.gitlab.com/omnibus/update/README.html#use-pos
1. To find the primary node, run the following on a database node: 1. To find the primary node, run the following on a database node:
```shell ```shell
sudo gitlab-ctl repmgr cluster show sudo gitlab-ctl patroni members
``` ```
1. Edit `/etc/gitlab/gitlab.rb` on the application node you're performing the task on, and update 1. Edit `/etc/gitlab/gitlab.rb` on the application node you're performing the task on, and update
......
...@@ -138,12 +138,12 @@ As long as at least one of each component is online and capable of handling the ...@@ -138,12 +138,12 @@ As long as at least one of each component is online and capable of handling the
### Automated database failover **(PREMIUM SELF)** ### Automated database failover **(PREMIUM SELF)**
> - Level of complexity: **High** > - Level of complexity: **High**
> - Required domain knowledge: PgBouncer, Repmgr or Patroni, shared storage, distributed systems > - Required domain knowledge: PgBouncer, Patroni, shared storage, distributed systems
By adding automatic failover for database systems, you can enable higher uptime By adding automatic failover for database systems, you can enable higher uptime
with additional database nodes. This extends the default database with with additional database nodes. This extends the default database with
cluster management and failover policies. cluster management and failover policies.
[PgBouncer in conjunction with Repmgr or Patroni](../postgresql/replication_and_failover.md) [PgBouncer in conjunction with Patroni](../postgresql/replication_and_failover.md)
is recommended. is recommended.
### Instance level replication with GitLab Geo **(PREMIUM SELF)** ### Instance level replication with GitLab Geo **(PREMIUM SELF)**
......
...@@ -53,8 +53,7 @@ This section is for links to information elsewhere in the GitLab documentation. ...@@ -53,8 +53,7 @@ This section is for links to information elsewhere in the GitLab documentation.
- [PostgreSQL scaling](../postgresql/replication_and_failover.md) - [PostgreSQL scaling](../postgresql/replication_and_failover.md)
- Including [troubleshooting](../postgresql/replication_and_failover.md#troubleshooting) - Including [troubleshooting](../postgresql/replication_and_failover.md#troubleshooting)
`gitlab-ctl repmgr-check-master` (or `gitlab-ctl patroni check-leader` if `gitlab-ctl patroni check-leader` and PgBouncer errors.
you're using Patroni) and PgBouncer errors.
- [Developer database documentation](../../development/README.md#database-guides), - [Developer database documentation](../../development/README.md#database-guides),
some of which is absolutely not for production use. Including: some of which is absolutely not for production use. Including:
......
...@@ -119,7 +119,7 @@ that backup, the database can apply the WAL logs in order until the ...@@ -119,7 +119,7 @@ that backup, the database can apply the WAL logs in order until the
database has reached the target time. database has reached the target time.
On GitLab.com, Consul and Patroni work together to coordinate failovers with On GitLab.com, Consul and Patroni work together to coordinate failovers with
the read replicas. [Omnibus ships with both repmgr and Patroni](../administration/postgresql/replication_and_failover.md). the read replicas. [Omnibus ships with Patroni](../administration/postgresql/replication_and_failover.md).
#### Load-balancing #### Load-balancing
......
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