1PACEMAKER(8)            System Administration Utilities           PACEMAKER(8)
2
3
4

NAME

6       Pacemaker - Part of the Pacemaker cluster resource manager
7

SYNOPSIS

9       crm_ticket <query>|<command> [options]
10

DESCRIPTION

12       Perform tasks related to cluster tickets
13
14       Allows ticket attributes to be queried, modified and deleted.
15

OPTIONS

17   Help Options:
18       -h, --help
19              Show help options
20
21       --help-all
22              Show all help options
23
24       --help-queries
25              Show queries
26
27       --help-commands
28              Show command options
29
30       --help-advanced
31              Show advanced options
32
33       --help-additional
34              Show additional options
35
36       --help-deprecated
37              Show deprecated options
38
39   Queries:
40       -l, --info
41              Display the information of ticket(s)
42
43       -L, --details
44              Display the details of ticket(s)
45
46       -w, --raw
47              Display the IDs of ticket(s)
48
49       -q, --query-xml
50              Query the XML of ticket(s)
51
52       -c, --constraints
53              Display the rsc_ticket constraints that apply to ticket(s)
54
55   Commands:
56       -g, --grant
57              Grant a ticket to this cluster site
58
59       -r, --revoke
60              Revoke a ticket from this cluster site
61
62       -s, --standby
63              Tell this cluster site this ticket is standby
64
65       -a, --activate
66              Tell this cluster site this ticket is active
67
68   Advanced Options:
69       -G, --get-attr=ATTRIBUTE
70              Display the named attribute for a ticket
71
72       -S, --set-attr=ATTRIBUTE
73              Set the named attribute for a ticket
74
75       -D, --delete-attr=ATTRIBUTE
76              Delete the named attribute for a ticket
77
78       -C, --cleanup
79              Delete all state of a ticket at this cluster site
80
81   Additional Options:
82       -v, --attr-value=VALUE
83              Attribute value to use with -S
84
85       -d, --default=VALUE
86              (Advanced)  Default  attribute value to display if none is found
87              (for use with -G)
88
89       -f, --force
90              (Advanced) Force the action to be performed
91
92       -t, --ticket=ID
93              Ticket ID
94
95   Deprecated Options:
96       -n, --set-name=ID
97              (Advanced) ID of the instance_attributes object to change
98
99       -i, --nvpair=ID
100              (Advanced) ID of the nvpair object to change/delete
101
102       -Q, --quiet
103              Print only the value on stdout
104
105   Application Options:
106       -$, --version
107              Display software version and exit
108
109       -V, --verbose
110              Increase debug output (may be specified multiple times)
111

EXAMPLES

113       Display the info of tickets:
114
115              crm_ticket --info
116
117       Display the detailed info of tickets:
118
119              crm_ticket --details
120
121       Display the XML of 'ticketA':
122
123              crm_ticket --ticket ticketA --query-xml
124
125       Display the rsc_ticket constraints that apply to 'ticketA':
126
127              crm_ticket --ticket ticketA --constraints
128
129       Grant 'ticketA' to this cluster site:
130
131              crm_ticket --ticket ticketA --grant
132
133       Revoke 'ticketA' from this cluster site:
134
135              crm_ticket --ticket ticketA --revoke
136
137       Make 'ticketA' standby (the cluster site will treat a granted 'ticketA'
138       as  'standby',  and  the dependent resources will be stopped or demoted
139       gracefully without triggering loss-policies):
140
141              crm_ticket --ticket ticketA --standby
142
143       Activate 'ticketA' from being standby:
144
145              crm_ticket --ticket ticketA --activate
146
147       Get the value of the 'granted' attribute for 'ticketA':
148
149              crm_ticket --ticket ticketA --get-attr granted
150
151       Set the value of the 'standby' attribute for 'ticketA':
152
153              crm_ticket --ticket ticketA --set-attr standby --attr-value true
154
155       Delete the 'granted' attribute for 'ticketA':
156
157              crm_ticket --ticket ticketA --delete-attr granted
158
159       Erase the operation history of 'ticketA' at this cluster site,  causing
160       the cluster site to 'forget' the existing ticket state:
161
162              crm_ticket --ticket ticketA --cleanup
163

AUTHOR

165       Written by Andrew Beekhof and the Pacemaker project contributors
166
167
168
169Pacemaker 2.1.7-0.1.rc1.fc39     November 2023                    PACEMAKER(8)
Impressum