.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH PACEMAKER "8" "February 2024" "Pacemaker 2.1.6" "System Administration Utilities" .SH NAME Pacemaker \- Part of the Pacemaker cluster resource manager .SH SYNOPSIS crm_ticket | [options] .SH DESCRIPTION Perform tasks related to cluster tickets .PP Allows ticket attributes to be queried, modified and deleted. .SH OPTIONS .SS "Help Options:" .TP \fB\-h\fR, \fB\-\-help\fR Show help options .TP \fB\-\-help\-all\fR Show all help options .TP \fB\-\-help\-queries\fR Show queries .TP \fB\-\-help\-commands\fR Show command options .TP \fB\-\-help\-advanced\fR Show advanced options .TP \fB\-\-help\-additional\fR Show additional options .TP \fB\-\-help\-deprecated\fR Show deprecated options .SS "Queries:" .TP \fB\-l\fR, \fB\-\-info\fR Display the information of ticket(s) .TP \fB\-L\fR, \fB\-\-details\fR Display the details of ticket(s) .TP \fB\-w\fR, \fB\-\-raw\fR Display the IDs of ticket(s) .TP \fB\-q\fR, \fB\-\-query\-xml\fR Query the XML of ticket(s) .TP \fB\-c\fR, \fB\-\-constraints\fR Display the rsc_ticket constraints that apply to ticket(s) .SS "Commands:" .TP \fB\-g\fR, \fB\-\-grant\fR Grant a ticket to this cluster site .TP \fB\-r\fR, \fB\-\-revoke\fR Revoke a ticket from this cluster site .TP \fB\-s\fR, \fB\-\-standby\fR Tell this cluster site this ticket is standby .TP \fB\-a\fR, \fB\-\-activate\fR Tell this cluster site this ticket is active .SS "Advanced Options:" .TP \fB\-G\fR, \fB\-\-get\-attr\fR=\fI\,ATTRIBUTE\/\fR Display the named attribute for a ticket .TP \fB\-S\fR, \fB\-\-set\-attr\fR=\fI\,ATTRIBUTE\/\fR Set the named attribute for a ticket .TP \fB\-D\fR, \fB\-\-delete\-attr\fR=\fI\,ATTRIBUTE\/\fR Delete the named attribute for a ticket .TP \fB\-C\fR, \fB\-\-cleanup\fR Delete all state of a ticket at this cluster site .SS "Additional Options:" .TP \fB\-v\fR, \fB\-\-attr\-value\fR=\fI\,VALUE\/\fR Attribute value to use with \fB\-S\fR .TP \fB\-d\fR, \fB\-\-default\fR=\fI\,VALUE\/\fR (Advanced) Default attribute value to display if none is found (for use with \fB\-G\fR) .TP \fB\-f\fR, \fB\-\-force\fR (Advanced) Force the action to be performed .TP \fB\-t\fR, \fB\-\-ticket\fR=\fI\,ID\/\fR Ticket ID .SS "Deprecated Options:" .TP \fB\-n\fR, \fB\-\-set\-name\fR=\fI\,ID\/\fR (Advanced) ID of the instance_attributes object to change .TP \fB\-i\fR, \fB\-\-nvpair\fR=\fI\,ID\/\fR (Advanced) ID of the nvpair object to change/delete .TP \fB\-Q\fR, \fB\-\-quiet\fR Print only the value on stdout .SS "Application Options:" .TP \-$, \fB\-\-version\fR Display software version and exit .TP \fB\-V\fR, \fB\-\-verbose\fR Increase debug output (may be specified multiple times) .SH EXAMPLES Display the info of tickets: .IP crm_ticket \-\-info .PP Display the detailed info of tickets: .IP crm_ticket \-\-details .PP Display the XML of 'ticketA': .IP crm_ticket \-\-ticket ticketA \-\-query\-xml .PP Display the rsc_ticket constraints that apply to 'ticketA': .IP crm_ticket \-\-ticket ticketA \-\-constraints .PP Grant 'ticketA' to this cluster site: .IP crm_ticket \-\-ticket ticketA \-\-grant .PP Revoke 'ticketA' from this cluster site: .IP crm_ticket \-\-ticket ticketA \-\-revoke .PP Make 'ticketA' standby (the cluster site will treat a granted \&'ticketA' as 'standby', and the dependent resources will be stopped or demoted gracefully without triggering loss\-policies): .IP crm_ticket \-\-ticket ticketA \-\-standby .PP Activate 'ticketA' from being standby: .IP crm_ticket \-\-ticket ticketA \-\-activate .PP Get the value of the 'granted' attribute for 'ticketA': .IP crm_ticket \-\-ticket ticketA \-\-get\-attr granted .PP Set the value of the 'standby' attribute for 'ticketA': .IP crm_ticket \-\-ticket ticketA \-\-set\-attr standby \-\-attr\-value true .PP Delete the 'granted' attribute for 'ticketA': .IP crm_ticket \-\-ticket ticketA \-\-delete\-attr granted .PP Erase the operation history of 'ticketA' at this cluster site, causing the cluster site to 'forget' the existing ticket state: .IP crm_ticket \-\-ticket ticketA \-\-cleanup .SH AUTHOR Written by Andrew Beekhof and the Pacemaker project contributors