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

7.4. Displaying Constraints


There are a several commands you can use to display constraints that have been configured.
The following command lists all current location, order, and colocation constraints.
pcs constraint list|show
Copy to Clipboard Toggle word wrap
The following command lists all current location constraints.
  • If resources is specified, location constraints are displayed per resource. This is the default behavior.
  • If nodes is specified, location constraints are displayed per node.
  • If specific resources or nodes are specified, then only information about those resources or nodes is displayed.
pcs constraint location [show resources|nodes [specific nodes|resources]] [--full]
Copy to Clipboard Toggle word wrap
The following command lists all current ordering constraints. If the --full option is specified, show the internal constraint IDs.
pcs constraint order show [--full]
Copy to Clipboard Toggle word wrap
The following command lists all current colocation constraints. If the --full option is specified, show the internal constraint IDs.
pcs constraint colocation show [--full]
Copy to Clipboard Toggle word wrap
The following command lists the constraints that reference specific resources.
pcs constraint ref resource ...
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

© 2026 Red Hat