Haproxy

HAProxy for Patroni HAProxy checks the nodes’ status using the httpchk option, but the replicas of your Patroni cluster do not respond to the HTTP check on port 8008 in the same way as the primary node. In a Patroni cluster, only the leader should respond as active on this HTTP port, while the replicas might not, causing HAProxy to mark them as “down.” Adjust the HAProxy configuration to properly check the nodes’ status based on their roles within the cluster (leader or replica)....

2024-1216-12 · Alberto

Keepalived for Haproxy

Overview Keepalived, which is mainly used to provide high availability by implementing the VRRP (Virtual Router Redundancy Protocol). Your configuration is commonly used to monitor services like HAProxy and automatically switch between servers in case of failures. 1 2 3 4 5 6 7 apt update && sudo apt upgrade -y apt install keepalived -y vi /etc/keepalived/keepalived.conf systemctl restart keepalived systemctl enable keepalived INTERFACES : Ensure that ethX is the correct interface on your server....

2024-1216-12 · Alberto

Corosync and Pacemaker cluster

Setting a cluster up and running

2024-92-12 · Alberto

Patroni Replication

Replication overview

2024-91-12 · Alberto

Patroni Set up

Patroni cluster for Postgresql databases

2024-91-12 · Alberto

Postgresql HA with Patroni

High Availability Postgresql cluster

2024-91-12 · Alberto