summaryrefslogtreecommitdiff
path: root/ctdb/doc
Commit message (Collapse)AuthorAgeFilesLines
* ctdb-doc: Remove PIDFILE option from ctdbd_wrapper man pageRalph Wuerthner2018-09-201-6/+0
| | | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13610 Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Wed Sep 12 21:50:57 CEST 2018 on sn-devel-144 (cherry picked from commit e52abc8a44de6791dceb6f43af1db472a3d9ec37)
* ctdb-doc: Switch tunable DisableIPFailover to a config optionMartin Schwenke2018-08-282-0/+2
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 78aad7623e100f05a7dfc142fba7ff2b0eba1913)
* ctdb-config: Switch tunable DisableIPFailover to a config optionMartin Schwenke2018-08-283-18/+29
| | | | | | | | | | Use the "failover:disabled" option instead. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 929634126a334e380f16c080b59d062873b4e5f9)
* ctdb-doc: Switch tunable TDBMutexEnabled to a config optionMartin Schwenke2018-08-282-1/+2
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit a9758f413d06b0d114f4e5a0e053bbc8956c60b7)
* ctdb-config: Switch tunable TDBMutexEnabled to a config optionMartin Schwenke2018-08-283-12/+17
| | | | | | | | | | Use the "database:tdb mutexes" option instead. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit f42486e8912eee45eb75d27b753bb74c3b37d80b)
* ctdb-doc: Add support for migrating tunables to ctdb.conf optionsMartin Schwenke2018-08-281-1/+44
| | | | | | | | | | This will become common, so will be useful to have support for. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 8ddfc26d79fda2fd0265f370a4c08dc584e6a6ac)
* ctdb-doc: Change option "no realtime" option to "realtime scheduling"Martin Schwenke2018-08-282-1/+3
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 43adcd717cee689c2d0386bd2aa2878006aa9217)
* ctdb-config: Change option "no realtime" option to "realtime scheduling"Martin Schwenke2018-08-281-3/+3
| | | | | | | | | | | | Negative options can be confusing, so switch to a positive option. This was supposed to be done months ago but was forgotten. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 17068e756b9e46f7a6c77d533ef1777173bb3795)
* ctdb-doc: Handle boolean options in config migration more carefullyMartin Schwenke2018-08-281-25/+31
| | | | | | | | | | | | Values for ctdb.conf options are now returned by get_ctdb_conf_option(). The main goal is to allow old boolean options to be replaced by new logically negated options. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 64d4a7ae5ac3aed2b1b9e7ab85c372e6900826ac)
* ctdb-doc: Make config migration script notice removed CTDB_BASE optionMartin Schwenke2018-08-282-0/+3
| | | | | | | | | | | This should never have been a user-level option, but some people used it. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit d4afb60a24b932a0b7a0c2f27526f41d0bf38fc2)
* ctdb-docs: Update documentation for "ctdb event" commandMartin Schwenke2018-07-311-47/+48
| | | | | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13551 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Sat Jul 28 20:03:52 CEST 2018 on sn-devel-144 (cherry picked from commit e3ce1a2dfc4cbba4bf22381b91e9a14c8f240f5d) Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-9-test): Tue Jul 31 15:27:32 CEST 2018 on sn-devel-144
* ctdb-doc: Provide an example script for migrating old configurationMartin Schwenke2018-07-312-0/+733
| | | | | | | | | | | | | | Include an example ctdbd.conf-style file for testing. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13550 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Mon Jul 30 14:30:06 CEST 2018 on sn-devel-144 (cherry picked from commit 4fcbaae57b129deaacfab0a226cefca99aa78256)
* ctdb-docs: Replace obsolete reference to CTDB_DEBUG_HUNG_SCRIPT optionMartin Schwenke2018-07-311-2/+3
| | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13546 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Sat Jul 28 07:26:24 CEST 2018 on sn-devel-144 (cherry picked from commit a44e6987b1e469ae202777cd575fd81c19e1ac6c)
* ctdb-scripts: Drop event script CTDB_MANAGED_<service> variablesMartin Schwenke2018-07-111-116/+0
| | | | | | | Enable required event scripts to manage services. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Mark NoIPHostOnAllDisabled tunable as obsoleteMartin Schwenke2018-07-112-18/+3
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Fix the documentation for VNN mapMartin Schwenke2018-07-021-4/+3
| | | | | | | | | | It is incorrectly says that nodes not in the VNN map can not be DMASTER. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13499 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Change directory for notifications to events/notificationMartin Schwenke2018-06-051-3/+4
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Update reference to lmaster/recmaster capability optionsMartin Schwenke2018-06-041-4/+6
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Mon Jun 4 12:37:39 CEST 2018 on sn-devel-144
* ctdb: Drop configuration file ctdbd.confMartin Schwenke2018-05-179-709/+0
| | | | | | | | | | | | | Drop function loadconfig(), replacing uses with "load_system_config ctdb". Drop translation of old-style configuration to new configuration file. Drop export of debugging variables. Drop documentation and configuration examples. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Thu May 17 07:03:04 CEST 2018 on sn-devel-144
* ctdb-docs: Add example configuration filesMartin Schwenke2018-05-174-2/+117
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Add ctdb.conf(5) cross references and documentation tweaksMartin Schwenke2018-05-176-23/+39
| | | | | | | Minor updates to other manual pages for compatibility. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Add ctdb.conf(5)Martin Schwenke2018-05-171-0/+593
| | | | | | | This documents the new Samba-style configuration file. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Drop most ctdbd command-line optionsMartin Schwenke2018-05-172-359/+10
| | | | | | | | All except -i/--interactive. This remaining popt option is now neatly wrapped to fit in 80 columns. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_MAX_PERSISTENT_CHECK_ERRORS optionMartin Schwenke2018-05-171-10/+0
| | | | | | | | | | This must harken back to the days of yore when corrupt persistent databases were an issue. We haven't seen this used. If CTDB fails to start due to a corrupt persistent database then this database can be removed by hand. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_SUPPRESS_COREFILE and CTDB_MAX_OPEN_FILES optionsMartin Schwenke2018-05-121-24/+0
| | | | | | | | | | These should be done using features provided by the operating system. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Sat May 12 09:13:28 CEST 2018 on sn-devel-144
* ctdb-docs: Document system options and resource controlsMartin Schwenke2018-05-124-73/+264
| | | | | | | | The existing configuration file is disappearing so these configuration options need a new home that is not handled by ctdbd_wrapper. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Document script.optionsMartin Schwenke2018-05-123-1044/+1211
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Don't check for CTDB_PARTIALLY_ONLINE_INTERFACES clashMartin Schwenke2018-05-121-32/+45
| | | | | | | | | Just document that NAT gateway and LVS are not compatible with this option. Update the documentation to make it clear that this is a 10.interface option. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* Fix spelling s/Everytime/Every time/Mathieu Parent2018-05-121-1/+1
| | | | | | Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* ctdb-scripts: Drop support for CTDB_DBDIR=tmpfsMartin Schwenke2018-05-011-11/+0
| | | | | | | | | CTDB has no business mounting filesystems. Instead, documentation for the new configuration system will include a recommendation that a tmpfs be mounted on the volatile database directory. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Change default volatile database directoryMartin Schwenke2018-05-012-2/+2
| | | | | | | | | | | | Volatile databases now have their own subdirectory. This makes things easier if we later recommend mounting a tmpfs on the volatile database directory, rather than supporting the current CTDB_DBDIR=tmpfs magic. No need to create database directories for local daemon tests. ctdbd will do that. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Move remaining test options to READMEMartin Schwenke2018-05-011-72/+0
| | | | | | | | Test options do not belong in the user documentation. Move them to the README file in the tests/ subdirectory. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Drop ctdbd --torture and --valgrinding optionsMartin Schwenke2018-05-011-35/+0
| | | | | | | | These haven't been used by anyone in a long time. --valgrinding is less use with CTDB_VALGRINDING now gone. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_VALGRIND testing optionMartin Schwenke2018-05-011-24/+0
| | | | | | | | This is too inflexible for general use. There is no use finding a new home for this in the new configuration scheme. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Drop ctdbd --sloppy-start and --nopublicipcheck optionsMartin Schwenke2018-05-011-23/+0
| | | | | | | CTDB_LOCAL_DAEMON_MODE=yes is used instead. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Drop ctdbd --notification-script command-line optionMartin Schwenke2018-05-011-20/+0
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_NOTIFY_SCRIPT configuration optionMartin Schwenke2018-05-012-21/+3
| | | | | | | | | | Notification scripts are installed into $CTDB_BASE/notify.d/ and are always run by notify.sh. Leave notify.sh where it is for now but no longer consider it a configuration file. This is an interim measure and will be changed again soon. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Provide a default location for the notification scriptMartin Schwenke2018-05-013-13/+17
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Move some configuration options out of the debug sectionMartin Schwenke2018-05-011-87/+110
| | | | | | | These aren't test options so improve their visibility. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Move some ctdbd options out of the debug sectionMartin Schwenke2018-05-011-52/+52
| | | | | | | | | | | 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 <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_RC_LOCAL testing hookMartin Schwenke2018-04-271-16/+0
| | | | | | | | | | This is not used. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Fri Apr 27 09:37:49 CEST 2018 on sn-devel-144
* ctdb-docs: Drop documentation for CTDB_SHUTDOWN_TIMEOUT optionMartin Schwenke2018-04-271-16/+0
| | | | | | | This was recently removed but the documentation was forgotten. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Drop stale reference to unused configuration fileMartin Schwenke2018-04-271-1/+0
| | | | | | | Recently removed but documentation change was forgotten. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Drop references to CTDB_BASE from the documentationMartin Schwenke2018-04-272-29/+3
| | | | | | | | CTDB_BASE should only ever be modified by test code. It should not be mentioned in the user documentation. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Tunables are now loaded from ctdb.tunablesMartin Schwenke2018-03-282-26/+27
| | | | | | | | | | | | Using CTDB_SET_TunableVariables in the main configuration file is no longer supported. The only subtlety is an unexpected order change in one of the unit test results. This is because the old implementation implicitly sorted the tunable variables via the set command. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-docs: Promote CTDB_INIT_STYLE to global options sectionMartin Schwenke2018-03-281-26/+29
| | | | | | | | Clarify that the global options should be set in the system configuration file. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-script: Drop CTDB_MANAGED_SERVICES configuration optionMartin Schwenke2018-03-281-25/+0
| | | | | | | This seems never to have caught on so reduce complexity. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-daemon: Drop ctdbd --nlist optionMartin Schwenke2018-03-191-18/+4
| | | | | | | Tests now deviate from the compile-time default by setting CTDB_BASE. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-scripts: Drop CTDB_NODES configuration optionMartin Schwenke2018-03-196-36/+19
| | | | | | | Tests now deviate from the compile-time default by setting CTDB_BASE. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* ctdb-tools: Drop onnode CTDB_NODES_FILE environment variableMartin Schwenke2018-03-191-22/+11
| | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>