server 559 daemons/controld/controld_execd_state.c lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, server 565 daemons/controld/controld_execd_state.c lrm_state->conn = lrmd_remote_api_new(lrm_state->node_name, server, port); server 573 daemons/controld/controld_execd_state.c crm_trace("initiating remote connection to %s at %d with timeout %d", server, port, timeout_ms); server 141 daemons/controld/controld_lrm.h int lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, server 732 daemons/controld/controld_remote_ra.c const char *server = NULL; server 741 daemons/controld/controld_remote_ra.c server = tmp->value; server 749 daemons/controld/controld_remote_ra.c return lrm_state_remote_connect_async(lrm_state, server, port, timeout_used); server 39 include/crm/cib.h cib_t *cib_remote_new(const char *server, const char *user, const char *passwd, int port, server 115 include/crm/common/ipc.h int pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server); server 120 include/crm/common/mainloop.h void mainloop_del_ipc_server(qb_ipcs_service_t * server); server 144 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port); server 35 include/crm/pengine/remote_internal.h const char *server, const char *port); server 309 lib/cib/cib_client.c const char *server = getenv("CIB_server"); server 331 lib/cib/cib_client.c if (server == NULL) { server 332 lib/cib/cib_client.c server = "localhost"; server 336 lib/cib/cib_client.c return cib_remote_new(server, user, pass, port, encrypted); server 56 lib/cib/cib_remote.c char *server; server 106 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port, server 117 lib/cib/cib_remote.c if (server) { server 118 lib/cib/cib_remote.c private->server = strdup(server); server 211 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, server 215 lib/cib/cib_remote.c private->server, private->port, pcmk_rc_str(rc), rc); server 240 lib/cib/cib_remote.c crm_err("Session creation for %s:%d failed", private->server, private->port); server 391 lib/cib/cib_remote.c if (private->server == NULL || private->user == NULL) { server 413 lib/cib/cib_remote.c private->server, private->port, name); server 419 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); server 454 lib/cib/cib_remote.c free(private->server); server 227 lib/common/crmcommon_private.h enum pcmk_ipc_server server; // Daemon this IPC API instance is for server 47 lib/common/ipc_client.c pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server) server 58 lib/common/ipc_client.c (*api)->server = server; server 68 lib/common/ipc_client.c switch (server) { server 246 lib/common/ipc_client.c switch (api->server) { server 649 lib/common/ipc_client.c switch (api->server) { server 682 lib/common/mainloop.c qb_ipcs_service_t *server = NULL; server 688 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); server 690 lib/common/mainloop.c if (server == NULL) { server 696 lib/common/mainloop.c qb_ipcs_request_rate_limit(server, conv_libqb_prio2ratelimit(prio)); server 700 lib/common/mainloop.c qb_ipcs_enforce_buffer_size(server, crm_ipc_default_buffer_size()); server 701 lib/common/mainloop.c qb_ipcs_poll_handlers_set(server, &gio_poll_funcs); server 703 lib/common/mainloop.c rc = qb_ipcs_run(server); server 709 lib/common/mainloop.c return server; server 713 lib/common/mainloop.c mainloop_del_ipc_server(qb_ipcs_service_t * server) server 715 lib/common/mainloop.c if (server) { server 716 lib/common/mainloop.c qb_ipcs_destroy(server); server 1071 lib/common/remote.c const char *server = host; server 1082 lib/common/remote.c rc = getaddrinfo(server, NULL, &hints, &res); server 1085 lib/common/remote.c server, gai_strerror(rc)); server 1090 lib/common/remote.c crm_err("Unable to get IP address info for %s: no result", server); server 1104 lib/common/remote.c server = res->ai_canonname; server 1106 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); server 1112 lib/common/remote.c "%s " CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); server 82 lib/lrmd/lrmd_client.c char *server; server 1344 lib/lrmd/lrmd_client.c native->server, native->port); server 1383 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1398 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1419 lib/lrmd/lrmd_client.c native->server, native->port); server 1429 lib/lrmd/lrmd_client.c native->server, native->port); server 1443 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id, server 1448 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1466 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, server 1471 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1495 lib/lrmd/lrmd_client.c crm_err("Session creation for %s:%d failed", native->server, native->port); server 1503 lib/lrmd/lrmd_client.c crm_info("Client TLS connection established with Pacemaker Remote server %s:%d", native->server, server 2230 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port) server 2236 lib/lrmd/lrmd_client.c if (!nodename && !server) { server 2242 lib/lrmd/lrmd_client.c native->remote_nodename = nodename ? strdup(nodename) : strdup(server); server 2243 lib/lrmd/lrmd_client.c native->server = server ? strdup(server) : strdup(nodename); server 2268 lib/lrmd/lrmd_client.c free(native->server); server 240 lib/pacemaker/pcmk_cluster_queries.c ipc_connect(data_t *data, enum pcmk_ipc_server server, pcmk_ipc_callback_t cb) server 247 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk_new_ipc_api(&api, server); server 159 lib/pengine/remote.c const char *server, const char *port) server 190 lib/pengine/remote.c if (port || server) { server 193 lib/pengine/remote.c if (server) { server 195 lib/pengine/remote.c server);