delete and readd of the same ip address to ctdb nodes file

Steve French smfrench at
Mon Jul 18 21:42:57 UTC 2016

On Mon, Jul 18, 2016 at 4:16 PM, Martin Schwenke <martin at> wrote:
> Hi Steve,
> On Mon, 18 Jul 2016 16:06:00 -0500, Steve French <smfrench at>
> wrote:
>> In it describes the
>> process for removing (and also adding) nodes, but it is not clear what
>> is optimal way to delete a node and then readd a node with the same ip
>> address.   In three node cluster, thus with three line /etc/ctdb/nodes
>> file, if you delete one you still have a three line /etc/ctdb/nodes
>> file (but one entry is now commented out in each), but what happens if
>> you readd a node with the same ip address as the one commented out?
>> Is it possible to uncomment the line in /etc/ctdb/nodes and reload the
>> nodes file?
> Yes, that's exactly the right thing to do.
> The comment syntax really only serves to maintain the correct
> association between IP addresses and node numbers (or PNNs) (via 0-based
> line number, to keep it interesting).  So the comment puts a gap in the
> PNN sequence.

Makes sense - thx



More information about the samba-technical mailing list