rsc_id 409 daemons/controld/controld_cib.c controld_delete_resource_history(const char *rsc_id, const char *node, rsc_id 417 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return EINVAL); rsc_id 419 daemons/controld/controld_cib.c desc = crm_strdup_printf("resource history for %s on %s", rsc_id, node); rsc_id 427 daemons/controld/controld_cib.c xpath = crm_strdup_printf(XPATH_RESOURCE_HISTORY, node, rsc_id); rsc_id 436 daemons/controld/controld_cib.c CRM_XS " rc=%d", rsc_id, node, rsc_id 603 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); rsc_id 605 daemons/controld/controld_cib.c crm_trace("%s: %s", op->rsc_id, digest); rsc_id 636 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); rsc_id 639 daemons/controld/controld_cib.c crm_trace("%s: no secure parameters", op->rsc_id); rsc_id 687 daemons/controld/controld_cib.c op->op_type, op->rsc_id, op->params, rsc); rsc_id 695 daemons/controld/controld_cib.c op->rsc_id, op->op_type, op->interval_ms, node_name); rsc_id 758 daemons/controld/controld_cib.c pcmk__readable_interval(op->interval_ms), op->op_type, op->rsc_id, rsc_id 887 daemons/controld/controld_cib.c crm_warn("Resource %s no longer exists in the executor", op->rsc_id); rsc_id 888 daemons/controld/controld_cib.c controld_ack_event_directly(NULL, NULL, rsc, op, op->rsc_id); rsc_id 917 daemons/controld/controld_cib.c crm_xml_add(xml, PCMK_XA_ID, op->rsc_id); rsc_id 935 daemons/controld/controld_cib.c op->rsc_id, container); rsc_id 970 daemons/controld/controld_cib.c char *op_id = pcmk__op_key(op->rsc_id, op->op_type, op->interval_ms); rsc_id 978 daemons/controld/controld_cib.c op->rsc_id, op->op_type, op->interval_ms, op->call_id); rsc_id 1015 daemons/controld/controld_cib.c controld_cib_delete_last_failure(const char *rsc_id, const char *node, rsc_id 1020 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL), return); rsc_id 1023 daemons/controld/controld_cib.c last_failure_key = pcmk__op_key(rsc_id, "last_failure", 0); rsc_id 1025 daemons/controld/controld_cib.c xpath = crm_strdup_printf(XPATH_HISTORY_ID, node, rsc_id, rsc_id 1028 daemons/controld/controld_cib.c char *action_key = pcmk__op_key(rsc_id, action, interval_ms); rsc_id 1030 daemons/controld/controld_cib.c xpath = crm_strdup_printf(XPATH_HISTORY_ORIG, node, rsc_id, rsc_id 1051 daemons/controld/controld_cib.c controld_delete_action_history_by_key(const char *rsc_id, const char *node, rsc_id 1056 daemons/controld/controld_cib.c CRM_CHECK((rsc_id != NULL) && (node != NULL) && (key != NULL), return); rsc_id 1059 daemons/controld/controld_cib.c xpath = crm_strdup_printf(XPATH_HISTORY_CALL, node, rsc_id, key, rsc_id 1062 daemons/controld/controld_cib.c xpath = crm_strdup_printf(XPATH_HISTORY_ID, node, rsc_id, key); rsc_id 65 daemons/controld/controld_cib.h int controld_delete_resource_history(const char *rsc_id, const char *node, rsc_id 98 daemons/controld/controld_cib.h void controld_cib_delete_last_failure(const char *rsc_id, const char *node, rsc_id 101 daemons/controld/controld_cib.h void controld_delete_action_history_by_key(const char *rsc_id, const char *node, rsc_id 36 daemons/controld/controld_execd.c static gboolean is_rsc_active(lrm_state_t * lrm_state, const char *rsc_id); rsc_id 42 daemons/controld/controld_execd.c const char *rsc_id, rsc_id 100 daemons/controld/controld_execd.c && pcmk__str_eq(op->rsc_id, existing->rsc_id, pcmk__str_none) rsc_id 163 daemons/controld/controld_execd.c crm_debug("Purged history for '%s' after %s", op->rsc_id, op->op_type); rsc_id 164 daemons/controld/controld_execd.c controld_delete_resource_history(op->rsc_id, lrm_state->node_name, rsc_id 173 daemons/controld/controld_execd.c crm_debug("Updating history for '%s' with %s op", op->rsc_id, op->op_type); rsc_id 175 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, op->rsc_id); rsc_id 178 daemons/controld/controld_execd.c entry->id = pcmk__str_copy(op->rsc_id); rsc_id 187 daemons/controld/controld_execd.c crm_info("Resource %s no longer exists, not updating cache", op->rsc_id); rsc_id 196 daemons/controld/controld_execd.c op->rsc_id, op->op_type, op->interval_ms); rsc_id 201 daemons/controld/controld_execd.c op->rsc_id, op->op_type, op->interval_ms, op->rc, rsc_id 238 daemons/controld/controld_execd.c op->rsc_id, op->op_type, op->interval_ms); rsc_id 245 daemons/controld/controld_execd.c g_list_length(entry->recurring_op_list), op->rsc_id, rsc_id 265 daemons/controld/controld_execd.c const char *rsc_id, const lrmd_rsc_info_t *rsc, rsc_id 268 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); rsc_id 271 daemons/controld/controld_execd.c controld_ack_event_directly(ack_host, ack_sys, rsc, op, rsc_id); rsc_id 479 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->id, pending->rsc_id, pcmk__str_none)) { rsc_id 497 daemons/controld/controld_execd.c is_rsc_active(lrm_state_t * lrm_state, const char *rsc_id) rsc_id 501 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); rsc_id 506 daemons/controld/controld_execd.c crm_trace("Processing %s: %s.%d=%d", rsc_id, entry->last->op_type, rsc_id 648 daemons/controld/controld_execd.c controld_trigger_delete_refresh(const char *from_sys, const char *rsc_id) rsc_id 653 daemons/controld/controld_execd.c crm_debug("Triggering a refresh after %s cleaned %s", from_sys, rsc_id); rsc_id 663 daemons/controld/controld_execd.c notify_deleted(lrm_state_t * lrm_state, ha_msg_input_t * input, const char *rsc_id, int rc) rsc_id 670 daemons/controld/controld_execd.c from_sys, (from_host? from_host : "localhost"), rsc_id, rsc_id 672 daemons/controld/controld_execd.c op = construct_op(lrm_state, input->xml, rsc_id, PCMK_ACTION_DELETE); rsc_id 674 daemons/controld/controld_execd.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); rsc_id 676 daemons/controld/controld_execd.c controld_trigger_delete_refresh(from_sys, rsc_id); rsc_id 698 daemons/controld/controld_execd.c if (pcmk__str_eq(rsc, pending->rsc_id, pcmk__str_none)) { rsc_id 708 daemons/controld/controld_execd.c const char *rsc_id, GHashTableIter *rsc_iter, int rc, rsc_id 713 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return); rsc_id 716 daemons/controld/controld_execd.c char *rsc_id_copy = pcmk__str_copy(rsc_id); rsc_id 734 daemons/controld/controld_execd.c notify_deleted(lrm_state, input, rsc_id, rc); rsc_id 738 daemons/controld/controld_execd.c event.rsc = rsc_id; rsc_id 770 daemons/controld/controld_execd.c lrm_clear_last_failure(const char *rsc_id, const char *node_name, rsc_id 780 daemons/controld/controld_execd.c rsc_id); rsc_id 791 daemons/controld/controld_execd.c cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove) rsc_id 798 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); rsc_id 800 daemons/controld/controld_execd.c local_key = make_stop_id(rsc_id, op); rsc_id 824 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key); rsc_id 825 daemons/controld/controld_execd.c rc = lrm_state_cancel(lrm_state, pending->rsc_id, pending->op_type, rsc_id 828 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key); rsc_id 833 daemons/controld/controld_execd.c crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key); rsc_id 1002 daemons/controld/controld_execd.c get_fake_call_id(lrm_state_t *lrm_state, const char *rsc_id) rsc_id 1008 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); rsc_id 1028 daemons/controld/controld_execd.c op->call_id = get_fake_call_id(lrm_state, op->rsc_id); rsc_id 1131 daemons/controld/controld_execd.c op->rsc_id, op->op_type, op->interval_ms, op->rc, target_node); rsc_id 1613 daemons/controld/controld_execd.c const char *rsc_id, const char *operation) rsc_id 1625 daemons/controld/controld_execd.c pcmk__assert((rsc_id != NULL) && (operation != NULL)); rsc_id 1627 daemons/controld/controld_execd.c op = lrmd_new_event(rsc_id, operation, 0); rsc_id 1646 daemons/controld/controld_execd.c crm_trace("Constructed %s op for %s", operation, rsc_id); rsc_id 1688 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); rsc_id 1730 daemons/controld/controld_execd.c operation, rsc_id, op->interval_ms); rsc_id 1751 daemons/controld/controld_execd.c const char *rsc_id) rsc_id 1758 daemons/controld/controld_execd.c if (op->rsc_id == NULL) { rsc_id 1760 daemons/controld/controld_execd.c pcmk__assert(rsc_id != NULL); rsc_id 1761 daemons/controld/controld_execd.c op->rsc_id = pcmk__str_copy(rsc_id); rsc_id 1777 daemons/controld/controld_execd.c crm_xml_add(iter, PCMK_XA_ID, op->rsc_id); rsc_id 1786 daemons/controld/controld_execd.c op->rsc_id, op->op_type, op->interval_ms, op->user_data, rsc_id 1831 daemons/controld/controld_execd.c && pcmk__str_eq(op->rsc_id, event->rsc->id, pcmk__str_none)) { rsc_id 1833 daemons/controld/controld_execd.c crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key); rsc_id 1848 daemons/controld/controld_execd.c crm_info("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, rsc_id 1850 daemons/controld/controld_execd.c remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE); rsc_id 1867 daemons/controld/controld_execd.c should_cancel_recurring(const char *rsc_id, const char *action, guint interval_ms) rsc_id 1869 daemons/controld/controld_execd.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id) && (interval_ms == 0) rsc_id 2036 daemons/controld/controld_execd.c pending->rsc_id = pcmk__str_copy(rsc->id); rsc_id 2113 daemons/controld/controld_execd.c did_lrm_rsc_op_fail(lrm_state_t *lrm_state, const char * rsc_id, rsc_id 2119 daemons/controld/controld_execd.c CRM_CHECK(rsc_id != NULL, return FALSE); rsc_id 2122 daemons/controld/controld_execd.c entry = g_hash_table_lookup(lrm_state->resource_history, rsc_id); rsc_id 2127 daemons/controld/controld_execd.c if (pcmk__str_eq(entry->failed->rsc_id, rsc_id, pcmk__str_none) rsc_id 2155 daemons/controld/controld_execd.c " operation for ", op->rsc_id, NULL); rsc_id 2217 daemons/controld/controld_execd.c op->rsc_id, op->op_type, rsc_id 2239 daemons/controld/controld_execd.c CRM_CHECK(op->rsc_id != NULL, return); rsc_id 2257 daemons/controld/controld_execd.c op_id = make_stop_id(op->rsc_id, op->call_id); rsc_id 2258 daemons/controld/controld_execd.c op_key = pcmk__op_key(op->rsc_id, op->op_type, op->interval_ms); rsc_id 2262 daemons/controld/controld_execd.c rsc = lrm_state_get_rsc_info(lrm_state, op->rsc_id, 0); rsc_id 2274 daemons/controld/controld_execd.c op->rsc_id, standard, rsc_id 2276 daemons/controld/controld_execd.c rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type); rsc_id 2279 daemons/controld/controld_execd.c op_key, op->rsc_id); rsc_id 2378 daemons/controld/controld_execd.c if (did_lrm_rsc_op_fail(lrm_state, pending->rsc_id, rsc_id 2400 daemons/controld/controld_execd.c controld_ack_event_directly(NULL, NULL, NULL, op, op->rsc_id); rsc_id 2437 daemons/controld/controld_execd.c crm_info("Deletion of resource '%s' complete after %s", op->rsc_id, op_key); rsc_id 2439 daemons/controld/controld_execd.c delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL, rsc_id 53 daemons/controld/controld_execd_state.c free(op->rsc_id); rsc_id 70 daemons/controld/controld_execd_state.c op->rsc_id, op->op_type, op->interval_ms, rsc_id 74 daemons/controld/controld_execd_state.c event.rsc_id = op->rsc_id; rsc_id 673 daemons/controld/controld_execd_state.c lrm_state_cancel(lrm_state_t *lrm_state, const char *rsc_id, const char *action, rsc_id 682 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { rsc_id 683 daemons/controld/controld_execd_state.c return remote_ra_cancel(lrm_state, rsc_id, action, interval_ms); rsc_id 685 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->cancel(lrm_state->conn, rsc_id, rsc_id 690 daemons/controld/controld_execd_state.c lrm_state_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id, enum lrmd_call_options options) rsc_id 697 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { rsc_id 698 daemons/controld/controld_execd_state.c return remote_ra_get_rsc_info(lrm_state, rsc_id); rsc_id 701 daemons/controld/controld_execd_state.c rsc = g_hash_table_lookup(lrm_state->rsc_info_cache, rsc_id); rsc_id 704 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); rsc_id 733 daemons/controld/controld_execd_state.c controld_execute_resource_agent(lrm_state_t *lrm_state, const char *rsc_id, rsc_id 759 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { rsc_id 760 daemons/controld/controld_execd_state.c rc = controld_execute_remote_agent(lrm_state, rsc_id, action, rsc_id 765 daemons/controld/controld_execd_state.c rc = ((lrmd_t *) lrm_state->conn)->cmds->exec(lrm_state->conn, rsc_id, rsc_id 783 daemons/controld/controld_execd_state.c const char *rsc_id, rsc_id 794 daemons/controld/controld_execd_state.c return lrm_state_find_or_create(rsc_id)? pcmk_ok : -EINVAL; rsc_id 800 daemons/controld/controld_execd_state.c return conn->cmds->register_rsc(lrm_state->conn, rsc_id, class, provider, rsc_id 806 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) rsc_id 812 daemons/controld/controld_execd_state.c if (is_remote_lrmd_ra(NULL, NULL, rsc_id)) { rsc_id 813 daemons/controld/controld_execd_state.c g_hash_table_remove(lrm_state_table, rsc_id); rsc_id 817 daemons/controld/controld_execd_state.c g_hash_table_remove(lrm_state->rsc_info_cache, rsc_id); rsc_id 824 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); rsc_id 138 daemons/controld/controld_fsa.c input->rsc_id, input->call_id, input->rc, rsc_id 15 daemons/controld/controld_lrm.h void lrm_clear_last_failure(const char *rsc_id, const char *node_name, rsc_id 49 daemons/controld/controld_lrm.h char *rsc_id; rsc_id 140 daemons/controld/controld_lrm.h int lrm_state_cancel(lrm_state_t *lrm_state, const char *rsc_id, rsc_id 142 daemons/controld/controld_lrm.h int controld_execute_resource_agent(lrm_state_t *lrm_state, const char *rsc_id, rsc_id 148 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); rsc_id 150 daemons/controld/controld_lrm.h const char *rsc_id, rsc_id 154 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); rsc_id 159 daemons/controld/controld_lrm.h lrmd_rsc_info_t *remote_ra_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id); rsc_id 160 daemons/controld/controld_lrm.h int remote_ra_cancel(lrm_state_t *lrm_state, const char *rsc_id, rsc_id 163 daemons/controld/controld_lrm.h const char *rsc_id, const char *action, rsc_id 179 daemons/controld/controld_lrm.h lrmd_event_data_t *op, const char *rsc_id); rsc_id 181 daemons/controld/controld_lrm.h void controld_trigger_delete_refresh(const char *from_sys, const char *rsc_id); rsc_id 725 daemons/controld/controld_messages.c const char *rsc_id = NULL; rsc_id 733 daemons/controld/controld_messages.c rsc_id = pcmk__xe_id(rsc_xml); rsc_id 738 daemons/controld/controld_messages.c "(clearing CIB resource history only)", rsc_id, node, rsc_id 740 daemons/controld/controld_messages.c rc = controld_delete_resource_history(rsc_id, node, user_name, rsc_id 743 daemons/controld/controld_messages.c rc = controld_delete_resource_history(rsc_id, node, user_name, rsc_id 764 daemons/controld/controld_messages.c from_sys, (from_host? from_host : "local node"), rsc_id, rsc_id 766 daemons/controld/controld_messages.c op = lrmd_new_event(rsc_id, PCMK_ACTION_DELETE, 0); rsc_id 773 daemons/controld/controld_messages.c controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id); rsc_id 775 daemons/controld/controld_messages.c controld_trigger_delete_refresh(from_sys, rsc_id); rsc_id 28 daemons/controld/controld_remote_ra.c "Remote command", (cmd)->rsc_id, (cmd)->status, \ rsc_id 34 daemons/controld/controld_remote_ra.c "Remote command", (cmd)->rsc_id, (cmd)->status, \ rsc_id 47 daemons/controld/controld_remote_ra.c char *rsc_id; rsc_id 139 daemons/controld/controld_remote_ra.c free(cmd->rsc_id); rsc_id 167 daemons/controld/controld_remote_ra.c connection_rsc = lrm_state_find(cmd->rsc_id); rsc_id 186 daemons/controld/controld_remote_ra.c connection_rsc = lrm_state_find(cmd->rsc_id); rsc_id 412 daemons/controld/controld_remote_ra.c remote_node_up(cmd->rsc_id); rsc_id 423 daemons/controld/controld_remote_ra.c crm_node_t *node = pcmk__cluster_lookup_remote_node(cmd->rsc_id); rsc_id 429 daemons/controld/controld_remote_ra.c lrm_state_t *lrm_state = lrm_state_find(cmd->rsc_id); rsc_id 435 daemons/controld/controld_remote_ra.c remote_node_down(cmd->rsc_id, DOWN_KEEP_LRM); rsc_id 441 daemons/controld/controld_remote_ra.c pcmk__cluster_forget_remote_node(cmd->rsc_id); rsc_id 465 daemons/controld/controld_remote_ra.c op.rsc_id = cmd->rsc_id; rsc_id 569 daemons/controld/controld_remote_ra.c crm_info("takeover event timed out for node %s", cmd->rsc_id); rsc_id 572 daemons/controld/controld_remote_ra.c lrm_state = lrm_state_find(cmd->rsc_id); rsc_id 586 daemons/controld/controld_remote_ra.c lrm_state = lrm_state_find(cmd->rsc_id); rsc_id 589 daemons/controld/controld_remote_ra.c cmd->rsc_id, (lrm_state? "" : " (no LRM state)")); rsc_id 615 daemons/controld/controld_remote_ra.c synthesize_lrmd_success(lrm_state_t *lrm_state, const char *rsc_id, const char *op_type) rsc_id 626 daemons/controld/controld_remote_ra.c op.rsc_id = rsc_id; rsc_id 949 daemons/controld/controld_remote_ra.c cmd->rsc_id); rsc_id 1049 daemons/controld/controld_remote_ra.c remote_ra_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id) rsc_id 1053 daemons/controld/controld_remote_ra.c if ((lrm_state_find(rsc_id))) { rsc_id 1056 daemons/controld/controld_remote_ra.c info->id = pcmk__str_copy(rsc_id); rsc_id 1101 daemons/controld/controld_remote_ra.c cmd->action, cmd->rsc_id, cmd->interval_ms, cmd->userdata); rsc_id 1135 daemons/controld/controld_remote_ra.c remote_ra_cancel(lrm_state_t *lrm_state, const char *rsc_id, rsc_id 1141 daemons/controld/controld_remote_ra.c connection_rsc = lrm_state_find(rsc_id); rsc_id 1210 daemons/controld/controld_remote_ra.c cmd->rsc_id, PCMK_ACTION_MONITOR, interval_ms); rsc_id 1256 daemons/controld/controld_remote_ra.c controld_execute_remote_agent(const lrm_state_t *lrm_state, const char *rsc_id, rsc_id 1268 daemons/controld/controld_remote_ra.c CRM_CHECK((lrm_state != NULL) && (rsc_id != NULL) && (action != NULL) rsc_id 1277 daemons/controld/controld_remote_ra.c connection_rsc = lrm_state_find(rsc_id); rsc_id 1296 daemons/controld/controld_remote_ra.c cmd->rsc_id = pcmk__str_copy(rsc_id); rsc_id 261 daemons/controld/controld_te_actions.c const char *rsc_id = NULL; rsc_id 276 daemons/controld/controld_te_actions.c rsc_id = pcmk__xe_id(action_rsc); rsc_id 277 daemons/controld/controld_te_actions.c CRM_CHECK(rsc_id != NULL, rsc_id 299 daemons/controld/controld_te_actions.c crm_xml_add(rsc, PCMK_XA_ID, rsc_id); rsc_id 185 daemons/controld/controld_te_events.c char *rsc_id = NULL; rsc_id 203 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), rsc_id 245 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); rsc_id 251 daemons/controld/controld_te_events.c fail_name = pcmk__failcount_name(rsc_id, task, interval_ms); rsc_id 264 daemons/controld/controld_te_events.c last_name = pcmk__lastfailure_name(rsc_id, task, interval_ms); rsc_id 284 daemons/controld/controld_te_events.c free(rsc_id); rsc_id 47 daemons/execd/cts-exec-helper.c const char *rsc_id; rsc_id 145 daemons/execd/cts-exec-helper.c { "rsc-id", 'r', 0, G_OPTION_ARG_STRING, &options.rsc_id, rsc_id 180 daemons/execd/cts-exec-helper.c event->rsc_id, \ rsc_id 293 daemons/execd/cts-exec-helper.c options.rsc_id, rsc_id 309 daemons/execd/cts-exec-helper.c options.rsc_id, rsc_id 314 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); rsc_id 327 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); rsc_id 329 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, rsc_id 397 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, rsc_id 404 daemons/execd/cts-exec-helper.c op_info->rsc_id, op_info->action, rsc_id 482 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, rsc_id 571 daemons/execd/cts-exec-helper.c if (options.rsc_id == NULL) { rsc_id 56 daemons/execd/execd_commands.c char *rsc_id; rsc_id 221 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, cmd->call_id); rsc_id 261 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, cmd->call_id); rsc_id 284 daemons/execd/execd_commands.c rsc->rsc_id = crm_element_value_copy(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 322 daemons/execd/execd_commands.c cmd->rsc_id = crm_element_value_copy(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 330 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, cmd->interval_ms); rsc_id 366 daemons/execd/execd_commands.c free(cmd->rsc_id); rsc_id 379 daemons/execd/execd_commands.c if (!cmd->rsc_id) { rsc_id 383 daemons/execd/execd_commands.c rsc = g_hash_table_lookup(rsc_list, cmd->rsc_id); rsc_id 415 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; rsc_id 478 daemons/execd/execd_commands.c rsc->rsc_id, normalize_action_name(rsc, dup->action), rsc_id 500 daemons/execd/execd_commands.c services_action_kick(rsc->rsc_id, rsc_id 514 daemons/execd/execd_commands.c crm_trace("Scheduling %s on %s", cmd->action, rsc->rsc_id); rsc_id 643 daemons/execd/execd_commands.c crm_xml_add(notify, PCMK__XA_LRMD_RSC_ID, cmd->rsc_id); rsc_id 696 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 706 daemons/execd/execd_commands.c crm_xml_add(notify, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 731 daemons/execd/execd_commands.c crm_trace("Resource operation rsc:%s action:%s completed (%p %p)", cmd->rsc_id, cmd->action, rsc_id 844 daemons/execd/execd_commands.c rsc = cmd->rsc_id ? g_hash_table_lookup(rsc_list, cmd->rsc_id) : NULL; rsc_id 886 daemons/execd/execd_commands.c cmd->rsc_id, cmd->real_action, time_sum, timeout_left, rsc_id 941 daemons/execd/execd_commands.c cmd->rsc_id, cmd->real_action, time_sum, timeout_left, delay); rsc_id 945 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, time_sum, timeout_left, delay); rsc_id 949 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, rsc_id 966 daemons/execd/execd_commands.c cmd->rsc_id, rsc_id 998 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = g_hash_table_lookup(rsc_list, cmd->rsc_id); rsc_id 1190 daemons/execd/execd_commands.c cmd->rsc_id, rsc->provider, rsc_id 1216 daemons/execd/execd_commands.c rsc->rsc_id); rsc_id 1232 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, rsc_id 1312 daemons/execd/execd_commands.c rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type); rsc_id 1327 daemons/execd/execd_commands.c action = services__create_resource_action(rsc->rsc_id, rsc->class, rsc->provider, rsc_id 1383 daemons/execd/execd_commands.c crm_trace("%s is still active", rsc->rsc_id); rsc_id 1394 daemons/execd/execd_commands.c cmd->rsc_id, cmd->action, cmd->start_delay); rsc_id 1407 daemons/execd/execd_commands.c crm_trace("Nothing further to do for %s", rsc->rsc_id); rsc_id 1468 daemons/execd/execd_commands.c services_action_cancel(rsc->rsc_id, rsc_id 1478 daemons/execd/execd_commands.c free(rsc->rsc_id); rsc_id 1546 daemons/execd/execd_commands.c lrmd_rsc_t *dup = g_hash_table_lookup(rsc_list, rsc->rsc_id); rsc_id 1552 daemons/execd/execd_commands.c crm_notice("Ignoring duplicate registration of '%s'", rsc->rsc_id); rsc_id 1557 daemons/execd/execd_commands.c g_hash_table_replace(rsc_list, rsc->rsc_id, rsc); rsc_id 1558 daemons/execd/execd_commands.c crm_info("Cached agent information for '%s'", rsc->rsc_id); rsc_id 1568 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 1572 daemons/execd/execd_commands.c if (rsc_id == NULL) { rsc_id 1575 daemons/execd/execd_commands.c rsc = g_hash_table_lookup(rsc_list, rsc_id); rsc_id 1577 daemons/execd/execd_commands.c crm_info("Agent information for '%s' not in cache", rsc_id); rsc_id 1584 daemons/execd/execd_commands.c crm_xml_add(reply, PCMK__XA_LRMD_RSC_ID, rsc->rsc_id); rsc_id 1600 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 1602 daemons/execd/execd_commands.c if (!rsc_id) { rsc_id 1606 daemons/execd/execd_commands.c rsc = g_hash_table_lookup(rsc_list, rsc_id); rsc_id 1609 daemons/execd/execd_commands.c rsc_id); rsc_id 1616 daemons/execd/execd_commands.c rsc->active, rsc_id); rsc_id 1620 daemons/execd/execd_commands.c g_hash_table_remove(rsc_list, rsc_id); rsc_id 1632 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 1635 daemons/execd/execd_commands.c if (!rsc_id) { rsc_id 1638 daemons/execd/execd_commands.c if (!(rsc = g_hash_table_lookup(rsc_list, rsc_id))) { rsc_id 1640 daemons/execd/execd_commands.c rsc_id, g_hash_table_size(rsc_list)); rsc_id 1655 daemons/execd/execd_commands.c cancel_op(const char *rsc_id, const char *action, guint interval_ms) rsc_id 1658 daemons/execd/execd_commands.c lrmd_rsc_t *rsc = g_hash_table_lookup(rsc_list, rsc_id); rsc_id 1699 daemons/execd/execd_commands.c } else if (services_action_cancel(rsc_id, rsc_id 1745 daemons/execd/execd_commands.c cancel_op(rsc->rsc_id, cmd->action, cmd->interval_ms); rsc_id 1756 daemons/execd/execd_commands.c const char *rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 1762 daemons/execd/execd_commands.c if (!rsc_id || !action) { rsc_id 1766 daemons/execd/execd_commands.c return cancel_op(rsc_id, action, interval_ms); rsc_id 1774 daemons/execd/execd_commands.c crm_xml_add(rsc_xml, PCMK__XA_LRMD_RSC_ID, rsc->rsc_id); rsc_id 1790 daemons/execd/execd_commands.c const char *rsc_id = NULL; rsc_id 1801 daemons/execd/execd_commands.c rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 1805 daemons/execd/execd_commands.c if (rsc_id != NULL) { rsc_id 1806 daemons/execd/execd_commands.c rsc = g_hash_table_lookup(rsc_list, rsc_id); rsc_id 1809 daemons/execd/execd_commands.c rsc_id, g_hash_table_size(rsc_list)); rsc_id 1817 daemons/execd/execd_commands.c if (rsc_id == NULL) { rsc_id 26 daemons/execd/pacemaker-execd.h char *rsc_id; rsc_id 171 daemons/fenced/fenced_cib.c const char *rsc_id = NULL; rsc_id 184 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, PCMK_XA_ID); rsc_id 186 daemons/fenced/fenced_cib.c stonith_device_remove(rsc_id, true); rsc_id 300 daemons/fenced/fenced_cib.c const char *rsc_id = NULL; rsc_id 304 daemons/fenced/fenced_cib.c rsc_id = crm_element_value(match, PCMK_XA_ID); rsc_id 311 daemons/fenced/fenced_cib.c crm_trace("Fencing resource %s was added or modified", rsc_id); rsc_id 347 daemons/fenced/fenced_cib.c const char *rsc_id = NULL; rsc_id 359 daemons/fenced/fenced_cib.c rsc_id = strstr(mutable, PCMK_XE_PRIMITIVE "[@" PCMK_XA_ID "=\'"); rsc_id 360 daemons/fenced/fenced_cib.c if (rsc_id != NULL) { rsc_id 361 daemons/fenced/fenced_cib.c rsc_id += strlen(PCMK_XE_PRIMITIVE "[@" PCMK_XA_ID "=\'"); rsc_id 362 daemons/fenced/fenced_cib.c search = strchr(rsc_id, '\''); rsc_id 366 daemons/fenced/fenced_cib.c stonith_device_remove(rsc_id, true); rsc_id 394 include/crm/common/actions.h gboolean parse_op_key(const char *key, char **rsc_id, char **op_type, rsc_id 96 include/crm/common/actions_internal.h char *pcmk__op_key(const char *rsc_id, const char *op_type, guint interval_ms); rsc_id 97 include/crm/common/actions_internal.h char *pcmk__notify_key(const char *rsc_id, const char *notify_type, rsc_id 53 include/crm/common/internal.h int pcmk__substitute_secrets(const char *rsc_id, GHashTable *params); rsc_id 371 include/crm/common/internal.h pcmk__fail_attr_name(const char *prefix, const char *rsc_id, const char *op, rsc_id 374 include/crm/common/internal.h CRM_CHECK(prefix && rsc_id && op, return NULL); rsc_id 375 include/crm/common/internal.h return crm_strdup_printf("%s-%s#%s_%u", prefix, rsc_id, op, interval_ms); rsc_id 379 include/crm/common/internal.h pcmk__failcount_name(const char *rsc_id, const char *op, guint interval_ms) rsc_id 381 include/crm/common/internal.h return pcmk__fail_attr_name(PCMK__FAIL_COUNT_PREFIX, rsc_id, op, rsc_id 386 include/crm/common/internal.h pcmk__lastfailure_name(const char *rsc_id, const char *op, guint interval_ms) rsc_id 388 include/crm/common/internal.h return pcmk__fail_attr_name(PCMK__LAST_FAILURE_PREFIX, rsc_id, op, rsc_id 95 include/crm/common/ipc_controld.h const char *router_node, const char *rsc_id, rsc_id 99 include/crm/common/ipc_controld.h const char *router_node, const char *rsc_id, rsc_id 96 include/crm/common/rules.h const char *rsc_id; rsc_id 39 include/crm/common/util.h char *pcmk_promotion_score_name(const char *rsc_id); rsc_id 175 include/crm/lrmd.h char *rsc_id; rsc_id 181 include/crm/lrmd.h lrmd_rsc_info_t *lrmd_new_rsc_info(const char *rsc_id, const char *standard, rsc_id 269 include/crm/lrmd.h int (*register_rsc) (lrmd_t *lrmd, const char *rsc_id, const char *standard, rsc_id 282 include/crm/lrmd.h lrmd_rsc_info_t *(*get_rsc_info) (lrmd_t *lrmd, const char *rsc_id, rsc_id 296 include/crm/lrmd.h int (*get_recurring_ops) (lrmd_t *lrmd, const char *rsc_id, int timeout_ms, rsc_id 313 include/crm/lrmd.h int (*unregister_rsc) (lrmd_t *lrmd, const char *rsc_id, rsc_id 349 include/crm/lrmd.h int (*exec) (lrmd_t *lrmd, const char *rsc_id, const char *action, rsc_id 372 include/crm/lrmd.h int (*cancel) (lrmd_t *lrmd, const char *rsc_id, const char *action, rsc_id 41 include/crm/lrmd_events.h const char *rsc_id; rsc_id 99 include/crm/lrmd_events.h lrmd_event_data_t *lrmd_new_event(const char *rsc_id, const char *task, rsc_id 544 include/crm/stonith-ng.h int (*validate)(stonith_t *st, int call_options, const char *rsc_id, rsc_id 210 include/pacemaker.h int pcmk_resource_delete(xmlNodePtr *xml, const char *rsc_id, const char *rsc_type); rsc_id 18 include/pcmki/pcmki_resource.h int pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id, rsc_id 196 lib/common/actions.c pcmk__op_key(const char *rsc_id, const char *op_type, guint interval_ms) rsc_id 198 lib/common/actions.c pcmk__assert((rsc_id != NULL) && (op_type != NULL)); rsc_id 199 lib/common/actions.c return crm_strdup_printf(PCMK__OP_FMT, rsc_id, op_type, interval_ms); rsc_id 249 lib/common/actions.c parse_op_key(const char *key, char **rsc_id, char **op_type, guint *interval_ms) rsc_id 276 lib/common/actions.c if (rsc_id) { rsc_id 277 lib/common/actions.c *rsc_id = NULL; rsc_id 320 lib/common/actions.c if (rsc_id != NULL) { rsc_id 321 lib/common/actions.c *rsc_id = strndup(key, action_underbar); rsc_id 322 lib/common/actions.c pcmk__mem_assert(*rsc_id); rsc_id 336 lib/common/actions.c pcmk__notify_key(const char *rsc_id, const char *notify_type, rsc_id 339 lib/common/actions.c CRM_CHECK(rsc_id != NULL, return NULL); rsc_id 343 lib/common/actions.c rsc_id, notify_type, op_type); rsc_id 92 lib/common/attrs.c pcmk_promotion_score_name(const char *rsc_id) rsc_id 94 lib/common/attrs.c if (pcmk__str_empty(rsc_id)) { rsc_id 95 lib/common/attrs.c rsc_id = getenv("OCF_RESOURCE_INSTANCE"); rsc_id 96 lib/common/attrs.c if (pcmk__str_empty(rsc_id)) { rsc_id 100 lib/common/attrs.c return crm_strdup_printf("master-%s", rsc_id); rsc_id 96 lib/common/cib_secrets.c pcmk__substitute_secrets(const char *rsc_id, GHashTable *params) rsc_id 117 lib/common/cib_secrets.c crm_debug("Replace secret parameters for resource %s", rsc_id); rsc_id 119 lib/common/cib_secrets.c if (snprintf(local_file, FILENAME_MAX, LRM_CIBSECRETS_DIR "/%s/", rsc_id) rsc_id 122 lib/common/cib_secrets.c rsc_id); rsc_id 131 lib/common/cib_secrets.c crm_err("odd, no parameter %s for rsc %s found now", key, rsc_id); rsc_id 136 lib/common/cib_secrets.c crm_err("%s: parameter name %s too big", rsc_id, key); rsc_id 145 lib/common/cib_secrets.c rsc_id, key, LRM_CIBSECRETS_DIR); rsc_id 163 lib/common/cib_secrets.c "cannot be read from %s", rsc_id, key, hash_file); rsc_id 170 lib/common/cib_secrets.c "does not match", rsc_id, key); rsc_id 482 lib/common/ipc_controld.c bool cib_only, const char *rsc_id, rsc_id 519 lib/common/ipc_controld.c crm_xml_add(xml_rsc, PCMK_XA_ID, rsc_id); rsc_id 558 lib/common/ipc_controld.c const char *rsc_id, const char *rsc_long_id, rsc_id 563 lib/common/ipc_controld.c pcmk_ipc_name(api, true), pcmk__s(rsc_id, "unknown resource"), rsc_id 568 lib/common/ipc_controld.c router_node, false, rsc_id, rsc_long_id, rsc_id 591 lib/common/ipc_controld.c const char *rsc_id, const char *rsc_long_id, rsc_id 596 lib/common/ipc_controld.c pcmk_ipc_name(api, true), pcmk__s(rsc_id, "unknown resource"), rsc_id 601 lib/common/ipc_controld.c router_node, cib_only, rsc_id, rsc_long_id, rsc_id 1080 lib/common/rules.c expanded_attr = pcmk__replace_submatches(attr, rule_input->rsc_id, rsc_id 35 lib/common/tests/rules/pcmk__evaluate_attr_expression_test.c .rsc_id = MATCHED_STRING, rsc_id 1736 lib/fencing/st_client.c stonith_api_validate(stonith_t *st, int call_options, const char *rsc_id, rsc_id 1769 lib/fencing/st_client.c rc = pcmk__substitute_secrets(rsc_id, params_table); rsc_id 369 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_rsc, op->rsc_id); rsc_id 201 lib/lrmd/lrmd_client.c lrmd_new_event(const char *rsc_id, const char *task, guint interval_ms) rsc_id 206 lib/lrmd/lrmd_client.c event->rsc_id = pcmk__str_copy(rsc_id); rsc_id 222 lib/lrmd/lrmd_client.c copy->rsc_id = pcmk__str_copy(event->rsc_id); rsc_id 258 lib/lrmd/lrmd_client.c free((void *) event->rsc_id); rsc_id 294 lib/lrmd/lrmd_client.c event.rsc_id = crm_element_value(msg, PCMK__XA_LRMD_RSC_ID); rsc_id 1869 lib/lrmd/lrmd_client.c const char *rsc_id, rsc_id 1876 lib/lrmd/lrmd_client.c if (!class || !type || !rsc_id) { rsc_id 1887 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 1898 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) rsc_id 1904 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 1912 lib/lrmd/lrmd_client.c lrmd_new_rsc_info(const char *rsc_id, const char *standard, rsc_id 1917 lib/lrmd/lrmd_client.c rsc_info->id = pcmk__str_copy(rsc_id); rsc_id 1945 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) rsc_id 1955 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 1976 lib/lrmd/lrmd_client.c rsc_info = lrmd_new_rsc_info(rsc_id, class, provider, type); rsc_id 1985 lib/lrmd/lrmd_client.c free(op_info->rsc_id); rsc_id 1994 lib/lrmd/lrmd_client.c lrmd_api_get_recurring_ops(lrmd_t *lrmd, const char *rsc_id, int timeout_ms, rsc_id 2007 lib/lrmd/lrmd_client.c if (rsc_id) { rsc_id 2010 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 2028 lib/lrmd/lrmd_client.c rsc_id = crm_element_value(rsc_xml, PCMK__XA_LRMD_RSC_ID); rsc_id 2029 lib/lrmd/lrmd_client.c if (rsc_id == NULL) { rsc_id 2044 lib/lrmd/lrmd_client.c op_info->rsc_id = strdup(rsc_id); rsc_id 2186 lib/lrmd/lrmd_client.c lrmd_api_exec(lrmd_t *lrmd, const char *rsc_id, const char *action, rsc_id 2198 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 2244 lib/lrmd/lrmd_client.c lrmd_api_cancel(lrmd_t *lrmd, const char *rsc_id, const char *action, rsc_id 2252 lib/lrmd/lrmd_client.c crm_xml_add(data, PCMK__XA_LRMD_RSC_ID, rsc_id); rsc_id 123 lib/pacemaker/pcmk_resource.c pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id, rsc_id 133 lib/pacemaker/pcmk_resource.c if (rsc_id == NULL || rsc_type == NULL) { rsc_id 138 lib/pacemaker/pcmk_resource.c crm_xml_add(msg_data, PCMK_XA_ID, rsc_id); rsc_id 148 lib/pacemaker/pcmk_resource.c pcmk_resource_delete(xmlNodePtr *xml, const char *rsc_id, const char *rsc_type) rsc_id 173 lib/pacemaker/pcmk_resource.c rc = pcmk__resource_delete(cib, cib_opts, rsc_id, rsc_type); rsc_id 1136 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(op->interval_ms), op->op_type, op->rsc_id, rsc_id 1159 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); rsc_id 1166 lib/pacemaker/pcmk_sched_actions.c op_id = pcmk__notify_key(op->rsc_id, n_type, n_task); rsc_id 1185 lib/pacemaker/pcmk_sched_actions.c op_id = pcmk__op_key(op->rsc_id, "last_failure", 0); rsc_id 1190 lib/pacemaker/pcmk_sched_actions.c op_id_additional = pcmk__op_key(op->rsc_id, "last", 0); rsc_id 1198 lib/pacemaker/pcmk_sched_actions.c op_id = pcmk__op_key(op->rsc_id, "last", 0); rsc_id 1210 lib/pacemaker/pcmk_sched_actions.c " %d from %s", op->rsc_id, op->op_type, op->interval_ms, rsc_id 1241 lib/pacemaker/pcmk_sched_actions.c op->rsc_id, op->op_type, op->interval_ms, rsc_id 184 lib/pacemaker/pcmk_sched_location.c if ((rule_input->rsc_id != NULL) && (rule_input->rsc_id_nmatches > 0) rsc_id 187 lib/pacemaker/pcmk_sched_location.c char *result = pcmk__replace_submatches(score, rule_input->rsc_id, rsc_id 234 lib/pacemaker/pcmk_sched_location.c const char *rsc_id = crm_element_value(xml_obj, PCMK_XA_RSC); rsc_id 242 lib/pacemaker/pcmk_sched_location.c "does not exist", id, rsc_id); rsc_id 290 lib/pacemaker/pcmk_sched_location.c .rsc_id = rsc_id_match, rsc_id 416 lib/pacemaker/pcmk_sched_location.c const char *rsc_id = NULL; rsc_id 440 lib/pacemaker/pcmk_sched_location.c rsc_id = crm_element_value(xml_obj, PCMK_XA_RSC); rsc_id 441 lib/pacemaker/pcmk_sched_location.c if (rsc_id == NULL) { rsc_id 445 lib/pacemaker/pcmk_sched_location.c if (!pcmk__valid_resource_or_tag(scheduler, rsc_id, &rsc, &tag)) { rsc_id 447 lib/pacemaker/pcmk_sched_location.c "valid resource or tag", id, rsc_id); rsc_id 247 lib/pacemaker/pcmk_sched_ordering.c const char *rsc_id = crm_element_value(xml, resource_attr); rsc_id 250 lib/pacemaker/pcmk_sched_ordering.c if (rsc_id == NULL) { rsc_id 256 lib/pacemaker/pcmk_sched_ordering.c rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id); rsc_id 259 lib/pacemaker/pcmk_sched_ordering.c "does not exist", pcmk__xe_id(xml), rsc_id); rsc_id 272 lib/pacemaker/pcmk_sched_ordering.c pcmk__xe_id(xml), rsc_id, instance_id); rsc_id 279 lib/pacemaker/pcmk_sched_ordering.c pcmk__xe_id(xml), rsc_id, instance_id); rsc_id 285 lib/pacemaker/pcmk_sched_tickets.c const char *rsc_id = crm_element_value(xml_obj, PCMK_XA_RSC); rsc_id 322 lib/pacemaker/pcmk_sched_tickets.c if (rsc_id == NULL) { rsc_id 326 lib/pacemaker/pcmk_sched_tickets.c rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id); rsc_id 331 lib/pacemaker/pcmk_sched_tickets.c "does not exist", id, rsc_id); rsc_id 337 lib/pacemaker/pcmk_sched_tickets.c id, rsc_id, instance); rsc_id 346 lib/pacemaker/pcmk_sched_tickets.c id, rsc_id, instance); rsc_id 360 lib/pacemaker/pcmk_sched_tickets.c const char *rsc_id = NULL; rsc_id 386 lib/pacemaker/pcmk_sched_tickets.c rsc_id = crm_element_value(xml_obj, PCMK_XA_RSC); rsc_id 387 lib/pacemaker/pcmk_sched_tickets.c if (rsc_id == NULL) { rsc_id 391 lib/pacemaker/pcmk_sched_tickets.c if (!pcmk__valid_resource_or_tag(scheduler, rsc_id, &rsc, &tag)) { rsc_id 393 lib/pacemaker/pcmk_sched_tickets.c "valid resource or tag", id, rsc_id); rsc_id 208 lib/pacemaker/pcmk_sched_utilization.c const char *rsc_id; rsc_id 237 lib/pacemaker/pcmk_sched_utilization.c data->rsc_id, required); rsc_id 253 lib/pacemaker/pcmk_sched_utilization.c have_enough_capacity(const pcmk_node_t *node, const char *rsc_id, rsc_id 258 lib/pacemaker/pcmk_sched_utilization.c .rsc_id = rsc_id, rsc_id 20 lib/pengine/failcounts.c is_matched_failure(const char *rsc_id, const xmlNode *conf_op_xml, rsc_id 32 lib/pengine/failcounts.c if (rsc_id == NULL || conf_op_xml == NULL || lrm_op_xml == NULL) { rsc_id 51 lib/pengine/failcounts.c last_failure_key = pcmk__op_key(rsc_id, "last_failure", 0); rsc_id 57 lib/pengine/failcounts.c char *expected_op_key = pcmk__op_key(rsc_id, conf_op_name, rsc_id 490 lib/pengine/pe_digest.c create_unfencing_summary(const char *rsc_id, const char *agent_type, rsc_id 493 lib/pengine/pe_digest.c return crm_strdup_printf("%s:%s:%s", rsc_id, agent_type, param_digest); rsc_id 513 lib/pengine/pe_digest.c unfencing_digest_matches(const char *rsc_id, const char *agent, rsc_id 518 lib/pengine/pe_digest.c if (rsc_id && agent && digest_calc && node_summary) { rsc_id 519 lib/pengine/pe_digest.c char *search_secure = create_unfencing_summary(rsc_id, agent, rsc_id 310 lib/pengine/pe_output.c resource_history_string(pcmk_resource_t *rsc, const char *rsc_id, bool all, rsc_id 315 lib/pengine/pe_output.c buf = crm_strdup_printf("%s: orphan", rsc_id); rsc_id 334 lib/pengine/pe_output.c rsc_id, rsc->migration_threshold, failcount_s, rsc_id 339 lib/pengine/pe_output.c buf = crm_strdup_printf("%s:", rsc_id); rsc_id 1407 lib/pengine/pe_output.c char *rsc_id = NULL; rsc_id 1414 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { rsc_id 1416 lib/pengine/pe_output.c pcmk__str_update(&rsc_id, "unknown resource"); rsc_id 1420 lib/pengine/pe_output.c pcmk__assert((rsc_id != NULL) && (task != NULL)); rsc_id 1424 lib/pengine/pe_output.c pcmk__g_strcat(str, rsc_id, " ", NULL); rsc_id 1470 lib/pengine/pe_output.c free(rsc_id); rsc_id 2452 lib/pengine/pe_output.c const char *rsc_id = crm_element_value(rsc_entry, PCMK_XA_ID); rsc_id 2456 lib/pengine/pe_output.c if (rsc_id == NULL) { rsc_id 2460 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, rsc_id); rsc_id 2502 lib/pengine/pe_output.c out->message(out, "resource-history", rsc, rsc_id, false, rsc_id 2922 lib/pengine/pe_output.c const char *rsc_id = va_arg(args, const char *); rsc_id 2928 lib/pengine/pe_output.c char *buf = resource_history_string(rsc, rsc_id, all, failcount, last_failure); rsc_id 2945 lib/pengine/pe_output.c const char *rsc_id = va_arg(args, const char *); rsc_id 2953 lib/pengine/pe_output.c PCMK_XA_ID, rsc_id, rsc_id 54 lib/pengine/rules.c new->rsc_id = old->match_data->re->string; rsc_id 341 lib/pengine/rules.c rule_input.rsc_id = match_data->re->string; rsc_id 393 lib/pengine/rules.c rule_input.rsc_id = match_data->re->string; rsc_id 2025 lib/pengine/unpack.c create_fake_resource(const char *rsc_id, const xmlNode *rsc_entry, rsc_id 2032 lib/pengine/unpack.c crm_xml_add(xml_rsc, PCMK_XA_ID, rsc_id); rsc_id 2042 lib/pengine/unpack.c crm_debug("Detected orphaned remote node %s", rsc_id); rsc_id 2043 lib/pengine/unpack.c node = pcmk_find_node(scheduler, rsc_id); rsc_id 2045 lib/pengine/unpack.c node = pe_create_node(rsc_id, rsc_id, PCMK_VALUE_REMOTE, 0, rsc_id 2051 lib/pengine/unpack.c crm_trace("Setting node %s as shutting down due to orphaned connection resource", rsc_id); rsc_id 2058 lib/pengine/unpack.c crm_trace("Detected orphaned container filler %s", rsc_id); rsc_id 2078 lib/pengine/unpack.c create_anonymous_orphan(pcmk_resource_t *parent, const char *rsc_id, rsc_id 2084 lib/pengine/unpack.c pcmk_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, rsc_id 2088 lib/pengine/unpack.c top->id, parent->id, rsc_id, pcmk__node_name(node)); rsc_id 2109 lib/pengine/unpack.c pcmk_resource_t *parent, const char *rsc_id) rsc_id 2120 lib/pengine/unpack.c rsc_id, pcmk__node_name(node), parent->id); rsc_id 2156 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, rsc_id 2184 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, rsc_id 2227 lib/pengine/unpack.c rsc = create_anonymous_orphan(parent, rsc_id, node, scheduler); rsc_id 2235 lib/pengine/unpack.c const char *rsc_id) rsc_id 2240 lib/pengine/unpack.c crm_trace("looking for %s", rsc_id); rsc_id 2241 lib/pengine/unpack.c rsc = pe_find_resource(scheduler->resources, rsc_id); rsc_id 2248 lib/pengine/unpack.c char *clone0_id = clone_zero(rsc_id); rsc_id 2255 lib/pengine/unpack.c crm_trace("%s found as %s (%s)", rsc_id, clone0_id, parent->id); rsc_id 2258 lib/pengine/unpack.c rsc_id, clone0_id); rsc_id 2264 lib/pengine/unpack.c rsc_id); rsc_id 2276 lib/pengine/unpack.c char *base = clone_strip(rsc_id); rsc_id 2284 lib/pengine/unpack.c if (rsc && !pcmk__str_eq(rsc_id, rsc->id, pcmk__str_none) rsc_id 2285 lib/pengine/unpack.c && !pcmk__str_eq(rsc_id, rsc->clone_name, pcmk__str_none)) { rsc_id 2287 lib/pengine/unpack.c pcmk__str_update(&rsc->clone_name, rsc_id); rsc_id 2289 lib/pengine/unpack.c rsc_id, pcmk__node_name(node), rsc->id, rsc_id 2300 lib/pengine/unpack.c const char *rsc_id = crm_element_value(rsc_entry, PCMK_XA_ID); rsc_id 2303 lib/pengine/unpack.c rsc_id, pcmk__node_name(node)); rsc_id 2304 lib/pengine/unpack.c rsc = create_fake_resource(rsc_id, rsc_entry, scheduler); rsc_id 2754 lib/pengine/unpack.c const char *rsc_id = pcmk__xe_id(lrm_resource); rsc_id 2766 lib/pengine/unpack.c if (rsc_id == NULL) { rsc_id 2773 lib/pengine/unpack.c rsc_id, pcmk__node_name(node)); rsc_id 2793 lib/pengine/unpack.c rsc = unpack_find_resource(scheduler, node, rsc_id); rsc_id 2862 lib/pengine/unpack.c const char *rsc_id; rsc_id 2870 lib/pengine/unpack.c rsc_id = crm_element_value(rsc_entry, PCMK_XA_ID); rsc_id 2871 lib/pengine/unpack.c if (container_id == NULL || rsc_id == NULL) { rsc_id 2880 lib/pengine/unpack.c rsc = pe_find_resource(scheduler->resources, rsc_id); rsc_id 3017 lib/pengine/unpack.c find_lrm_resource(const char *rsc_id, const char *node_name, rsc_id 3023 lib/pengine/unpack.c CRM_CHECK((rsc_id != NULL) && (node_name != NULL), return NULL); rsc_id 3028 lib/pengine/unpack.c SUB_XPATH_LRM_RESOURCE "[@" PCMK_XA_ID "='", rsc_id, "']", rsc_id 3080 lib/pengine/unpack.c monitor_not_running_after(const char *rsc_id, const char *node_name, rsc_id 3087 lib/pengine/unpack.c xmlNode *monitor = find_lrm_op(rsc_id, PCMK_ACTION_MONITOR, node_name, rsc_id 3106 lib/pengine/unpack.c non_monitor_after(const char *rsc_id, const char *node_name, rsc_id 3112 lib/pengine/unpack.c lrm_resource = find_lrm_resource(rsc_id, node_name, scheduler); rsc_id 3153 lib/pengine/unpack.c newer_state_after_migrate(const char *rsc_id, const char *node_name, rsc_id 3196 lib/pengine/unpack.c return non_monitor_after(rsc_id, node_name, xml_op, same_node, scheduler) rsc_id 3197 lib/pengine/unpack.c || monitor_not_running_after(rsc_id, node_name, xml_op, same_node, rsc_id 5219 lib/pengine/unpack.c const char *rsc_id = crm_element_value(lrm_rsc, rsc_id 5222 lib/pengine/unpack.c if (rsc != NULL && !pcmk__str_eq(rsc_id, rsc, pcmk__str_casei)) { rsc_id 5226 lib/pengine/unpack.c intermediate = extract_operations(uname, rsc_id, lrm_rsc, active_filter); rsc_id 886 lib/pengine/utils.c const char *rsc_id = rsc->id; rsc_id 889 lib/pengine/utils.c rsc_id = pe__clone_child_id(parent); rsc_id 917 lib/pengine/utils.c if (!pcmk__str_eq(op_id, rsc_id, pcmk__str_none)) { rsc_id 78 tools/crm_resource.c gchar *rsc_id; // Value of --resource rsc_id 863 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, rsc_id 883 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, rsc_id 896 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); rsc_id 905 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); rsc_id 921 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); rsc_id 952 tools/crm_resource.c cib_sync_call, options.rsc_id, rsc_id 965 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, rsc_id 969 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, scheduler->nodes, rsc_id 1116 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); rsc_id 1152 tools/crm_resource.c crm_xml_add(msg_data, PCMK_XA_ID, options.rsc_id); rsc_id 1218 tools/crm_resource.c if (options.rsc_id != NULL) { rsc_id 1462 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, rsc_id 1685 tools/crm_resource.c if (is_resource_required() && (options.rsc_id == NULL)) { rsc_id 1733 tools/crm_resource.c if ((find_flags != 0) && (options.rsc_id != NULL)) { rsc_id 1734 tools/crm_resource.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, rsc_id 1739 tools/crm_resource.c _("Resource '%s' not found"), options.rsc_id); rsc_id 1746 tools/crm_resource.c if (pcmk__is_clone(rsc->parent) && (strchr(options.rsc_id, ':') != NULL) rsc_id 1751 tools/crm_resource.c _("Cannot operate on clone resource instance '%s'"), options.rsc_id); rsc_id 1866 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, rsc_id 1897 tools/crm_resource.c options.rsc_id, scheduler); rsc_id 1904 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, rsc_id 1910 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, rsc_id 1916 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, scheduler); rsc_id 1917 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); rsc_id 1947 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, rsc_id 1967 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, rsc_id 2057 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, rsc_id 2069 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, rsc_id 2109 tools/crm_resource.c options.rsc_id, options.rsc_type); rsc_id 2114 tools/crm_resource.c options.rsc_id, pcmk_rc_str(rc)); rsc_id 2165 tools/crm_resource.c g_free(options.rsc_id); rsc_id 65 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, rsc_id 68 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, rsc_id 71 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, rsc_id 82 tools/crm_resource.h int cli_resource_print_operations(const char *rsc_id, const char *host_uname, rsc_id 89 tools/crm_resource.h const char *rsc_id, pcmk_scheduler_t *scheduler); rsc_id 103 tools/crm_resource.h int cli_resource_move(const pcmk_resource_t *rsc, const char *rsc_id, rsc_id 61 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, rsc_id 78 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); rsc_id 88 tools/crm_resource_ban.c pcmk__xe_id(location), rsc_id, host, rsc_id, rsc_id 91 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XA_RSC, rsc_id); rsc_id 107 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); rsc_id 111 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); rsc_id 118 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); rsc_id 135 tools/crm_resource_ban.c int banrc = cli_resource_ban(out, rsc_id, host, move_lifetime, rsc_id 148 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, rsc_id 169 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); rsc_id 171 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XA_RSC, rsc_id); rsc_id 187 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-prefer-rule-%s", rsc_id); rsc_id 191 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-prefer-expr-%s", rsc_id); rsc_id 198 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-prefer-lifetime-end-%s", rsc_id); rsc_id 215 tools/crm_resource_ban.c int preferrc = cli_resource_prefer(out, rsc_id, host, move_lifetime, rsc_id 248 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, rsc_id 263 tools/crm_resource_ban.c xpath_string = crm_strdup_printf(XPATH_FMT, rsc_id, rsc_id, host); rsc_id 278 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, rsc_id 289 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); rsc_id 293 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); rsc_id 313 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, rsc_id 323 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); rsc_id 330 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, rsc_id 344 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, rsc_id 96 tools/crm_resource_print.c cli_resource_print_operations(const char *rsc_id, const char *host_uname, rsc_id 101 tools/crm_resource_print.c GList *ops = find_operations(rsc_id, host_uname, active, scheduler); rsc_id 196 tools/crm_resource_runtime.c const char * rsc_id, const char * attr_set, rsc_id 211 tools/crm_resource_runtime.c int rc = find_resource_attr(out, cib, PCMK_XA_ID, rsc_id, attr_set_type, rsc_id 217 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); rsc_id 233 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); rsc_id 639 tools/crm_resource_runtime.c const char *host_uname, const char *rsc_id, rsc_id 650 tools/crm_resource_runtime.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, rsc_id); rsc_id 653 tools/crm_resource_runtime.c out->err(out, "Resource %s not found", rsc_id); rsc_id 657 tools/crm_resource_runtime.c out->err(out, "We can only process primitive resources, not %s", rsc_id); rsc_id 665 tools/crm_resource_runtime.c out->err(out, "Resource %s does not have a class and type", rsc_id); rsc_id 736 tools/crm_resource_runtime.c const char *rsc_id, pcmk_scheduler_t *scheduler) rsc_id 745 tools/crm_resource_runtime.c rc = send_lrm_rsc_op(controld_api, false, host_uname, rsc_id, scheduler); rsc_id 762 tools/crm_resource_runtime.c const char *node_name, const char *rsc_id, const char *operation, rsc_id 797 tools/crm_resource_runtime.c if (rsc_id) { rsc_id 804 tools/crm_resource_runtime.c if (!fail_rsc || !pcmk__str_eq(rsc_id, fail_rsc->id, pcmk__str_casei)) { rsc_id 1156 tools/crm_resource_runtime.c const char *rsc_id, pcmk_scheduler_t *scheduler) rsc_id 1158 tools/crm_resource_runtime.c crm_notice("Failing %s on %s", rsc_id, host_uname); rsc_id 1159 tools/crm_resource_runtime.c return send_lrm_rsc_op(controld_api, true, host_uname, rsc_id, scheduler); rsc_id 1551 tools/crm_resource_runtime.c char *rsc_id = NULL; rsc_id 1604 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); rsc_id 1683 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, rsc_id 1691 tools/crm_resource_runtime.c rsc_id, pcmk_rc_str(rc), rc); rsc_id 1752 tools/crm_resource_runtime.c out->err(out, "Could not complete shutdown of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); rsc_id 1764 tools/crm_resource_runtime.c rc = cli_resource_update_attribute(rsc, rsc_id, NULL, rsc_id 1771 tools/crm_resource_runtime.c rc = cli_resource_delete_attribute(rsc, rsc_id, NULL, rsc_id 1780 tools/crm_resource_runtime.c rsc_id, pcmk_rc_str(rc), rc); rsc_id 1832 tools/crm_resource_runtime.c out->err(out, "Could not complete restart of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); rsc_id 1847 tools/crm_resource_runtime.c cli_resource_update_attribute(rsc, rsc_id, NULL, rsc_id 1853 tools/crm_resource_runtime.c cli_resource_delete_attribute(rsc, rsc_id, NULL, rsc_id 1872 tools/crm_resource_runtime.c free(rsc_id); rsc_id 2283 tools/crm_resource_runtime.c cli_resource_move(const pcmk_resource_t *rsc, const char *rsc_id, rsc_id 2305 tools/crm_resource_runtime.c out->info(out, "Using parent '%s' for move instead of '%s'.", rsc->id, rsc_id); rsc_id 2306 tools/crm_resource_runtime.c rsc_id = p->id; rsc_id 2311 tools/crm_resource_runtime.c rsc_id); rsc_id 2351 tools/crm_resource_runtime.c rsc_id, promoted_role_only?"promoted":"active", rsc_id 2359 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, scheduler->nodes, cib, cib_options, false, rsc_id 2363 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, scheduler->nodes, cib, rsc_id 2367 tools/crm_resource_runtime.c rc = cli_resource_prefer(out, rsc_id, dest->details->uname, move_lifetime, rsc_id 2381 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime, rsc_id 2387 tools/crm_resource_runtime.c rsc_id, (promoted_role_only? "promoted" : "active"), rsc_id 2391 tools/crm_resource_runtime.c rsc_id, (promoted_role_only? "promoted" : "active")); rsc_id 2394 tools/crm_resource_runtime.c crm_trace("Not banning %s from its current location: not active", rsc_id);