Geo: Document how to use Omnibus settings to setup a PostgreSQL tracking DB
In https://docs.gitlab.com/ee/gitlab-geo/database.html#external-postgresql-instances, we say:
Geo secondary nodes use a tracking database to keep track of replication status and recover automatically from some replication issues. Follow the instructions for enabling tracking database on the secondary server.
This takes me https://docs.gitlab.com/ee/gitlab-geo/database_source.html#enable-tracking-database-on-the-secondary-server, which tells me to copy database_geo.yml
instead.
In /etc/gitlab/gitlab.rb
, you can configure this by doing:
gitlab_rails['db_password'] = '{{ db_user_password }}'
geo_secondary['db_host'] = '{{ geo_postgresql_host }}'
geo_secondary['db_port'] = 5431
geo_secondary['db_fdw'] = true
geo_postgresql['enable'] = false
We should explain that in the documentation, not link to those source docs.
Edited by Stan Hu