pacemaker
2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <inttypes.h>
#include <bzlib.h>
#include <crm/common/ipc.h>
#include <crm/cluster/internal.h>
#include <crm/common/mainloop.h>
#include <sys/utsname.h>
#include <qb/qbipcc.h>
#include <qb/qbutil.h>
#include <corosync/corodefs.h>
#include <corosync/corotypes.h>
#include <corosync/hdb.h>
#include <corosync/cfg.h>
#include <corosync/cmap.h>
#include <corosync/quorum.h>
#include <crm/msg_xml.h>
#include <crm/common/ipc_internal.h>
#include "crmcluster_private.h"
Go to the source code of this file.
Functions | |
char * | pcmk__corosync_uuid (crm_node_t *node) |
char * | pcmk__corosync_name (uint64_t cmap_handle, uint32_t nodeid) |
void | pcmk__corosync_disconnect (crm_cluster_t *cluster) |
void | pcmk__corosync_quorum_connect (gboolean(*dispatch)(unsigned long long, gboolean), void(*destroy)(gpointer)) |
gboolean | pcmk__corosync_connect (crm_cluster_t *cluster) |
enum cluster_type_e | pcmk__corosync_detect (void) |
gboolean | crm_is_corosync_peer_active (const crm_node_t *node) |
Check whether a Corosync cluster peer is active. More... | |
bool | pcmk__corosync_add_nodes (xmlNode *xml_parent) |
char * | pcmk__corosync_cluster_name (void) |
bool | pcmk__corosync_has_nodelist (void) |
gboolean crm_is_corosync_peer_active | ( | const crm_node_t * | node | ) |
Check whether a Corosync cluster peer is active.
[in] | node | Node to check |
node
is an active Corosync peer, otherwise FALSE Definition at line 531 of file corosync.c.
bool pcmk__corosync_add_nodes | ( | xmlNode * | xml_parent | ) |
Definition at line 559 of file corosync.c.
char* pcmk__corosync_cluster_name | ( | void | ) |
Definition at line 671 of file corosync.c.
gboolean pcmk__corosync_connect | ( | crm_cluster_t * | cluster | ) |
Definition at line 451 of file corosync.c.
enum cluster_type_e pcmk__corosync_detect | ( | void | ) |
Definition at line 496 of file corosync.c.
void pcmk__corosync_disconnect | ( | crm_cluster_t * | cluster | ) |
Definition at line 223 of file corosync.c.
bool pcmk__corosync_has_nodelist | ( | void | ) |
Definition at line 730 of file corosync.c.
char* pcmk__corosync_name | ( | uint64_t | cmap_handle, |
uint32_t | nodeid | ||
) |
Definition at line 101 of file corosync.c.
void pcmk__corosync_quorum_connect | ( | gboolean(*)(unsigned long long, gboolean) | dispatch, |
void(*)(gpointer) | destroy | ||
) |
Definition at line 341 of file corosync.c.
char* pcmk__corosync_uuid | ( | crm_node_t * | node | ) |
Definition at line 55 of file corosync.c.