pacemaker  2.1.7-0f7f88312f
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:
Use pcmk_sched_validate_only instead

Definition at line 194 of file pe_types_compat.h.

◆ pe_flag_concurrent_fencing

#define pe_flag_concurrent_fencing   pcmk_sched_concurrent_fencing
Deprecated:
Use pcmk_sched_concurrent_fencing instead

Definition at line 140 of file pe_types_compat.h.

◆ pe_flag_enable_unfencing

#define pe_flag_enable_unfencing   pcmk_sched_enable_unfencing
Deprecated:
Use pcmk_sched_enable_unfencing instead

Definition at line 137 of file pe_types_compat.h.

◆ pe_flag_have_quorum

#define pe_flag_have_quorum   pcmk_sched_quorate
Deprecated:
Use pcmk_sched_quorate instead

Definition at line 122 of file pe_types_compat.h.

◆ pe_flag_have_remote_nodes

#define pe_flag_have_remote_nodes   pcmk_sched_have_remote_nodes
Deprecated:
Use pcmk_sched_have_remote_nodes instead

Definition at line 170 of file pe_types_compat.h.

◆ pe_flag_have_status

#define pe_flag_have_status   pcmk_sched_have_status
Deprecated:
Use pcmk_sched_have_status instead

Definition at line 167 of file pe_types_compat.h.

◆ pe_flag_have_stonith_resource

#define pe_flag_have_stonith_resource   pcmk_sched_have_fencing
Deprecated:
Use pcmk_sched_have_fencing instead

Definition at line 134 of file pe_types_compat.h.

◆ pe_flag_maintenance_mode

#define pe_flag_maintenance_mode   pcmk_sched_in_maintenance
Deprecated:
Use pcmk_sched_in_maintenance instead

Definition at line 128 of file pe_types_compat.h.

◆ pe_flag_no_compat

#define pe_flag_no_compat   pcmk_sched_no_compat
Deprecated:
Use pcmk_sched_no_compat instead

Definition at line 185 of file pe_types_compat.h.

◆ pe_flag_no_counts

#define pe_flag_no_counts   pcmk_sched_no_counts
Deprecated:
Use pcmk_sched_no_counts instead

Definition at line 182 of file pe_types_compat.h.

◆ pe_flag_quick_location

#define pe_flag_quick_location   pcmk_sched_location_only
Deprecated:
Use pcmk_sched_location_only instead

Definition at line 173 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 155 of file pe_types_compat.h.

◆ pe_flag_sanitized

#define pe_flag_sanitized   pcmk_sched_sanitized
Deprecated:
Use pcmk_sched_sanitized instead

Definition at line 176 of file pe_types_compat.h.

◆ pe_flag_show_scores

#define pe_flag_show_scores   pcmk_sched_output_scores
Deprecated:
Use pcmk_sched_output_scores instead

Definition at line 188 of file pe_types_compat.h.

◆ pe_flag_show_utilization

#define pe_flag_show_utilization   pcmk_sched_show_utilization
Deprecated:
Use pcmk_sched_show_utilization instead

Definition at line 191 of file pe_types_compat.h.

◆ pe_flag_shutdown_lock

#define pe_flag_shutdown_lock   pcmk_sched_shutdown_lock
Deprecated:
Use pcmk_sched_shutdown_lock instead

Definition at line 161 of file pe_types_compat.h.

◆ pe_flag_start_failure_fatal

#define pe_flag_start_failure_fatal   pcmk_sched_start_failure_fatal
Deprecated:
Use pcmk_sched_start_failure_fatal instead

Definition at line 152 of file pe_types_compat.h.

◆ pe_flag_startup_fencing

#define pe_flag_startup_fencing   pcmk_sched_startup_fencing
Deprecated:
Use pcmk_sched_startup_fencing instead

Definition at line 158 of file pe_types_compat.h.

◆ pe_flag_startup_probes

#define pe_flag_startup_probes   pcmk_sched_probe_resources
Deprecated:
Use pcmk_sched_probe_resources instead

Definition at line 164 of file pe_types_compat.h.

◆ pe_flag_stdout

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

Definition at line 179 of file pe_types_compat.h.

◆ pe_flag_stonith_enabled

#define pe_flag_stonith_enabled   pcmk_sched_fencing_enabled
Deprecated:
Use pcmk_sched_fencing_enabled instead

Definition at line 131 of file pe_types_compat.h.

◆ pe_flag_stop_action_orphans

#define pe_flag_stop_action_orphans   pcmk_sched_cancel_removed_actions
Deprecated:
Use pcmk_sched_cancel_removed_actions instead

Definition at line 146 of file pe_types_compat.h.

◆ pe_flag_stop_everything

#define pe_flag_stop_everything   pcmk_sched_stop_all
Deprecated:
Use pcmk_sched_stop_all instead

Definition at line 149 of file pe_types_compat.h.

◆ pe_flag_stop_rsc_orphans

#define pe_flag_stop_rsc_orphans   pcmk_sched_stop_removed_resources
Deprecated:
Use pcmk_sched_stop_removed_resources instead

Definition at line 143 of file pe_types_compat.h.

◆ pe_flag_symmetric_cluster

#define pe_flag_symmetric_cluster   pcmk_sched_symmetric_cluster
Deprecated:
Use pcmk_sched_symmetric_cluster instead

Definition at line 125 of file pe_types_compat.h.

◆ pe_rsc_allocating

#define pe_rsc_allocating   pcmk_rsc_assigning
Deprecated:
Use pcmk_rsc_assigning instead

Definition at line 56 of file pe_types_compat.h.

◆ pe_rsc_allow_migrate

#define pe_rsc_allow_migrate   pcmk_rsc_migratable
Deprecated:
Use pcmk_rsc_migratable instead

Definition at line 98 of file pe_types_compat.h.

◆ pe_rsc_allow_remote_remotes

#define pe_rsc_allow_remote_remotes   pcmk_rsc_remote_nesting_allowed
Deprecated:
Use pcmk_rsc_remote_nesting_allowed instead

Definition at line 71 of file pe_types_compat.h.

◆ pe_rsc_block

#define pe_rsc_block   pcmk_rsc_blocked
Deprecated:
Use pcmk_rsc_blocked instead

Definition at line 35 of file pe_types_compat.h.

◆ pe_rsc_critical

#define pe_rsc_critical   pcmk_rsc_critical
Deprecated:
Use pcmk_rsc_critical instead

Definition at line 74 of file pe_types_compat.h.

◆ pe_rsc_detect_loop

#define pe_rsc_detect_loop   pcmk_rsc_detect_loop
Deprecated:
Use pcmk_rsc_detect_loop instead

Definition at line 80 of file pe_types_compat.h.

◆ pe_rsc_failed

#define pe_rsc_failed   pcmk_rsc_failed
Deprecated:
Use pcmk_rsc_failed instead

Definition at line 77 of file pe_types_compat.h.

◆ pe_rsc_failure_ignored

#define pe_rsc_failure_ignored   pcmk_rsc_ignore_failure
Deprecated:
Use pcmk_rsc_ignore_failure instead

Definition at line 101 of file pe_types_compat.h.

◆ pe_rsc_fence_device

#define pe_rsc_fence_device   pcmk_rsc_fence_device
Deprecated:
Use pcmk_rsc_fence_device instead

Definition at line 47 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 110 of file pe_types_compat.h.

◆ pe_rsc_maintenance

#define pe_rsc_maintenance   pcmk_rsc_maintenance
Deprecated:
Use pcmk_rsc_maintenance instead

Definition at line 107 of file pe_types_compat.h.

◆ pe_rsc_managed

#define pe_rsc_managed   pcmk_rsc_managed
Deprecated:
Use pcmk_rsc_managed instead

Definition at line 32 of file pe_types_compat.h.

◆ pe_rsc_merging

#define pe_rsc_merging   pcmk_rsc_updating_nodes
Deprecated:
Use pcmk_rsc_updating_nodes instead

Definition at line 59 of file pe_types_compat.h.

◆ pe_rsc_needs_fencing

#define pe_rsc_needs_fencing   pcmk_rsc_needs_fencing
Deprecated:
Use pcmk_rsc_needs_fencing instead

Definition at line 116 of file pe_types_compat.h.

◆ pe_rsc_needs_quorum

#define pe_rsc_needs_quorum   pcmk_rsc_needs_quorum
Deprecated:
Use pcmk_rsc_needs_quorum instead

Definition at line 113 of file pe_types_compat.h.

◆ pe_rsc_needs_unfencing

#define pe_rsc_needs_unfencing   pcmk_rsc_needs_unfencing
Deprecated:
Use pcmk_rsc_needs_unfencing instead

Definition at line 119 of file pe_types_compat.h.

◆ pe_rsc_notify

#define pe_rsc_notify   pcmk_rsc_notify
Deprecated:
Use pcmk_rsc_notify instead

Definition at line 41 of file pe_types_compat.h.

◆ pe_rsc_orphan

#define pe_rsc_orphan   pcmk_rsc_removed
Deprecated:
Use pcmk_rsc_removed instead

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:
Use pcmk_rsc_removed_filler instead

Definition at line 38 of file pe_types_compat.h.

◆ pe_rsc_promotable

#define pe_rsc_promotable   pcmk_rsc_promotable
Deprecated:
Use pcmk_rsc_promotable instead

Definition at line 50 of file pe_types_compat.h.

◆ pe_rsc_provisional

#define pe_rsc_provisional   pcmk_rsc_unassigned
Deprecated:
Use pcmk_rsc_unassigned instead

Definition at line 53 of file pe_types_compat.h.

◆ pe_rsc_reload

#define pe_rsc_reload   pcmk_rsc_reload
Deprecated:
Use pcmk_rsc_reload instead

Definition at line 68 of file pe_types_compat.h.

◆ pe_rsc_replica_container

#define pe_rsc_replica_container   pcmk_rsc_replica_container
Deprecated:
Use pcmk_rsc_replica_container instead

Definition at line 104 of file pe_types_compat.h.

◆ pe_rsc_restarting

#define pe_rsc_restarting   pcmk_rsc_restarting
Deprecated:
Use pcmk_rsc_restarting instead

Definition at line 62 of file pe_types_compat.h.

◆ pe_rsc_runnable

#define pe_rsc_runnable   pcmk_rsc_runnable
Deprecated:
Do not use

Definition at line 83 of file pe_types_compat.h.

◆ pe_rsc_start_pending

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

Definition at line 86 of file pe_types_compat.h.

◆ pe_rsc_starting

#define pe_rsc_starting   pcmk_rsc_starting
Deprecated:
Do not use

Definition at line 89 of file pe_types_compat.h.

◆ pe_rsc_stop

#define pe_rsc_stop   pcmk_rsc_stop_if_failed
Deprecated:
Use pcmk_rsc_stop_if_failed instead

Definition at line 65 of file pe_types_compat.h.

◆ pe_rsc_stop_unexpected

#define pe_rsc_stop_unexpected   pcmk_rsc_stop_unexpected
Deprecated:
Use pcmk_rsc_stop_unexpected instead

Definition at line 95 of file pe_types_compat.h.

◆ pe_rsc_stopping

#define pe_rsc_stopping   pcmk_rsc_stopping

Definition at line 92 of file pe_types_compat.h.

◆ pe_rsc_unique

#define pe_rsc_unique   pcmk_rsc_unique
Deprecated:
Use pcmk_rsc_unique instead

Definition at line 44 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 215 of file pe_types_compat.h.

◆ action_wrapper_t

Deprecated:
Do not use

Definition at line 221 of file pe_types_compat.h.

◆ no_quorum_policy_t

Deprecated:
Use enum pe_quorum_policy instead

Definition at line 233 of file pe_types_compat.h.

◆ node_t

typedef struct pe_node_s node_t
Deprecated:
Use pcmk_node_t instead

Definition at line 227 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 218 of file pe_types_compat.h.

◆ pe_action_wrapper_t

Deprecated:
Do not use

Definition at line 224 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 230 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 239 of file pe_types_compat.h.

◆ pe_tag_t

typedef struct pe_tag_s pe_tag_t
Deprecated:
Use pcmk_tag_t instead

Definition at line 245 of file pe_types_compat.h.

◆ pe_ticket_t

typedef struct pe_ticket_s pe_ticket_t
Deprecated:
Use pcmk_ticket_t instead

Definition at line 251 of file pe_types_compat.h.

◆ pe_working_set_t

Deprecated:
Use pcmk_scheduler_t instead

Definition at line 254 of file pe_types_compat.h.

◆ resource_alloc_functions_t

Deprecated:
This type should be treated as internal to Pacemaker

Definition at line 257 of file pe_types_compat.h.

◆ resource_object_functions_t

Deprecated:
Use pcmk_rsc_methods_t instead

Definition at line 260 of file pe_types_compat.h.

◆ resource_t

typedef struct pe_resource_s resource_t
Deprecated:
use pcmk_resource_t instead

Definition at line 236 of file pe_types_compat.h.

◆ tag_t

typedef struct pe_tag_s tag_t
Deprecated:
Use pcmk_tag_t instead

Definition at line 242 of file pe_types_compat.h.

◆ ticket_t

typedef struct pe_ticket_s ticket_t
Deprecated:
Use pcmk_ticket_t instead

Definition at line 248 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 208 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 198 of file pe_types_compat.h.