18 #ifndef PENGINE_STATUS__H 19 # define PENGINE_STATUS__H 58 # define pe_flag_have_quorum 0x00000001ULL 59 # define pe_flag_symmetric_cluster 0x00000002ULL 60 # define pe_flag_is_managed_default 0x00000004ULL 61 # define pe_flag_maintenance_mode 0x00000008ULL 63 # define pe_flag_stonith_enabled 0x00000010ULL 64 # define pe_flag_have_stonith_resource 0x00000020ULL 65 # define pe_flag_enable_unfencing 0x00000040ULL 66 # define pe_flag_concurrent_fencing 0x00000080ULL 68 # define pe_flag_stop_rsc_orphans 0x00000100ULL 69 # define pe_flag_stop_action_orphans 0x00000200ULL 70 # define pe_flag_stop_everything 0x00000400ULL 72 # define pe_flag_start_failure_fatal 0x00001000ULL 73 # define pe_flag_remove_after_stop 0x00002000ULL 74 # define pe_flag_startup_fencing 0x00004000ULL 76 # define pe_flag_startup_probes 0x00010000ULL 77 # define pe_flag_have_status 0x00020000ULL 78 # define pe_flag_have_remote_nodes 0x00040000ULL 80 # define pe_flag_quick_location 0x00100000ULL 81 # define pe_flag_sanitized 0x00200000ULL 182 # define pe_rsc_orphan 0x00000001ULL 183 # define pe_rsc_managed 0x00000002ULL 184 # define pe_rsc_block 0x00000004ULL 185 # define pe_rsc_orphan_container_filler 0x00000008ULL 187 # define pe_rsc_notify 0x00000010ULL 188 # define pe_rsc_unique 0x00000020ULL 189 # define pe_rsc_fence_device 0x00000040ULL 191 # define pe_rsc_provisional 0x00000100ULL 192 # define pe_rsc_allocating 0x00000200ULL 193 # define pe_rsc_merging 0x00000400ULL 194 # define pe_rsc_munging 0x00000800ULL 196 # define pe_rsc_try_reload 0x00001000ULL 197 # define pe_rsc_reload 0x00002000ULL 198 # define pe_rsc_allow_remote_remotes 0x00004000ULL 200 # define pe_rsc_failed 0x00010000ULL 201 # define pe_rsc_shutdown 0x00020000ULL 202 # define pe_rsc_runnable 0x00040000ULL 203 # define pe_rsc_start_pending 0x00080000ULL 205 # define pe_rsc_starting 0x00100000ULL 206 # define pe_rsc_stopping 0x00200000ULL 207 # define pe_rsc_migrating 0x00400000ULL 208 # define pe_rsc_allow_migrate 0x00800000ULL 210 # define pe_rsc_failure_ignored 0x01000000ULL 211 # define pe_rsc_unexpectedly_running 0x02000000ULL 212 # define pe_rsc_maintenance 0x04000000ULL 214 # define pe_rsc_needs_quorum 0x10000000ULL 215 # define pe_rsc_needs_fencing 0x20000000ULL 216 # define pe_rsc_needs_unfencing 0x40000000ULL 217 # define pe_rsc_have_unfencing 0x80000000ULL // obsolete (not set or used by cluster) 315 #if ENABLE_VERSIONED_ATTRS 316 xmlNode *versioned_parameters;
320 #if ENABLE_VERSIONED_ATTRS 322 typedef struct pe_rsc_action_details_s {
323 xmlNode *versioned_parameters;
324 xmlNode *versioned_meta;
325 } pe_rsc_action_details_t;
469 #if ENABLE_VERSIONED_ATTRS 470 pe_rsc_action_details_t *pe_rsc_action_details(
pe_action_t *action);
int default_resource_stickiness
struct crm_time_s crm_time_t
gboolean exclusive_discover
enum pe_obj_types variant
node_t * partial_migration_source
node_t * pe_find_node(GListPtr node_list, const char *uname)
no_quorum_policy_t no_quorum_policy
const char * isolation_wrapper
GListPtr placement_constraints
GListPtr find_operations(const char *rsc, const char *node, gboolean active_filter, pe_working_set_t *data_set)
struct node_shared_s * details
pe_working_set_t * cluster
void cleanup_calculations(pe_working_set_t *data_set)
node_t * partial_migration_target
resource_object_functions_t * fns
enum no_quorum_policy_e no_quorum_policy_t
GHashTable * allowed_nodes
GHashTable * digest_cache
void set_working_set_defaults(pe_working_set_t *data_set)
const char * stonith_action
GListPtr dangling_migrations
const char * placement_strategy
int pe_bundle_replicas(const resource_t *rsc)
Get the number of configured replicas in a bundle.
int remote_reconnect_interval
gboolean remote_maintenance
GListPtr ordering_constraints
GListPtr colocation_constraints
node_t * pe_find_node_any(GListPtr node_list, const char *id, const char *uname)
GListPtr ticket_constraints
gboolean cluster_status(pe_working_set_t *data_set)
gboolean rsc_discovery_enabled
gboolean remote_requires_reset
node_t * pe_find_node_id(GListPtr node_list, const char *id)
struct resource_alloc_functions_s resource_alloc_functions_t
gboolean remote_was_fenced
resource_alloc_functions_t * cmds
resource_t * pe_find_resource(GListPtr rsc_list, const char *id_rh)
struct pe_working_set_s pe_working_set_t
GHashTable * template_rsc_sets
const char * rsc_printable_id(resource_t *rsc)
int required_runnable_before
enum crm_ais_msg_types type