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) 110 const char *node_name);
116 #endif // PCMK__CRM_COMMON_SCHEDULER__H pcmk_node_t * pcmk_find_node(const pcmk_scheduler_t *scheduler, const char *node_name)
Find a node by name in scheduler data.
Scheduler API for resources.
Do not recover resources from outside partition.
Type aliases needed to define scheduler objects.
pcmk_node_t * pcmk_get_dc(const pcmk_scheduler_t *scheduler)
pcmk__scheduler_private_t * priv
Stop all resources in partition.
enum pe_quorum_policy no_quorum_policy
pe_quorum_policy
Possible responses to loss of quorum.
Scheduler API for resource roles.
Demote promotable resources and stop all others.
Act as if partition still holds quorum.
bool pcmk_has_quorum(const pcmk_scheduler_t *scheduler)
Fence all nodes in partition.
pcmk_scheduler_t * scheduler
int pcmk_set_scheduler_cib(pcmk_scheduler_t *scheduler, xmlNode *cib)
enum pe_quorum_policy pcmk_get_no_quorum_policy(const pcmk_scheduler_t *scheduler)