Skip to content

Modifying the configuration of Patroni

To configure certain elements of the PostgreSQL cluster, including the IP addresses and networks authorised to connect to the cluster defined at the level of Patroni, please use the following command:

1
patronictl -c /etc/patroni/config.yml edit-config

After saving, the new configuration will be applied to all nodes in the PostgreSQL cluster.

Local firewall

The local firewall of the nodes only accepts connections on port 5432 from the addresses entered in the configuration utility. To authorise a new client, also add its address to the /etc/nftables.conf file of each node: see Configuring the appliance firewall.