Hi Bailey,
On Mon, 13 Oct 2025 17:58:07 -0300, Bailey Allison via samba
<samba at lists.samba.org> wrote:
> Anyone have experience using the node address = value in ctdb.conf?
> Running into the exact issue specified in the docs:
>
> node address = IPADDR
>
> ??? IPADDR is the private IP address that ctdbd will bind to.
>
> ??? This option is only required when automatic address detection can
> not be used. This can be the case when running multiple ctdbd
> daemons/nodes on the same physical host (usually for testing) or using
> InfiniBand for the private network. Another unlikely possibility would
> be running on a platform with a feature like Linux's
> net.ipv4.ip_nonlocal_bind=1 enabled and no usable getifaddrs(3)
> implementation (or replacement) available.
>
> ??? Default: CTDB selects the first address from the nodes list that it
> can bind to. See also the PRIVATE ADDRESS section in ctdb(7).
>
> Specifically the section about net.ipv4_nonlocal=bind=1.
>
> When trying to use the node address = IPADDR conf though, it appears
> nothing is changing. It seems from logs that it isn't even using the
> value, and for testing I tried renaming to a garbage value (node garbage
> = IPADDR) instead of the proper one, and no difference in the logs.
>
> Is it possible the parameter has a different value than specified in the
> docs? Also checked man page on system it's installed on and seeing the
> same value for it.
>
> I know the cause of this issue is resolved in 4.22.x samba, but looking
> to see if it can also be solved without an upgrade.
This feature is regularly used in CTDB's "local daemons" test
environment, where we run multiple daemons on a single machine.
One very basic question: Are you setting "node address" in the
[cluster]
section of ctdb.conf? For historical reasons, the configuration
handling doesn't warn about misplaced (or unknown) options.
If this can't be explained by being in an incorrect section, can you
please share an example of a ctdb.conf file that isn't working as
expected?
Thanks...
peace & happiness,
martin