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       crm_ticket - perform tasks related to cluster tickets
13
14       Allows ticket attributes to be queried, modified and deleted.
15

OPTIONS

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

EXAMPLES

92       Display the info of tickets:
93
94              # crm_ticket --info
95
96       Display the detailed info of tickets:
97
98              # crm_ticket --details
99
100       Display the XML of 'ticketA':
101
102              # crm_ticket --ticket ticketA --query-xml
103
104       Display the rsc_ticket constraints that apply to 'ticketA':
105
106              # crm_ticket --ticket ticketA --constraints
107
108       Grant 'ticketA' to this cluster site:
109
110              # crm_ticket --ticket ticketA --grant
111
112       Revoke 'ticketA' from this cluster site:
113
114              # crm_ticket --ticket ticketA --revoke
115
116       Make 'ticketA' standby (the cluster site will treat a granted 'ticketA'
117       as  'standby',  and  the dependent resources will be stopped or demoted
118       gracefully without triggering loss-policies):
119
120              # crm_ticket --ticket ticketA --standby
121
122       Activate 'ticketA' from being standby:
123
124              # crm_ticket --ticket ticketA --activate
125
126       Get the value of the 'granted' attribute for 'ticketA':
127
128              # crm_ticket --ticket ticketA --get-attr granted
129
130       Set the value of the 'standby' attribute for 'ticketA':
131
132              # crm_ticket --ticket ticketA  --set-attr  standby  --attr-value
133              true
134
135       Delete the 'granted' attribute for 'ticketA':
136
137              # crm_ticket --ticket ticketA --delete-attr granted
138
139       Erase the operation history of 'ticketA' at this cluster site:
140
141       The cluster site will 'forget' the existing ticket state.
142
143              # crm_ticket --ticket ticketA --cleanup
144

AUTHOR

146       Written by Andrew Beekhof
147

REPORTING BUGS

149       Report bugs to users@clusterlabs.org
150
151
152
153Pacemaker 2.1.0-0.2.rc1.fc34       May 2021                       PACEMAKER(8)
Impressum