Ce contenu n'est pas disponible dans la langue sélectionnée.

6.4.5. Additional Region and Zone Tasks


List all available regions with the following command:
# oo-admin-ctl-region -c list
Copy to Clipboard Toggle word wrap
Remove region and zone tags from a node with the following command:
# oo-admin-ctl-district -c unset-region -n district_name -i server_identityoo-admin-ctl-district -c unset-region -n district_name -i server_identityoo-admin-ctl-district -c unset-region -n district_name -i server_identityoo-admin-ctl-district -c unset-region -n district_name -i server_identity
Copy to Clipboard Toggle word wrap
Remove zones from a region with the following command:
# oo-admin-ctl-region -c remove-zone -r region_name -z zone_nameoo-admin-ctl-region -c remove-zone -r region_name -z zone_nameoo-admin-ctl-region -c remove-zone -r region_name -z zone_nameoo-admin-ctl-region -c remove-zone -r region_name -z zone_name
Copy to Clipboard Toggle word wrap
Destroy empty regions with the following command:
# oo-admin-ctl-region -c destroy -r region_nameoo-admin-ctl-region -c destroy -r region_name
Copy to Clipboard Toggle word wrap

Procedure 6.10. To Require New Applications Use Zones:

  1. In the /etc/openshift/plugins.d/openshift-origin-msg-broker-mcollective.conf file on the broker host, set the ZONES_REQUIRE_FOR_APP_CREATE parameter to true to require that new applications only use nodes tagged with a zone. When true, gear placement will fail if there are no zones available with the correct gear profile:
    ZONES_REQUIRE_FOR_APP_CREATE=true
    Copy to Clipboard Toggle word wrap
  2. Restart the broker service:
    # service openshift-broker restart
    Copy to Clipboard Toggle word wrap

Procedure 6.11. To Enforce the Minimum Number of Zones per Gear Group

  1. In the /etc/openshift/plugins.d/openshift-origin-msg-broker-mcollective.conf file on the broker host, set the ZONES_MIN_PER_GEAR_GROUP parameter to the desired minimum number of zones between which gears in application gear groups are distributed:
    ZONES_MIN_PER_GEAR_GROUP=number_of_zones
    Copy to Clipboard Toggle word wrap
  2. Restart the broker service:
    # service openshift-broker restart
    Copy to Clipboard Toggle word wrap
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat