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

Steve French smfrench at gmail.com
Mon Jul 18 21:06:00 UTC 2016


In https://ctdb.samba.org/manpages/ctdb.1.html 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?

I am thinking that eventually if you can't 'reuse' a commented out
line in /etc/ctdb/nodes the file could get quite big eventually (if
nodes are added/deleted frequently as some of our testers testcases
were done to exercise the code).

-- 
Thanks,

Steve



More information about the samba-technical mailing list