DOKK / manpages / debian 12 / pacemaker-cli-utils / crm_rule.8.en
PACEMAKER(8) System Administration Utilities PACEMAKER(8)

Pacemaker - Part of the Pacemaker cluster resource manager

crm_rule mode [options]

evaluate rules from the Pacemaker configuration

Show help options
Show all help options
Show output help
Show modes of operation
Show data options
Show additional options

Specify output format as one of: text (default), xml
Specify file name for output (or "-" for stdout)
Use more highly formatted output (requires --output-as=text)

Check whether a rule is in effect

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

Whether the rule is in effect on a given date
The ID of the rule to check (may be specified multiple times)

-$, --version
Display software version and exit
Increase debug output (may be specified multiple times)

Written by Andrew Beekhof and the Pacemaker project contributors

Report bugs to users@clusterlabs.org

July 2023 Pacemaker 2.1.5