-
Notifications
You must be signed in to change notification settings - Fork 113
Dynamic membership change
Filipp Ozinov edited this page Jul 24, 2016
·
3 revisions
Dynamic membership change allows you to add or remove nodes from your cluster without cluster restart. You need to enable dynamicMembershipChange
config option to use this feature.
- call
_addNodeToCluster
with new node argument on one of the existing nodes - ensure that node was added - wait for callback or call
_printStatus
- launch new node with correct (new one) initial
otherNodesAddrs
- stop node that you want to remove
- call
_removeNodeFromCluster
with node that you want to remove as argument, on one of the online nodes - ensure that node was removed - wait for callback or call
_printStatus
If you want to add or remove several nodes, you should do it one by one.