Step 4: Map a Domain to a Pool
The domain names that you specify in the allowlist are the server names used for the data source connection.
While on the Data Connect tab, under the pool section, select the pool you have assigned and click New Domain in the Actions column.
In the Domain text box, enter the URI of the domain using the information described in Allowlist registry rules. The domain URI that you specify will be scoped only to the pool you are configuring.
Under Domain permissions, confirm that the Allow radio button is selected.
When finished, click Save.
Troubleshooting connection errors
You must configure your network infrastructure so that the Data Connect can reach all required data sources that you would like to connect to. To verify that Data Connect can reach your data sources, run the following curl command from the nodes where Data Connect will run:
$ curl -v $DB_HOSTNAME:$DB_PORT
If you have successfully set up your connection, you should see a collection of responses. Some examples are shown here:
Host $DB_HOSTNAME:$DB_PORT was resolved
: Confirms the DNS servers successfully resolved the hostname.Connected to $DB_HOSTNAME
: Confirms the node has network connection.Empty reply from server. Closing connection
: This is expected since curl is not a database client.Could not resolve host: $DB_HOSTNAME
: There is an issue with DNS resolution.Trying $DB_IP_ADDRESS:$DB_PORT
: When this message is followed by a hanging result, there is a network problem.
If you are using a third party for the Data Connection infrastructure, ensure that networking logic is not being disrupted by the third party.
Data Connect setup workflow
Step 3: Build Your Base Image and Publish
Step 4: Map a Domain to a Pool