Installing Postgres Enterprise Manager in HA Patterns v10.4
Before deploying High Availability PEM, please familiarize yourself with the high-level guidance in High Availability Patterns for PEM Deployment.
For PEM 10.4 and later, the recommended process for deploying HA PEM is as follows:
- Deploy an HA Postgres cluster with a supported cluster manager.
- Prepare the cluster for PEM installation by adding the required SSL files and HBA rules.
- Install and configure PEM on the primary, then on the standbys.
- If using separate web servers, deploy PEM on the web servers.
In versions of PEM prior to 10.4, the process was more complex due to limitations in the configure-pem-server.sh script.
It is therefore highly recommended that new deployments of HA PEM are performed with the latest version.
However, the changes to configure-pem-server.sh are backward-compatible so previous processes will still run without adjustment.
The following pages provide detailed instructions for some example HA PEM architectures following the steps above. They are not intended to be an exhaustive guide to all possible patterns.
- Deploying HA PEM with colocated web application and backend using EDB Failover Manager and Virtual IPs
- Deploying HA PEM with separate web application and backend using EDB Failover Manager and Virtual IPs
- Deploying HA PEM with separate web application and backend using Patroni and multi-host strings
In addition, the following guides to specific elements of HA PEM deployment are provided: