.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH PACEMAKER "8" "January 2021" "Pacemaker 2.0.5" "System Administration Utilities" .SH NAME Pacemaker \- Part of the Pacemaker cluster resource manager .SH SYNOPSIS .B crm_ticket \fI\,| \/\fR[\fI\,options\/\fR] .SH DESCRIPTION crm_ticket \- perform tasks related to cluster tickets .PP Allows ticket attributes to be queried, modified and deleted. .SH OPTIONS .TP \-?, \fB\-\-help\fR This text .TP \-$, \fB\-\-version\fR Version information .TP \fB\-V\fR, \fB\-\-verbose\fR Increase debug output .TP \fB\-Q\fR, \fB\-\-quiet\fR Print only the value on stdout .TP \fB\-t\fR, \fB\-\-ticket\fR=\fI\,value\/\fR Ticket ID .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 Commands:" .TP \fB\-G\fR, \fB\-\-get\-attr\fR=\fI\,value\/\fR Display the named attribute for a ticket .TP \fB\-S\fR, \fB\-\-set\-attr\fR=\fI\,value\/\fR Set the named attribute for a ticket .TP \fB\-D\fR, \fB\-\-delete\-attr\fR=\fI\,value\/\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\-n\fR, \fB\-\-set\-name\fR=\fI\,value\/\fR (Advanced) ID of the instance_attributes object to change .TP \fB\-i\fR, \fB\-\-nvpair\fR=\fI\,value\/\fR (Advanced) ID of the nvpair object to change/delete .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: .PP The cluster site will 'forget' the existing ticket state. .IP # crm_ticket \-\-ticket ticketA \-\-cleanup .SH AUTHOR Written by Andrew Beekhof .SH "REPORTING BUGS" Report bugs to users@clusterlabs.org