pacemaker
3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
include
crm
common
options.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024-2025 the Pacemaker project contributors
3
*
4
* The version control history for this file may have further details.
5
*
6
* This source code is licensed under the GNU Lesser General Public License
7
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8
*/
9
10
#ifndef PCMK__CRM_COMMON_OPTIONS__H
11
#define PCMK__CRM_COMMON_OPTIONS__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
23
/*
24
* Cluster options
25
*/
26
27
#define PCMK_OPT_BATCH_LIMIT "batch-limit"
28
#define PCMK_OPT_CLUSTER_DELAY "cluster-delay"
29
#define PCMK_OPT_CLUSTER_INFRASTRUCTURE "cluster-infrastructure"
30
#define PCMK_OPT_CLUSTER_IPC_LIMIT "cluster-ipc-limit"
31
#define PCMK_OPT_CLUSTER_NAME "cluster-name"
32
#define PCMK_OPT_CLUSTER_RECHECK_INTERVAL "cluster-recheck-interval"
33
#define PCMK_OPT_CONCURRENT_FENCING "concurrent-fencing"
34
#define PCMK_OPT_DC_DEADTIME "dc-deadtime"
35
#define PCMK_OPT_DC_VERSION "dc-version"
36
#define PCMK_OPT_ELECTION_TIMEOUT "election-timeout"
37
#define PCMK_OPT_ENABLE_ACL "enable-acl"
38
#define PCMK_OPT_ENABLE_STARTUP_PROBES "enable-startup-probes"
39
#define PCMK_OPT_FENCE_REACTION "fence-reaction"
40
#define PCMK_OPT_FENCE_REMOTE_WITHOUT_QUORUM "fence-remote-without-quorum"
41
#define PCMK_OPT_HAVE_WATCHDOG "have-watchdog"
42
#define PCMK_OPT_JOIN_FINALIZATION_TIMEOUT "join-finalization-timeout"
43
#define PCMK_OPT_JOIN_INTEGRATION_TIMEOUT "join-integration-timeout"
44
#define PCMK_OPT_LOAD_THRESHOLD "load-threshold"
45
#define PCMK_OPT_MAINTENANCE_MODE "maintenance-mode"
46
#define PCMK_OPT_MIGRATION_LIMIT "migration-limit"
47
#define PCMK_OPT_NO_QUORUM_POLICY "no-quorum-policy"
48
#define PCMK_OPT_NODE_ACTION_LIMIT "node-action-limit"
49
#define PCMK_OPT_NODE_HEALTH_BASE "node-health-base"
50
#define PCMK_OPT_NODE_HEALTH_GREEN "node-health-green"
51
#define PCMK_OPT_NODE_HEALTH_RED "node-health-red"
52
#define PCMK_OPT_NODE_HEALTH_STRATEGY "node-health-strategy"
53
#define PCMK_OPT_NODE_HEALTH_YELLOW "node-health-yellow"
54
#define PCMK_OPT_NODE_PENDING_TIMEOUT "node-pending-timeout"
55
#define PCMK_OPT_PE_ERROR_SERIES_MAX "pe-error-series-max"
56
#define PCMK_OPT_PE_INPUT_SERIES_MAX "pe-input-series-max"
57
#define PCMK_OPT_PE_WARN_SERIES_MAX "pe-warn-series-max"
58
#define PCMK_OPT_PLACEMENT_STRATEGY "placement-strategy"
59
#define PCMK_OPT_PRIORITY_FENCING_DELAY "priority-fencing-delay"
60
#define PCMK_OPT_SHUTDOWN_ESCALATION "shutdown-escalation"
61
#define PCMK_OPT_SHUTDOWN_LOCK "shutdown-lock"
62
#define PCMK_OPT_SHUTDOWN_LOCK_LIMIT "shutdown-lock-limit"
63
#define PCMK_OPT_START_FAILURE_IS_FATAL "start-failure-is-fatal"
64
#define PCMK_OPT_STARTUP_FENCING "startup-fencing"
65
#define PCMK_OPT_STONITH_ACTION "stonith-action"
66
#define PCMK_OPT_STONITH_ENABLED "stonith-enabled"
67
#define PCMK_OPT_STONITH_MAX_ATTEMPTS "stonith-max-attempts"
68
#define PCMK_OPT_STONITH_TIMEOUT "stonith-timeout"
69
#define PCMK_OPT_STONITH_WATCHDOG_TIMEOUT "stonith-watchdog-timeout"
70
#define PCMK_OPT_STOP_ALL_RESOURCES "stop-all-resources"
71
#define PCMK_OPT_STOP_ORPHAN_ACTIONS "stop-orphan-actions"
72
#define PCMK_OPT_STOP_ORPHAN_RESOURCES "stop-orphan-resources"
73
#define PCMK_OPT_SYMMETRIC_CLUSTER "symmetric-cluster"
74
#define PCMK_OPT_TRANSITION_DELAY "transition-delay"
75
76
77
/*
78
* Meta-attributes
79
*/
80
81
#define PCMK_META_ALLOW_MIGRATE "allow-migrate"
82
#define PCMK_META_ALLOW_UNHEALTHY_NODES "allow-unhealthy-nodes"
83
#define PCMK_META_CLONE_MAX "clone-max"
84
#define PCMK_META_CLONE_MIN "clone-min"
85
#define PCMK_META_CLONE_NODE_MAX "clone-node-max"
86
#define PCMK_META_CONTAINER_ATTRIBUTE_TARGET "container-attribute-target"
87
#define PCMK_META_CRITICAL "critical"
88
#define PCMK_META_ENABLED "enabled"
89
#define PCMK_META_FAILURE_TIMEOUT "failure-timeout"
90
#define PCMK_META_GLOBALLY_UNIQUE "globally-unique"
91
#define PCMK_META_INTERLEAVE "interleave"
92
#define PCMK_META_INTERVAL "interval"
93
#define PCMK_META_IS_MANAGED "is-managed"
94
#define PCMK_META_INTERVAL_ORIGIN "interval-origin"
95
#define PCMK_META_MAINTENANCE "maintenance"
96
#define PCMK_META_MIGRATION_THRESHOLD "migration-threshold"
97
#define PCMK_META_MULTIPLE_ACTIVE "multiple-active"
98
#define PCMK_META_NOTIFY "notify"
99
#define PCMK_META_ON_FAIL "on-fail"
100
#define PCMK_META_ORDERED "ordered"
101
#define PCMK_META_PRIORITY "priority"
102
#define PCMK_META_PROMOTABLE "promotable"
103
#define PCMK_META_PROMOTED_MAX "promoted-max"
104
#define PCMK_META_PROMOTED_NODE_MAX "promoted-node-max"
105
#define PCMK_META_RECORD_PENDING "record-pending"
106
#define PCMK_META_REMOTE_ADDR "remote-addr"
107
#define PCMK_META_REMOTE_ALLOW_MIGRATE "remote-allow-migrate"
108
#define PCMK_META_REMOTE_CONNECT_TIMEOUT "remote-connect-timeout"
109
#define PCMK_META_REMOTE_NODE "remote-node"
110
#define PCMK_META_REMOTE_PORT "remote-port"
111
#define PCMK_META_REQUIRES "requires"
112
#define PCMK_META_RESOURCE_STICKINESS "resource-stickiness"
113
#define PCMK_META_START_DELAY "start-delay"
114
#define PCMK_META_TARGET_ROLE "target-role"
115
#define PCMK_META_TIMEOUT "timeout"
116
#define PCMK_META_TIMESTAMP_FORMAT "timestamp-format"
117
118
119
/*
120
* Remote resource instance attributes
121
*/
122
123
#define PCMK_REMOTE_RA_ADDR "addr"
124
#define PCMK_REMOTE_RA_PORT "port"
125
#define PCMK_REMOTE_RA_RECONNECT_INTERVAL "reconnect_interval"
126
#define PCMK_REMOTE_RA_SERVER "server"
127
128
129
/*
130
* Enumerated values
131
*/
132
133
#define PCMK_VALUE_ALWAYS "always"
134
#define PCMK_VALUE_AND "and"
135
#define PCMK_VALUE_BALANCED "balanced"
136
#define PCMK_VALUE_BLOCK "block"
137
#define PCMK_VALUE_BOOLEAN "boolean"
138
#define PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS "cib-bootstrap-options"
139
#define PCMK_VALUE_COROSYNC "corosync"
140
#define PCMK_VALUE_CRASH "crash"
141
#define PCMK_VALUE_CREATE "create"
142
#define PCMK_VALUE_CUSTOM "custom"
143
#define PCMK_VALUE_DATE_SPEC "date_spec"
144
#define PCMK_VALUE_DEFAULT "default"
145
#define PCMK_VALUE_DEFINED "defined"
146
#define PCMK_VALUE_DELETE "delete"
147
#define PCMK_VALUE_DEMOTE "demote"
148
#define PCMK_VALUE_DENY "deny"
149
#define PCMK_VALUE_DURATION "duration"
150
#define PCMK_VALUE_DYNAMIC_LIST "dynamic-list"
151
#define PCMK_VALUE_EQ "eq"
152
#define PCMK_VALUE_EXCLUSIVE "exclusive"
153
#define PCMK_VALUE_FAILED "failed"
154
#define PCMK_VALUE_FALSE "false"
155
#define PCMK_VALUE_FENCE "fence"
156
#define PCMK_VALUE_FENCING "fencing"
157
#define PCMK_VALUE_FREEZE "freeze"
158
#define PCMK_VALUE_GRANTED "granted"
159
#define PCMK_VALUE_GREEN "green"
160
#define PCMK_VALUE_GT "gt"
161
#define PCMK_VALUE_GTE "gte"
162
#define PCMK_VALUE_HOST "host"
163
#define PCMK_VALUE_IGNORE "ignore"
164
#define PCMK_VALUE_IN_RANGE "in_range"
165
#define PCMK_VALUE_INFINITY "INFINITY"
166
#define PCMK_VALUE_INTEGER "integer"
167
#define PCMK_VALUE_LITERAL "literal"
168
#define PCMK_VALUE_LT "lt"
169
#define PCMK_VALUE_LTE "lte"
170
#define PCMK_VALUE_MANDATORY "Mandatory"
171
#define PCMK_VALUE_MEMBER "member"
172
#define PCMK_VALUE_META "meta"
173
#define PCMK_VALUE_MIGRATE_ON_RED "migrate-on-red"
174
#define PCMK_VALUE_MINIMAL "minimal"
175
#define PCMK_VALUE_MINUS_INFINITY "-" PCMK_VALUE_INFINITY
176
#define PCMK_VALUE_MODIFY "modify"
177
#define PCMK_VALUE_MOVE "move"
178
#define PCMK_VALUE_NE "ne"
179
#define PCMK_VALUE_NEVER "never"
180
#define PCMK_VALUE_NONE "none"
181
#define PCMK_VALUE_NONNEGATIVE_INTEGER "nonnegative_integer"
182
#define PCMK_VALUE_NOT_DEFINED "not_defined"
183
#define PCMK_VALUE_NOTHING "nothing"
184
#define PCMK_VALUE_NUMBER "number"
185
#define PCMK_VALUE_OFF "off"
186
#define PCMK_VALUE_OFFLINE "offline"
187
#define PCMK_VALUE_ONLINE "online"
188
#define PCMK_VALUE_ONLY_GREEN "only-green"
189
#define PCMK_VALUE_OPTIONAL "Optional"
190
#define PCMK_VALUE_OR "or"
191
#define PCMK_VALUE_PANIC "panic"
192
#define PCMK_VALUE_PARAM "param"
193
#define PCMK_VALUE_PENDING "pending"
194
#define PCMK_VALUE_PERCENTAGE "percentage"
195
#define PCMK_VALUE_PLUS_INFINITY "+" PCMK_VALUE_INFINITY
196
#define PCMK_VALUE_PORT "port"
197
#define PCMK_VALUE_PROGRESSIVE "progressive"
198
#define PCMK_VALUE_QUORUM "quorum"
199
#define PCMK_VALUE_READ "read"
200
#define PCMK_VALUE_REBOOT "reboot"
201
#define PCMK_VALUE_RED "red"
202
#define PCMK_VALUE_REMOTE "remote"
203
#define PCMK_VALUE_RESTART "restart"
204
#define PCMK_VALUE_RESTART_CONTAINER "restart-container"
205
#define PCMK_VALUE_REVOKED "revoked"
206
#define PCMK_VALUE_SCORE "score"
207
#define PCMK_VALUE_SELECT "select"
208
#define PCMK_VALUE_SERIALIZE "Serialize"
209
#define PCMK_VALUE_STANDBY "standby"
210
#define PCMK_VALUE_STATIC_LIST "static-list"
211
#define PCMK_VALUE_STATUS "status"
212
#define PCMK_VALUE_STRING "string"
213
#define PCMK_VALUE_STOP "stop"
214
#define PCMK_VALUE_STOP_ONLY "stop_only"
215
#define PCMK_VALUE_STOP_START "stop_start"
216
#define PCMK_VALUE_STOP_UNEXPECTED "stop_unexpected"
217
#define PCMK_VALUE_SUCCESS "success"
218
#define PCMK_VALUE_TIMEOUT "timeout"
219
#define PCMK_VALUE_TRUE "true"
220
#define PCMK_VALUE_UNFENCING "unfencing"
221
#define PCMK_VALUE_UNKNOWN "unknown"
222
#define PCMK_VALUE_UTILIZATION "utilization"
223
#define PCMK_VALUE_VERSION "version"
224
#define PCMK_VALUE_WRITE "write"
225
#define PCMK_VALUE_YELLOW "yellow"
226
227
// \deprecated Use PCMK_VALUE_FENCE instead
228
#define PCMK_VALUE_FENCE_LEGACY "suicide"
229
230
231
#ifdef __cplusplus
232
}
233
#endif
234
235
#endif
// PCMK__CRM_COMMON_OPTIONS__H
Generated on Thu Aug 7 2025 12:04:47 for pacemaker by
1.12.0