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:
- Use pgEdge Platform's cluster module to create a .json file that deploys a cluster on local or remote hosts. This method also simplifies installation and configurion of pgBackRest on the new cluster.
- Log in to each cluster host and manually deploy a cluster.
Installing the pgEdge Platform
Before installing pgEdge Platform, you should prepare two (or more) Linux servers running EL9 or Ubuntu 22.04. 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
.
Note that depending on your system configuration, you may need to preface commands with sudo; for example, sudo python3 -c "$(curl -fsSL https://pgedge-download.s3.amazonaws.com/REPO/install.py)"
.