<variablelist>
- <varlistentry>
- <term>--nopublicipcheck</term>
- <listitem>
- <para>
- This option is used when testing with multiple local
- daemons on a single machine. It disables checks related
- to public IP addresses.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>--sloppy-start</term>
- <listitem>
- <para>
- This is debugging option. This speeds up the initial
- recovery during startup at the expense of some consistency
- checking. <emphasis>Don't use this option in
- production</emphasis>.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term>--torture</term>
<listitem>
int no_lmaster;
int no_recmaster;
int script_log_level;
- int no_publicipcheck;
int max_persistent_check_errors;
int torture;
} options = {
{ "no-lmaster", 0, POPT_ARG_NONE, &options.no_lmaster, 0, "disable lmaster role on this node", NULL },
{ "no-recmaster", 0, POPT_ARG_NONE, &options.no_recmaster, 0, "disable recmaster role on this node", NULL },
{ "script-log-level", 0, POPT_ARG_INT, &options.script_log_level, 0, "log level of event script output", NULL },
- { "nopublicipcheck", 0, POPT_ARG_NONE, &options.no_publicipcheck, 0, "don't check we have/don't have the correct public ip addresses", NULL },
{ "max-persistent-check-errors", 0, POPT_ARG_INT,
&options.max_persistent_check_errors, 0,
"max allowed persistent check errors (default 0)", NULL },
- { "sloppy-start", 0, POPT_ARG_NONE, &fast_start, 0, "Do not perform full recovery on start", NULL },
{ "torture", 0, POPT_ARG_NONE, &options.torture, 0, "enable nastiness in library", NULL },
POPT_TABLEEND
};
ctdb->do_setsched = false;
}
- ctdb->do_checkpublicip = (options.no_publicipcheck == 0);
+ ctdb->do_checkpublicip = true;
t = getenv("CTDB_TEST_MODE");
if (t != NULL) {