#!/bin/bash -e

./couchbase-cli rebalance -c 172.20.1.1:8091 -u Administrator -p asdasd --server-remove 172.20.1.2 --no-progress-bar

./couchbase-cli server-add -c 172.20.1.1:8091 -u Administrator -p asdasd --server-add 172.20.1.2 --server-add-username Administrator --server-add-password asdasd --services data

./couchbase-cli rebalance -c 172.20.1.1:8091 -u Administrator -p asdasd --no-progress-bar
