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):
- On the cluster that will be configured as secondary, run
vinfra service backup geo-replication showto learn its address and UID. - 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. - On the primary cluster, run
vinfra service backup geo-replication master download-configsto generate the configuration file of the primary cluster. - Move the configuration file of the primary cluster to the secondary cluster using the standard Linux command-line tool, for example,
scp. - On the secondary cluster, run
vinfra service backup geo-replication slave setupto upload the configuration file of the primary cluster. - On the primary cluster, run
vinfra service backup geo-replication master establishto establish a connection between the primary and secondary clusters. - On one of the clusters, run
vinfra service backup geo-replication showto check that geo-replication has been successfully enabled.