server-list

server-list

Lists servers in a cluster.

Syntax

The basic syntax is:

couchbase-cli server-list -c [host]:8091 -u [admin] -p [password] [options]    

Description

Use this command to list the servers in a cluster.

Options

The following are the command options:

Table 1. server-list options
Parameter Description
--group-name=GROUPNAME Displays all server in a server group (Enterprise Edition only)

Examples

Lists the servers:

couchbase-cli server-list -c 192.168.0.1:8091 -u Administrator -p password

Response

ns_1@192.168.0.1 192.168.0.1:8091 healthy active