host_uname 83 tools/crm_resource.c gchar *host_uname; // Value of --node host_uname 692 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, host_uname 760 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, host_uname 896 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 897 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, host_uname 927 tools/crm_resource.c options.rsc_id, options.host_uname, host_uname 930 tools/crm_resource.c } else if (options.host_uname) { host_uname 931 tools/crm_resource.c dest = pcmk_find_node(scheduler, options.host_uname); host_uname 1024 tools/crm_resource.c const char *router_node = options.host_uname; host_uname 1027 tools/crm_resource.c if (options.host_uname) { host_uname 1028 tools/crm_resource.c pcmk_node_t *node = pcmk_find_node(scheduler, options.host_uname); host_uname 1036 tools/crm_resource.c options.host_uname); host_uname 1046 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); host_uname 1051 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 1053 tools/crm_resource.c rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL, host_uname 1056 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, host_uname 1074 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 1075 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, host_uname 1609 tools/crm_resource.c if (is_node_required() && (options.host_uname == NULL)) { host_uname 1676 tools/crm_resource.c if ((options.host_uname != NULL) && (scheduler != NULL)) { host_uname 1677 tools/crm_resource.c node = pcmk_find_node(scheduler, options.host_uname); host_uname 1682 tools/crm_resource.c _("Node '%s' not found"), options.host_uname); host_uname 1794 tools/crm_resource.c node = pcmk_find_node(scheduler, options.host_uname); host_uname 1816 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, host_uname 1825 tools/crm_resource.c options.host_uname, TRUE, host_uname 1831 tools/crm_resource.c options.host_uname, FALSE, host_uname 1851 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { host_uname 1864 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1867 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, host_uname 1881 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1986 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, host_uname 2065 tools/crm_resource.c g_free(options.host_uname); host_uname 83 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 89 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 93 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 87 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, host_uname 92 tools/crm_resource_print.c GList *ops = find_operations(rsc_id, host_uname, active, scheduler); host_uname 652 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->priv->name; host_uname 656 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 676 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 677 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 679 tools/crm_resource_print.c rsc->id, host_uname); host_uname 682 tools/crm_resource_print.c rsc->id, 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->priv->name; host_uname 697 tools/crm_resource_print.c rsc->id, host_uname); host_uname 704 tools/crm_resource_print.c rsc->id, host_uname); host_uname 712 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 735 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->priv->name; host_uname 740 tools/crm_resource_print.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 766 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 767 tools/crm_resource_print.c if (resource_is_running_on(rsc, host_uname)) { host_uname 768 tools/crm_resource_print.c crm_xml_add(xml_node, PCMK_XA_RUNNING_ON, host_uname); host_uname 773 tools/crm_resource_print.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 774 tools/crm_resource_print.c const char* host_uname = node->priv->name; host_uname 788 tools/crm_resource_print.c PCMK_XA_HOST, host_uname, host_uname 801 tools/crm_resource_print.c PCMK_XA_HOST, host_uname, host_uname 813 tools/crm_resource_print.c } else if ((rsc != NULL) && (host_uname == NULL)) { host_uname 710 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, host_uname 714 tools/crm_resource_runtime.c const char *router_node = host_uname; host_uname 741 tools/crm_resource_runtime.c pcmk_node_t *node = pcmk_find_node(scheduler, host_uname); host_uname 744 tools/crm_resource_runtime.c out->err(out, "Node %s not found", host_uname); host_uname 750 tools/crm_resource_runtime.c out->err(out, "Node %s is not online", host_uname); host_uname 760 tools/crm_resource_runtime.c host_uname); host_uname 774 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, host_uname 778 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, host_uname 806 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 816 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler); host_uname 940 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 959 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, host_uname 968 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 1009 tools/crm_resource_runtime.c node = pcmk_find_node(scheduler, host_uname); host_uname 1013 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 1019 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 1025 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 1032 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 1037 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, host_uname 1040 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, scheduler); host_uname 1044 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 1046 tools/crm_resource_runtime.c out->info(out, "Cleaned up %s on %s", rsc->id, host_uname); host_uname 1232 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 1235 tools/crm_resource_runtime.c crm_notice("Failing %s on %s", rsc_id, host_uname); host_uname 1236 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler);