#include <crm_internal.h>
#include <dlfcn.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <sys/param.h>
#include <sys/types.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/ipc.h>
#include <crm/cluster/internal.h>
Go to the source code of this file.
◆ crm_cluster_connect()
◆ crm_cluster_disconnect()
◆ crm_peer_uname()
const char* crm_peer_uname |
( |
const char * |
uuid | ) |
|
Get the node name corresponding to a node UUID.
- Parameters
-
[in] | uuid | UUID of desired node |
- Returns
- name of desired node
- Note
- This relies on the remote peer cache being populated with all remote nodes in the cluster, so callers should maintain that cache.
Definition at line 178 of file cluster.c.
◆ crm_peer_uuid()
◆ CRM_TRACE_INIT_DATA()
CRM_TRACE_INIT_DATA |
( |
cluster |
| ) |
|
◆ get_cluster_type()
◆ get_local_node_name()
const char* get_local_node_name |
( |
void |
| ) |
|
◆ get_node_name()
char* get_node_name |
( |
uint32_t |
nodeid | ) |
|
◆ is_corosync_cluster()
gboolean is_corosync_cluster |
( |
void |
| ) |
|
◆ name_for_cluster_type()
◆ node_name_is_valid()
gboolean node_name_is_valid |
( |
const char * |
key, |
|
|
const char * |
name |
|
) |
| |
◆ send_cluster_message()
◆ set_cluster_type()
◆ set_uuid()
void set_uuid |
( |
xmlNode * |
xml, |
|
|
const char * |
attr, |
|
|
crm_node_t * |
node |
|
) |
| |