Preparing for Multi-Site Replication

Note: Pivotal Platform is now part of VMware Tanzu. In v2.8 and later, MySQL for Pivotal Platform is named MySQL for VMware Tanzu.

Page last updated:

This topic provides instructions to operators about how to prepare foundations for multi‑site replication using MySQL for VMware Tanzu.

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

Prerequisites

Before multi‑site replication can be configured for MySQL for VMware Tanzu, you must confirm that you have done the following:

  1. Created two VMware Tanzu Application Service for VMs (TAS for VMs) foundations that support MySQL for VMware Tanzu 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 ensure 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. See Configure Your GLB.

Enable 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. 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 below:

    On the Security pane in the MySQL tile, a TLS CA certificate for the two different foundation are in the Trusted Certificates field.

  3. Configure a Multi‑Site Replication plan on both foundations. See Configure Service Plans.