pacemaker
2.0.5-ba59be712
Scalable High-Availability cluster resource manager
|
Data types for cluster status. More...
#include <stdbool.h>
#include <sys/types.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/iso8601.h>
#include <crm/pengine/common.h>
Go to the source code of this file.
Data Structures | |
struct | resource_object_functions_s |
struct | pe_working_set_s |
struct | pe_node_shared_s |
struct | pe_node_s |
struct | pe_resource_s |
struct | pe_action_s |
struct | pe_ticket_s |
struct | pe_tag_s |
struct | pe_action_wrapper_s |
Macros | |
#define | pe_flag_have_quorum 0x00000001ULL |
#define | pe_flag_symmetric_cluster 0x00000002ULL |
#define | pe_flag_maintenance_mode 0x00000008ULL |
#define | pe_flag_stonith_enabled 0x00000010ULL |
#define | pe_flag_have_stonith_resource 0x00000020ULL |
#define | pe_flag_enable_unfencing 0x00000040ULL |
#define | pe_flag_concurrent_fencing 0x00000080ULL |
#define | pe_flag_stop_rsc_orphans 0x00000100ULL |
#define | pe_flag_stop_action_orphans 0x00000200ULL |
#define | pe_flag_stop_everything 0x00000400ULL |
#define | pe_flag_start_failure_fatal 0x00001000ULL |
#define | pe_flag_remove_after_stop 0x00002000ULL |
#define | pe_flag_startup_fencing 0x00004000ULL |
#define | pe_flag_shutdown_lock 0x00008000ULL |
#define | pe_flag_startup_probes 0x00010000ULL |
#define | pe_flag_have_status 0x00020000ULL |
#define | pe_flag_have_remote_nodes 0x00040000ULL |
#define | pe_flag_quick_location 0x00100000ULL |
#define | pe_flag_sanitized 0x00200000ULL |
#define | pe_flag_stdout 0x00400000ULL |
#define | pe_flag_no_counts 0x00800000ULL |
Don't count total, disabled and blocked resource instances. More... | |
#define | pe_flag_no_compat 0x01000000ULL |
#define | pe_rsc_orphan 0x00000001ULL |
#define | pe_rsc_managed 0x00000002ULL |
#define | pe_rsc_block 0x00000004ULL |
#define | pe_rsc_orphan_container_filler 0x00000008ULL |
#define | pe_rsc_notify 0x00000010ULL |
#define | pe_rsc_unique 0x00000020ULL |
#define | pe_rsc_fence_device 0x00000040ULL |
#define | pe_rsc_promotable 0x00000080ULL |
#define | pe_rsc_provisional 0x00000100ULL |
#define | pe_rsc_allocating 0x00000200ULL |
#define | pe_rsc_merging 0x00000400ULL |
#define | pe_rsc_stop 0x00001000ULL |
#define | pe_rsc_reload 0x00002000ULL |
#define | pe_rsc_allow_remote_remotes 0x00004000ULL |
#define | pe_rsc_failed 0x00010000ULL |
#define | pe_rsc_runnable 0x00040000ULL |
#define | pe_rsc_start_pending 0x00080000ULL |
#define | pe_rsc_starting 0x00100000ULL |
#define | pe_rsc_stopping 0x00200000ULL |
#define | pe_rsc_allow_migrate 0x00800000ULL |
#define | pe_rsc_failure_ignored 0x01000000ULL |
#define | pe_rsc_maintenance 0x04000000ULL |
#define | pe_rsc_is_container 0x08000000ULL |
#define | pe_rsc_needs_quorum 0x10000000ULL |
#define | pe_rsc_needs_fencing 0x20000000ULL |
#define | pe_rsc_needs_unfencing 0x40000000ULL |
Typedefs | |
typedef struct pe_node_s | pe_node_t |
typedef struct pe_action_s | pe_action_t |
typedef struct pe_resource_s | pe_resource_t |
typedef struct pe_working_set_s | pe_working_set_t |
typedef struct resource_object_functions_s | resource_object_functions_t |
typedef struct resource_alloc_functions_s | resource_alloc_functions_t |
typedef struct pe_ticket_s | pe_ticket_t |
typedef struct pe_tag_s | pe_tag_t |
typedef struct pe_action_wrapper_s | pe_action_wrapper_t |
typedef struct pe_action_s | action_t |
< More... | |
typedef struct pe_action_wrapper_s | action_wrapper_t |
typedef struct pe_node_s | node_t |
typedef enum pe_quorum_policy | no_quorum_policy_t |
typedef struct pe_resource_s | resource_t |
typedef struct pe_tag_s | tag_t |
typedef struct pe_ticket_s | ticket_t |
Data types for cluster status.
Definition in file pe_types.h.
#define pe_flag_concurrent_fencing 0x00000080ULL |
Definition at line 100 of file pe_types.h.
#define pe_flag_enable_unfencing 0x00000040ULL |
Definition at line 99 of file pe_types.h.
#define pe_flag_have_quorum 0x00000001ULL |
Definition at line 93 of file pe_types.h.
#define pe_flag_have_remote_nodes 0x00040000ULL |
Definition at line 113 of file pe_types.h.
#define pe_flag_have_status 0x00020000ULL |
Definition at line 112 of file pe_types.h.
#define pe_flag_have_stonith_resource 0x00000020ULL |
Definition at line 98 of file pe_types.h.
#define pe_flag_maintenance_mode 0x00000008ULL |
Definition at line 95 of file pe_types.h.
#define pe_flag_no_compat 0x01000000ULL |
Skip deprecated code that is kept solely for backward API compatibility. (Internal code should always set this.)
Definition at line 125 of file pe_types.h.
#define pe_flag_no_counts 0x00800000ULL |
Don't count total, disabled and blocked resource instances.
Definition at line 120 of file pe_types.h.
#define pe_flag_quick_location 0x00100000ULL |
Definition at line 115 of file pe_types.h.
#define pe_flag_remove_after_stop 0x00002000ULL |
Definition at line 107 of file pe_types.h.
#define pe_flag_sanitized 0x00200000ULL |
Definition at line 116 of file pe_types.h.
#define pe_flag_shutdown_lock 0x00008000ULL |
Definition at line 109 of file pe_types.h.
#define pe_flag_start_failure_fatal 0x00001000ULL |
Definition at line 106 of file pe_types.h.
#define pe_flag_startup_fencing 0x00004000ULL |
Definition at line 108 of file pe_types.h.
#define pe_flag_startup_probes 0x00010000ULL |
Definition at line 111 of file pe_types.h.
#define pe_flag_stdout 0x00400000ULL |
Definition at line 117 of file pe_types.h.
#define pe_flag_stonith_enabled 0x00000010ULL |
Definition at line 97 of file pe_types.h.
#define pe_flag_stop_action_orphans 0x00000200ULL |
Definition at line 103 of file pe_types.h.
#define pe_flag_stop_everything 0x00000400ULL |
Definition at line 104 of file pe_types.h.
#define pe_flag_stop_rsc_orphans 0x00000100ULL |
Definition at line 102 of file pe_types.h.
#define pe_flag_symmetric_cluster 0x00000002ULL |
Definition at line 94 of file pe_types.h.
#define pe_rsc_allocating 0x00000200ULL |
Definition at line 248 of file pe_types.h.
#define pe_rsc_allow_migrate 0x00800000ULL |
Definition at line 261 of file pe_types.h.
#define pe_rsc_allow_remote_remotes 0x00004000ULL |
Definition at line 253 of file pe_types.h.
#define pe_rsc_block 0x00000004ULL |
Definition at line 239 of file pe_types.h.
#define pe_rsc_failed 0x00010000ULL |
Definition at line 255 of file pe_types.h.
#define pe_rsc_failure_ignored 0x01000000ULL |
Definition at line 263 of file pe_types.h.
#define pe_rsc_fence_device 0x00000040ULL |
Definition at line 244 of file pe_types.h.
#define pe_rsc_is_container 0x08000000ULL |
Definition at line 265 of file pe_types.h.
#define pe_rsc_maintenance 0x04000000ULL |
Definition at line 264 of file pe_types.h.
#define pe_rsc_managed 0x00000002ULL |
Definition at line 238 of file pe_types.h.
#define pe_rsc_merging 0x00000400ULL |
Definition at line 249 of file pe_types.h.
#define pe_rsc_needs_fencing 0x20000000ULL |
Definition at line 268 of file pe_types.h.
#define pe_rsc_needs_quorum 0x10000000ULL |
Definition at line 267 of file pe_types.h.
#define pe_rsc_needs_unfencing 0x40000000ULL |
Definition at line 269 of file pe_types.h.
#define pe_rsc_notify 0x00000010ULL |
Definition at line 242 of file pe_types.h.
#define pe_rsc_orphan 0x00000001ULL |
Definition at line 237 of file pe_types.h.
#define pe_rsc_orphan_container_filler 0x00000008ULL |
Definition at line 240 of file pe_types.h.
#define pe_rsc_promotable 0x00000080ULL |
Definition at line 245 of file pe_types.h.
#define pe_rsc_provisional 0x00000100ULL |
Definition at line 247 of file pe_types.h.
#define pe_rsc_reload 0x00002000ULL |
Definition at line 252 of file pe_types.h.
#define pe_rsc_runnable 0x00040000ULL |
Definition at line 256 of file pe_types.h.
#define pe_rsc_start_pending 0x00080000ULL |
Definition at line 257 of file pe_types.h.
#define pe_rsc_starting 0x00100000ULL |
Definition at line 259 of file pe_types.h.
#define pe_rsc_stop 0x00001000ULL |
Definition at line 251 of file pe_types.h.
#define pe_rsc_stopping 0x00200000ULL |
Definition at line 260 of file pe_types.h.
#define pe_rsc_unique 0x00000020ULL |
Definition at line 243 of file pe_types.h.
typedef struct pe_action_s action_t |
<
Definition at line 519 of file pe_types.h.
typedef struct pe_action_wrapper_s action_wrapper_t |
Definition at line 521 of file pe_types.h.
typedef enum pe_quorum_policy no_quorum_policy_t |
Definition at line 525 of file pe_types.h.
Definition at line 523 of file pe_types.h.
typedef struct pe_action_s pe_action_t |
Definition at line 31 of file pe_types.h.
typedef struct pe_action_wrapper_s pe_action_wrapper_t |
Definition at line 30 of file pe_types.h.
typedef struct pe_resource_s pe_resource_t |
Definition at line 32 of file pe_types.h.
typedef struct pe_ticket_s pe_ticket_t |
typedef struct pe_working_set_s pe_working_set_t |
Definition at line 33 of file pe_types.h.
typedef struct resource_alloc_functions_s resource_alloc_functions_t |
Definition at line 59 of file pe_types.h.
typedef struct resource_object_functions_s resource_object_functions_t |
typedef struct pe_resource_s resource_t |
Definition at line 527 of file pe_types.h.
Definition at line 529 of file pe_types.h.
typedef struct pe_ticket_s ticket_t |
Definition at line 531 of file pe_types.h.
enum node_type |
Enumerator | |
---|---|
node_ping | |
node_member | |
node_remote |
Definition at line 69 of file pe_types.h.
enum pe_action_flags |
Definition at line 279 of file pe_types.h.
enum pe_check_parameters |
Enumerator | |
---|---|
pe_check_last_failure | |
pe_check_active |
Definition at line 184 of file pe_types.h.
enum pe_discover_e |
Enumerator | |
---|---|
pe_discover_always | |
pe_discover_never | |
pe_discover_exclusive |
Definition at line 457 of file pe_types.h.
enum pe_find |
Determine behavior of pe_find_resource_with_flags()
Definition at line 82 of file pe_types.h.
enum pe_graph_flags |
Enumerator | |
---|---|
pe_graph_none | |
pe_graph_updated_first | |
pe_graph_updated_then | |
pe_graph_disable |
Definition at line 271 of file pe_types.h.
enum pe_link_state |
Internal tracking for transition graph creation.
Enumerator | |
---|---|
pe_link_not_dumped | |
pe_link_dumped | Internal tracking for transition graph creation. |
pe_link_dup | Internal tracking for transition graph creation. |
Definition at line 451 of file pe_types.h.
enum pe_obj_types |
Enumerator | |
---|---|
pe_unknown | |
pe_native | |
pe_group | |
pe_clone | |
pe_container |
Definition at line 35 of file pe_types.h.
enum pe_ordering |
Definition at line 464 of file pe_types.h.
enum pe_quorum_policy |
Enumerator | |
---|---|
no_quorum_freeze | |
no_quorum_stop | |
no_quorum_ignore | |
no_quorum_suicide | |
no_quorum_demote |
Definition at line 61 of file pe_types.h.
enum pe_restart |
Enumerator | |
---|---|
pe_restart_restart | |
pe_restart_ignore |
Definition at line 76 of file pe_types.h.