nodeid 65 attrd/attrd_common.h int attrd_send_attribute_alert(const char *node, int nodeid, nodeid 149 attrd/attrd_common_alerts.c attrd_send_attribute_alert(const char *node, int nodeid, nodeid 156 attrd/attrd_common_alerts.c node, nodeid, attr, value); nodeid 245 attrd/commands.c crm_xml_add_int(xml, F_ATTRD_HOST_ID, attrd_cluster->nodeid); nodeid 649 attrd/commands.c v->nodename, v->nodeid, v->current); nodeid 833 attrd/commands.c a->is_private, v->nodename, v->nodeid, v->current); nodeid 861 attrd/commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 862 attrd/commands.c && (crm_element_value_int(xml, F_ATTRD_HOST_ID, (int*)&v->nodeid) == 0)) { nodeid 864 attrd/commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 1007 attrd/commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) nodeid 1013 attrd/commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1016 attrd/commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1022 attrd/commands.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); nodeid 1050 attrd/commands.c a_v->nodeid = v->nodeid; nodeid 1070 attrd/commands.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 1073 attrd/commands.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 1129 attrd/commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); nodeid 1139 attrd/commands.c if (peer->id && (v->nodeid == 0)) { nodeid 1141 attrd/commands.c v->nodeid = peer->id; nodeid 1160 attrd/commands.c v->current, peer->uuid, peer->id, v->nodeid, peer->uname); nodeid 41 attrd/internal.h uint32_t nodeid; nodeid 461 attrd/legacy.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 466 attrd/legacy.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 694 attrd/legacy.c attrd_nodeid = cluster.nodeid; nodeid 55 attrd/main.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 60 attrd/main.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 71 attrd/main.c crm_err("Bad message of class %d received from %s[%u]: '%.120s'", kind, from, nodeid, data); nodeid 73 attrd/main.c crm_node_t *peer = crm_get_peer(nodeid, from); nodeid 377 cib/main.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 382 cib/main.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 47 crmd/corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 57 crmd/corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 294 crmd/te_callbacks.c char *nodeid = NULL; nodeid 301 crmd/te_callbacks.c nodeid = strdup(tmp); nodeid 302 crmd/te_callbacks.c tmp = strstr(nodeid, "\'"); nodeid 306 crmd/te_callbacks.c return nodeid; nodeid 674 fencing/admin.c uint32_t nodeid = atol(target); nodeid 675 fencing/admin.c when = stonith_api_time(nodeid, NULL, FALSE); nodeid 2294 fencing/commands.c int nodeid = crm_atoi(host, NULL); nodeid 2296 fencing/commands.c nodename = stonith_get_peer_name(nodeid); nodeid 238 fencing/internal.h char *stonith_get_peer_name(unsigned int nodeid); nodeid 222 fencing/main.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 227 fencing/main.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 924 fencing/remote.c stonith_get_peer_name(unsigned int nodeid) nodeid 926 fencing/remote.c crm_node_t *node = crm_find_peer(nodeid, NULL); nodeid 932 fencing/remote.c } else if ((nodename = get_node_name(nodeid))) { nodeid 936 fencing/remote.c const char *last_known_name = g_hash_table_lookup(known_peer_names, GUINT_TO_POINTER(nodeid)); nodeid 939 fencing/remote.c crm_debug("Use the last known name %s for nodeid %u", last_known_name, nodeid); nodeid 1028 fencing/remote.c int nodeid = crm_atoi(op->target, NULL); nodeid 1029 fencing/remote.c char *nodename = stonith_get_peer_name(nodeid); nodeid 2045 fencing/remote.c int nodeid = crm_atoi(target, NULL); nodeid 2047 fencing/remote.c nodename = stonith_get_peer_name(nodeid); nodeid 97 include/crm/cluster.h uint32_t nodeid; nodeid 170 include/crm/cluster.h int crm_terminate_member(int nodeid, const char *uname, void *unused); nodeid 171 include/crm/cluster.h int crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection); nodeid 231 include/crm/cluster.h char *get_node_name(uint32_t nodeid); nodeid 234 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg, nodeid 414 include/crm/cluster/internal.h char *classic_node_name(uint32_t nodeid); nodeid 418 include/crm/cluster/internal.h char *corosync_node_name(uint64_t /*cmap_handle_t */ cmap_handle, uint32_t nodeid); nodeid 436 include/crm/cluster/internal.h char *cman_node_name(uint32_t nodeid); nodeid 26 include/crm/lrmd_alerts_internal.h const char *node, uint32_t nodeid, nodeid 29 include/crm/lrmd_alerts_internal.h const char *node, uint32_t nodeid, const char *state); nodeid 393 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); nodeid 394 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); nodeid 439 include/crm/stonith-ng.h stonith_api_kick_helper(uint32_t nodeid, int timeout, bool off) nodeid 442 include/crm/stonith-ng.h static int (*st_kick_fn) (int nodeid, const char *uname, int timeout, bool off) = NULL; nodeid 458 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); nodeid 462 include/crm/stonith-ng.h stonith_api_time_helper(uint32_t nodeid, bool in_progress) nodeid 465 include/crm/stonith-ng.h static time_t(*st_time_fn) (int nodeid, const char *uname, bool in_progress) = NULL; nodeid 477 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); nodeid 132 lib/ais/plugin.c void pcmk_cluster_callback(ais_void_ptr * message, unsigned int nodeid); nodeid 141 lib/ais/plugin.c void pcmk_cluster_id_callback(ais_void_ptr * message, unsigned int nodeid); nodeid 680 lib/ais/plugin.c totempg_ifaces_print(unsigned int nodeid) nodeid 692 lib/ais/plugin.c res = totempg_ifaces_get(nodeid, interfaces, &status, &iface_count); nodeid 746 lib/ais/plugin.c uint32_t nodeid = joined_list[lpc]; nodeid 748 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 752 lib/ais/plugin.c uint32_t nodeid = member_list[lpc]; nodeid 754 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 758 lib/ais/plugin.c uint32_t nodeid = left_list[lpc]; nodeid 760 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 767 lib/ais/plugin.c uint32_t nodeid = joined_list[lpc]; nodeid 770 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_MEMBER, NULL); nodeid 772 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 774 lib/ais/plugin.c node = g_hash_table_lookup(membership_list, GUINT_TO_POINTER(nodeid)); nodeid 776 lib/ais/plugin.c const char *addr = totempg_ifaces_print(nodeid); nodeid 779 lib/ais/plugin.c ais_debug("Node %u has address %s", nodeid, node->addr); nodeid 785 lib/ais/plugin.c uint32_t nodeid = member_list[lpc]; nodeid 787 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_MEMBER, NULL); nodeid 789 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 794 lib/ais/plugin.c uint32_t nodeid = left_list[lpc]; nodeid 796 lib/ais/plugin.c changed += update_member(nodeid, 0, membership_seq, -1, 0, NULL, CRM_NODE_LOST, NULL); nodeid 797 lib/ais/plugin.c ais_info("%s %s %u", prefix, member_uname(nodeid), nodeid); nodeid 899 lib/ais/plugin.c pcmk_cluster_callback(ais_void_ptr * message, unsigned int nodeid) nodeid 903 lib/ais/plugin.c ais_trace("Message from node %u (%s)", nodeid, nodeid == local_nodeid ? "local" : "remote"); nodeid 937 lib/ais/plugin.c pcmk_cluster_id_callback(ais_void_ptr * message, unsigned int nodeid) nodeid 942 lib/ais/plugin.c if (nodeid != msg->id) { nodeid 943 lib/ais/plugin.c ais_err("Invalid message: Node %u claimed to be node %d", nodeid, msg->id); nodeid 948 lib/ais/plugin.c update_member(nodeid, msg->born_on, membership_seq, msg->votes, msg->processes, msg->uname, nodeid 301 lib/cluster/cluster.c get_node_name(uint32_t nodeid) nodeid 307 lib/cluster/cluster.c if (nodeid == 0) { nodeid 321 lib/cluster/cluster.c name = classic_node_name(nodeid); nodeid 326 lib/cluster/cluster.c name = corosync_node_name(0, nodeid); nodeid 333 lib/cluster/cluster.c name = cman_node_name(nodeid); nodeid 341 lib/cluster/cluster.c if(name == NULL && nodeid == 0) { nodeid 359 lib/cluster/cluster.c name_for_cluster_type(stack), nodeid); nodeid 52 lib/cluster/corosync.c corosync_node_name(uint64_t /*cmap_handle_t */ cmap_handle, uint32_t nodeid) nodeid 61 lib/cluster/corosync.c if (nodeid == 0) { nodeid 62 lib/cluster/corosync.c nodeid = get_local_nodeid(0); nodeid 96 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); nodeid 103 lib/cluster/corosync.c if (nodeid == id) { nodeid 104 lib/cluster/corosync.c crm_trace("Searching for node name for %u in nodelist.node.%d %s", nodeid, lpc, name); nodeid 134 lib/cluster/corosync.c crm_info("Unable to get node name for nodeid %u", nodeid); nodeid 357 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); nodeid 358 lib/cluster/corosync.c if(cluster->nodeid == 0) { nodeid 370 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 513 lib/cluster/corosync.c uint32_t nodeid = 0; nodeid 518 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); nodeid 525 lib/cluster/corosync.c name = corosync_node_name(cmap_handle, nodeid); nodeid 533 lib/cluster/corosync.c if (node->id && node->id != nodeid) { nodeid 535 lib/cluster/corosync.c nodeid, name); nodeid 542 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { nodeid 543 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); nodeid 544 lib/cluster/corosync.c crm_get_peer(nodeid, name); nodeid 547 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { nodeid 553 lib/cluster/corosync.c crm_xml_set_id(node, "%u", nodeid); nodeid 233 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *content, nodeid 246 lib/cluster/cpg.c if (msg->sender.id > 0 && msg->sender.id != nodeid) { nodeid 247 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); nodeid 260 lib/cluster/cpg.c msg->sender.id = nodeid; nodeid 262 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); nodeid 265 lib/cluster/cpg.c crm_err("Peer with nodeid=%u is unknown", nodeid); nodeid 268 lib/cluster/cpg.c crm_err("No uname for peer with nodeid=%u", nodeid); nodeid 271 lib/cluster/cpg.c crm_notice("Fixing uname for peer with nodeid=%u", nodeid); nodeid 375 lib/cluster/cpg.c crm_node_t *peer = crm_find_peer(left_list[i].nodeid, NULL); nodeid 378 lib/cluster/cpg.c left_list[i].nodeid, groupName->value, nodeid 387 lib/cluster/cpg.c joined_list[i].nodeid, groupName->value, counter, i); nodeid 391 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); nodeid 394 lib/cluster/cpg.c member_list[i].nodeid, groupName->value, nodeid 422 lib/cluster/cpg.c if (local_nodeid == member_list[i].nodeid) { nodeid 478 lib/cluster/cpg.c cluster->nodeid = id; nodeid 56 lib/cluster/legacy.c static bool valid_cman_name(const char *name, uint32_t nodeid) nodeid 61 lib/cluster/legacy.c char *fakename = crm_strdup_printf("Node%d", nodeid); nodeid 280 lib/cluster/legacy.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 284 lib/cluster/legacy.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 544 lib/cluster/legacy.c cluster->nodeid = get_local_nodeid(0); nodeid 557 lib/cluster/legacy.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 643 lib/cluster/legacy.c classic_node_name(uint32_t nodeid) nodeid 649 lib/cluster/legacy.c cman_node_name(uint32_t nodeid) nodeid 661 lib/cluster/legacy.c cman_get_node(cman, nodeid, &us); nodeid 662 lib/cluster/legacy.c if(valid_cman_name(us.cn_name, nodeid)) { nodeid 664 lib/cluster/legacy.c crm_info("Using CMAN node name %s for %u", name, nodeid); nodeid 671 lib/cluster/legacy.c crm_debug("Unable to get node name for nodeid %u", nodeid); nodeid 710 lib/cluster/legacy.c cluster->nodeid = get_local_nodeid(0); nodeid 711 lib/cluster/legacy.c if(cluster->nodeid == 0) { nodeid 723 lib/cluster/legacy.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 1115 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) nodeid 1118 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 1122 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) nodeid 1124 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 2552 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 2566 lib/fencing/st_client.c api_log(LOG_ERR, "Connection failed, could not kick (%s) node %u/%s : %s (%d)", action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2573 lib/fencing/st_client.c } else if (nodeid > 0) { nodeid 2575 lib/fencing/st_client.c name = crm_itoa(nodeid); nodeid 2585 lib/fencing/st_client.c api_log(LOG_ERR, "Could not kick (%s) node %u/%s : %s (%d)", action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2587 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s ", nodeid, uname, action); nodeid 2601 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 2622 lib/fencing/st_client.c } else if (nodeid > 0) { nodeid 2624 lib/fencing/st_client.c name = crm_itoa(nodeid); nodeid 2651 lib/fencing/st_client.c api_log(LOG_INFO, "Found %d entries for %u/%s: %d in progress, %d completed", entries, nodeid, uname, progress, completed); nodeid 2653 lib/fencing/st_client.c api_log(LOG_ERR, "Could not retrieve fence history for %u/%s: %s (%d)", nodeid, uname, pcmk_strerror(rc), rc); nodeid 2663 lib/fencing/st_client.c api_log(LOG_INFO, "Node %u/%s last kicked at: %ld", nodeid, uname, (long int)when); nodeid 221 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, nodeid 232 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, CRM_alert_nodeid, nodeid); nodeid 258 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) nodeid 269 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, CRM_alert_nodeid, nodeid); nodeid 111 mcp/corosync.c cluster_connect_cfg(uint32_t * nodeid) nodeid 135 mcp/corosync.c cs_repeat(retries, 30, rc = corosync_cfg_local_get(cfg_handle, nodeid)); nodeid 142 mcp/corosync.c crm_debug("Our nodeid: %d", *nodeid); nodeid 826 mcp/pacemaker.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 835 mcp/pacemaker.c if (nodeid == local_nodeid) { nodeid 842 mcp/pacemaker.c if (update_node_processes(nodeid, uname, procs)) { nodeid 40 mcp/pacemaker.h gboolean cluster_connect_cfg(uint32_t * nodeid); nodeid 3910 tools/crm_mon.c char *nodeid = NULL; nodeid 3917 tools/crm_mon.c nodeid = strdup(tmp); nodeid 3918 tools/crm_mon.c tmp = strstr(nodeid, "\'"); nodeid 3922 tools/crm_mon.c return nodeid; nodeid 566 tools/crm_node.c static bool valid_cman_name(const char *name, uint32_t nodeid) nodeid 571 tools/crm_node.c char *fakename = crm_strdup_printf("Node%d", nodeid); nodeid 693 tools/crm_node.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 697 tools/crm_node.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 762 tools/crm_node.c unsigned int nodeid = 0; nodeid 797 tools/crm_node.c rc = cpg_local_get(c_handle, &nodeid); nodeid 803 tools/crm_node.c fprintf(stdout, "%u\n", nodeid); nodeid 851 tools/crm_node.c printf("%u\n", cluster.nodeid); nodeid 872 tools/crm_node.c uint32_t nodeid = 0; nodeid 921 tools/crm_node.c nodeid = crm_parse_int(optarg, NULL); nodeid 954 tools/crm_node.c fprintf(stdout, "%s\n", get_node_name(nodeid));