this_node 142 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 74 lib/pengine/unpack.c pcmk_node_t *this_node); this_node 78 lib/pengine/unpack.c pcmk_node_t *this_node, this_node 1113 lib/pengine/unpack.c unpack_handle_remote_attrs(pcmk_node_t *this_node, const xmlNode *state, this_node 1124 lib/pengine/unpack.c if ((this_node == NULL) || !pcmk__is_pacemaker_remote_node(this_node)) { this_node 1128 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1131 lib/pengine/unpack.c &(this_node->details->remote_maintenance), 0); this_node 1133 lib/pengine/unpack.c rsc = this_node->details->remote_rsc; this_node 1134 lib/pengine/unpack.c if (this_node->details->remote_requires_reset == FALSE) { this_node 1135 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1136 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1140 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, scheduler); this_node 1142 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1143 lib/pengine/unpack.c crm_info("%s is shutting down", pcmk__node_name(this_node)); this_node 1144 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1147 lib/pengine/unpack.c if (crm_is_true(pcmk__node_attr(this_node, PCMK_NODE_ATTR_STANDBY, NULL, this_node 1149 lib/pengine/unpack.c crm_info("%s is in standby mode", pcmk__node_name(this_node)); this_node 1150 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1153 lib/pengine/unpack.c if (crm_is_true(pcmk__node_attr(this_node, PCMK_NODE_ATTR_MAINTENANCE, NULL, this_node 1156 lib/pengine/unpack.c crm_info("%s is in maintenance mode", pcmk__node_name(this_node)); this_node 1157 lib/pengine/unpack.c this_node->details->maintenance = TRUE; this_node 1160 lib/pengine/unpack.c discovery = pcmk__node_attr(this_node, this_node 1170 lib/pengine/unpack.c if (pcmk__is_remote_node(this_node) this_node 1176 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1184 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1185 lib/pengine/unpack.c this_node->details->rsc_discovery_enabled = FALSE; this_node 1250 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1273 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1274 lib/pengine/unpack.c if (this_node == NULL) { this_node 1280 lib/pengine/unpack.c if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 1287 lib/pengine/unpack.c &(this_node->details->remote_was_fenced), 0); this_node 1291 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, scheduler); this_node 1296 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1297 lib/pengine/unpack.c this_node->details->unseen = FALSE; this_node 1300 lib/pengine/unpack.c pcmk__node_name(this_node), id); this_node 1301 lib/pengine/unpack.c determine_online_status(state, this_node, scheduler); this_node 1304 lib/pengine/unpack.c && this_node->details->online this_node 1310 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "cluster does not have quorum", this_node 1346 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 1355 lib/pengine/unpack.c this_node = pe_find_node_any(scheduler->nodes, id, uname); this_node 1356 lib/pengine/unpack.c if (this_node == NULL) { this_node 1363 lib/pengine/unpack.c if (this_node->details->unpacked) { this_node 1372 lib/pengine/unpack.c } else if (pcmk__is_guest_or_bundle_node(this_node)) { this_node 1377 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1387 lib/pengine/unpack.c } else if (pcmk__is_remote_node(this_node)) { this_node 1393 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1411 lib/pengine/unpack.c && !this_node->details->online) { this_node 1417 lib/pengine/unpack.c if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 1418 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1419 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, scheduler); this_node 1425 lib/pengine/unpack.c this_node->details->unpacked = TRUE; this_node 1426 lib/pengine/unpack.c unpack_node_lrm(this_node, state, scheduler); this_node 1489 lib/pengine/unpack.c pcmk_node_t *this_node = gIter->data; this_node 1491 lib/pengine/unpack.c if (!pcmk__is_pacemaker_remote_node(this_node)) { this_node 1494 lib/pengine/unpack.c if (this_node->details->shutdown this_node 1495 lib/pengine/unpack.c && (this_node->details->remote_rsc != NULL)) { this_node 1496 lib/pengine/unpack.c pe__set_next_role(this_node->details->remote_rsc, pcmk_role_stopped, this_node 1499 lib/pengine/unpack.c if (!this_node->details->unpacked) { this_node 1500 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 1622 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1631 lib/pengine/unpack.c crm_trace("Node %s is %sdown", pcmk__node_name(this_node), this_node 1639 lib/pengine/unpack.c pcmk__node_name(this_node), join); this_node 1642 lib/pengine/unpack.c } else if (this_node->details->expected_up == FALSE) { this_node 1645 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1650 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer is unexpectedly down", FALSE); this_node 1652 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1694 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1696 lib/pengine/unpack.c bool termination_requested = unpack_node_terminate(this_node, node_state); this_node 1721 lib/pengine/unpack.c pcmk__node_name(this_node), when_member, when_online, this_node 1725 lib/pengine/unpack.c if (this_node->details->shutdown) { this_node 1726 lib/pengine/unpack.c crm_debug("%s is shutting down", pcmk__node_name(this_node)); this_node 1733 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1739 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1745 lib/pengine/unpack.c crm_info("%s was fenced as requested", pcmk__node_name(this_node)); this_node 1748 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "fencing was requested", false); this_node 1753 lib/pengine/unpack.c if (pending_too_long(scheduler, this_node, when_member, when_online)) { this_node 1754 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1760 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1761 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1762 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1766 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1771 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1775 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, this_node 1781 lib/pengine/unpack.c crm_info("%s is active", pcmk__node_name(this_node)); this_node 1786 lib/pengine/unpack.c pcmk__node_name(this_node)); this_node 1787 lib/pengine/unpack.c this_node->details->standby = TRUE; this_node 1788 lib/pengine/unpack.c this_node->details->pending = TRUE; this_node 1791 lib/pengine/unpack.c pe_fence_node(scheduler, this_node, "peer was in an unknown state", this_node 1800 lib/pengine/unpack.c pcmk_node_t *this_node) this_node 1802 lib/pengine/unpack.c pcmk_resource_t *rsc = this_node->details->remote_rsc; this_node 1811 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1824 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1825 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1833 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1834 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1840 lib/pengine/unpack.c this_node->details->id); this_node 1841 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1842 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1846 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1847 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1854 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); this_node 1855 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1856 lib/pengine/unpack.c this_node->details->remote_requires_reset = FALSE; this_node 1861 lib/pengine/unpack.c this_node->details->id); this_node 1862 lib/pengine/unpack.c this_node->details->online = FALSE; this_node 1863 lib/pengine/unpack.c this_node->details->remote_requires_reset = TRUE; this_node 1868 lib/pengine/unpack.c this_node->details->id, this_node->details->online ? "TRUE" : "FALSE"); this_node 1872 lib/pengine/unpack.c determine_online_status(const xmlNode *node_state, pcmk_node_t *this_node, this_node 1878 lib/pengine/unpack.c CRM_CHECK(this_node != NULL, return); this_node 1880 lib/pengine/unpack.c this_node->details->shutdown = FALSE; this_node 1881 lib/pengine/unpack.c this_node->details->expected_up = FALSE; this_node 1883 lib/pengine/unpack.c if (pe__shutdown_requested(this_node)) { this_node 1884 lib/pengine/unpack.c this_node->details->shutdown = TRUE; this_node 1887 lib/pengine/unpack.c this_node->details->expected_up = TRUE; this_node 1890 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1891 lib/pengine/unpack.c this_node->details->unclean = FALSE; this_node 1899 lib/pengine/unpack.c this_node); this_node 1903 lib/pengine/unpack.c this_node); this_node 1907 lib/pengine/unpack.c this_node->details->online = TRUE; this_node 1911 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1912 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; this_node 1915 lib/pengine/unpack.c if (online && this_node->details->shutdown) { this_node 1917 lib/pengine/unpack.c this_node->fixed = TRUE; // @COMPAT deprecated and unused this_node 1918 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; this_node 1921 lib/pengine/unpack.c if (this_node->details->type == node_ping) { this_node 1922 lib/pengine/unpack.c crm_info("%s is not a Pacemaker node", pcmk__node_name(this_node)); this_node 1924 lib/pengine/unpack.c } else if (this_node->details->unclean) { this_node 1925 lib/pengine/unpack.c pcmk__sched_warn("%s is unclean", pcmk__node_name(this_node)); this_node 1927 lib/pengine/unpack.c } else if (this_node->details->online) { this_node 1928 lib/pengine/unpack.c crm_info("%s is %s", pcmk__node_name(this_node), this_node 1929 lib/pengine/unpack.c this_node->details->shutdown ? "shutting down" : this_node 1930 lib/pengine/unpack.c this_node->details->pending ? "pending" : this_node 1931 lib/pengine/unpack.c this_node->details->standby ? "standby" : this_node 1932 lib/pengine/unpack.c this_node->details->maintenance ? "maintenance" : "online"); this_node 1935 lib/pengine/unpack.c crm_trace("%s is offline", pcmk__node_name(this_node)); this_node 5174 lib/pengine/unpack.c pcmk_node_t *this_node = NULL; this_node 5190 lib/pengine/unpack.c this_node = pcmk_find_node(scheduler, uname); this_node 5191 lib/pengine/unpack.c if(this_node == NULL) { this_node 5192 lib/pengine/unpack.c CRM_LOG_ASSERT(this_node != NULL); this_node 5195 lib/pengine/unpack.c } else if (pcmk__is_pacemaker_remote_node(this_node)) { this_node 5196 lib/pengine/unpack.c determine_remote_online_status(scheduler, this_node); this_node 5199 lib/pengine/unpack.c determine_online_status(node_state, this_node, scheduler); this_node 5202 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 pcmk__assert(this_node != NULL); this_node 97 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; this_node 98 lib/pengine/utils.c new_node->weight = this_node->weight; this_node 99 lib/pengine/utils.c new_node->fixed = this_node->fixed; // @COMPAT deprecated and unused this_node 100 lib/pengine/utils.c new_node->count = this_node->count; this_node 101 lib/pengine/utils.c new_node->details = this_node->details;