Automatic configuration of pg_hba for standby cluster #776
Labels
automation
Automation functionality using Ansible
enhancement
Improvement of the current functionality
When configuring the standby cluster, filling in the list of hosts in patroni_standby_cluster:
There is no automatic addition of records from the replicator node to the servers that we specify in patroni_standby_cluster, one of which is actually the master in the main cluster, for which we are making a standby cluster.
To correctly create a standby cluster, by automation means, it is necessary to add all nodes of the new cluster to all nodes specified in patroni_standby_cluster in pg_hba records of the following type:
Since the master in both the main cluster and standby can change, therefore it is necessary to specify all nodes of the main cluster in patroni_standby_cluster and also in pg_hba, make entries for all servers of the standby cluster, since the master can also change in it.
The text was updated successfully, but these errors were encountered: