doc-exports/docs/dcs/umn/dcs-faq-0730017.html
Chen, Junjie ea05d1a734 DCS UMN Initial Version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2022-12-12 14:07:56 +00:00

1.6 KiB

Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?

Cluster DCS Redis 3.0 instances (Proxy Cluster type) are used in the same way that you use single-node or master/standby instances. You do not need to know the backend node addresses.

For a cluster DCS Redis 4.0 or 5.0 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.