this_node 292 include/crm/pengine/internal.h pe_node_t *pe__copy_node(const pe_node_t *this_node); this_node 87 lib/pacemaker/pcmk_sched_utils.c pe_node_t *this_node = (pe_node_t *) gIter->data; this_node 89 lib/pacemaker/pcmk_sched_utils.c new_node = pe__copy_node(this_node); this_node 56 lib/pengine/unpack.c pe_node_t *this_node); this_node 59 lib/pengine/unpack.c static void determine_online_status(xmlNode *node_state, pe_node_t *this_node, this_node 954 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) this_node 964 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 967 lib/pengine/unpack.c crm_trace("Processing remote node id=%s, uname=%s", this_node->details->id, this_node->details->uname); this_node 970 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 972 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 973 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 974 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 975 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 978 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 980 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 981 lib/pengine/unpack.c crm_info("Node %s is shutting down", this_node->details->uname); this_node 982 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 985 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 986 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); this_node 987 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 990 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 992 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); this_node 993 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 996 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 998 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1001 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); this_node 1008 lib/pengine/unpack.c crm_info("Node %s has resource discovery disabled", this_node->details->uname); this_node 1009 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1066 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1082 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1083 lib/pengine/unpack.c if (this_node == NULL) { this_node 1089 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1096 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1100 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); this_node 1105 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1106 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1109 lib/pengine/unpack.c this_node->details->uname, id); this_node 1110 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); this_node 1113 lib/pengine/unpack.c && this_node->details->online this_node 1119 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", this_node 1152 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1161 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1162 lib/pengine/unpack.c if (this_node == NULL) { this_node 1169 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1178 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node)) { this_node 1183 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1193 lib/pengine/unpack.c } else if (pe__is_remote_node(this_node)) { this_node 1199 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1216 lib/pengine/unpack.c && !this_node->details->online) { this_node 1222 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1223 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1224 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); this_node 1230 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1231 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); this_node 1293 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; this_node 1295 lib/pengine/unpack.c if (!pe__is_guest_or_remote_node(this_node)) { this_node 1298 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1299 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1300 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, RSC_ROLE_STOPPED, this_node 1303 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1304 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1313 lib/pengine/unpack.c pe_node_t * this_node) this_node 1331 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1338 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); this_node 1347 lib/pengine/unpack.c pe_node_t * this_node) this_node 1356 lib/pengine/unpack.c const char *terminate = pe_node_attribute_raw(this_node, "terminate"); this_node 1378 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1387 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1388 lib/pengine/unpack.c crm_debug("%s is shutting down", this_node->details->uname); this_node 1394 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); this_node 1397 lib/pengine/unpack.c pe_fence_node(data_set, this_node, this_node 1403 lib/pengine/unpack.c crm_info("- Node %s is not ready to run resources", this_node->details->uname); this_node 1404 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1405 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1408 lib/pengine/unpack.c crm_trace("%s is down or still coming up", this_node->details->uname); this_node 1413 lib/pengine/unpack.c crm_info("Node %s was just shot", this_node->details->uname); this_node 1418 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); this_node 1421 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); this_node 1425 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); this_node 1428 lib/pengine/unpack.c crm_info("Node %s is active", this_node->details->uname); this_node 1431 lib/pengine/unpack.c crm_info("Node %s is not ready to run resources", this_node->details->uname); this_node 1432 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1433 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1436 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); this_node 1438 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1439 lib/pengine/unpack.c crm_str(join), crm_str(exp_state), do_terminate, this_node->details->shutdown); this_node 1446 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) this_node 1448 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1457 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1470 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1471 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1477 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1478 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1484 lib/pengine/unpack.c this_node->details->id); this_node 1485 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1486 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1490 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1491 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1497 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1498 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1499 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1504 lib/pengine/unpack.c this_node->details->id); this_node 1505 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1506 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1511 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1515 lib/pengine/unpack.c determine_online_status(xmlNode * node_state, pe_node_t * this_node, pe_working_set_t * data_set) this_node 1520 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1522 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1523 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1525 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1526 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1529 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1532 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1533 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1540 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); this_node 1543 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); this_node 1547 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1551 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1552 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1555 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1557 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1558 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1561 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1562 lib/pengine/unpack.c crm_info("Node %s is not a Pacemaker node", this_node->details->uname); this_node 1564 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1565 lib/pengine/unpack.c pe_proc_warn("Node %s is unclean", this_node->details->uname); this_node 1567 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1568 lib/pengine/unpack.c crm_info("Node %s is %s", this_node->details->uname, this_node 1569 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1570 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1571 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1572 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1575 lib/pengine/unpack.c crm_trace("Node %s is offline", this_node->details->uname); this_node 4057 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 4071 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); this_node 4072 lib/pengine/unpack.c if(this_node == NULL) { this_node 4073 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 4076 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 4077 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 4080 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); this_node 4083 lib/pengine/unpack.c if (this_node->details->online this_node 142 lib/pengine/utils.c pe__copy_node(const pe_node_t *this_node) this_node 146 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 151 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 152 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 153 lib/pengine/utils.c new_node->fixed = this_node->fixed; this_node 154 lib/pengine/utils.c new_node->details = this_node->details;