Documentation - Redise Pack

A guide to Redise Pack installation, operation and administration

open all | close all

Testing client connectivity

In various scenarios, such as after creating a new cluster or upgrading the cluster, it is highly advisable to verify client connectivity to the database.

To test client connectivity:

  1. Create a Redis database and get the database’s endpoint, which contains the cluster name (FQDN). For additional details, refer to Creating a new database.
  2. Try to connect to the database endpoint from your client of choice, and execute commands against the database.
  3. If the database does not respond, try to connect to the database endpoint by using the IP address rather than the FQDN; if you succeed, it means that the DNS is not properly configured. For additional details, refer to DNS.

If any issues are encountered during the connectivity test, contact our support at support@redislabs.com.

Example:

  1. You can use redis-cli, and try to connect by using the following format:

    redis-cli -h <hostname> -p <port> -a <password if exists>

    Where:
    <hostname> is the database endpoint without the port number section
    <port> is the port number of the database

  2. Run the PING command to test your connectivity to the database. If the test is successful, the database will respond with PONG.