host_uname 421 tools/crm_resource.c const char *host_uname = NULL; host_uname 740 tools/crm_resource.c host_uname = optarg; host_uname 899 tools/crm_resource.c rc = cli_resource_restart(rsc, host_uname, timeout_ms, cib_conn); host_uname 951 tools/crm_resource.c rc = cli_resource_fail(crmd_channel, host_uname, rsc_id, &data_set); host_uname 957 tools/crm_resource.c rc = cli_resource_print_operations(rsc_id, host_uname, TRUE, &data_set); host_uname 960 tools/crm_resource.c rc = cli_resource_print_operations(rsc_id, host_uname, FALSE, &data_set); host_uname 977 tools/crm_resource.c if (host_uname) { host_uname 978 tools/crm_resource.c dest = pe_find_node(data_set.nodes, host_uname); host_uname 980 tools/crm_resource.c CMD_ERR("Unknown node: %s", host_uname); host_uname 991 tools/crm_resource.c if (host_uname) { host_uname 992 tools/crm_resource.c dest = pe_find_node(data_set.nodes, host_uname); host_uname 994 tools/crm_resource.c CMD_ERR("Unknown node: %s", host_uname); host_uname 1004 tools/crm_resource.c } else if (rsc_cmd == 'M' && host_uname) { host_uname 1005 tools/crm_resource.c rc = cli_resource_move(rsc, rsc_id, host_uname, cib_conn, &data_set); host_uname 1007 tools/crm_resource.c } else if (rsc_cmd == 'B' && host_uname) { host_uname 1008 tools/crm_resource.c node_t *dest = pe_find_node(data_set.nodes, host_uname); host_uname 1011 tools/crm_resource.c CMD_ERR("Error performing operation: node '%s' is unknown", host_uname); host_uname 1111 tools/crm_resource.c } else if(host_uname && safe_str_neq(host_uname, node)) { host_uname 1142 tools/crm_resource.c rsc->id, rsc_id, host_uname); host_uname 1144 tools/crm_resource.c rc = cli_resource_delete(crmd_channel, host_uname, rsc, operation, host_uname 1158 tools/crm_resource.c const char *router_node = host_uname; host_uname 1163 tools/crm_resource.c if (host_uname) { host_uname 1164 tools/crm_resource.c node_t *node = pe_find_node(data_set.nodes, host_uname); host_uname 1168 tools/crm_resource.c CMD_ERR("No lrmd connection detected to remote node %s", host_uname); host_uname 1180 tools/crm_resource.c host_uname? host_uname : "all nodes"); host_uname 1186 tools/crm_resource.c crm_xml_add(msg_data, XML_LRM_ATTR_TARGET, host_uname); host_uname 1187 tools/crm_resource.c if (safe_str_neq(router_node, host_uname)) { host_uname 1195 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", host_uname?host_uname:"all nodes"); host_uname 1197 tools/crm_resource.c rc = attrd_clear_delegate(NULL, host_uname, NULL, NULL, NULL, NULL, host_uname 1211 tools/crm_resource.c cli_resource_delete(crmd_channel, host_uname, rsc, NULL, NULL, host_uname 69 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 73 tools/crm_resource.h int cli_resource_fail(crm_ipc_t * crmd_channel, const char *host_uname, const char *rsc_id, pe_working_set_t * data_set); host_uname 76 tools/crm_resource.h int cli_resource_delete(crm_ipc_t *crmd_channel, const char *host_uname, host_uname 162 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, bool active, host_uname 167 tools/crm_resource_print.c GListPtr ops = find_operations(rsc_id, host_uname, active, data_set); host_uname 447 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, host_uname 456 tools/crm_resource_runtime.c const char *router_node = host_uname; host_uname 469 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 473 tools/crm_resource_runtime.c node_t *node = pe_find_node(data_set->nodes, host_uname); host_uname 477 tools/crm_resource_runtime.c CMD_ERR("No lrmd connection detected to remote node %s", host_uname); host_uname 491 tools/crm_resource_runtime.c crm_xml_add(msg_data, XML_LRM_ATTR_TARGET, host_uname); host_uname 492 tools/crm_resource_runtime.c if (safe_str_neq(router_node, host_uname)) { host_uname 562 tools/crm_resource_runtime.c cli_resource_delete(crm_ipc_t *crmd_channel, const char *host_uname, host_uname 580 tools/crm_resource_runtime.c rc = cli_resource_delete(crmd_channel, host_uname, child, operation, host_uname 588 tools/crm_resource_runtime.c } else if (host_uname == NULL) { host_uname 623 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); host_uname 627 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 633 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 639 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 648 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(crmd_channel, CRM_OP_LRM_DELETE, host_uname, rsc->id, host_uname 652 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); host_uname 671 tools/crm_resource_runtime.c rc = attrd_clear_delegate(NULL, host_uname, rsc_name, operation, interval, host_uname 675 tools/crm_resource_runtime.c rsc->id, host_uname, pcmk_strerror(rc)); host_uname 677 tools/crm_resource_runtime.c printf("Cleaned up %s on %s\n", rsc->id, host_uname); host_uname 724 tools/crm_resource_runtime.c cli_resource_fail(crm_ipc_t * crmd_channel, const char *host_uname, host_uname 728 tools/crm_resource_runtime.c return send_lrm_rsc_op(crmd_channel, CRM_OP_LRM_FAIL, host_uname, rsc_id, FALSE, data_set); host_uname 1747 tools/crm_resource_runtime.c resource_t *rsc, const char *host_uname) host_uname 1749 tools/crm_resource_runtime.c if (resource_is_running_on(rsc, host_uname)) { host_uname 1750 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); host_uname 1752 tools/crm_resource_runtime.c printf("Resource %s is not running on host %s\n", rsc->id, host_uname); host_uname 1760 tools/crm_resource_runtime.c const char* host_uname = node->details->uname; host_uname 1768 tools/crm_resource_runtime.c printf("Resource %s is running on host %s\n",rsc->id,host_uname); host_uname 1775 tools/crm_resource_runtime.c rsc->id, host_uname); host_uname 1799 tools/crm_resource_runtime.c const char *host_uname = (node == NULL)? NULL : node->details->uname; host_uname 1801 tools/crm_resource_runtime.c if ((rsc == NULL) && (host_uname == NULL)) { host_uname 1804 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname != NULL)) { host_uname 1806 tools/crm_resource_runtime.c host_uname); host_uname 1808 tools/crm_resource_runtime.c } else if ((rsc == NULL) && (host_uname != NULL)) { host_uname 1811 tools/crm_resource_runtime.c } else if ((rsc != NULL) && (host_uname == NULL)) {