Preparing for Multi-Site Replication
Note: In v2.9 and later, MySQL for VMware Tanzu is named VMware Tanzu SQL with MySQL for VMs.
Page last updated:
This topic provides instructions to operators about 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.
Before multi‑site replication can be configured for Tanzu SQL for VMs, you must confirm that you have done the following:
Created two VMware Tanzu Application Service for VMs (TAS for VMs) foundations that support Tanzu SQL for VMs v2.7 and later.
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 ensure that the CIDR ranges for the leader and follower nodes do not overlap.
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.
Configured a global DNS load balancer to point to the two TAS for VMs foundations and their local load balancers. See Configure Your GLB.
After two TAS for VMs foundations are created, you can enable multi‑site replication by doing the following:
Configure networking rules. See Required Networking Rules for Multi‑Site Replication.
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 below:
Configure a Multi‑Site Replication plan on both foundations. See Configure Service Plans.