Welcome to the new DOCS.vastdata.com. We've added new menus and a version selector, plus new persona and resource pages to help customers get started. Looking for a previous article? Use the docs search.

Configuring S3 Synchronous Replication

Prev Next

Note

Synchronous replication is subject to the following restriction on protected paths between tenants on different clusters:  

  • If Tenant A replicates a protected path to Tenant B on a remote cluster, it cannot then replicate another path to Tenant C on the same remote cluster (that is, Tenant A cannot have replicated protected paths to more than one tenant on the same remote cluster). It can, however, replicate protected paths to Tenant C (or any other tenant) on a different remote cluster. Similarly, Tenant A can replicate additional protected paths to Tenant B on the same remote cluster.

Follow these steps on the primary cluster. This configures synchronous replication to a single secondary cluster.

  1. Make sure there is a virtual IP pool on each of the peer clusters that is dedicated to replication, that you want to use for this replication. The role of the virtual IP pool must be set to replication.
    A replication VIP pool is used exclusively for routing replication traffic between the peers and not for serving data to clients. The CNodes that are assigned virtual IPs from the replication virtual IP pool are used to communicate directly with the remote peer, while other CNodes can communicate only indirectly with the remote peer.

    If there is no such virtual IP pool on any of the clusters, follow the procedure to create a virtual IP pool, and be sure to set the role to Replication.

  2. If you want to configure replication in secure mode, with mTLS encryption, make sure that mTLS certificates are installed on every participating cluster.

  3. Create a replication peer. This is the configuration of a replication relationship with another cluster. The peer configuration is mirrored on the destination peer.

  4. Create a remote protected path with a single destination and Sync Replication as the mode. This defines a data path on the cluster to replicate. The path you specify to replicate must be an existing S3 bucket. It also defines the destination path on the peer.  

    Note

    There is no need to create a protection policy for synchronous replication.