From: Martin Schwenke Date: Thu, 5 Apr 2018 06:11:48 +0000 (+1000) Subject: ctdb-docs: Move some ctdbd options out of the debug section X-Git-Tag: ldb-1.4.0~497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd51df35fcf606488764052a7b113dd802ff74b;p=thirdparty%2Fsamba.git ctdb-docs: Move some ctdbd options out of the debug section ctdbd -i might be useful with systemd or similar, so should be documented. --nosetsched and --script-log-level options are valid user-level options. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/doc/ctdbd.1.xml b/ctdb/doc/ctdbd.1.xml index 4f6d482da90..6d20f595e6e 100644 --- a/ctdb/doc/ctdbd.1.xml +++ b/ctdb/doc/ctdbd.1.xml @@ -106,6 +106,18 @@ + + -i, --interactive + + + Enable interactive mode. This will make ctdbd run in the + foreground and not detach from the terminal. By default + ctdbd will detach itself and run in the background as a + daemon. + + + + --listen=IPADDR @@ -264,6 +276,30 @@ + + --nosetsched + + + Normally ctdbd will change its scheduler to run as a + real-time process. This is the default mode for a normal + ctdbd operation to gurarantee that ctdbd always gets the CPU + cycles that it needs. + + + This option is used to tell ctdbd to + not run as a real-time process and + instead run ctdbd as a normal userspace process. This can + be used on a platform where real-time scheduling is not + supported. + + + This is also useful for debugging and when you want to run + ctdbd under valgrind or gdb. (You don't want to attach + valgrind or gdb to a real-time process.) + + + + --notification-script=FILENAME @@ -300,6 +336,22 @@ + + --script-log-level=DEBUGLEVEL + + + This option sets the debug level of event script output to + DEBUGLEVEL. The default is ERR. + + + See the DEBUG LEVELS section in + ctdb + 7 for more + information. + + + + --start-as-disabled @@ -370,18 +422,6 @@ - - -i, --interactive - - - Enable interactive mode. This will make ctdbd run in the - foreground and not detach from the terminal. By default - ctdbd will detach itself and run in the background as a - daemon. - - - - --nopublicipcheck @@ -393,46 +433,6 @@ - - --nosetsched - - - This is a debugging option. This option is only used when - debugging ctdbd. - - - Normally ctdbd will change its scheduler to run as a - real-time process. This is the default mode for a normal - ctdbd operation to gurarantee that ctdbd always gets the CPU - cycles that it needs. - - - This option is used to tell ctdbd to - not run as a real-time process and - instead run ctdbd as a normal userspace process. This is - useful for debugging and when you want to run ctdbd under - valgrind or gdb. (You don't want to attach valgrind or gdb - to a real-time process.) - - - - - - --script-log-level=DEBUGLEVEL - - - This option sets the debug level of event script output to - DEBUGLEVEL. The default is ERR. - - - See the DEBUG LEVELS section in - ctdb - 7 for more - information. - - - - --sloppy-start