# Node's in Elastic search cluster

**URL:** <https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709>\
**Category:** Elasticsearch\
**Created:** [September 20, 2013, 6:45pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709 "2013-09-20T18:45:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranav\_amin](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pranav\_amin](https://discuss.elastic.co/u/pranav_amin)\
**Post date:** [September 20, 2013, 6:45pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/1 "2013-09-20T18:45:36Z")

</div>

Hi all,

I had some questions on the Nodes in Elasticsearch Cluster -

1. Can i add extra nodes to an EXISTING cluster without restarting ANY OF  
the nodes in the cluster?  
If so, how can i do that.

2. Which settings & mapping of an indice, if i change it - i will need to  
restart the elasticsearch cluster?

3. Is there any way by which i don't set the UNICAST field in the  
elasticsearch.yml config file, so that the Nodes when they come up they  
automatically detect the CLUSTER and join it.  
SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts  
field.

Thanks

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![pranav\_amin](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pranav\_amin](https://discuss.elastic.co/u/pranav_amin)\
**Post date:** [September 20, 2013, 6:50pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/2 "2013-09-20T18:50:02Z")

</div>

On Friday, September 20, 2013 2:45:36 PM UTC-4, pranav amin wrote:

> Hi all,
> 
> I had some questions on the Nodes in Elasticsearch Cluster -
> 
> 1. Can i add extra nodes to an EXISTING cluster without restarting ANY OF  
> the nodes in the cluster?  
> If so, how can i do that.
> 
> 2. Which settings & mapping of an indice, if i change it - i will need to  
> restart the elasticsearch cluster?
> 
> 3. Is there any way by which i don't set the UNICAST field in the  
> elasticsearch.yml config file, so that the Nodes when they come up they  
> automatically detect the CLUSTER and join it.  
> SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts  
> field.

1. Can i just designate A PARTICULAR NODE TO ONLY contain REPLICA DATA? So  
it will not have ACTIVE SHARD DATA, BUT JUST REPLICA.

2. Can i FORCE my Reporting application to ALWAYS GO TO NODE CONTAINING  
REPLICA DATA AND NOT TO ACTIVE SHARD? does it offer any performance  
benefit if i do so?

> Thanks

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 20, 2013, 6:52pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/3 "2013-09-20T18:52:25Z")

</div>

> 1. Can i add extra nodes to an EXISTING cluster without restarting ANY OF the nodes in the cluster?  
> If so, how can i do that.  
> YES  
> bin/elasticseach will start a new node

> 1. Which settings & mapping of an indice, if i change it - i will need to restart the elasticsearch cluster?

You don't have to stop a cluster when adding/deleting/modifying an index or a mapping.  
Some index settings can not be changed on an existing index, even with stopping the cluster.

> 1. Is there any way by which i don't set the UNICAST field in the elasticsearch.yml config file, so that the Nodes when they come up they automatically detect the CLUSTER and join it.  
> SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts field.  
> Use defaults: multicast.

HTH  
David

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 20, 2013, 6:56pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/4 "2013-09-20T18:56:41Z")

</div>

> 1. Can i just designate A PARTICULAR NODE TO ONLY contain REPLICA DATA? So it will not have ACTIVE SHARD DATA, BUT JUST REPLICA.
> 2. Can i FORCE my Reporting application to ALWAYS GO TO NODE CONTAINING REPLICA DATA AND NOT TO ACTIVE SHARD? does it offer any performance benefit if i do so?

Why do you want to do that? I don't see any benefit.  
You have to know that elasticsearch by default will act as a load balancer to distribute the load on shards (primaries and replicas).

So basically, you don't have to worry about that.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![pranav\_amin](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pranav\_amin](https://discuss.elastic.co/u/pranav_amin)\
**Post date:** [September 20, 2013, 7:49pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/5 "2013-09-20T19:49:35Z")

</div>

thanks for the quick turn around.

For the 1st, if i bring up a node with the same cluster name would it be  
detected automatically and join the cluster? are there any settings i need  
to do.  
I used to set the Unicast field in config file, but i was just limited to  
the IP address of nodes i know. In case there is a New Node, i will need to  
modify this field to make sure it now knows about the New node. Then i will  
need to restart it.

Is there any other way, where automatically it is detected without any  
config changes?

Thanks

On Friday, September 20, 2013 2:52:25 PM UTC-4, David Pilato wrote:

> > 1. Can i add extra nodes to an EXISTING cluster without restarting ANY  
> > OF the nodes in the cluster?  
> > If so, how can i do that.  
> > YES  
> > bin/elasticseach will start a new node
> 
> > 1. Which settings & mapping of an indice, if i change it - i will need  
> > to restart the elasticsearch cluster?
> 
> You don't have to stop a cluster when adding/deleting/modifying an index  
> or a mapping.  
> Some index settings can not be changed on an existing index, even with  
> stopping the cluster.
> 
> > 1. Is there any way by which i don't set the UNICAST field in the  
> > elasticsearch.yml config file, so that the Nodes when they come up they  
> > automatically detect the CLUSTER and join it.  
> > SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts  
> > field.  
> > Use defaults: multicast.
> 
> HTH  
> David

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 20, 2013, 8:57pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/6 "2013-09-20T20:57:49Z")

</div>

Yes. I said: use default setti

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 sept. 2013 à 21:49, pranav amin [parulpatel25@gmail.com](mailto:parulpatel25@gmail.com) a écrit :

> thanks for the quick turn around.
> 
> For the 1st, if i bring up a node with the same cluster name would it be detected automatically and join the cluster? are there any settings i need to do.  
> I used to set the Unicast field in config file, but i was just limited to the IP address of nodes i know. In case there is a New Node, i will need to modify this field to make sure it now knows about the New node. Then i will need to restart it.
> 
> Is there any other way, where automatically it is detected without any config changes?
> 
> Thanks
> 
> On Friday, September 20, 2013 2:52:25 PM UTC-4, David Pilato wrote:
> 
> > > 1. Can i add extra nodes to an EXISTING cluster without restarting ANY OF the nodes in the cluster?  
> > > If so, how can i do that.  
> > > YES  
> > > bin/elasticseach will start a new node
> > 
> > > 1. Which settings & mapping of an indice, if i change it - i will need to restart the elasticsearch cluster?
> > 
> > You don't have to stop a cluster when adding/deleting/modifying an index or a mapping.  
> > Some index settings can not be changed on an existing index, even with stopping the cluster.
> > 
> > > 1. Is there any way by which i don't set the UNICAST field in the elasticsearch.yml config file, so that the Nodes when they come up they automatically detect the CLUSTER and join it.  
> > > SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts field.  
> > > Use defaults: multicast.
> > 
> > HTH  
> > David
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 20, 2013, 9:00pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/7 "2013-09-20T21:00:10Z")

</div>

I said: use default settings. That means: don't disable multicast.  
If you disable multicast, just add a node which have other nodes in the unicast node list.

It will "declare" itself to the cluster.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 sept. 2013 à 21:49, pranav amin [parulpatel25@gmail.com](mailto:parulpatel25@gmail.com) a écrit :

> thanks for the quick turn around.
> 
> For the 1st, if i bring up a node with the same cluster name would it be detected automatically and join the cluster? are there any settings i need to do.  
> I used to set the Unicast field in config file, but i was just limited to the IP address of nodes i know. In case there is a New Node, i will need to modify this field to make sure it now knows about the New node. Then i will need to restart it.
> 
> Is there any other way, where automatically it is detected without any config changes?
> 
> Thanks
> 
> On Friday, September 20, 2013 2:52:25 PM UTC-4, David Pilato wrote:
> 
> > > 1. Can i add extra nodes to an EXISTING cluster without restarting ANY OF the nodes in the cluster?  
> > > If so, how can i do that.  
> > > YES  
> > > bin/elasticseach will start a new node
> > 
> > > 1. Which settings & mapping of an indice, if i change it - i will need to restart the elasticsearch cluster?
> > 
> > You don't have to stop a cluster when adding/deleting/modifying an index or a mapping.  
> > Some index settings can not be changed on an existing index, even with stopping the cluster.
> > 
> > > 1. Is there any way by which i don't set the UNICAST field in the elasticsearch.yml config file, so that the Nodes when they come up they automatically detect the CLUSTER and join it.  
> > > SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts field.  
> > > Use defaults: multicast.
> > 
> > HTH  
> > David
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![pranav\_amin](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pranav\_amin](https://discuss.elastic.co/u/pranav_amin)\
**Post date:** [September 20, 2013, 9:08pm UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/8 "2013-09-20T21:08:10Z")

</div>

thanks a lot.

On Friday, September 20, 2013 5:00:10 PM UTC-4, David Pilato wrote:

> I said: use default settings. That means: don't disable multicast.  
> If you disable multicast, just add a node which have other nodes in the  
> unicast node list.
> 
> It will "declare" itself to the cluster.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 20 sept. 2013 à 21:49, pranav amin \<[parulp...@gmail.com](mailto:parulp...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> thanks for the quick turn around.
> 
> For the 1st, if i bring up a node with the same cluster name would it be  
> detected automatically and join the cluster? are there any settings i need  
> to do.  
> I used to set the Unicast field in config file, but i was just limited to  
> the IP address of nodes i know. In case there is a New Node, i will need to  
> modify this field to make sure it now knows about the New node. Then i will  
> need to restart it.
> 
> Is there any other way, where automatically it is detected without any  
> config changes?
> 
> Thanks
> 
> On Friday, September 20, 2013 2:52:25 PM UTC-4, David Pilato wrote:
> 
> > > 1. Can i add extra nodes to an EXISTING cluster without restarting ANY  
> > > OF the nodes in the cluster?  
> > > If so, how can i do that.  
> > > YES  
> > > bin/elasticseach will start a new node
> > 
> > > 1. Which settings & mapping of an indice, if i change it - i will need  
> > > to restart the elasticsearch cluster?
> > 
> > You don't have to stop a cluster when adding/deleting/modifying an index  
> > or a mapping.  
> > Some index settings can not be changed on an existing index, even with  
> > stopping the cluster.
> > 
> > > 1. Is there any way by which i don't set the UNICAST field in the  
> > > elasticsearch.yml config file, so that the Nodes when they come up they  
> > > automatically detect the CLUSTER and join it.  
> > > SINCE I DON'T WANT TO SET the UNICAST discovery.zen.ping.unicast.hosts  
> > > field.  
> > > Use defaults: multicast.
> > 
> > HTH  
> > David
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:15am UTC](https://discuss.elastic.co/t/nodes-in-elastic-search-cluster/13709/9 "2017-07-06T02:15:17Z")

</div>


