Prerequisites: Configuring your System for Replication

Configuring your System

On each machine that will host a replication node, you must:

There are a number of considerations that should go into your schema design (opens in a new tab) to really take advantage of pgEdge active-active replication.

Configuring Passwordless SSH

You can use the following steps to configure passwordless SSH on each node of the replication cluster:

ssh-keygen -t rsa
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys

Configuring Passwordless sudo

To configure passwordless sudo, open the /etc/sudoers file, and add a line of the form:

%username ALL = (ALL) NOPASSWD: ALL

Where username specifies the name of your operating system user.