pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros | Typedefs
pe_types_compat.h File Reference

Deprecated Pacemaker scheduler API. More...

#include <crm/common/scheduler.h>
Include dependency graph for pe_types_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pe_rsc_orphan   pcmk_rsc_removed
 
#define pe_rsc_managed   pcmk_rsc_managed
 
#define pe_rsc_block   pcmk_rsc_blocked
 
#define pe_rsc_orphan_container_filler   pcmk_rsc_removed_filler
 
#define pe_rsc_notify   pcmk_rsc_notify
 
#define pe_rsc_unique   pcmk_rsc_unique
 
#define pe_rsc_fence_device   pcmk_rsc_fence_device
 
#define pe_rsc_promotable   pcmk_rsc_promotable
 
#define pe_rsc_provisional   pcmk_rsc_unassigned
 
#define pe_rsc_allocating   pcmk_rsc_assigning
 
#define pe_rsc_merging   pcmk_rsc_updating_nodes
 
#define pe_rsc_restarting   pcmk_rsc_restarting
 
#define pe_rsc_stop   pcmk_rsc_stop_if_failed
 
#define pe_rsc_reload   pcmk_rsc_reload
 
#define pe_rsc_allow_remote_remotes   pcmk_rsc_remote_nesting_allowed
 
#define pe_rsc_critical   pcmk_rsc_critical
 
#define pe_rsc_failed   pcmk_rsc_failed
 
#define pe_rsc_detect_loop   pcmk_rsc_detect_loop
 
#define pe_rsc_runnable   pcmk_rsc_runnable
 
#define pe_rsc_start_pending   pcmk_rsc_start_pending
 
#define pe_rsc_starting   pcmk_rsc_starting
 
#define pe_rsc_stopping   pcmk_rsc_stopping
 
#define pe_rsc_stop_unexpected   pcmk_rsc_stop_unexpected
 
#define pe_rsc_allow_migrate   pcmk_rsc_migratable
 
#define pe_rsc_failure_ignored   pcmk_rsc_ignore_failure
 
#define pe_rsc_replica_container   pcmk_rsc_replica_container
 
#define pe_rsc_maintenance   pcmk_rsc_maintenance
 
#define pe_rsc_is_container   pcmk_rsc_has_filler
 
#define pe_rsc_needs_quorum   pcmk_rsc_needs_quorum
 
#define pe_rsc_needs_fencing   pcmk_rsc_needs_fencing
 
#define pe_rsc_needs_unfencing   pcmk_rsc_needs_unfencing
 
#define pe_flag_have_quorum   pcmk_sched_quorate
 
#define pe_flag_symmetric_cluster   pcmk_sched_symmetric_cluster
 
#define pe_flag_maintenance_mode   pcmk_sched_in_maintenance
 
#define pe_flag_stonith_enabled   pcmk_sched_fencing_enabled
 
#define pe_flag_have_stonith_resource   pcmk_sched_have_fencing
 
#define pe_flag_enable_unfencing   pcmk_sched_enable_unfencing
 
#define pe_flag_concurrent_fencing   pcmk_sched_concurrent_fencing
 
#define pe_flag_stop_rsc_orphans   pcmk_sched_stop_removed_resources
 
#define pe_flag_stop_action_orphans   pcmk_sched_cancel_removed_actions
 
#define pe_flag_stop_everything   pcmk_sched_stop_all
 
#define pe_flag_start_failure_fatal   pcmk_sched_start_failure_fatal
 
#define pe_flag_remove_after_stop   pcmk_sched_remove_after_stop
 
#define pe_flag_startup_fencing   pcmk_sched_startup_fencing
 
#define pe_flag_shutdown_lock   pcmk_sched_shutdown_lock
 
#define pe_flag_startup_probes   pcmk_sched_probe_resources
 
#define pe_flag_have_status   pcmk_sched_have_status
 
#define pe_flag_have_remote_nodes   pcmk_sched_have_remote_nodes
 
#define pe_flag_quick_location   pcmk_sched_location_only
 
#define pe_flag_sanitized   pcmk_sched_sanitized
 
#define pe_flag_stdout   (1ULL << 22)
 
#define pe_flag_no_counts   pcmk_sched_no_counts
 
#define pe_flag_no_compat   pcmk_sched_no_compat
 
#define pe_flag_show_scores   pcmk_sched_output_scores
 
#define pe_flag_show_utilization   pcmk_sched_show_utilization
 
#define pe_flag_check_config   pcmk_sched_validate_only
 

Typedefs

typedef struct pe_action_s action_t
 
typedef struct pe_action_s pe_action_t
 
typedef struct pe_action_wrapper_s action_wrapper_t
 
typedef struct pe_action_wrapper_s pe_action_wrapper_t
 
typedef struct pe_node_s node_t
 
typedef struct pe_node_s pe_node_t
 
typedef enum pe_quorum_policy no_quorum_policy_t
 
typedef struct pe_resource_s resource_t
 
typedef struct pe_resource_s pe_resource_t
 
typedef struct pe_tag_s tag_t
 
typedef struct pe_tag_s pe_tag_t
 
typedef struct pe_ticket_s ticket_t
 
typedef struct pe_ticket_s pe_ticket_t
 
typedef struct pe_working_set_s pe_working_set_t
 
typedef struct resource_alloc_functions_s resource_alloc_functions_t
 
typedef struct resource_object_functions_s resource_object_functions_t
 

Enumerations

enum  pe_graph_flags { pe_graph_none = 0x00000, pe_graph_updated_first = 0x00001, pe_graph_updated_then = 0x00002, pe_graph_disable = 0x00004 }
 
enum  pe_check_parameters { pe_check_last_failure, pe_check_active }
 

Detailed Description

Deprecated Pacemaker scheduler API.

Deprecated:
Do not include this header directly. The scheduler APIs in this header, and the header itself, will be removed in a future release.

Definition in file pe_types_compat.h.

Macro Definition Documentation

◆ pe_flag_check_config

#define pe_flag_check_config   pcmk_sched_validate_only
Deprecated:
Do not use

Definition at line 197 of file pe_types_compat.h.

◆ pe_flag_concurrent_fencing

#define pe_flag_concurrent_fencing   pcmk_sched_concurrent_fencing
Deprecated:
Do not use

Definition at line 143 of file pe_types_compat.h.

◆ pe_flag_enable_unfencing

#define pe_flag_enable_unfencing   pcmk_sched_enable_unfencing
Deprecated:
Do not use

Definition at line 140 of file pe_types_compat.h.

◆ pe_flag_have_quorum

#define pe_flag_have_quorum   pcmk_sched_quorate
Deprecated:
Do not use

Definition at line 124 of file pe_types_compat.h.

◆ pe_flag_have_remote_nodes

#define pe_flag_have_remote_nodes   pcmk_sched_have_remote_nodes
Deprecated:
Do not use

Definition at line 173 of file pe_types_compat.h.

◆ pe_flag_have_status

#define pe_flag_have_status   pcmk_sched_have_status
Deprecated:
Do not use

Definition at line 170 of file pe_types_compat.h.

◆ pe_flag_have_stonith_resource

#define pe_flag_have_stonith_resource   pcmk_sched_have_fencing
Deprecated:
Do not use

Definition at line 137 of file pe_types_compat.h.

◆ pe_flag_maintenance_mode

#define pe_flag_maintenance_mode   pcmk_sched_in_maintenance
Deprecated:
Do not use

Definition at line 130 of file pe_types_compat.h.

◆ pe_flag_no_compat

#define pe_flag_no_compat   pcmk_sched_no_compat
Deprecated:
Do not use

Definition at line 188 of file pe_types_compat.h.

◆ pe_flag_no_counts

#define pe_flag_no_counts   pcmk_sched_no_counts
Deprecated:
Do not use

Definition at line 185 of file pe_types_compat.h.

◆ pe_flag_quick_location

#define pe_flag_quick_location   pcmk_sched_location_only
Deprecated:
Do not use

Definition at line 176 of file pe_types_compat.h.

◆ pe_flag_remove_after_stop

#define pe_flag_remove_after_stop   pcmk_sched_remove_after_stop
Deprecated:
Do not use

Definition at line 158 of file pe_types_compat.h.

◆ pe_flag_sanitized

#define pe_flag_sanitized   pcmk_sched_sanitized
Deprecated:
Do not use

Definition at line 179 of file pe_types_compat.h.

◆ pe_flag_show_scores

#define pe_flag_show_scores   pcmk_sched_output_scores
Deprecated:
Do not use

Definition at line 191 of file pe_types_compat.h.

◆ pe_flag_show_utilization

#define pe_flag_show_utilization   pcmk_sched_show_utilization
Deprecated:
Do not use

Definition at line 194 of file pe_types_compat.h.

◆ pe_flag_shutdown_lock

#define pe_flag_shutdown_lock   pcmk_sched_shutdown_lock
Deprecated:
Do not use

Definition at line 164 of file pe_types_compat.h.

◆ pe_flag_start_failure_fatal

#define pe_flag_start_failure_fatal   pcmk_sched_start_failure_fatal
Deprecated:
Do not use

Definition at line 155 of file pe_types_compat.h.

◆ pe_flag_startup_fencing

#define pe_flag_startup_fencing   pcmk_sched_startup_fencing
Deprecated:
Do not use

Definition at line 161 of file pe_types_compat.h.

◆ pe_flag_startup_probes

#define pe_flag_startup_probes   pcmk_sched_probe_resources
Deprecated:
Do not use

Definition at line 167 of file pe_types_compat.h.

◆ pe_flag_stdout

#define pe_flag_stdout   (1ULL << 22)
Deprecated:
Do not use

Definition at line 182 of file pe_types_compat.h.

◆ pe_flag_stonith_enabled

#define pe_flag_stonith_enabled   pcmk_sched_fencing_enabled
Deprecated:
Do not use

Definition at line 133 of file pe_types_compat.h.

◆ pe_flag_stop_action_orphans

#define pe_flag_stop_action_orphans   pcmk_sched_cancel_removed_actions
Deprecated:
Do not use

Definition at line 149 of file pe_types_compat.h.

◆ pe_flag_stop_everything

#define pe_flag_stop_everything   pcmk_sched_stop_all
Deprecated:
Do not use

Definition at line 152 of file pe_types_compat.h.

◆ pe_flag_stop_rsc_orphans

#define pe_flag_stop_rsc_orphans   pcmk_sched_stop_removed_resources
Deprecated:
Do not use

Definition at line 146 of file pe_types_compat.h.

◆ pe_flag_symmetric_cluster

#define pe_flag_symmetric_cluster   pcmk_sched_symmetric_cluster
Deprecated:
Do not use

Definition at line 127 of file pe_types_compat.h.

◆ pe_rsc_allocating

#define pe_rsc_allocating   pcmk_rsc_assigning
Deprecated:
Do not use

Definition at line 57 of file pe_types_compat.h.

◆ pe_rsc_allow_migrate

#define pe_rsc_allow_migrate   pcmk_rsc_migratable
Deprecated:
Do not use

Definition at line 99 of file pe_types_compat.h.

◆ pe_rsc_allow_remote_remotes

#define pe_rsc_allow_remote_remotes   pcmk_rsc_remote_nesting_allowed
Deprecated:
Do not use

Definition at line 72 of file pe_types_compat.h.

◆ pe_rsc_block

#define pe_rsc_block   pcmk_rsc_blocked
Deprecated:
Do not use

Definition at line 36 of file pe_types_compat.h.

◆ pe_rsc_critical

#define pe_rsc_critical   pcmk_rsc_critical
Deprecated:
Do not use

Definition at line 75 of file pe_types_compat.h.

◆ pe_rsc_detect_loop

#define pe_rsc_detect_loop   pcmk_rsc_detect_loop
Deprecated:
Do not use

Definition at line 81 of file pe_types_compat.h.

◆ pe_rsc_failed

#define pe_rsc_failed   pcmk_rsc_failed
Deprecated:
Do not use

Definition at line 78 of file pe_types_compat.h.

◆ pe_rsc_failure_ignored

#define pe_rsc_failure_ignored   pcmk_rsc_ignore_failure
Deprecated:
Do not use

Definition at line 102 of file pe_types_compat.h.

◆ pe_rsc_fence_device

#define pe_rsc_fence_device   pcmk_rsc_fence_device
Deprecated:
Do not use

Definition at line 48 of file pe_types_compat.h.

◆ pe_rsc_is_container

#define pe_rsc_is_container   pcmk_rsc_has_filler
Deprecated:
Do not use

Definition at line 111 of file pe_types_compat.h.

◆ pe_rsc_maintenance

#define pe_rsc_maintenance   pcmk_rsc_maintenance
Deprecated:
Do not use

Definition at line 108 of file pe_types_compat.h.

◆ pe_rsc_managed

#define pe_rsc_managed   pcmk_rsc_managed
Deprecated:
Do not use

Definition at line 33 of file pe_types_compat.h.

◆ pe_rsc_merging

#define pe_rsc_merging   pcmk_rsc_updating_nodes
Deprecated:
Do not use

Definition at line 60 of file pe_types_compat.h.

◆ pe_rsc_needs_fencing

#define pe_rsc_needs_fencing   pcmk_rsc_needs_fencing
Deprecated:
Do not use

Definition at line 117 of file pe_types_compat.h.

◆ pe_rsc_needs_quorum

#define pe_rsc_needs_quorum   pcmk_rsc_needs_quorum
Deprecated:
Do not use

Definition at line 114 of file pe_types_compat.h.

◆ pe_rsc_needs_unfencing

#define pe_rsc_needs_unfencing   pcmk_rsc_needs_unfencing
Deprecated:
Do not use

Definition at line 120 of file pe_types_compat.h.

◆ pe_rsc_notify

#define pe_rsc_notify   pcmk_rsc_notify
Deprecated:
Do not use

Definition at line 42 of file pe_types_compat.h.

◆ pe_rsc_orphan

#define pe_rsc_orphan   pcmk_rsc_removed
Deprecated:
Do not use

Definition at line 29 of file pe_types_compat.h.

◆ pe_rsc_orphan_container_filler

#define pe_rsc_orphan_container_filler   pcmk_rsc_removed_filler
Deprecated:
Do not use

Definition at line 39 of file pe_types_compat.h.

◆ pe_rsc_promotable

#define pe_rsc_promotable   pcmk_rsc_promotable
Deprecated:
Do not use

Definition at line 51 of file pe_types_compat.h.

◆ pe_rsc_provisional

#define pe_rsc_provisional   pcmk_rsc_unassigned
Deprecated:
Do not use

Definition at line 54 of file pe_types_compat.h.

◆ pe_rsc_reload

#define pe_rsc_reload   pcmk_rsc_reload
Deprecated:
Do not use

Definition at line 69 of file pe_types_compat.h.

◆ pe_rsc_replica_container

#define pe_rsc_replica_container   pcmk_rsc_replica_container
Deprecated:
Do not use

Definition at line 105 of file pe_types_compat.h.

◆ pe_rsc_restarting

#define pe_rsc_restarting   pcmk_rsc_restarting
Deprecated:
Do not use

Definition at line 63 of file pe_types_compat.h.

◆ pe_rsc_runnable

#define pe_rsc_runnable   pcmk_rsc_runnable
Deprecated:
Do not use

Definition at line 84 of file pe_types_compat.h.

◆ pe_rsc_start_pending

#define pe_rsc_start_pending   pcmk_rsc_start_pending
Deprecated:
Do not use
Deprecated:
Do not use

Definition at line 87 of file pe_types_compat.h.

◆ pe_rsc_starting

#define pe_rsc_starting   pcmk_rsc_starting
Deprecated:
Do not use

Definition at line 90 of file pe_types_compat.h.

◆ pe_rsc_stop

#define pe_rsc_stop   pcmk_rsc_stop_if_failed
Deprecated:
Do not use

Definition at line 66 of file pe_types_compat.h.

◆ pe_rsc_stop_unexpected

#define pe_rsc_stop_unexpected   pcmk_rsc_stop_unexpected
Deprecated:
Do not use

Definition at line 96 of file pe_types_compat.h.

◆ pe_rsc_stopping

#define pe_rsc_stopping   pcmk_rsc_stopping

Definition at line 93 of file pe_types_compat.h.

◆ pe_rsc_unique

#define pe_rsc_unique   pcmk_rsc_unique
Deprecated:
Do not use

Definition at line 45 of file pe_types_compat.h.

Typedef Documentation

◆ action_t

typedef struct pe_action_s action_t
Deprecated:
Use pcmk_action_t instead

Definition at line 218 of file pe_types_compat.h.

◆ action_wrapper_t

Deprecated:
Do not use

Definition at line 224 of file pe_types_compat.h.

◆ no_quorum_policy_t

Deprecated:
Use enum pe_quorum_policy instead

Definition at line 237 of file pe_types_compat.h.

◆ node_t

typedef struct pe_node_s node_t
Deprecated:
Use pcmk_node_t instead

Definition at line 231 of file pe_types_compat.h.

◆ pe_action_t

typedef struct pe_action_s pe_action_t
Deprecated:
Use pcmk_action_t instead

Definition at line 221 of file pe_types_compat.h.

◆ pe_action_wrapper_t

Deprecated:
Do not use

Definition at line 227 of file pe_types_compat.h.

◆ pe_node_t

typedef struct pe_node_s pe_node_t
Deprecated:
Use pcmk_node_t instead

Definition at line 234 of file pe_types_compat.h.

◆ pe_resource_t

typedef struct pe_resource_s pe_resource_t
Deprecated:
use pcmk_resource_t instead

Definition at line 244 of file pe_types_compat.h.

◆ pe_tag_t

typedef struct pe_tag_s pe_tag_t
Deprecated:
Do not use

Definition at line 250 of file pe_types_compat.h.

◆ pe_ticket_t

typedef struct pe_ticket_s pe_ticket_t
Deprecated:
Do not use

Definition at line 256 of file pe_types_compat.h.

◆ pe_working_set_t

Deprecated:
Use pcmk_scheduler_t instead

Definition at line 260 of file pe_types_compat.h.

◆ resource_alloc_functions_t

Deprecated:
This type should be treated as internal to Pacemaker

Definition at line 263 of file pe_types_compat.h.

◆ resource_object_functions_t

Deprecated:
Use pcmk_rsc_methods_t instead

Definition at line 266 of file pe_types_compat.h.

◆ resource_t

typedef struct pe_resource_s resource_t
Deprecated:
use pcmk_resource_t instead

Definition at line 241 of file pe_types_compat.h.

◆ tag_t

typedef struct pe_tag_s tag_t
Deprecated:
Do not use

Definition at line 247 of file pe_types_compat.h.

◆ ticket_t

typedef struct pe_ticket_s ticket_t
Deprecated:
Do not use

Definition at line 253 of file pe_types_compat.h.

Enumeration Type Documentation

◆ pe_check_parameters

Deprecated:
Do not use
Enumerator
pe_check_last_failure 
pe_check_active 

Definition at line 211 of file pe_types_compat.h.

◆ pe_graph_flags

Deprecated:
Do not use (unused by Pacemaker)
Enumerator
pe_graph_none 
pe_graph_updated_first 
pe_graph_updated_then 
pe_graph_disable 

Definition at line 201 of file pe_types_compat.h.