skip to main content
Connection Option Descriptions : Cluster Nodes
  

Try DataDirect Drivers Now

Cluster Nodes

Attribute

ClusterNodes (CN)

Purpose

A comma-separated list of member nodes in your cluster to which the driver attempts to connect. Specifying a value for this option enables connect time failover and load balancing. For details, see "Using Failover in a Cluster."

Valid Values

host_name | IP_address:port_number [, ...]
where:
host_name
is the name of a server for a member node in the replica-set cluster to which you want to connect.
IP_address
is the IP address of the server for a member node in the replica-set cluster to which you want to connect. The IP address can be specified in IPv4 or IPv6 format. Note that IPv6 values must be wrapped in double-quotation marks. See "Using IP Addresses" for details about these formats.
port_number
is the port number of the server listener for the corresponding member node.
For example:
server1:9042,255.125.1.11:9043,"2001:DB8:0000:0000:8:800:200C:417A":9044

Notes

*When specifying a value for this option, the driver randomly selects from the list for a server node to first attempt a connection. If that connection fails, the driver again randomly selects another server node from this list until all servers in the list have been tried or a connection is successfully established.

Default

None

GUI Tab

General tab

See Also

*Using Failover in a Cluster
*Using IP Addresses