Configuring Peer-to-Peer Discovery

By default, Pivotal GemFire uses multicast for peer discovery. You can change the configuration to separate distributed systems and provide greater flexibility in member discovery.

Before you begin, you should have a basic understanding of member discovery. You should also have already determined the address and port settings for member discovery. See Topology and Communication General Concepts.

These options are set through See and (GemFire Properties).
  • To use multicast for membership, in the for all system peers, provide the multicast address and port and disable locators for peer discovery:
    mcast-address=<mcast address>
    mcast-port=<mcast port>
  • To use locators for membership, in the of all system peers, including the locators, provide the locator list:
    By default, locators provide peer discovery in the system in which they run, so no special settings are required to enable it when you start them. See Pivotal GemFire Locator Process.
  • To use locators in a WAN configuration, specify a unique distributed system ID for the local cluster, as well as the locator(s) available in remote clusters to which you will connect. For example:
  • To run a standalone member, in the disable multicasting and locators:
Note: Multicast and locator settings must be consistent throughout the distributed system.