fsa_our_dc 159 daemons/controld/controld_callbacks.c (AM_I_DC? "true" : (fsa_our_dc? fsa_our_dc : "<none>")), fsa_our_dc 201 daemons/controld/controld_callbacks.c } else if (pcmk__str_eq(node->uname, fsa_our_dc, pcmk__str_casei) && crm_is_peer_active(node) == FALSE) { fsa_our_dc 203 daemons/controld/controld_callbacks.c crm_notice("Our peer on the DC (%s) is dead", fsa_our_dc); fsa_our_dc 220 daemons/controld/controld_callbacks.c } else if (AM_I_DC || (fsa_our_dc == NULL)) { fsa_our_dc 121 daemons/controld/controld_control.c (fsa_our_dc? fsa_our_dc : "not set")); fsa_our_dc 253 daemons/controld/controld_control.c free(fsa_our_dc); fsa_our_dc = NULL; fsa_our_dc 43 daemons/controld/controld_election.c if (pcmk__str_eq(uname, fsa_our_dc, pcmk__str_casei)) { fsa_our_dc 525 daemons/controld/controld_fencing.c crm_trace("target=%s dc=%s", st_event->target, fsa_our_dc); fsa_our_dc 549 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(fsa_our_dc, st_event->target, pcmk__str_null_matches | pcmk__str_casei) fsa_our_dc 553 daemons/controld/controld_fencing.c st_event->target, (fsa_our_dc? "was" : "may have been")); fsa_our_dc 29 daemons/controld/controld_fsa.c char *fsa_our_dc = NULL; fsa_our_dc 598 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(fsa_our_dc != NULL); fsa_our_dc 599 daemons/controld/controld_fsa.c if (fsa_our_dc == NULL) { fsa_our_dc 506 daemons/controld/controld_fsa.h extern char *fsa_our_dc; fsa_our_dc 37 daemons/controld/controld_join_client.c if (fsa_our_dc && crm_is_true(crm_element_value(msg, F_CRM_DC_LEAVING))) { fsa_our_dc 38 daemons/controld/controld_join_client.c crm_node_t *dc_node = crm_get_peer(0, fsa_our_dc); fsa_our_dc 136 daemons/controld/controld_join_client.c welcome_from, fsa_our_dc); fsa_our_dc 170 daemons/controld/controld_join_client.c } else if (fsa_our_dc == NULL) { fsa_our_dc 176 daemons/controld/controld_join_client.c crm_debug("Respond to join offer join-%s from %s", join_id, fsa_our_dc); fsa_our_dc 179 daemons/controld/controld_join_client.c reply = create_request(CRM_OP_JOIN_REQUEST, generation, fsa_our_dc, fsa_our_dc 184 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); fsa_our_dc 261 daemons/controld/controld_join_client.c op, welcome_from, fsa_our_dc); fsa_our_dc 270 daemons/controld/controld_join_client.c xmlNode *reply = create_request(CRM_OP_JOIN_CONFIRM, tmp1, fsa_our_dc, fsa_our_dc 276 daemons/controld/controld_join_client.c join_id, fsa_our_dc); fsa_our_dc 297 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); fsa_our_dc 309 daemons/controld/controld_join_client.c join_id, fsa_our_dc); fsa_our_dc 44 daemons/controld/controld_membership.c } else if (AM_I_DC == FALSE && pcmk__str_eq(node->uname, fsa_our_dc, pcmk__str_casei)) { fsa_our_dc 909 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, fsa_our_dc, pcmk__str_casei)) { fsa_our_dc 941 daemons/controld/controld_messages.c if ((fsa_our_dc == NULL) || (strcmp(host_from, fsa_our_dc) == 0)) { fsa_our_dc 955 daemons/controld/controld_messages.c host_from, fsa_our_dc); fsa_our_dc 1267 daemons/controld/controld_messages.c if (fsa_our_dc) { fsa_our_dc 1268 daemons/controld/controld_messages.c xmlNode *msg = create_request(CRM_OP_REMOTE_STATE, NULL, fsa_our_dc, fsa_our_dc 1272 daemons/controld/controld_messages.c fsa_our_dc, node_name, (node_up? "coming up" : "going down")); fsa_our_dc 1275 daemons/controld/controld_messages.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, msg, fsa_our_dc 693 daemons/controld/controld_utils.c char *last_dc = fsa_our_dc; fsa_our_dc 709 daemons/controld/controld_utils.c } else if (fsa_our_dc && !pcmk__str_eq(welcome_from, fsa_our_dc, pcmk__str_casei)) { fsa_our_dc 714 daemons/controld/controld_utils.c CRM_CHECK(fsa_our_dc != NULL, crm_err("We have no DC")); fsa_our_dc 718 daemons/controld/controld_utils.c crm_warn("New DC %s is not %s", welcome_from, fsa_our_dc); fsa_our_dc 730 daemons/controld/controld_utils.c fsa_our_dc = NULL; /* Free'd as last_dc */ fsa_our_dc 733 daemons/controld/controld_utils.c fsa_our_dc = strdup(welcome_from); fsa_our_dc 739 daemons/controld/controld_utils.c if (pcmk__str_eq(fsa_our_dc, last_dc, pcmk__str_casei)) { fsa_our_dc 742 daemons/controld/controld_utils.c } else if (fsa_our_dc != NULL) { fsa_our_dc 743 daemons/controld/controld_utils.c crm_node_t *dc_node = crm_get_peer(0, fsa_our_dc); fsa_our_dc 745 daemons/controld/controld_utils.c crm_info("Set DC to %s (%s)", crm_str(fsa_our_dc), crm_str(fsa_our_dc_version));