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

**URL:** <https://discuss.elastic.co/t/join-un-join-a-node-from-a-cluster-at-runtime-without-restart/17217>\
**Category:** Elasticsearch\
**Created:** [April 26, 2014, 6:19pm UTC](https://discuss.elastic.co/t/join-un-join-a-node-from-a-cluster-at-runtime-without-restart/17217 "2014-04-26T18:19:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srividhya\_Umashanker](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Srividhya\_Umashanker](https://discuss.elastic.co/u/Srividhya_Umashanker)\
**Post date:** [April 26, 2014, 6:19pm UTC](https://discuss.elastic.co/t/join-un-join-a-node-from-a-cluster-at-runtime-without-restart/17217/1 "2014-04-26T18:19:44Z")

</div>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/b22c30d3-c106-41fe-83da-54426364ea4c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:33am UTC](https://discuss.elastic.co/t/join-un-join-a-node-from-a-cluster-at-runtime-without-restart/17217/2 "2017-07-06T01:33:15Z")

</div>


