Replicator and High Availability

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

When using the replicator between Artifactory HA clusters, there is no special configuration required on the source Artifactory cluster, however, the target Artifactory/Artifactory Edge cluster(s) must be configured with a reverse proxy with stickiness on a special HTTP header: X-JFRPL-TXID.

The following snippet shows an example configuration with NGINX.

upstream replicator {
    hash $http_x_jfrpl_txid;
    server 10.1.16.31:8082;
    server 10.1.16.32:8082;
}
 
location /replicator/ {
      proxy_pass    http://replicator;
}

Note

The port above should be the same port as the one of the Router, which is configured in the docker-compose.yml file.