Installing pgEdge Platform and Configuring a Distributed, Multi-master Active-active Replication Cluster
There are several ways to install pgEdge Platform and deploy a replication cluster. You can:
- Log in to each cluster host and manually deploy a cluster.
- Use pgEdge Platform on your local system to create a .json file that deploys a cluster on remote hosts.
- Use pgEdge Platform on your local system to create a .json file that deploys a local cluster.
Installing the pgEdge Platform
Before starting this tutorial, you should prepare two (or more) Linux servers running EL9 or Ubuntu 22.04. AWS users can find the Rocky Linux ami here (opens in a new tab). On each machine, you should:
- Set SELinux to
permissive
ordisabled
mode on each host (opens in a new tab), followed by a system reboot. - Configure passwordless sudo access for a non-root OS user on each host.
- Configure passwordless ssh access for the same non-root OS user on each host.
- Open any firewalls that could obstruct access between your servers.
Then, install the pgEdge Platform on each node with the command:
python3 -c "$(curl -fsSL https://pgedge-download.s3.amazonaws.com/REPO/install.py)"
Paste the command into your command line client and press Return
.