Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.09 KB

File metadata and controls

49 lines (31 loc) · 1.09 KB

server-list

Lists all servers in the cluster

SYNOPSIS

couchbase-cli server-list [--cluster <url>] [--username <user>]
    [--password <password>]

DESCRIPTION

Returns a new line separated list of all servers in the cluster. Each server name will be either a hostname or IP address. If no port number is specified for the server then the port number is 8091.

EXAMPLES

To get a list of servers in the cluster you can run the command below.

$ couchbase-cli server-list -c 192.168.1.5:8091 --username Administrator \
 --password password
192.168.1.5:8091
192.168.1.6:8091
192.168.1.7:8091

ENVIRONMENT AND CONFIGURATION VARIABLES

SEE ALSO

man:couchbase-cli-host-list[1], man:couchbase-cli-server-info[1]