Steps to Configure a Multi-site Deployment

To replicate a table's DML operations to one or more GemFire XD clusters over a WAN, you configure the required WAN features in each GemFire XD cluster.

GemFire XD provides SQL commands and extensions for creating and managing the gateway senders, gateways receivers, and tables that are used for WAN replication.

Follow these steps to configure a multi-site deployment.
Step Description Topic
1 Plan the topology of the connections among the multiple clusters. Multi-site (WAN) Deployment

Configuring Multi-site (WAN) Deployments

2 Start the locators for each cluster, specifying the local cluster's distributed system ID and the locator addresses associated with remote clusters. Configure Locators for WAN Member Discovery
3 Start data stores in each cluster, specifying the required server group memberships and external WAN addresses. Start Datastores for WAN Replication
4 Optionally configure any disk stores that you will use to persist DML operations that are queued before sending to a remote cluster. Creating a Disk Store or Using the Default
5 Configure a gateway sender in each GemFire XD cluster that will send its data to another remote cluster for replication. Create and Start Gateway Sender
6 Create tables in the source GemFire XD cluster, specifying one or more named gateway senders that will send table DML operations for replication. Create Tables with Gateway Senders
7 Create tables in the target GemFire XD cluster with identical column definitions (using the same DDL commands). The cluster that will replicate DML operations must have identical tables available before it can apply the DML. Create Tables with Gateway Senders
8 Configure a gateway receiver in each GemFire XD cluster that will receive and replicate table DML operations from another remote system. Create a Gateway Receiver
9 Test WAN replication by inserting rows in tables that have gateway senders, and verifying that those operations are replicated.
10 Start, stop, and manage gateway senders and receivers as necessary. Start and Stop Gateway Senders
11 Change or remove gateway sender and gateway receiver configurations as necessary. Add and Remove Gateway Senders and Receivers