Join/un-join a Node from a cluster at runtime without restart


(Srividhya Umashanker) #1

On the federation topic, in my case, any node can join/leave cluster.

Is there a way to achieve this without a restart. node.local=true in
elasticsearchy.yml may need a restart.

case 1: New node (already running) can join a cluster

case 2: existing node in a cluster may want to leave and run indendently

From what i understand -

case1 : needs the same cluster.name in the node, which adds it to the
cluster
case2: May need a restart

  • node.local: true in yml file, may get it out of the network.
  • or give a new local name as the "cluster.name"

has anyone encountered this? I may want to achieve this runtime using
settings, without restarting the node.

Pleae help

-Vidhya

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b22c30d3-c106-41fe-83da-54426364ea4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2