crm_rule(8)

crm_rule8

Part of the pacemaker cluster resource manager

Usage

crm_rule <mode> [options]

Overview

evaluate rules from the Pacemaker configuration

Options

Help Options:

-h, --help

Show help options

--help-all

Show all help options

--help-output

Show output help

--help-modes

Show modes of operation

--help-data

Show data options

--help-additional

Show additional options

Output Options:

--output-as=FORMAT

Specify output format as one of: text (default), xml

--output-to=DEST

Specify file name for output (or "-" for stdout)

Modes (mutually exclusive):

-c, --check

Check whether a rule is in effect

Data:

-X, --xml-text

Use argument for XML (or stdin if '-')

Additional Options:

-d, --date

Whether the rule is in effect on a given date

-r, --rule

The ID of the rule to check (may be specified multiple times)

Application Options:

-$, --version

Display software version and exit

-V, --verbose

Increase debug output (may be specified multiple times)

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

-$ since Debian 13 (Trixie); --help-output since Debian 12 (Bookworm); --output-as since Debian 12 (Bookworm); --output-to since Debian 12 (Bookworm); --verbose since Debian 13 (Trixie); --version since Debian 13 (Trixie); -V since Debian 13 (Trixie).

--text-fancy until Debian 12 (Bookworm).

Author

Written by Andrew Beekhof and the Pacemaker project contributors

Reporting bugs

Report bugs to https://bugs.clusterlabs.org/enter_bug.cgi?product=Pacemaker

From pacemaker-cli-utils 3.0.0-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.