Configure Locators for WAN Member Discovery

When you start a GemFire XD locator in a WAN deployment, you must specify additional configuration options to identify each GemFire XD cluster in the WAN.

Important Configuration Notes


  1. Start a locator for a GemFire XD cluster. For example, to start a locator for GemFire XD cluster 1 shown in Figure 2:
    gfxd locator start

    The above command configures the local GemFire XD distributed system (with -distributed-system-id=1) to replicate to two different remote GemFire XD distributed systems using standalone locators.

    Note: -peer-discovery-address and -peer-discovery-port identify the network connection that local GemFire XD members use to discovery each other in the distributed system. -locators identifies all of the locators used in the distributed system (the above example uses the single, standalone locator that the gfxd command starts). These parameters are always used when starting locators, regardless of whether WAN replication is configured. See Using Locators for more information.
  2. To start a locator in GemFire XD cluster 2, you would enter a command similar to:
    gfxd locator start

    The preceding commands ensure that both cluster 1 and cluster 2 are associated with one another (and to cluster 3), and can replicate or receive data as necessary.