</listitem>
</varlistentry>
- <varlistentry>
- <term>--socket=<parameter>FILENAME</parameter></term>
- <listitem>
- <para>
- FILENAME specifies the name of the Unix domain socket that
- ctdbd will create. This socket is used by local clients to
- communicate with ctdbd.
- </para>
- <para>
- The default is <filename>/usr/local/var/run/ctdb/ctdbd.socket</filename>.
- You only need to use this option if you plan to run
- multiple ctdbd daemons on the same physical host, usually
- for testing.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term>--script-log-level=<parameter>DEBUGLEVEL</parameter></term>
<listitem>
struct poptOption popt_options[] = {
POPT_AUTOHELP
- { "socket", 0, POPT_ARG_STRING, &ctdb_socket, 0, "local socket name", "filename" },
{ "debug", 'd', POPT_ARG_STRING, &options.debuglevel, 0, "debug level", NULL },
{ "interactive", 'i', POPT_ARG_NONE, &interactive, 0, "don't fork", NULL },
{ "public-addresses", 0, POPT_ARG_STRING, &options.public_address_list, 0, "public address list file", "filename" },
setenv("CTDB_LOGGING", options.logging, 1);
setenv("CTDB_DEBUGLEVEL", debug_level_to_string(DEBUGLEVEL), 1);
- setenv("CTDB_SOCKET", ctdb_socket, 1);
ret = ctdb_set_socketname(ctdb, ctdb_socket);
if (ret == -1) {
DEBUG(DEBUG_ERR, ("ctdb_set_socketname() failed\n"));