Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat
Nach oben