this_node 329 include/crm/pengine/internal.h pe_node_t *pe__copy_node(const pe_node_t *this_node); this_node 132 lib/pacemaker/pcmk_sched_utils.c pe_node_t *this_node = (pe_node_t *) gIter->data; this_node 134 lib/pacemaker/pcmk_sched_utils.c new_node = pe__copy_node(this_node); this_node 57 lib/pengine/unpack.c pe_node_t *this_node); this_node 60 lib/pengine/unpack.c static void determine_online_status(xmlNode *node_state, pe_node_t *this_node, this_node 969 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) this_node 979 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 982 lib/pengine/unpack.c crm_trace("Processing remote node id=%s, uname=%s", this_node->details->id, this_node->details->uname); this_node 984 lib/pengine/unpack.c this_node->details->remote_maintenance = this_node 987 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 988 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 989 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 990 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 993 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 995 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 996 lib/pengine/unpack.c crm_info("Node %s is shutting down", this_node->details->uname); this_node 997 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1003 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 1004 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); this_node 1005 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1008 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 1010 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); this_node 1011 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1014 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1016 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1019 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); this_node 1026 lib/pengine/unpack.c crm_info("Node %s has resource discovery disabled", this_node->details->uname); this_node 1027 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1043 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1052 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1054 lib/pengine/unpack.c if (this_node == NULL) { this_node 1058 lib/pengine/unpack.c } else if (this_node->details->unpacked) { this_node 1062 lib/pengine/unpack.c } else if (!pe__is_guest_or_remote_node(this_node) this_node 1067 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 1069 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1077 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node) this_node 1086 lib/pengine/unpack.c } else if (!pe__is_guest_node(this_node) this_node 1094 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1095 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); this_node 1099 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1112 lib/pengine/unpack.c (pe__is_guest_or_remote_node(this_node)? " remote" : ""), this_node 1113 lib/pengine/unpack.c this_node->details->uname); this_node 1115 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1119 lib/pengine/unpack.c unpack_lrm_resources(this_node, lrm_rsc, data_set); this_node 1135 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1156 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1162 lib/pengine/unpack.c } else if (this_node == NULL) { this_node 1167 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 1172 lib/pengine/unpack.c this_node->details->remote_was_fenced = this_node 1182 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1183 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1185 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 1187 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 1188 lib/pengine/unpack.c crm_info("Node %s is in standby-mode", this_node->details->uname); this_node 1189 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1192 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance"))) { this_node 1193 lib/pengine/unpack.c crm_info("Node %s is in maintenance-mode", this_node->details->uname); this_node 1194 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1197 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1200 lib/pengine/unpack.c XML_NODE_ATTR_RSC_DISCOVERY, this_node->details->uname); this_node 1204 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); this_node 1207 lib/pengine/unpack.c && this_node->details->online this_node 1213 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", FALSE); this_node 1245 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; this_node 1247 lib/pengine/unpack.c if (this_node == NULL) { this_node 1249 lib/pengine/unpack.c } else if (!pe__is_guest_or_remote_node(this_node)) { this_node 1251 lib/pengine/unpack.c } else if(this_node->details->unpacked) { this_node 1254 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1262 lib/pengine/unpack.c pe_node_t * this_node) this_node 1280 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1287 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); this_node 1296 lib/pengine/unpack.c pe_node_t * this_node) this_node 1305 lib/pengine/unpack.c const char *terminate = pe_node_attribute_raw(this_node, "terminate"); this_node 1327 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1336 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1337 lib/pengine/unpack.c crm_debug("%s is shutting down", this_node->details->uname); this_node 1343 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); this_node 1346 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer failed the pacemaker membership criteria", FALSE); this_node 1351 lib/pengine/unpack.c crm_info("- Node %s is not ready to run resources", this_node->details->uname); this_node 1352 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1353 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1356 lib/pengine/unpack.c crm_trace("%s is down or still coming up", this_node->details->uname); this_node 1361 lib/pengine/unpack.c crm_info("Node %s was just shot", this_node->details->uname); this_node 1366 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); this_node 1369 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); this_node 1373 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); this_node 1376 lib/pengine/unpack.c crm_info("Node %s is active", this_node->details->uname); this_node 1379 lib/pengine/unpack.c crm_info("Node %s is not ready to run resources", this_node->details->uname); this_node 1380 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1381 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1384 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); this_node 1386 lib/pengine/unpack.c this_node->details->uname, crm_str(in_cluster), crm_str(is_peer), this_node 1387 lib/pengine/unpack.c crm_str(join), crm_str(exp_state), do_terminate, this_node->details->shutdown); this_node 1394 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) this_node 1396 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1405 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1418 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1419 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1425 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1426 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1432 lib/pengine/unpack.c this_node->details->id); this_node 1433 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1434 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1438 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1439 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1445 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1446 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1447 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1452 lib/pengine/unpack.c this_node->details->id); this_node 1453 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1454 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1459 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1463 lib/pengine/unpack.c determine_online_status(xmlNode * node_state, pe_node_t * this_node, pe_working_set_t * data_set) this_node 1468 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1470 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1471 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1473 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1474 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1477 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1480 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1481 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1488 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); this_node 1491 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); this_node 1495 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1499 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1500 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1503 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1505 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1506 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1509 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1510 lib/pengine/unpack.c crm_info("Node %s is not a pacemaker node", this_node->details->uname); this_node 1512 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1513 lib/pengine/unpack.c pe_proc_warn("Node %s is unclean", this_node->details->uname); this_node 1515 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1516 lib/pengine/unpack.c crm_info("Node %s is %s", this_node->details->uname, this_node 1517 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1518 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1519 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1520 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1523 lib/pengine/unpack.c crm_trace("Node %s is offline", this_node->details->uname); this_node 3966 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 3980 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); this_node 3981 lib/pengine/unpack.c if(this_node == NULL) { this_node 3982 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 3985 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 3986 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 3989 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); this_node 3992 lib/pengine/unpack.c if (this_node->details->online this_node 139 lib/pengine/utils.c pe__copy_node(const pe_node_t *this_node) this_node 143 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 148 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 149 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 150 lib/pengine/utils.c new_node->fixed = this_node->fixed; this_node 151 lib/pengine/utils.c new_node->details = this_node->details;