pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <bzlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.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>
Go to the source code of this file.
Functions | |
char * | corosync_node_name (uint64_tcmap_handle, uint32_t nodeid) |
void | terminate_cs_connection (crm_cluster_t *cluster) |
gboolean | cluster_connect_quorum (gboolean(*dispatch)(unsigned long long, gboolean), void(*destroy)(gpointer)) |
gboolean | init_cs_connection (crm_cluster_t *cluster) |
gboolean | init_cs_connection_once (crm_cluster_t *cluster) |
gboolean | check_message_sanity (const AIS_Message *msg, const char *data) |
enum cluster_type_e | find_corosync_variant (void) |
gboolean | crm_is_corosync_peer_active (const crm_node_t *node) |
gboolean | corosync_initialize_nodelist (void *cluster, gboolean force_member, xmlNode *xml_parent) |
char * | corosync_cluster_name (void) |
int | corosync_cmap_has_config (const char *prefix) |
Variables | |
quorum_handle_t | pcmk_quorum_handle = 0 |
gboolean(* | quorum_app_callback )(unsigned long long seq, gboolean quorate) = NULL |
int | ais_membership_timer = 0 |
gboolean | ais_membership_force = FALSE |
quorum_callbacks_t | quorum_callbacks |
gboolean check_message_sanity | ( | const AIS_Message * | msg, |
const char * | data | ||
) |
Definition at line 377 of file corosync.c.
gboolean cluster_connect_quorum | ( | gboolean(*)(unsigned long long, gboolean) | dispatch, |
void(*)(gpointer) | destroy | ||
) |
Definition at line 249 of file corosync.c.
char* corosync_cluster_name | ( | void | ) |
Definition at line 568 of file corosync.c.
int corosync_cmap_has_config | ( | const char * | prefix | ) |
Definition at line 594 of file corosync.c.
gboolean corosync_initialize_nodelist | ( | void * | cluster, |
gboolean | force_member, | ||
xmlNode * | xml_parent | ||
) |
Definition at line 486 of file corosync.c.
char* corosync_node_name | ( | uint64_t | cmap_handle, |
uint32_t | nodeid | ||
) |
Definition at line 52 of file corosync.c.
gboolean crm_is_corosync_peer_active | ( | const crm_node_t * | node | ) |
Definition at line 468 of file corosync.c.
enum cluster_type_e find_corosync_variant | ( | void | ) |
Definition at line 440 of file corosync.c.
gboolean init_cs_connection | ( | crm_cluster_t * | cluster | ) |
Definition at line 312 of file corosync.c.
gboolean init_cs_connection_once | ( | crm_cluster_t * | cluster | ) |
Definition at line 339 of file corosync.c.
void terminate_cs_connection | ( | crm_cluster_t * | cluster | ) |
Definition at line 140 of file corosync.c.
gboolean ais_membership_force = FALSE |
Definition at line 159 of file corosync.c.
int ais_membership_timer = 0 |
Definition at line 158 of file corosync.c.
quorum_handle_t pcmk_quorum_handle = 0 |
Definition at line 43 of file corosync.c.
gboolean(* quorum_app_callback)(unsigned long long seq, gboolean quorate) = NULL |
Definition at line 45 of file corosync.c.
quorum_callbacks_t quorum_callbacks |
Definition at line 244 of file corosync.c.