6 Connecting an Application to an EDB Ark Cluster

Table of Contents Previous Next


6 Connecting an Application to an EDB Ark Cluster

C:\Users\susan\Desktop\Screen Shot 2018-12-11 at 4.00.36 PM.png
Figure 6.1- The Details panel on the Clusters tab.
If you have defined a cluster with two or more servers, client applications should always connect to the load balancing port of the master server (the first DNS name listed in the Details panel). This will ensure that read requests are distributed efficiently across the cluster replicas to maximize performance, while write requests are directed only to the cluster master. Replica server nodes are listed below the master node in the tree view.
The DNSNAME column displays the address of the node; a connecting client should use this address when connecting to a specific server (see Figure 6.1).
The LB PORT column displays the port number to which a client application should connect to utilize load balancing.
The DB PORT column displays the default listener port for the Advanced Server or PostgreSQL server. To connect directly to the database listener port, modify the cluster's security group to allow connections from your client.
Use the authentication information (Master User and Master Password) provided on the Create a New Server Cluster dialog to establish the initial connection to the cluster as the database superuser. Please note that connecting with this identity grants you superuser privileges on the server; you should not share this connection information with un-trusted users.

6 Connecting an Application to an EDB Ark Cluster

Table of Contents Previous Next