Work with your host system administrators to plan your overall deployment strategy. Create a
detailed list of the machines and communication ports that your GemFire XD peer and server members
will use. Your deployment decisions determine how servers and peers find each other and distribute
data in the cluster.
The following steps are high-level tasks for planning and configuring your deployment. Where
necessary they provide links to more detailed procedures.
- If you have not done so already, determine the amount of heap or off-heap memory you
will need to allocate on individual members. For guidelines on memory capacity
planning, see Overview of Memory Capacity Planning.
- For each host machine with more than one
network adapter card, decide whether to use the default address or one or more
non-default bind addresses. You can use different cards for peer and server
- Identify which GemFire XD servers, if any,
that you want to run as standalone, isolated members, with no membership in a cluster.
Standalone servers may be sufficient for certain applications. A single server has
faster startup, but no peer-to-peer distribution of any kind.
- For all other clustered GemFire XD members:
Decide whether to use locators or a multicast address for member discovery.
Locators are recommended for production systems and required for
implementing security, network partitioning management, and thin client
load balancing. Decide how many locators to use and where each locator
To ensure the most stable startup and availability, use multiple locators
that run on different computers. Create a list of your locators' address
and port pairs. You will use the list to configure other clustered GemFire
XD peers or servers, thin client connections, and the locators themselves.
- If you choose a multicast address for
communication or as an alternative to locators for peer member discovery,
record the unique multicast address and port for each separate cluster.
Note: Use different port numbers for different clusters, even if you
already use different multicast addresses. Some operating systems do not
separate communication between systems that have unique addresses but the
same port number.
- Set up member discovery using either locators
or multicast. See Configuring Discovery Mechanisms.
- As needed, set up communication between
multiple clusters. See Configuring Multi-site (WAN) Deployments.
- Periodically monitor your product usage, to verify that you are in
compliance with your GemFire XD license. See Product Usage Logging.
When you start GemFire XD servers or peer client members, they find and communicate with each
other using methods and addresses that you configure.