このコンテンツは選択した言語では利用できません。

6.3.6. Removing Nodes from Districts


If many gears on a node host become idle over time, you can compact the district by decommissioning or re-purposing the node host. Use the oo-admin-ctl-district and oo-admin-move commands in combination to remove the gears from the node host, and then remove the host from its district.

Procedure 6.4. To Remove Nodes from Districts:

The following steps demonstrate an example situation where district small_district has two node hosts, node1.example.com and node2.example.com. The second node host, node2.example.com, has a high number of idle gears.
  1. Run the following commands and fix any problems that are found. This prevents future problems caused by moving a broken gear. On the broker host, run:
    # oo-admin-chk
    Copy to Clipboard Toggle word wrap
    On the node hosts, run:
    # oo-accept-node
    Copy to Clipboard Toggle word wrap
  2. Deactivate the node you want to remove to prevent applications from being created on or moved to the node. Existing gears continue running. On the broker host, run:
    # oo-admin-ctl-district -c deactivate-node -n small_district -i node2.example.comoo-admin-ctl-district -c deactivate-node -n small_district -i node2.example.comoo-admin-ctl-district -c deactivate-node -n small_district -i node2.example.comoo-admin-ctl-district -c deactivate-node -n small_district -i node2.example.com
    Copy to Clipboard Toggle word wrap
  3. Move all the gears from node2.example.com to node1.example.com by repeating the following command on the broker host for each gear on node2.example.com:
    # oo-admin-move --gear_uuid UUID -i node1.example.comoo-admin-move --gear_uuid UUID -i node1.example.comoo-admin-move --gear_uuid UUID -i node1.example.comoo-admin-move --gear_uuid UUID -i node1.example.com
    Copy to Clipboard Toggle word wrap
  4. Remove node2.example.com from the district:
    # oo-admin-ctl-district -c remove-node -n small_district -i node2.example.comoo-admin-ctl-district -c remove-node -n small_district -i node2.example.comoo-admin-ctl-district -c remove-node -n small_district -i node2.example.comoo-admin-ctl-district -c remove-node -n small_district -i node2.example.com
    Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat