Search

6.3.7. Removing Districts

download PDF
When deleting a district, first remove all the node hosts from the district, then delete the district.

Procedure 6.5. To Remove Districts:

  1. On the broker host, set the district's capacity to 0:
    # oo-admin-ctl-district -c remove-capacity -n district_name -s 6000
  2. 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
  3. Delete the empty district:
    # oo-admin-ctl-district -c destroy -n district_name
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.