pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
Scheduler API for nodes. More...
Go to the source code of this file.
Data Structures | |
struct | pe_node_shared_s |
struct | pe_node_s |
Macros | |
#define | PCMK_NODE_ATTR_MAINTENANCE "maintenance" |
#define | PCMK_NODE_ATTR_STANDBY "standby" |
#define | PCMK_NODE_ATTR_TERMINATE "terminate" |
Enumerations | |
enum | node_type { pcmk_node_variant_cluster = 1, pcmk_node_variant_remote = 2, node_ping = 0, node_member = pcmk_node_variant_cluster, node_remote = pcmk_node_variant_remote } |
enum | pe_discover_e { pcmk_probe_always = 0, pcmk_probe_never = 1, pcmk_probe_exclusive = 2, pe_discover_always = pcmk_probe_always, pe_discover_never = pcmk_probe_never, pe_discover_exclusive = pcmk_probe_exclusive } |
Functions | |
bool | pcmk_node_is_online (const pcmk_node_t *node) |
bool | pcmk_node_is_pending (const pcmk_node_t *node) |
bool | pcmk_node_is_clean (const pcmk_node_t *node) |
bool | pcmk_node_is_shutting_down (const pcmk_node_t *node) |
bool | pcmk_node_is_in_maintenance (const pcmk_node_t *node) |
bool | pcmk_foreach_active_resource (pcmk_node_t *node, bool(*fn)(pcmk_resource_t *, void *), void *user_data) |
Scheduler API for nodes.
Definition in file nodes.h.
enum node_type |
Enumerator | |
---|---|
pcmk_node_variant_cluster | |
pcmk_node_variant_remote | |
node_ping | |
node_member | |
node_remote |
enum pe_discover_e |
Enumerator | |
---|---|
pcmk_probe_always | |
pcmk_probe_never | |
pcmk_probe_exclusive | |
pe_discover_always | |
pe_discover_never | |
pe_discover_exclusive |
bool pcmk_foreach_active_resource | ( | pcmk_node_t * | node, |
bool(*)(pcmk_resource_t *, void *) | fn, | ||
void * | user_data | ||
) |
bool pcmk_node_is_clean | ( | const pcmk_node_t * | node | ) |
bool pcmk_node_is_in_maintenance | ( | const pcmk_node_t * | node | ) |
bool pcmk_node_is_online | ( | const pcmk_node_t * | node | ) |
bool pcmk_node_is_pending | ( | const pcmk_node_t * | node | ) |
bool pcmk_node_is_shutting_down | ( | const pcmk_node_t * | node | ) |