Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 880

How To Create a PostgreSQL HA Cluster using Patroni and HAProxy on Ubuntu/18/19/20

$
0
0


This tutorial will take you through the steps to set up a highly available PostgreSQL cluster using Patroni and HAProxy on an Ubuntu 19 server. These instruction can also be applied (slight changes may be required) if you are running an earlier release of Ubuntu 16/17/18 or latest release of Ubuntu 20.04.

Prerequisites

To follow the steps covered in this tutorial, you will need five (physical or virtual) machines installed with Ubuntu (18.04, 19.04/10 or 20.04) server having sudo non-root user privileges.

HOSTNAMEIP ADDRESSPURPOSE
NODE1192.168.10.1Postgresql, Patroni
NODE2192.168.10.2Postgresql, Patroni
NODE3192.168.10.3Postgresql, Patroni
NODE4192.168.10.4etcd
NODE5192.168.10.5HAProxy

Please follow the steps by steps guide to set up PostgreSQL High Availability cluster in your environment.

Viewing all articles
Browse latest Browse all 880

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>