A newer version of this documentation is available.

View Latest

Remove nodes via CLI

You cannot mark a node for removal from the command-line without simultaneously initiating a rebalance operation.

The rebalance command accepts one or more --server-add or --server-remove options. This adds or removes the server from the cluster, and immediately initiates a rebalance operation.

To remove a node during a rebalance operation:

> couchbase-cli rebalance --cluster=127.0.0.1:8091 \
          --user Administrator --password Password \
          --server-remove=192.168.0.73