Managing backup cluster geo-replication

To enable geo-replication, the backup clusters must be able to reach each other via domain names on TCP port 44445.

To enable geo-replication between two backup clusters, execute the following commands (refer to examples in the sections below):

  1. On the cluster that will be configured as secondary, run vinfra service backup geo-replication show to learn its address and UID.
  2. On the cluster that will be configured as primary, run vinfra service backup geo-replication master setup, using the address and UID of the secondary cluster.
  3. On the primary cluster, run vinfra service backup geo-replication master download-configs to generate the configuration file of the primary cluster.
  4. Move the configuration file of the primary cluster to the secondary cluster using the standard Linux command-line tool, for example, scp.
  5. On the secondary cluster, run vinfra service backup geo-replication slave setup to upload the configuration file of the primary cluster.
  6. On the primary cluster, run vinfra service backup geo-replication master establish to establish a connection between the primary and secondary clusters.
  7. On one of the clusters, run vinfra service backup geo-replication show to check that geo-replication has been successfully enabled.