Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?
For a cluster DCS Redis 4.0 or later instance (Redis Cluster type), run the CLUSTER NODES command to obtain node addresses:
redis-cli -h {redis_address} -p {redis_port} -a {redis_password} cluster nodes
In the output similar to the following, obtain the IP addresses and port numbers of all the master nodes.
Feature FAQs
- What Are the CPU Specifications of DCS Instances?
- What Are Shard and Replica Quantities?
- Do DCS Redis Instances Limit the Size of a Key or Value?
- Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?
- Does DCS for Redis Support Redis Clusters?
- What Are Redis Data Eviction Policies?
- Does DCS for Redis Support Read/Write Splitting?
- Does DCS for Redis Support Multi-DB?
- Does DCS Support External Extensions, Plug-ins, or Modules?
- Does DCS Support Data Persistence? What Is the Impact of Persistence?
- Do DCS Redis Instances Limite Data Quantity?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more