pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
corosync.c File Reference
#include <crm_internal.h>
#include <arpa/inet.h>
#include <inttypes.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <sys/socket.h>
#include <sys/utsname.h>
#include <bzlib.h>
#include <corosync/cfg.h>
#include <corosync/cmap.h>
#include <corosync/corodefs.h>
#include <corosync/corotypes.h>
#include <corosync/hdb.h>
#include <corosync/quorum.h>
#include <qb/qbipcc.h>
#include <qb/qbutil.h>
#include <crm/cluster/internal.h>
#include <crm/common/ipc.h>
#include <crm/common/ipc_internal.h>
#include <crm/common/mainloop.h>
#include <crm/common/xml.h>
#include "crmcluster_private.h"
#include <crm/cluster/compat.h>
Include dependency graph for corosync.c:

Go to the source code of this file.

Functions

char * pcmk__corosync_uuid (const crm_node_t *node)
 
char * pcmk__corosync_name (uint64_t cmap_handle, uint32_t nodeid)
 
void pcmk__corosync_disconnect (pcmk_cluster_t *cluster)
 
void pcmk__corosync_quorum_connect (gboolean(*dispatch)(unsigned long long, gboolean), void(*destroy)(gpointer))
 
int pcmk__corosync_connect (pcmk_cluster_t *cluster)
 
bool pcmk__corosync_is_active (void)
 
bool pcmk__corosync_is_peer_active (const crm_node_t *node)
 
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)
 

Function Documentation

◆ crm_is_corosync_peer_active()

gboolean crm_is_corosync_peer_active ( const crm_node_t node)

Definition at line 819 of file corosync.c.

◆ pcmk__corosync_add_nodes()

bool pcmk__corosync_add_nodes ( xmlNode *  xml_parent)

Definition at line 556 of file corosync.c.

◆ pcmk__corosync_cluster_name()

char* pcmk__corosync_cluster_name ( void  )

Definition at line 668 of file corosync.c.

◆ pcmk__corosync_connect()

int pcmk__corosync_connect ( pcmk_cluster_t cluster)

Definition at line 455 of file corosync.c.

◆ pcmk__corosync_disconnect()

void pcmk__corosync_disconnect ( pcmk_cluster_t cluster)

Definition at line 223 of file corosync.c.

◆ pcmk__corosync_has_nodelist()

bool pcmk__corosync_has_nodelist ( void  )

Definition at line 727 of file corosync.c.

◆ pcmk__corosync_is_active()

bool pcmk__corosync_is_active ( void  )

Definition at line 504 of file corosync.c.

◆ pcmk__corosync_is_peer_active()

bool pcmk__corosync_is_peer_active ( const crm_node_t node)

Definition at line 528 of file corosync.c.

◆ pcmk__corosync_name()

char* pcmk__corosync_name ( uint64_t  cmap_handle,
uint32_t  nodeid 
)

Definition at line 101 of file corosync.c.

◆ pcmk__corosync_quorum_connect()

void pcmk__corosync_quorum_connect ( gboolean(*)(unsigned long long, gboolean)  dispatch,
void(*)(gpointer)  destroy 
)

Definition at line 343 of file corosync.c.

◆ pcmk__corosync_uuid()

char* pcmk__corosync_uuid ( const crm_node_t node)

Definition at line 53 of file corosync.c.