To remove a node from the cluster, use the
rebalance command and specify the URI for the
node you want to remove in the
--server-remove option:
shell> couchbase-cli rebalance -c 10.4.2.4:8091 -u Administrator -p password --server-remove=10.4.2.4:8091
Additional servers can be specified by using addition
--server-remove option. The operation
imediately triggers s rebalance after the nodes have been removd
from the cluster.
INFO: rebalancing . . . . . . . . . . . . . . .