Table of Contents Previous Next Index

Load Balancing in Multi-site Installations - Early Access : Basic Configuration Steps

Basic Configuration Steps

To implement a multiple-hub system, first determine the configuration of the connections between the multiple distributed system sites. Then, for each site, follow these steps:

1.
Identify the VMs that will host your gateway hubs, including which machines they will run on the the addresses they will use for gateway communication.
2.
Decide the gateway hub startup policy for each VM’s hubs.
3.
Decide which regions will point to which hubs.
4.
Following your planned configuration, for each hub define the gateways to the remote sites, including:
 
Endpoints - point to every hub instance on the remote site
 
Queue attributes
5.
Enable regions to communicate updates to the gateways, specifying:
 
enable gateway
 
hub ID
6.
Start all host VMs in the distributed system at the same time. This allows the primaries to assume their roles before any secondaries default to primary.

For details on the basic configuration of gateway communication, see the information on multi-site configuration in the GemFire Enterprise Developer’s Guide.