Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
7.2 Using couchbase-cli
Chapter Sections
Chapters

7.2.1. Listing Servers

To list servers in a cluster you can provide the host:port for any one of the nodes in the cluster and also provide the --output=json option as we do below:

shell> couchbase-cli server-list -c 192.168.0.1:8091 -u Administrator -p password --output=json

This will return the following information about the cluster as well as nodes in the cluster:

If you do not provide the --output=json option, you will get a response from the individual node your provided in your command and whether the node is active.