Show Table of Contents
6.3.7. Removing Districts
When deleting a district, first remove all the node hosts from the district, then delete the district.
Procedure 6.5. To Remove Districts:
- On the broker host, set the district's capacity to
0:#
oo-admin-ctl-district -c remove-capacity -n district_name -s 6000 - Remove all the node hosts from the district you want to delete by running the following commands for each node:
#
oo-admin-ctl-district -c deactivate-node -i node_hostname#oo-admin-ctl-district -c remove-node -n district_name -i node_hostname - Delete the empty district:
#
oo-admin-ctl-district -c destroy -n district_name

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.