The node listcldbs API returns the hostnames of the nodes in the cluster that are running the CLDB service.

Syntax

CLI

maprcli node listcldbs
    [ -cluster <cluster name> ]
    [ -cldb  <cldb hostname|ip:port> ]

REST

http[s]://<host>:<port>/rest/node/listcldbs?<parameters> 

Parameters



Parameter

Description

cluster name

The name of the cluster for which to return the list of CLDB node hostnames.

cldb hostname|ip:port

The hostname or IP address and port number of a CLDB node.

Examples

Return the list of CLDB nodes for the cluster my.cluster.com:

CLI

maprcli node listcldbs -cluster my.cluster.com

REST

https://r1n1.sj.us:8443/rest/node/listcldbs?cluster=my.cluster.com