# Adding new nodes

**URL:** <https://discuss.elastic.co/t/adding-new-nodes/5155>\
**Category:** Elasticsearch\
**Created:** [August 13, 2011, 8:02pm UTC](https://discuss.elastic.co/t/adding-new-nodes/5155 "2011-08-13T20:02:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![optimusprime](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@optimusprime](https://discuss.elastic.co/u/optimusprime)\
**Post date:** [August 13, 2011, 8:02pm UTC](https://discuss.elastic.co/t/adding-new-nodes/5155/1 "2011-08-13T20:02:10Z")

</div>

I'm not entirely sure how discovery in ES works. Are there resources out there that detail it? How can I dynamically add a new node (on a different physical machine) to an existing cluster. I tried looking at some previous posts in this forum. I get the idea that one's supposed to list nodes in the config file and they discover each other. But that doesn't quite explain dynamic addition of nodes and load balancing.

On the same lines, is the master elected or configured? Does the master use more resources than data nodes? Because in the latter case, I would like to have a machine with more physical resources be the master.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 16, 2011, 11:08am UTC](https://discuss.elastic.co/t/adding-new-nodes/5155/2 "2011-08-16T11:08:47Z")

</div>

On Sat, Aug 13, 2011 at 11:02 PM, optimusprime [usmasood@gmail.com](mailto:usmasood@gmail.com) wrote:

> I'm not entirely sure how discovery in ES works. Are there resources out  
> there that detail it? How can I dynamically add a new node (on a different  
> physical machine) to an existing cluster. I tried looking at some previous  
> posts in this forum. I get the idea that one's supposed to list nodes in  
> the  
> config file and they discover each other. But that doesn't quite explain  
> dynamic addition of nodes and load balancing.

Discovery is explained here:  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/modules/discovery/).

> On the same lines, is the master elected or configured? Does the master use  
> more resources than data nodes? Because in the latter case, I would like to  
> have a machine with more physical resources be the master.

Master is automatically elected, but it does not require more resources. You  
can control which nodes will can become master nodes though.

> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![optimusprime](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@optimusprime](https://discuss.elastic.co/u/optimusprime)\
**Post date:** [August 16, 2011, 12:36pm UTC](https://discuss.elastic.co/t/adding-new-nodes/5155/3 "2011-08-16T12:36:07Z")

</div>

So if I understand Zen unicast discovery right, we have elasticsearch  
running on a set of nodes with fixed IPs (gossip routers). Any new node  
talks to these nodes first to "register" itself as part of the cluster.  
Client nodes can obtain the master node (or data nodes) from the cluster by  
talking to one of these routers. Needless to say at least one of the gossip  
routers must be up at all times, otherwise discovery fails. Can we  
dynamically add more gossip routers or would that require us to shutdown the  
node, update its config file and restart it?

Usman

On Tue, Aug 16, 2011 at 4:09 AM, kimchy [via Elasticsearch Users] \<  
[ml-node+3258336-1762007821-421811@n3.nabble.com](mailto:ml-node+3258336-1762007821-421811@n3.nabble.com)\> wrote:

> On Sat, Aug 13, 2011 at 11:02 PM, optimusprime \<[hidden email][http://user/SendEmail.jtp?type=node&node=3258336&i=0](http://user/SendEmail.jtp?type=node&node=3258336&i=0)
> 
> > wrote:
> 
> > I'm not entirely sure how discovery in ES works. Are there resources out  
> > there that detail it? How can I dynamically add a new node (on a different  
> > physical machine) to an existing cluster. I tried looking at some previous  
> > posts in this forum. I get the idea that one's supposed to list nodes in  
> > the  
> > config file and they discover each other. But that doesn't quite explain  
> > dynamic addition of nodes and load balancing.
> 
> Discovery is explained here:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/modules/discovery/).
> 
> > On the same lines, is the master elected or configured? Does the master  
> > use  
> > more resources than data nodes? Because in the latter case, I would like  
> > to  
> > have a machine with more physical resources be the master.
> 
> Master is automatically elected, but it does not require more resources.  
> You can control which nodes will can become master nodes though.
> 
> > --
> > 
> > View this message in context:  
> > [http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> * * *
> 
> If you reply to this email, your message will be added to the discussion  
> below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258336.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258336.html)  
> To unsubscribe from Adding new nodes, click here[http://elasticsearch-users.115913.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe\_by\_code&node=3252115&code=dXNtYXNvb2RAZ21haWwuY29tfDMyNTIxMTV8LTE2MzM1MTU2MDg=](http://elasticsearch-users.115913.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3252115&code=dXNtYXNvb2RAZ21haWwuY29tfDMyNTIxMTV8LTE2MzM1MTU2MDg=).

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 19, 2011, 4:33am UTC](https://discuss.elastic.co/t/adding-new-nodes/5155/4 "2011-08-19T04:33:40Z")

</div>

Currently, you have to bring down a node in order to update its list of  
"seed" IPs. Though you can add new machines to new nodes you bring into the  
cluster.

On Tue, Aug 16, 2011 at 3:36 PM, optimusprime [usmasood@gmail.com](mailto:usmasood@gmail.com) wrote:

> So if I understand Zen unicast discovery right, we have elasticsearch  
> running on a set of nodes with fixed IPs (gossip routers). Any new node  
> talks to these nodes first to "register" itself as part of the cluster.  
> Client nodes can obtain the master node (or data nodes) from the cluster by  
> talking to one of these routers. Needless to say at least one of the gossip  
> routers must be up at all times, otherwise discovery fails. Can we  
> dynamically add more gossip routers or would that require us to shutdown the  
> node, update its config file and restart it?
> 
> Usman
> 
> On Tue, Aug 16, 2011 at 4:09 AM, kimchy [via Elasticsearch Users] \<[hidden  
> email] [http://user/SendEmail.jtp?type=node&node=3258502&i=0](http://user/SendEmail.jtp?type=node&node=3258502&i=0)\> wrote:
> 
> > On Sat, Aug 13, 2011 at 11:02 PM, optimusprime \<[hidden email][http://user/SendEmail.jtp?type=node&node=3258336&i=0](http://user/SendEmail.jtp?type=node&node=3258336&i=0)
> > 
> > > wrote:
> > 
> > > I'm not entirely sure how discovery in ES works. Are there resources out  
> > > there that detail it? How can I dynamically add a new node (on a  
> > > different  
> > > physical machine) to an existing cluster. I tried looking at some  
> > > previous  
> > > posts in this forum. I get the idea that one's supposed to list nodes in  
> > > the  
> > > config file and they discover each other. But that doesn't quite explain  
> > > dynamic addition of nodes and load balancing.
> > 
> > Discovery is explained here:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/modules/discovery/).
> > 
> > > On the same lines, is the master elected or configured? Does the master  
> > > use  
> > > more resources than data nodes? Because in the latter case, I would like  
> > > to  
> > > have a machine with more physical resources be the master.
> > 
> > Master is automatically elected, but it does not require more resources.  
> > You can control which nodes will can become master nodes though.
> > 
> > > --
> > > 
> > > View this message in context:  
> > > [http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3252115.html)  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the discussion  
> > below:
> > 
> > [http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258336.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258336.html)  
> > To unsubscribe from Adding new nodes, click here.
> 
> * * *
> 
> View this message in context: Re: Adding new nodes[http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258502.html](http://elasticsearch-users.115913.n3.nabble.com/Adding-new-nodes-tp3252115p3258502.html)
> 
> Sent from the Elasticsearch Users mailing list archive[http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/)at [Nabble.com](http://Nabble.com).

---

<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, 3:56am UTC](https://discuss.elastic.co/t/adding-new-nodes/5155/5 "2017-07-06T03:56:37Z")

</div>


