[PATCH] ctdb-doc: Provide an example script for migrating old configuration (bug 13550)

Amitay Isaacs amitay at gmail.com
Sat Jul 28 15:20:44 UTC 2018


On Sat, Jul 28, 2018 at 5:11 PM, Martin Schwenke via samba-technical
<samba-technical at lists.samba.org> wrote:
> Include an example ctdbd.conf-style file for testing.
>
> CTDB in Samba 4.9 has a new style of configuration.  This can help
> users migrate their configuration to the new style.  This is an example,
> so is in doc/examples/.  Distros might decide to use a variation of it.

The check for CTDB_NODES (and CTDB_PUBLIC_ADDRESSES) is not correct.
The check for those should confirm that the variables are pointing to
"standard" files in /etc/ctdb.  Right now the script compares the path
to a directory where the files are put.  I would expect people to run
this with "-d tmp_config" rather than "-d /etc/ctdb".

Amitay.



More information about the samba-technical mailing list