pacemaker
2.1.7-0f7f88312f
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, const char *uuid) |
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) |
crm_node_t * | pcmk__get_peer (unsigned int id, const char *uname, const char *uuid) |
Get a cluster node cache entry. More... | |
crm_node_t * | pcmk__get_peer_full (unsigned int id, const char *uname, const char *uuid, int flags) |
Get a node cache entry (cluster or Pacemaker Remote) More... | |
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 924 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.
crm_node_t* pcmk__get_peer | ( | unsigned int | id, |
const char * | uname, | ||
const char * | uuid | ||
) |
Get a cluster node cache entry.
[in] | id | If not 0, cluster node ID to search for |
[in] | uname | If not NULL, node name to search for |
[in] | uuid | If not NULL while id is 0, node UUID instead of cluster node ID to search for |
Definition at line 735 of file membership.c.
crm_node_t* pcmk__get_peer_full | ( | unsigned int | id, |
const char * | uname, | ||
const char * | uuid, | ||
int | flags | ||
) |
Get a node cache entry (cluster or Pacemaker Remote)
[in] | id | If not 0, cluster node ID to search for |
[in] | uname | If not NULL, node name to search for |
[in] | uuid | If not NULL while id is 0, node UUID instead of cluster node ID to search for |
[in] | flags | Bitmask of enum crm_get_peer_flags |
Definition at line 536 of file membership.c.
void pcmk__reap_unseen_nodes | ( | uint64_t | ring_id | ) |
Definition at line 1154 of file membership.c.
void pcmk__refresh_node_caches_from_cib | ( | xmlNode * | cib | ) |
Definition at line 1306 of file membership.c.
crm_node_t* pcmk__search_cluster_node_cache | ( | unsigned int | id, |
const char * | uname, | ||
const char * | uuid | ||
) |
Definition at line 582 of file membership.c.
crm_node_t* pcmk__search_known_node_cache | ( | unsigned int | id, |
const char * | uname, | ||
uint32_t | flags | ||
) |
Definition at line 1323 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 1018 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,out] | node | Node object to update |
[in] | state | Node's new state |
[in] | membership | Node's new membership ID |
Definition at line 1141 of file membership.c.