Planning for site replication setup

To replicate data between two sites, the database processes must be able to reach each other through the network.

As Apache CouchDB replications use the Apache CouchDB API, it's not sufficient to expose only the replication API endpoints. Instead, the whole CouchDB API must be exposed to the other site. This means the combination of hostname/IP address and port of one site must be reachable from the other site, and vice versa. Additionally, the host running the geo-redundancy setup script must be able to reach both CouchDB clusters and run Linux® with bash, cURL, and jq preinstalled (available through Red Hat® Enterprise Linux 8 repositories).

Another important requirement is to use the same data encryption keys on both sides. Otherwise, replicated data cannot be decrypted on the other side and causes internal server errors on RBA.