1PACEMAKER(8) System Administration Utilities PACEMAKER(8)
2
3
4
6 Pacemaker - Part of the Pacemaker cluster resource manager
7
9 crm_ticket (query|command) [options]
10
12 crm_ticket - Perform tasks related to cluster tickets. Allows ticket
13 attributes to be queried, modified and deleted.
14
16 -?, --help
17 This text
18
19 -$, --version
20 Version information
21
22 -V, --verbose
23 Increase debug output
24
25 -Q, --quiet
26 Print only the value on stdout
27
28 -t, --ticket=value
29 Ticket ID
30
31 Queries:
32 -l, --info
33 Display the information of ticket(s)
34
35 -L, --details
36 Display the details of ticket(s)
37
38 -w, --raw
39 Display the IDs of ticket(s)
40
41 -q, --query-xml
42 Query the XML of ticket(s)
43
44 -c, --constraints
45 Display the rsc_ticket constraints that apply to ticket(s)
46
47 Commands:
48 -g, --grant
49 Grant a ticket to this cluster site
50
51 -r, --revoke
52 Revoke a ticket from this cluster site
53
54 -s, --standby
55 Tell this cluster site this ticket is standby
56
57 -a, --activate
58 Tell this cluster site this ticket is active
59
60 Advanced Commands:
61 -G, --get-attr=value
62 Display the named attribute for a ticket
63
64 -S, --set-attr=value
65 Set the named attribute for a ticket
66
67 -D, --delete-attr=value
68 Delete the named attribute for a ticket
69
70 -C, --cleanup
71 Delete all state of a ticket at this cluster site
72
73 Additional Options:
74 -v, --attr-value=value
75 Attribute value to use with -S
76
77 -d, --default=value
78 (Advanced) The default attribute value to display if none is
79 found. For use with -G
80
81 -f, --force
82 (Advanced) Force the action to be performed
83
84 -n, --set-name=value
85 (Advanced) ID of the instance_attributes object to change
86
87 -i, --nvpair=value
88 (Advanced) ID of the nvpair object to change/delete
89
91 Display the info of tickets:
92
93 # crm_ticket --info
94
95 Display the detailed info of tickets:
96
97 # crm_ticket --details
98
99 Display the XML of 'ticketA':
100
101 # crm_ticket --ticket ticketA --query-xml
102
103 Display the rsc_ticket constraints that apply to 'ticketA':
104
105 # crm_ticket --ticket ticketA --constraints
106
107 Grant 'ticketA' to this cluster site:
108
109 # crm_ticket --ticket ticketA --grant
110
111 Revoke 'ticketA' from this cluster site:
112
113 # crm_ticket --ticket ticketA --revoke
114
115 Make 'ticketA' standby:
116
117 The cluster site will treat a granted 'ticketA' as 'standby'. The
118 dependent resources will be stopped or demoted gracefully without trig‐
119 gering loss-policies
120
121 # crm_ticket --ticket ticketA --standby
122
123 Activate 'ticketA' from being standby:
124
125 # crm_ticket --ticket ticketA --activate
126
127 Get the value of the 'granted' attribute for 'ticketA':
128
129 # crm_ticket --ticket ticketA --get-attr granted
130
131 Set the value of the 'standby' attribute for 'ticketA':
132
133 # crm_ticket --ticket ticketA --set-attr standby --attr-value
134 true
135
136 Delete the 'granted' attribute for 'ticketA':
137
138 # crm_ticket --ticket ticketA --delete-attr granted
139
140 Erase the operation history of 'ticketA' at this cluster site:
141
142 The cluster site will 'forget' the existing ticket state.
143
144 # crm_ticket --ticket ticketA --cleanup
145
147 Written by Andrew Beekhof
148
150 Report bugs to users@clusterlabs.org
151
152
153
154Pacemaker 2.0.3-1.fc32 November 2019 PACEMAKER(8)