pacemaker
2.1.8-2.1.8
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
include
crm
pengine
pe_types_compat.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004-2024 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_PENGINE_PE_TYPES_COMPAT__H
11
# define PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H
12
13
#include <
crm/common/scheduler.h
>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
29
#define pe_rsc_orphan pcmk_rsc_removed
30
31
// NOTE: sbd (as of at least 1.5.2) uses this
33
#define pe_rsc_managed pcmk_rsc_managed
34
36
#define pe_rsc_block pcmk_rsc_blocked
37
39
#define pe_rsc_orphan_container_filler pcmk_rsc_removed_filler
40
42
#define pe_rsc_notify pcmk_rsc_notify
43
45
#define pe_rsc_unique pcmk_rsc_unique
46
48
#define pe_rsc_fence_device pcmk_rsc_fence_device
49
51
#define pe_rsc_promotable pcmk_rsc_promotable
52
54
#define pe_rsc_provisional pcmk_rsc_unassigned
55
57
#define pe_rsc_allocating pcmk_rsc_assigning
58
60
#define pe_rsc_merging pcmk_rsc_updating_nodes
61
63
#define pe_rsc_restarting pcmk_rsc_restarting
64
66
#define pe_rsc_stop pcmk_rsc_stop_if_failed
67
69
#define pe_rsc_reload pcmk_rsc_reload
70
72
#define pe_rsc_allow_remote_remotes pcmk_rsc_remote_nesting_allowed
73
75
#define pe_rsc_critical pcmk_rsc_critical
76
78
#define pe_rsc_failed pcmk_rsc_failed
79
81
#define pe_rsc_detect_loop pcmk_rsc_detect_loop
82
84
#define pe_rsc_runnable pcmk_rsc_runnable
85
87
#define pe_rsc_start_pending pcmk_rsc_start_pending
88
90
#define pe_rsc_starting pcmk_rsc_starting
91
93
#define pe_rsc_stopping pcmk_rsc_stopping
94
96
#define pe_rsc_stop_unexpected pcmk_rsc_stop_unexpected
97
99
#define pe_rsc_allow_migrate pcmk_rsc_migratable
100
102
#define pe_rsc_failure_ignored pcmk_rsc_ignore_failure
103
105
#define pe_rsc_replica_container pcmk_rsc_replica_container
106
108
#define pe_rsc_maintenance pcmk_rsc_maintenance
109
111
#define pe_rsc_is_container pcmk_rsc_has_filler
112
114
#define pe_rsc_needs_quorum pcmk_rsc_needs_quorum
115
117
#define pe_rsc_needs_fencing pcmk_rsc_needs_fencing
118
120
#define pe_rsc_needs_unfencing pcmk_rsc_needs_unfencing
121
122
// NOTE: sbd (as of at least 1.5.2) uses this
124
#define pe_flag_have_quorum pcmk_sched_quorate
125
127
#define pe_flag_symmetric_cluster pcmk_sched_symmetric_cluster
128
130
#define pe_flag_maintenance_mode pcmk_sched_in_maintenance
131
133
#define pe_flag_stonith_enabled pcmk_sched_fencing_enabled
134
135
// NOTE: sbd (as of at least 1.5.2) uses this
137
#define pe_flag_have_stonith_resource pcmk_sched_have_fencing
138
140
#define pe_flag_enable_unfencing pcmk_sched_enable_unfencing
141
143
#define pe_flag_concurrent_fencing pcmk_sched_concurrent_fencing
144
146
#define pe_flag_stop_rsc_orphans pcmk_sched_stop_removed_resources
147
149
#define pe_flag_stop_action_orphans pcmk_sched_cancel_removed_actions
150
152
#define pe_flag_stop_everything pcmk_sched_stop_all
153
155
#define pe_flag_start_failure_fatal pcmk_sched_start_failure_fatal
156
158
#define pe_flag_remove_after_stop pcmk_sched_remove_after_stop
159
161
#define pe_flag_startup_fencing pcmk_sched_startup_fencing
162
164
#define pe_flag_shutdown_lock pcmk_sched_shutdown_lock
165
167
#define pe_flag_startup_probes pcmk_sched_probe_resources
168
170
#define pe_flag_have_status pcmk_sched_have_status
171
173
#define pe_flag_have_remote_nodes pcmk_sched_have_remote_nodes
174
176
#define pe_flag_quick_location pcmk_sched_location_only
177
179
#define pe_flag_sanitized pcmk_sched_sanitized
180
182
#define pe_flag_stdout (1ULL << 22)
183
185
#define pe_flag_no_counts pcmk_sched_no_counts
186
188
#define pe_flag_no_compat pcmk_sched_no_compat
189
191
#define pe_flag_show_scores pcmk_sched_output_scores
192
194
#define pe_flag_show_utilization pcmk_sched_show_utilization
195
197
#define pe_flag_check_config pcmk_sched_validate_only
198
201
enum
pe_graph_flags
{
202
pe_graph_none
= 0x00000,
203
pe_graph_updated_first
= 0x00001,
204
pe_graph_updated_then
= 0x00002,
205
pe_graph_disable
= 0x00004,
206
};
208
211
enum
pe_check_parameters
{
212
pe_check_last_failure
,
213
pe_check_active
,
214
};
216
218
typedef
struct
pe_action_s
action_t
;
219
221
typedef
struct
pe_action_s
pe_action_t
;
222
224
typedef
struct
pe_action_wrapper_s
action_wrapper_t
;
225
227
typedef
struct
pe_action_wrapper_s
pe_action_wrapper_t
;
228
229
// NOTE: sbd (as of at least 1.5.2) uses this
231
typedef
struct
pe_node_s
node_t
;
232
234
typedef
struct
pe_node_s
pe_node_t
;
235
237
typedef
enum
pe_quorum_policy
no_quorum_policy_t
;
238
239
// NOTE: sbd (as of at least 1.5.2) uses this
241
typedef
struct
pe_resource_s
resource_t
;
242
244
typedef
struct
pe_resource_s
pe_resource_t
;
245
247
typedef
struct
pe_tag_s
tag_t
;
248
250
typedef
struct
pe_tag_s
pe_tag_t
;
251
253
typedef
struct
pe_ticket_s
ticket_t
;
254
256
typedef
struct
pe_ticket_s
pe_ticket_t
;
257
258
// NOTE: sbd (as of at least 1.5.2) uses this
260
typedef
struct
pe_working_set_s
pe_working_set_t
;
261
263
typedef
struct
resource_alloc_functions_s
resource_alloc_functions_t
;
264
266
typedef
struct
resource_object_functions_s
resource_object_functions_t
;
267
268
#ifdef __cplusplus
269
}
270
#endif
271
272
#endif
// PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H
pe_check_parameters
pe_check_parameters
Definition
pe_types_compat.h:211
pe_check_active
@ pe_check_active
Definition
pe_types_compat.h:213
pe_check_last_failure
@ pe_check_last_failure
Definition
pe_types_compat.h:212
pe_graph_flags
pe_graph_flags
Definition
pe_types_compat.h:201
pe_graph_updated_first
@ pe_graph_updated_first
Definition
pe_types_compat.h:203
pe_graph_disable
@ pe_graph_disable
Definition
pe_types_compat.h:205
pe_graph_updated_then
@ pe_graph_updated_then
Definition
pe_types_compat.h:204
pe_graph_none
@ pe_graph_none
Definition
pe_types_compat.h:202
no_quorum_policy_t
enum pe_quorum_policy no_quorum_policy_t
Definition
pe_types_compat.h:237
scheduler.h
Scheduler API.
pe_quorum_policy
pe_quorum_policy
Possible responses to loss of quorum.
Definition
scheduler.h:40
pe_action_s
Definition
actions.h:330
pe_action_wrapper_s
Definition
actions.h:315
pe_node_s
Definition
nodes.h:161
pe_resource_s
Definition
resources.h:392
pe_tag_s
Definition
tags.h:29
pe_ticket_s
Definition
tickets.h:30
pe_working_set_s
Definition
scheduler.h:191
resource_alloc_functions_s
Definition
libpacemaker_private.h:69
resource_object_functions_s
Definition
resources.h:255
Generated on Thu Jan 9 2025 15:03:32 for pacemaker by
1.9.8