this_node 337 include/crm/pengine/internal.h pe_node_t *pe__copy_node(const pe_node_t *this_node); this_node 101 lib/pacemaker/pcmk_sched_nodes.c pe_node_t *this_node = (pe_node_t *) gIter->data; this_node 103 lib/pacemaker/pcmk_sched_nodes.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 962 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) this_node 972 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 975 lib/pengine/unpack.c crm_trace("Processing Pacemaker Remote node %s", pe__node_name(this_node)); this_node 978 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 980 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 981 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 982 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 983 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 986 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, data_set); this_node 988 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 989 lib/pengine/unpack.c crm_info("%s is shutting down", pe__node_name(this_node)); this_node 990 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 993 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 994 lib/pengine/unpack.c crm_info("%s is in standby mode", pe__node_name(this_node)); this_node 995 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 998 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 1000 lib/pengine/unpack.c crm_info("%s is in maintenance mode", pe__node_name(this_node)); this_node 1001 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1004 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1006 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1011 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1019 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1020 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1077 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1093 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1094 lib/pengine/unpack.c if (this_node == NULL) { this_node 1100 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1107 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1111 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); this_node 1116 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1117 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1120 lib/pengine/unpack.c pe__node_name(this_node), id); this_node 1121 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); this_node 1124 lib/pengine/unpack.c && this_node->details->online this_node 1130 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "cluster does not have quorum", this_node 1163 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 1172 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); this_node 1173 lib/pengine/unpack.c if (this_node == NULL) { this_node 1180 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1189 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node)) { this_node 1194 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1204 lib/pengine/unpack.c } else if (pe__is_remote_node(this_node)) { this_node 1210 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1227 lib/pengine/unpack.c && !this_node->details->online) { this_node 1233 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1234 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1235 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); this_node 1241 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1242 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); this_node 1304 lib/pengine/unpack.c pe_node_t *this_node = gIter->data; this_node 1306 lib/pengine/unpack.c if (!pe__is_guest_or_remote_node(this_node)) { this_node 1309 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1310 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1311 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, RSC_ROLE_STOPPED, this_node 1314 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1315 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 1324 lib/pengine/unpack.c pe_node_t * this_node) this_node 1343 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1351 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is unexpectedly down", FALSE); this_node 1361 lib/pengine/unpack.c pe_node_t * this_node) this_node 1370 lib/pengine/unpack.c const char *terminate = pe_node_attribute_raw(this_node, "terminate"); this_node 1392 lib/pengine/unpack.c pe__node_name(this_node), pcmk__s(in_cluster, "<null>"), this_node 1402 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1403 lib/pengine/unpack.c crm_debug("%s is shutting down", pe__node_name(this_node)); this_node 1409 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer has not been seen by the cluster", FALSE); this_node 1412 lib/pengine/unpack.c pe_fence_node(data_set, this_node, this_node 1419 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1420 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1421 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1425 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1430 lib/pengine/unpack.c crm_info("%s was just shot", pe__node_name(this_node)); this_node 1435 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer is no longer part of the cluster", TRUE); this_node 1438 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer process is no longer available", FALSE); this_node 1442 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "termination was requested", FALSE); this_node 1445 lib/pengine/unpack.c crm_info("%s is active", pe__node_name(this_node)); this_node 1448 lib/pengine/unpack.c crm_info("%s is not ready to run resources", pe__node_name(this_node)); this_node 1449 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1450 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1453 lib/pengine/unpack.c pe_fence_node(data_set, this_node, "peer was in an unknown state", FALSE); this_node 1455 lib/pengine/unpack.c pe__node_name(this_node), pcmk__s(in_cluster, "<null>"), this_node 1458 lib/pengine/unpack.c this_node->details->shutdown); this_node 1465 lib/pengine/unpack.c determine_remote_online_status(pe_working_set_t * data_set, pe_node_t * this_node) this_node 1467 lib/pengine/unpack.c pe_resource_t *rsc = this_node->details->remote_rsc; this_node 1476 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1489 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1490 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1496 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1497 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1503 lib/pengine/unpack.c this_node->details->id); this_node 1504 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1505 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1509 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1510 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1516 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1517 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1518 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1523 lib/pengine/unpack.c this_node->details->id); this_node 1524 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1525 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1530 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1534 lib/pengine/unpack.c determine_online_status(xmlNode * node_state, pe_node_t * this_node, pe_working_set_t * data_set) this_node 1539 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1541 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1542 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1544 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1545 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1548 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1551 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1552 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1559 lib/pengine/unpack.c online = determine_online_status_no_fencing(data_set, node_state, this_node); this_node 1562 lib/pengine/unpack.c online = determine_online_status_fencing(data_set, node_state, this_node); this_node 1566 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1570 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1571 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1574 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1576 lib/pengine/unpack.c this_node->fixed = TRUE; this_node 1577 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1580 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1581 lib/pengine/unpack.c crm_info("%s is not a Pacemaker node", pe__node_name(this_node)); this_node 1583 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1584 lib/pengine/unpack.c pe_proc_warn("%s is unclean", pe__node_name(this_node)); this_node 1586 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1587 lib/pengine/unpack.c crm_info("%s is %s", pe__node_name(this_node), this_node 1588 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1589 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1590 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1591 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1594 lib/pengine/unpack.c crm_trace("%s is offline", pe__node_name(this_node)); this_node 4319 lib/pengine/unpack.c pe_node_t *this_node = NULL; this_node 4333 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); this_node 4334 lib/pengine/unpack.c if(this_node == NULL) { this_node 4335 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 4338 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 4339 lib/pengine/unpack.c determine_remote_online_status(data_set, this_node); this_node 4342 lib/pengine/unpack.c determine_online_status(node_state, this_node, data_set); this_node 4345 lib/pengine/unpack.c if (this_node->details->online this_node 89 lib/pengine/utils.c pe__copy_node(const pe_node_t *this_node) this_node 93 lib/pengine/utils.c CRM_ASSERT(this_node != NULL); this_node 98 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 99 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 100 lib/pengine/utils.c new_node->fixed = this_node->fixed; this_node 101 lib/pengine/utils.c new_node->details = this_node->details;