This topic tells you how to prepare foundations for multi‑site replication using VMware Tanzu SQL with MySQL for VMs.

For information about multi-site architecture, see About Multi‑Site Replication.

Prerequisites

Before you configure multi‑site replication for Tanzu SQL for VMs, you must confirm that you have done the following:

  1. Created two VMware Tanzu Application Service for VMs (TAS for VMs) foundations that support Tanzu SQL for VMs v2.7 and later.

  2. Deployed both foundations on a routable network. For example, the leader and follower service instances must be able to connect to each other on their respective IP addresses. You must verify that the CIDR ranges for the leader and follower nodes do not overlap.

  3. Determined which of the following disaster recovery strategies you want to use for your foundations: For more information, see About active-passive topology. and About App-Layer Active-Active topology.

  4. Configured a global DNS load balancer to point to the two TAS for VMs foundations and their local load balancers. For more information, see Configure your GLB.

Enabling Multi‑Site Replication

After two TAS for VMs foundations are created, you can enable multi‑site replication by doing the following:

  1. Configure networking rules. For more information on network rules, see Required networking rules for Multi‑Site Replication.

  2. Enable TLS for both foundations. When you paste the contents of your TLS CA certificate in Preparing for TLS, paste both TLS CA certificates as shown in the following image:

    alt-text=On the Security pane in the MySQL tile, the TLS CA certificates for the two different
foundations are in the Trusted Certificates field.

  3. Configure a Multi‑Site Replication plan on both foundations. See Configure service plans.

check-circle-line exclamation-circle-line close-line
Scroll to top icon