Converse to adding
capacity to our OpenStack Storage cluster, there may be times where we need to scale back. We can do this by removing nodes from the zones in our cluster. In the following example, we will remove the node
z5, which only has one storage device attached,
Log in to the OpenStack Storage proxy server node.
Carry out the following to remove a storage node from a zone:
0, so that when the rings get rebalanced, data is drained away from this node:
cd /etc/swift swift-ring-builder account.builder set_weight z5-172.16.0.4:6002/sdb1 0 swift-ring-builder container.builder ...