Example of configuring connection management for a high-availability replication system
You can use a Connection Manager to route client connections for the participants of a replicate set and to control failover for high-availability clusters that participate in Enterprise Replication.
For this example, you have a grid that consists of four
nodes. One of the nodes is a primary server in a high-availability
cluster that consists of a primary server, an SD secondary server,
an HDR secondary server, and an RS secondary server:
- server_1a - ER Node 1, primary server
- server_1b - SD secondary server
- server_1c - HDR secondary server
- server_1d - RS secondary server
- server_2 - ER Node 2
- server_3 - ER Node 3
- server_4 - ER Node 4
The grid supports reporting services, which can run on any of the ER nodes.
Your system has the following needs
- Client requests are directed to the ER node with the lowest transaction latency.
- The system can withstand the failure of a Connection Manager.
- The system can withstand a network-interface card (NIC) failure on each host.
- The Connection Managers control failover for the cluster.
- If failover occurs, it the SD secondary server takes priority over the HDR secondary server. The HDR secondary server takes priority over the RS secondary server.
- If the primary server fails, the Connection Managers can still connect to the cluster after restarting.
To configure connection management: