High availability support in the wire listener
The wire listener provides high availability support.
To provide high availability for MongoDB client applications, use a high-availability cluster configuration for your HCL OneDB™ database servers. For each database server in the cluster, run a wire listener that is directly connected to that database server. Each wire listener must be on the same computer as the database server that it is connected to and all wire listeners must run on the port 27017. For more information, see http://docs.mongodb.org/meta-driver/latest/legacy/connect-driver-to-replica-set/.
To provide high availability between the wire listener and the HCL
OneDB database
server, use one of the following methods:
- Route the connection between the wire listener and the database server through the Connection Manager.
- Configure the url parameter in the wire listener configuration file to use one of the OneDB JDBC Driver methods of connecting to a high-availability cluster. For more information, see Dynamically reading the HCL OneDB sqlhosts file or Properties for connecting directly to an HDR pair of servers.