Bug 8125 - Removal of a node forces a commented line in the nodes file
Removal of a node forces a commented line in the nodes file
Status: RESOLVED WONTFIX
Product: CTDB 2.5.x or older
Classification: Unclassified
Component: ctdb
unspecified
All All
: P5 minor
: ---
Assigned To: Michael Adam
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-09 15:25 UTC by Luk Claes
Modified: 2016-08-10 08:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luk Claes 2011-05-09 15:25:36 UTC
When removing a node from a cluster, the procedure is to comment out the node entry in the nodes file on all the remaining nodes in the cluster. There does not seem to be a procedure to actually remove the entry from the node except for shutting down ctdb on all the nodes that have a higher number than the one shut down and rename the tdb files manually before restarting ctdb.
Comment 1 Martin Schwenke 2016-08-10 08:39:29 UTC
This is working as designed.  The node numbers (PNNs) are core to CTDB's operation and can't be changed at run-time.

Commenting out a node in the nodes file marks the node in that slot as deleted and works just fine in combination with "ctdb reloadnodes".

In the future we could consider a richer syntax for the nodes file where the PNNs are specified along with their address, but this isn't a high priority.