host_uname 74 tools/crm_resource.c gchar *host_uname; host_uname 540 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, host_uname 583 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, host_uname 973 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 974 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, host_uname 1003 tools/crm_resource.c options.rsc_id, options.host_uname, host_uname 1006 tools/crm_resource.c } else if (options.host_uname) { host_uname 1007 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); host_uname 1252 tools/crm_resource.c const char *router_node = options.host_uname; host_uname 1255 tools/crm_resource.c if (options.host_uname) { host_uname 1256 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); host_uname 1264 tools/crm_resource.c options.host_uname); host_uname 1274 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); host_uname 1279 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 1281 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, host_uname 1285 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, host_uname 1303 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); host_uname 1304 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, FALSE, host_uname 1530 tools/crm_resource.c if (options.host_uname) { host_uname 1531 tools/crm_resource.c crm_trace("Option host => %s", options.host_uname); host_uname 1728 tools/crm_resource.c rc = cli_resource_restart(rsc, options.host_uname, host_uname 1768 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, host_uname 1777 tools/crm_resource.c options.host_uname, TRUE, host_uname 1783 tools/crm_resource.c options.host_uname, FALSE, host_uname 1804 tools/crm_resource.c if (options.host_uname) { host_uname 1805 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); host_uname 1821 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1824 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, host_uname 1833 tools/crm_resource.c if (options.host_uname == NULL) { host_uname 1837 tools/crm_resource.c options.host_uname); host_uname 1896 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, host_uname 1947 tools/crm_resource.c g_free(options.host_uname); host_uname 52 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active, pe_working_set_t * data_set); host_uname 57 tools/crm_resource.h const char *host_uname, const char *rsc_id, host_uname 62 tools/crm_resource.h const char *host_uname, pe_resource_t *rsc, host_uname 133 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active, host_uname 138 tools/crm_resource_print.c GListPtr ops = find_operations(rsc_id, host_uname, active, data_set); host_uname 475 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, host_uname 478 tools/crm_resource_runtime.c const char *router_node = host_uname; host_uname 504 tools/crm_resource_runtime.c if (host_uname == NULL) { host_uname 509 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, host_uname); host_uname 512 tools/crm_resource_runtime.c CMD_ERR("Node %s not found", host_uname); host_uname 518 tools/crm_resource_runtime.c CMD_ERR("Node %s is not online", host_uname); host_uname 528 tools/crm_resource_runtime.c host_uname); host_uname 542 tools/crm_resource_runtime.c return pcmk_controld_api_fail(controld_api, host_uname, router_node, host_uname 546 tools/crm_resource_runtime.c return pcmk_controld_api_refresh(controld_api, host_uname, router_node, host_uname 571 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 581 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, data_set); host_uname 700 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, host_uname 717 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, host_uname 726 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 766 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); host_uname 770 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 776 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 782 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 789 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_rc_str(rc)); host_uname 794 tools/crm_resource_runtime.c rc = clear_rsc_failures(controld_api, host_uname, rsc->id, operation, host_uname 797 tools/crm_resource_runtime.c rc = clear_rsc_history(controld_api, host_uname, rsc->id, data_set); host_uname 801 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); host_uname 803 tools/crm_resource_runtime.c printf("Cleaned up %s on %s\n", 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); host_uname 2026 tools/crm_resource_runtime.c pe_resource_t *rsc, const char *host_uname) host_uname 2028 tools/crm_resource_runtime.c if (resource_is_running_on(rsc, host_uname)) { host_uname 2029 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); host_uname 2031 tools/crm_resource_runtime.c printf("Resource %s is not running on host %s\n", rsc->id, host_uname); host_uname 2039 tools/crm_resource_runtime.c const char* host_uname = node->details->uname; host_uname 2047 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); host_uname 2054 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 2078 tools/crm_resource_runtime.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 2080 tools/crm_resource_runtime.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 2083 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 2085 tools/crm_resource_runtime.c host_uname); host_uname 2087 tools/crm_resource_runtime.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 2090 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname == NULL)) {