host_uname 91 tools/crm_resource.c gchar *host_uname; // Value of --node host_uname 563 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, host_uname 623 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, host_uname 1026 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 1027 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, host_uname 1056 tools/crm_resource.c options.rsc_id, options.host_uname, host_uname 1059 tools/crm_resource.c } else if (options.host_uname) { host_uname 1060 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); host_uname 1271 tools/crm_resource.c const char *router_node = options.host_uname; host_uname 1274 tools/crm_resource.c if (options.host_uname) { host_uname 1275 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); host_uname 1283 tools/crm_resource.c options.host_uname); host_uname 1293 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); host_uname 1298 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); host_uname 1300 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, host_uname 1304 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, host_uname 1322 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 1323 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, host_uname 1693 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { host_uname 1755 tools/crm_resource.c if ((options.host_uname != NULL) && (data_set != NULL)) { host_uname 1756 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); host_uname 1827 tools/crm_resource.c rc = cli_resource_restart(out, rsc, options.host_uname, host_uname 1854 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); host_uname 1885 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, host_uname 1894 tools/crm_resource.c options.host_uname, TRUE, host_uname 1900 tools/crm_resource.c options.host_uname, FALSE, host_uname 1920 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { host_uname 1933 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1936 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, host_uname 1951 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 2049 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, host_uname 2113 tools/crm_resource.c g_free(options.host_uname); host_uname 63 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 68 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 72 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 90 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 95 tools/crm_resource_print.c GList *ops = find_operations(rsc_id, host_uname, active, data_set); host_uname 569 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 573 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 592 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 593 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 595 tools/crm_resource_print.c rsc->id, host_uname); host_uname 598 tools/crm_resource_print.c rsc->id, host_uname); host_uname 603 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 604 tools/crm_resource_print.c const char* host_uname = node->details->uname; host_uname 613 tools/crm_resource_print.c rsc->id, host_uname); host_uname 620 tools/crm_resource_print.c rsc->id, host_uname); host_uname 628 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 652 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 656 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 680 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 681 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 682 tools/crm_resource_print.c crm_xml_add(xml_node, "running_on", host_uname); host_uname 687 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 688 tools/crm_resource_print.c const char* host_uname = node->details->uname; host_uname 702 tools/crm_resource_print.c "host", host_uname, host_uname 715 tools/crm_resource_print.c "host", host_uname, host_uname 727 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 504 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, pe_working_set_t *data_set) host_uname 507 tools/crm_resource_runtime.c const char *router_node = host_uname; host_uname 534 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, host_uname); host_uname 537 tools/crm_resource_runtime.c out->err(out, "Node %s not found", host_uname); host_uname 543 tools/crm_resource_runtime.c out->err(out, "Node %s is not online", host_uname); host_uname 553 tools/crm_resource_runtime.c host_uname); host_uname 567 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, host_uname 571 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, host_uname 596 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 606 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); host_uname 722 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 740 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, host_uname 749 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 789 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); host_uname 793 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 799 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 805 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 812 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 817 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, host_uname 820 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); host_uname 824 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); host_uname 826 tools/crm_resource_runtime.c out->info(out, "Cleaned up %s on %s", rsc->id, host_uname); host_uname 923 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 926 tools/crm_resource_runtime.c crm_notice("Failing %s on %s", rsc_id, host_uname); host_uname 927 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, data_set);