pacemaker
2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
|
Go to the source code of this file.
Enumerations | |
enum | crm_proc_flag { crm_proc_none = 0x00000001, crm_proc_cpg = 0x04000000, crm_proc_execd = 0x00000010, crm_proc_based = 0x00000100, crm_proc_controld = 0x00000200, crm_proc_attrd = 0x00001000, crm_proc_schedulerd = 0x00010000, crm_proc_fenced = 0x00100000 } |
Functions | |
crm_node_t * | crm_update_peer_proc (const char *source, crm_node_t *peer, uint32_t flag, const char *status) |
crm_node_t * | pcmk__update_peer_state (const char *source, crm_node_t *node, const char *state, uint64_t membership) |
Update a node's state and membership information. More... | |
void | pcmk__update_peer_expected (const char *source, crm_node_t *node, const char *expected) |
void | pcmk__reap_unseen_nodes (uint64_t ring_id) |
void | pcmk__corosync_quorum_connect (gboolean(*dispatch)(unsigned long long, gboolean), void(*destroy)(gpointer)) |
crm_node_t * | pcmk__search_node_caches (unsigned int id, const char *uname, uint32_t flags) |
crm_node_t * | pcmk__search_cluster_node_cache (unsigned int id, const char *uname) |
void | pcmk__refresh_node_caches_from_cib (xmlNode *cib) |
crm_node_t * | pcmk__search_known_node_cache (unsigned int id, const char *uname, uint32_t flags) |
enum crm_proc_flag |
Enumerator | |
---|---|
crm_proc_none | |
crm_proc_cpg | |
crm_proc_execd | |
crm_proc_based | |
crm_proc_controld | |
crm_proc_attrd | |
crm_proc_schedulerd | |
crm_proc_fenced |
Definition at line 17 of file internal.h.
crm_node_t* crm_update_peer_proc | ( | const char * | source, |
crm_node_t * | peer, | ||
uint32_t | flag, | ||
const char * | status | ||
) |
Definition at line 876 of file membership.c.
void pcmk__corosync_quorum_connect | ( | gboolean(*)(unsigned long long, gboolean) | dispatch, |
void(*)(gpointer) | destroy | ||
) |
Definition at line 341 of file corosync.c.
void pcmk__reap_unseen_nodes | ( | uint64_t | ring_id | ) |
Definition at line 1092 of file membership.c.
void pcmk__refresh_node_caches_from_cib | ( | xmlNode * | cib | ) |
Definition at line 1248 of file membership.c.
crm_node_t* pcmk__search_cluster_node_cache | ( | unsigned int | id, |
const char * | uname | ||
) |
Definition at line 562 of file membership.c.
crm_node_t* pcmk__search_known_node_cache | ( | unsigned int | id, |
const char * | uname, | ||
uint32_t | flags | ||
) |
Definition at line 1265 of file membership.c.
crm_node_t* pcmk__search_node_caches | ( | unsigned int | id, |
const char * | uname, | ||
uint32_t | flags | ||
) |
Definition at line 506 of file membership.c.
void pcmk__update_peer_expected | ( | const char * | source, |
crm_node_t * | node, | ||
const char * | expected | ||
) |
Definition at line 963 of file membership.c.
crm_node_t* pcmk__update_peer_state | ( | const char * | source, |
crm_node_t * | node, | ||
const char * | state, | ||
uint64_t | membership | ||
) |
Update a node's state and membership information.
[in] | source | Caller's function name (for log messages) |
[in] | node | Node object to update |
[in] | state | Node's new state |
[in] | membership | Node's new membership ID |
Definition at line 1079 of file membership.c.