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.
4. Following your planned configuration, for each hub define the gateways to the remote sites, including:
□ 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.