[PATCH] Add config file handling to CTDB (finally!)

Amitay Isaacs amitay at gmail.com
Sat May 12 04:31:07 UTC 2018


Hi,

Here is a patch set that adds config file handling to CTDB.  The conf
api allows to define configuration options and validation functions
for each component.  This also adds a configuration validation tool.

The idea is to centralize all CTDB configuration. The config file will
follow the samba config file format.  This will allow us to get rid of
the adhoc configuration file handling via ctdbd_wrapper for main ctdbd
and event scripts.

Other things in the patch set are:

- abstraction to handle command-line options and commands/arguments for tools
- abstraction for all the paths (also handles them for testing)

All the testing now will be based on CTDB_TEST_MODE and the paths will
be based on CTDB_BASE.

Please review and push.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 133066 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180512/d1fcd14b/ctdb-0001.bin>


More information about the samba-technical mailing list