host_uname 85 tools/crm_resource.c gchar *host_uname; // Value of --node host_uname 713 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, host_uname 782 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, host_uname 921 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 922 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, host_uname 953 tools/crm_resource.c options.host_uname, host_uname 956 tools/crm_resource.c } else if (options.host_uname) { host_uname 957 tools/crm_resource.c dest = pcmk_find_node(scheduler, options.host_uname); host_uname 1066 tools/crm_resource.c const char *router_node = options.host_uname; host_uname 1069 tools/crm_resource.c if (options.host_uname) { host_uname 1070 tools/crm_resource.c pcmk_node_t *node = pcmk_find_node(scheduler, options.host_uname); host_uname 1078 tools/crm_resource.c options.host_uname); host_uname 1088 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); host_uname 1093 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 1095 tools/crm_resource.c rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL, host_uname 1098 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, host_uname 1116 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 1117 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, host_uname 1691 tools/crm_resource.c if (is_node_required() && (options.host_uname == NULL)) { host_uname 1757 tools/crm_resource.c if ((options.host_uname != NULL) && (scheduler != NULL)) { host_uname 1758 tools/crm_resource.c node = pcmk_find_node(scheduler, options.host_uname); host_uname 1763 tools/crm_resource.c _("Node '%s' not found"), options.host_uname); host_uname 1874 tools/crm_resource.c node = pcmk_find_node(scheduler, options.host_uname); host_uname 1896 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, host_uname 1905 tools/crm_resource.c options.host_uname, TRUE, host_uname 1911 tools/crm_resource.c options.host_uname, FALSE, host_uname 1931 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { host_uname 1944 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1947 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, host_uname 1962 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 2079 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, host_uname 2157 tools/crm_resource.c g_free(options.host_uname); host_uname 82 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 88 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 92 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 96 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 101 tools/crm_resource_print.c GList *ops = find_operations(rsc_id, host_uname, active, scheduler); host_uname 695 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 699 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 718 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 719 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 721 tools/crm_resource_print.c rsc->id, host_uname); host_uname 724 tools/crm_resource_print.c rsc->id, host_uname); host_uname 729 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 730 tools/crm_resource_print.c const char* host_uname = node->details->uname; host_uname 739 tools/crm_resource_print.c rsc->id, host_uname); host_uname 746 tools/crm_resource_print.c rsc->id, host_uname); host_uname 754 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 777 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 782 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 808 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 809 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 810 tools/crm_resource_print.c crm_xml_add(xml_node, PCMK_XA_RUNNING_ON, host_uname); host_uname 815 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 816 tools/crm_resource_print.c const char* host_uname = node->details->uname; host_uname 830 tools/crm_resource_print.c PCMK_XA_HOST, host_uname, host_uname 843 tools/crm_resource_print.c PCMK_XA_HOST, host_uname, host_uname 855 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 639 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, host_uname 643 tools/crm_resource_runtime.c const char *router_node = host_uname; host_uname 670 tools/crm_resource_runtime.c pcmk_node_t *node = pcmk_find_node(scheduler, host_uname); host_uname 673 tools/crm_resource_runtime.c out->err(out, "Node %s not found", host_uname); host_uname 679 tools/crm_resource_runtime.c out->err(out, "Node %s is not online", host_uname); host_uname 689 tools/crm_resource_runtime.c host_uname); host_uname 703 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, host_uname 707 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, host_uname 735 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 745 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler); host_uname 868 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 885 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, host_uname 894 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 934 tools/crm_resource_runtime.c node = pcmk_find_node(scheduler, host_uname); host_uname 938 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 944 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 950 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 957 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 962 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, host_uname 965 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, scheduler); host_uname 969 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 971 tools/crm_resource_runtime.c out->info(out, "Cleaned up %s on %s", rsc->id, host_uname); host_uname 1155 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 1158 tools/crm_resource_runtime.c crm_notice("Failing %s on %s", rsc_id, host_uname); host_uname 1159 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler);