PACEMAKER(8)

πŸ’– Pacemaker, bestie! (PACEMAKER(8))

Okay so welcome to the Pacemaker manual page, from the System Administration Utilities corner of the Unix world. This is your group-chat rundown of crm_ticket, and yes, we are keeping every single detail. 🫢


🌸 NAME 🌸

Pacemaker β€” part of the Pacemaker cluster resource manager. That's the whole name, bestie.


✨ SYNOPSIS ✨

crm_ticket <query>|<command> [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

Performs tasks related to cluster tickets. It allows ticket attributes to be queried, modified, and deleted. Lowkey iconic behavior for a command, ngl. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

Okay, flags. Every single one. No skips, no "I'll come back to it later" β€” we're doing this properly. ✨

πŸ›Ÿ Help Options

  • -h, --help β€” shows help options.
  • --help-all β€” shows all help options.
  • --help-output β€” shows output help.
  • --help-queries β€” shows queries.
  • --help-commands β€” shows command options.
  • --help-advanced β€” shows advanced options.
  • --help-additional β€” shows additional options.
  • --help-deprecated β€” shows deprecated options.

🎨 Output Options

  • --output-as=FORMAT β€” sets output format as one of: text (default), xml.
  • --output-to=DEST β€” sets file name for output (or - for stdout).

πŸ” Queries

  • -l, --info β€” displays the information of ticket(s).
  • -L, --details β€” displays the details of ticket(s).
  • -w, --raw β€” displays the IDs of ticket(s).
  • -q, --query-xml β€” queries the XML of ticket(s).
  • -c, --constraints β€” displays the rsc_ticket constraints that apply to ticket(s).

πŸ‘‘ Commands

  • -g, --grant β€” grants a ticket to this cluster site.
  • -r, --revoke β€” revokes a ticket from this cluster site.
  • -s, --standby β€” tells this cluster site this ticket is standby.
  • -a, --activate β€” tells this cluster site this ticket is active.

🧚 Advanced Options

  • -G, --get-attr=ATTRIBUTE β€” displays the named attribute for a ticket.
  • -S, --set-attr=ATTRIBUTE β€” sets the named attribute for a ticket.
  • -D, --delete-attr=ATTRIBUTE β€” deletes the named attribute for a ticket.
  • -C, --cleanup β€” deletes all state of a ticket at this cluster site.

πŸ“ Additional Options

  • -v, --attr-value=VALUE β€” attribute value to use with -S.
  • -d, --default=VALUE β€” (Advanced) default attribute value to display if none is found (for use with -G).
  • -f, --force β€” (Advanced) force the action to be performed.
  • -t, --ticket=ID β€” ticket ID.

πŸ’€ Deprecated Options

Bestie, these are deprecated β€” they're still listed here because the page lists them, but yeah, they're deprecated. πŸ’€
  • -n, --set-name=ID β€” (Advanced) ID of the instance_attributes object to change.
  • -i, --nvpair=ID β€” (Advanced) ID of the nvpair object to change/delete.
  • -Q, --quiet β€” prints only the value on stdout.

🌈 Application Options

  • -$, --version β€” displays software version and exits.
  • -V, --verbose β€” increases debug output (may be specified multiple times).

🧁 EXAMPLES 🧁

Copy-paste approved, bestie. These are the exact commands from the page. πŸ’–

Display the info of tickets:

crm_ticket --info

Display the detailed info of tickets:

crm_ticket --details

Display the XML of ticketA:

crm_ticket --ticket ticketA --query-xml

Display the rsc_ticket constraints that apply to ticketA:

crm_ticket --ticket ticketA --constraints

Grant ticketA to this cluster site:

crm_ticket --ticket ticketA --grant

Revoke ticketA from this cluster site:

crm_ticket --ticket ticketA --revoke

Make ticketA standby β€” important bit: the cluster site will treat a granted ticketA as standby, and the dependent resources will be stopped or demoted gracefully without triggering loss-policies:

crm_ticket --ticket ticketA --standby

Activate ticketA from being standby:

crm_ticket --ticket ticketA --activate

Get the value of the granted attribute for ticketA:

crm_ticket --ticket ticketA --get-attr granted

Set the value of the standby attribute for ticketA:

crm_ticket --ticket ticketA --set-attr standby --attr-value true

Delete the granted attribute for ticketA:

crm_ticket --ticket ticketA --delete-attr granted

Erase the operation history of ticketA at this cluster site, causing the cluster site to forget the existing ticket state:

crm_ticket --ticket ticketA --cleanup

🫢 AUTHOR 🫢

Written by Andrew Beekhof and the Pacemaker project contributors. Legends, honestly. πŸ‘‘


That's the whole page, bestie. Cute sign-off time: this page is from Pacemaker 3.0.3+20260728.7052..., dated September 2026, and it's PACEMAKER(8). Bye bestie! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from