10 #ifndef PCMK__CRM_COMMON_SCHEDULER__H 11 # define PCMK__CRM_COMMON_SCHEDULER__H 13 #include <sys/types.h> 14 #include <libxml/tree.h> 45 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 238 #endif // PCMK__CRM_COMMON_SCHEDULER__H GHashTable * tags
Configuration tags (ID -> pcmk_tag_t *)
enum pe_quorum_policy no_quorum_policy
Response to loss of quorum.
xmlNode * failed
History entries of failed actions.
Scheduler API for resources.
Type aliases needed to define scheduler objects.
Whether cluster is symmetric (via symmetric-cluster property)
struct crm_time_s crm_time_t
Whether partition has quorum (via have-quorum property)
int priority_fencing_delay
Priority fencing delay.
xmlNode * op_defaults
Configured operation defaults.
Whether node scores should be output instead of logged.
Whether unseen nodes should be fenced (via startup-fencing property)
Whether the CIB status section has been parsed yet.
Whether concurrent fencing is allowed (via concurrent-fencing property)
GList * actions
Scheduled actions.
int order_id
ID to use for next created ordering.
Implementation of pcmk_scheduler_t.
char * dc_uuid
Node ID of designated controller.
int ninstances
Total number of resource instances.
pe_quorum_policy
Possible responses to loss of quorum.
GList * resources
Resources in cluster.
int stonith_timeout
Value of stonith-timeout property.
GList * nodes
Nodes in cluster.
Whether to show node and resource utilization (in log or output)
GList * ticket_constraints
Whether any resource provides or requires unfencing (via CIB resources)
Scheduler API for resource roles.
xmlNode * rsc_defaults
Configured resource defaults.
Whether the cluster includes any Pacemaker Remote nodes (via CIB)
void * priv
For Pacemaker use only.
int blocked_resources
Number of blocked resources in cluster.
int action_id
ID to use for next created action.
const char * stonith_action
Default fencing action.
GHashTable * config_hash
Cluster properties.
time_t recheck_by
Hint to controller when to reschedule.
Implementation of pcmk_node_t.
const char * placement_strategy
Value of placement-strategy property.
Whether sensitive resource attributes have been masked.
guint shutdown_lock
How long to lock resources (seconds)
GList * ordering_constraints
Ordering constraints.
guint node_pending_timeout
Pending join times out after this (ms)
Whether to stop all resources (via stop-all-resources property)
Whether fencing is enabled (via stonith-enabled property)
GList * param_check
History entries that need to be checked.
int disabled_resources
Number of disabled resources in cluster.
GList * colocation_constraints
Colocation constraints.
Skip counting of total, disabled, and blocked resource instances.
Scheduler API for tickets.
GList * placement_constraints
Location constraints.
Whether cluster has a fencing resource (via CIB resources)
GHashTable * singletons
Actions for which there can be only one (such as "fence node X")
unsigned long long flags
Group of enum pcmk_scheduler_flags.
No scheduler flags set (compare with equality rather than bit set)
Whether cluster is in maintenance mode (via maintenance-mode property)
pcmk_scheduler_flags
Scheduling options and conditions.
crm_time_t * now
Current time for evaluation purposes.
GHashTable * template_rsc_sets
Mappings of template ID to resource ID.
pcmk_node_t * dc_node
Node object for DC.
GList * stop_needed
Containers that need stop actions.
int num_synapse
Number of transition graph synapses.
xmlNode * graph
Transition graph.