You can access GaussDB(DWS) clusters by different methods and the connection address of each connection method varies. This section describes how to view and obtain the private network address on the cloud platform, public network address on the Internet, and JDBC connection strings.
To obtain the cluster connection address, use either of the following methods:
You can only select clusters in the Available state.
Parameter |
Description |
---|---|
Default Database |
Database name specified when the cluster is created. When you connect to the cluster for the first time, connect to the default database. |
Initial Administrator |
Database administrator specified during cluster creation. When you connect to the cluster for the first time, you need to use the initial database administrator and password to connect to the default database. |
Port |
Port for accessing the cluster database over the public network or private network. The host port is specified when a cluster is created and used to listen to client connections. |
Connection String |
Connection string. You can click View Details to check the data warehouse connection information. Its value can be:
|
ELB Address |
To achieve high availability and avoid single-CN failures, a new cluster needs to be bound to ELB. You are advised to use the ELB address to connect to the cluster. |
Private Network Domain Name |
Name of the domain for accessing the database in the cluster over the private network. The private network domain address is automatically generated when a cluster is created. The default name format is ClusterName.dws.otc-tsi.de. When you access a data warehouse cluster using a domain name, the domain name resolver provides the load balancing function. NOTE:
If the cluster name does not comply with the domain name standards, the prefix of the default access domain name will be adjusted accordingly. You can click Modify to change the private network domain name. The access domain name contains 4 to 63 characters, which consists of letters, digits, and hyphens (-), and must start with a letter. For details, see Managing Access Domain Names. |
Private Network IP Address |
IP address for accessing the database in the cluster over the private network. NOTE:
|
Public Network Domain Name |
Name of the domain for accessing the database in the cluster over the public network. For details, see Managing Access Domain Names. |
Public Network IP Address |
IP address for accessing the database in the cluster over the public network. NOTE:
|