this_node 300 include/crm/pengine/internal.h pcmk_node_t *pe__copy_node(const pcmk_node_t *this_node); this_node 176 lib/pacemaker/pcmk_sched_nodes.c pcmk_node_t *this_node = iter->data; this_node 178 lib/pacemaker/pcmk_sched_nodes.c new_node = pe__copy_node(this_node); this_node 73 lib/pengine/unpack.c pcmk_node_t *this_node); this_node 77 lib/pengine/unpack.c pcmk_node_t *this_node, this_node 1018 lib/pengine/unpack.c unpack_handle_remote_attrs(pcmk_node_t *this_node, const xmlNode *state, this_node 1029 lib/pengine/unpack.c if ((this_node == NULL) || !pe__is_guest_or_remote_node(this_node)) { this_node 1032 lib/pengine/unpack.c crm_trace("Processing Pacemaker Remote node %s", pe__node_name(this_node)); this_node 1035 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 1037 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 1038 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 1039 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1040 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1043 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, scheduler); this_node 1045 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1046 lib/pengine/unpack.c crm_info("%s is shutting down", pe__node_name(this_node)); this_node 1047 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1050 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "standby"))) { this_node 1051 lib/pengine/unpack.c crm_info("%s is in standby mode", pe__node_name(this_node)); this_node 1052 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1055 lib/pengine/unpack.c if (crm_is_true(pe_node_attribute_raw(this_node, "maintenance")) || this_node 1057 lib/pengine/unpack.c crm_info("%s is in maintenance mode", pe__node_name(this_node)); this_node 1058 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1061 lib/pengine/unpack.c resource_discovery_enabled = pe_node_attribute_raw(this_node, XML_NODE_ATTR_RSC_DISCOVERY); this_node 1063 lib/pengine/unpack.c if (pe__is_remote_node(this_node) this_node 1068 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1076 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1077 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1135 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1156 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1157 lib/pengine/unpack.c if (this_node == NULL) { this_node 1164 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1171 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1175 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, scheduler); this_node 1180 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1181 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1184 lib/pengine/unpack.c pe__node_name(this_node), id); this_node 1185 lib/pengine/unpack.c determine_online_status(state, this_node, scheduler); this_node 1188 lib/pengine/unpack.c && this_node->details->online this_node 1194 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "cluster does not have quorum", this_node 1228 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1237 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1238 lib/pengine/unpack.c if (this_node == NULL) { this_node 1245 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1254 lib/pengine/unpack.c } else if (pe__is_guest_node(this_node)) { this_node 1259 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1269 lib/pengine/unpack.c } else if (pe__is_remote_node(this_node)) { this_node 1275 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1293 lib/pengine/unpack.c && !this_node->details->online) { this_node 1299 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(this_node)) { this_node 1300 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1301 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, scheduler); this_node 1307 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1308 lib/pengine/unpack.c unpack_node_lrm(this_node, state, scheduler); this_node 1371 lib/pengine/unpack.c pcmk_node_t *this_node = gIter->data; this_node 1373 lib/pengine/unpack.c if (!pe__is_guest_or_remote_node(this_node)) { this_node 1376 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1377 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1378 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, pcmk_role_stopped, this_node 1381 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1382 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1500 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1509 lib/pengine/unpack.c crm_trace("Node %s is %sdown", pe__node_name(this_node), this_node 1517 lib/pengine/unpack.c pe__node_name(this_node), join); this_node 1520 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1523 lib/pengine/unpack.c pe__node_name(this_node), when_member, when_online, this_node 1528 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer is unexpectedly down", FALSE); this_node 1530 lib/pengine/unpack.c pe__node_name(this_node), when_member, when_online, this_node 1572 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1574 lib/pengine/unpack.c bool termination_requested = unpack_node_terminate(this_node, node_state); this_node 1599 lib/pengine/unpack.c pe__node_name(this_node), when_member, when_online, this_node 1603 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1604 lib/pengine/unpack.c crm_debug("%s is shutting down", pe__node_name(this_node)); this_node 1611 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1617 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1623 lib/pengine/unpack.c crm_info("%s was fenced as requested", pe__node_name(this_node)); this_node 1626 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "fencing was requested", false); this_node 1631 lib/pengine/unpack.c if (pending_too_long(scheduler, this_node, when_member, when_online)) { this_node 1632 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1638 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1639 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1640 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1644 lib/pengine/unpack.c pe__node_name(this_node)); this_node 1649 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1653 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1659 lib/pengine/unpack.c crm_info("%s is active", pe__node_name(this_node)); this_node 1663 lib/pengine/unpack.c crm_info("%s is not ready to run resources", pe__node_name(this_node)); this_node 1664 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1665 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1668 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer was in an unknown state", this_node 1677 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1679 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1688 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1701 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1702 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1710 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1711 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1717 lib/pengine/unpack.c this_node->details->id); this_node 1718 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1719 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1723 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1724 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1731 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1732 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1733 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1738 lib/pengine/unpack.c this_node->details->id); this_node 1739 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1740 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1745 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1749 lib/pengine/unpack.c determine_online_status(const xmlNode *node_state, pcmk_node_t *this_node, this_node 1755 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1757 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1758 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1760 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1761 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1764 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1767 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1768 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1776 lib/pengine/unpack.c this_node); this_node 1780 lib/pengine/unpack.c this_node); this_node 1784 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1788 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1789 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1792 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1794 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1795 lib/pengine/unpack.c this_node->weight = -INFINITY; this_node 1798 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1799 lib/pengine/unpack.c crm_info("%s is not a Pacemaker node", pe__node_name(this_node)); this_node 1801 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1802 lib/pengine/unpack.c pe_proc_warn("%s is unclean", pe__node_name(this_node)); this_node 1804 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1805 lib/pengine/unpack.c crm_info("%s is %s", pe__node_name(this_node), this_node 1806 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1807 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1808 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1809 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1812 lib/pengine/unpack.c crm_trace("%s is offline", pe__node_name(this_node)); this_node 5021 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 5035 lib/pengine/unpack.c this_node = pe_find_node(scheduler->nodes, uname); this_node 5036 lib/pengine/unpack.c if(this_node == NULL) { this_node 5037 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 5040 lib/pengine/unpack.c } else if (pe__is_guest_or_remote_node(this_node)) { this_node 5041 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 5044 lib/pengine/unpack.c determine_online_status(node_state, this_node, scheduler); this_node 5047 lib/pengine/unpack.c if (this_node->details->online this_node 89 lib/pengine/utils.c pe__copy_node(const pcmk_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; // @COMPAT deprecated and unused this_node 101 lib/pengine/utils.c new_node->count = this_node->count; this_node 102 lib/pengine/utils.c new_node->details = this_node->details;