# Is there any way to add a new elasticsearch node using REST API?

**URL:** <https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929>\
**Category:** Elasticsearch\
**Created:** [December 4, 2012, 10:14am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929 "2012-12-04T10:14:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashraf\_Sarhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashraf_sarhan/32/2360_2.png) [@Ashraf\_Sarhan](https://discuss.elastic.co/u/Ashraf_Sarhan)\
**Post date:** [December 4, 2012, 10:14am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/1 "2012-12-04T10:14:42Z")

</div>

I'm working on a project which utilize the elasticsearch REST API. So far,  
it's so nice but i'm trying to add a new node using REST API but i  
couldn't. My question is "_Is there any way to add a new elasticsearch node  
using REST API?_"

--

---

<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:** [December 4, 2012, 10:34am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/2 "2012-12-04T10:34:27Z")

</div>

What do you mean by "add a new node"? If you mean "start a new node", I'm afraid  
you can't as elasticsearch is not really a Node Manager.  
If you mean "add a running node to an existing cluster", it's automatic if you  
use the same cluster name (and if multicast is not disabled).

Did I answer?

Le 4 décembre 2012 à 11:14, Ashraf Sarhan [ashraf.sarhan@silicon-nile.com](mailto:ashraf.sarhan@silicon-nile.com) a  
écrit :

> I'm working on a project which utilize the elasticsearch REST API. So far,  
> it's so nice but i'm trying to add a new node using REST API but i couldn't.  
> My question is " Is there any way to add a new elasticsearch node using REST  
> API?"
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<div class="post-metadata">

**Author:** ![Ashraf\_Sarhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashraf_sarhan/32/2360_2.png) [@Ashraf\_Sarhan](https://discuss.elastic.co/u/Ashraf_Sarhan)\
**Post date:** [December 4, 2012, 10:59am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/3 "2012-12-04T10:59:08Z")

</div>

Firstly, i would like to thank you for your quick answer. I know that the  
elasticsearch is not a node manager. actually, my project is a bout making  
an admin web console to manage and monitor the Elasticsearch nodes. so, i  
mean that i want to add a new node (NOT EXIST) to my cluster. So, Is there  
is any way to do that ??

On Tuesday, December 4, 2012 12:14:42 PM UTC+2, Ashraf Sarhan wrote:

> I'm working on a project which utilize the elasticsearch REST API. So far,  
> it's so nice but i'm trying to add a new node using REST API but i  
> couldn't. My question is "_Is there any way to add a new elasticsearch  
> node using REST API?_"

--

---

<div class="post-metadata">

**Author:** ![Ashraf\_Sarhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashraf_sarhan/32/2360_2.png) [@Ashraf\_Sarhan](https://discuss.elastic.co/u/Ashraf_Sarhan)\
**Post date:** [December 4, 2012, 11:00am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/4 "2012-12-04T11:00:29Z")

</div>

Firstly, i would like to thank you for your quick answer. I know that the  
elasticsearch is not a node manager. actually, my project is a bout making  
an admin web console to manage and monitor the Elasticsearch nodes. so, i  
mean that i want to add a new node (NOT EXIST) to my cluster. So, Is there  
is any way to do that ??

On Tuesday, December 4, 2012 12:34:27 PM UTC+2, David Pilato wrote:

> What do you mean by "add a new node"? If you mean "start a new node",  
> I'm afraid you can't as elasticsearch is not really a Node Manager.  
> If you mean "add a running node to an existing cluster", it's automatic  
> if you use the same cluster name (and if multicast is not disabled).
> 
> Did I answer?
> 
> Le 4 décembre 2012 à 11:14, Ashraf Sarhan \<[ashraf...@silicon-nile.com](mailto:ashraf...@silicon-nile.com)\<javascript:\>\>  
> a écrit :
> 
> I'm working on a project which utilize the elasticsearch REST API. So far,  
> it's so nice but i'm trying to add a new node using REST API but i  
> couldn't. My question is " _Is there any way to add a new elasticsearch  
> node using REST API?_"
> 
> --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<div class="post-metadata">

**Author:** ![Ashraf\_Sarhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashraf_sarhan/32/2360_2.png) [@Ashraf\_Sarhan](https://discuss.elastic.co/u/Ashraf_Sarhan)\
**Post date:** [December 4, 2012, 11:03am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/5 "2012-12-04T11:03:43Z")

</div>

Firstly, i would like to thank you for your quick answer. I know that the  
elasticsearch is not a node manager. actually, my project is a bout making  
an admin web console to manage and monitor the Elasticsearch nodes. so, i  
mean that i want to add a new node (NOT EXIST) to my cluster. So, Is there  
is any way to do that ??

On Tuesday, December 4, 2012 12:34:27 PM UTC+2, David Pilato wrote:

> What do you mean by "add a new node"? If you mean "start a new node",  
> I'm afraid you can't as elasticsearch is not really a Node Manager.  
> If you mean "add a running node to an existing cluster", it's automatic  
> if you use the same cluster name (and if multicast is not disabled).
> 
> Did I answer?
> 
> Le 4 décembre 2012 à 11:14, Ashraf Sarhan \<[ashraf...@silicon-nile.com](mailto:ashraf...@silicon-nile.com)\<javascript:\>\>  
> a écrit :
> 
> I'm working on a project which utilize the elasticsearch REST API. So far,  
> it's so nice but i'm trying to add a new node using REST API but i  
> couldn't. My question is " _Is there any way to add a new elasticsearch  
> node using REST API?_"
> 
> --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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:** [December 4, 2012, 11:20am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/6 "2012-12-04T11:20:07Z")

</div>

No. You have probably to do it yourself.  
But, if you don't want to reinvent the wheel, you should have a look at  
puppet/chef integrations:

- [GitHub - visibiz/puppet-elasticsearch: Elasticsearch Puppet Module](https://github.com/visibiz/puppet-elasticsearch)
- [http://community.opscode.com/cookbooks/elasticsearch](http://community.opscode.com/cookbooks/elasticsearch)
- [GitHub - karmi/cookbook-elasticsearch: https://github.com/elasticsearch/cookbook-elasticsearch](https://github.com/karmi/cookbook-elasticsearch)  
On my side, I'm going to start a Rudder ([http://www.rudder-project.org](http://www.rudder-project.org))  
integration in the next months.

Note sure I helped you here :-/

Cheers  
David

Le 4 décembre 2012 à 11:59, Ashraf Sarhan [ashraf.sarhan@silicon-nile.com](mailto:ashraf.sarhan@silicon-nile.com) a  
écrit :

> Firstly, i would like to thank you for your quick answer. I know that the  
> elasticsearch is not a node manager. actually, my project is a bout making an  
> admin web console to manage and monitor the Elasticsearch nodes. so, i mean  
> that i want to add a new node (NOT EXIST) to my cluster. So, Is there is any  
> way to do that ??
> 
> On Tuesday, December 4, 2012 12:14:42 PM UTC+2, Ashraf Sarhan wrote:
> 
> > > I'm working on a project which utilize the elasticsearch REST API. So  
> > > far, it's so nice but i'm trying to add a new node using REST API but i  
> > > couldn't. My question is " Is there any way to add a new elasticsearch  
> > > node using REST API?"
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<div class="post-metadata">

**Author:** ![Ashraf\_Sarhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashraf_sarhan/32/2360_2.png) [@Ashraf\_Sarhan](https://discuss.elastic.co/u/Ashraf_Sarhan)\
**Post date:** [December 4, 2012, 11:52am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/7 "2012-12-04T11:52:41Z")

</div>

Thanks, David  
you mean that the elasticsearch REST API does not offer to add a new node.  
for sure those projects are good but i'm developing my app using java. I  
think that it will be more convenient to make own app to avoid the  
integration.  
Really, your project (rudder [http://www.rudder-project.org/](http://www.rudder-project.org/)) will be  
great 🙂

On Tuesday, December 4, 2012 1:20:07 PM UTC+2, David Pilato wrote:

> No. You have probably to do it yourself.  
> But, if you don't want to reinvent the wheel, you should have a look at  
> puppet/chef integrations:
> 
> - [GitHub - visibiz/puppet-elasticsearch: Elasticsearch Puppet Module](https://github.com/visibiz/puppet-elasticsearch)
> - [http://community.opscode.com/cookbooks/elasticsearch](http://community.opscode.com/cookbooks/elasticsearch)
> - [GitHub - karmi/cookbook-elasticsearch: https://github.com/elasticsearch/cookbook-elasticsearch](https://github.com/karmi/cookbook-elasticsearch)
> 
> On my side, I'm going to start a Rudder ([http://www.rudder-project.org](http://www.rudder-project.org))  
> integration in the next months.
> 
> Note sure I helped you here :-/
> 
> Cheers  
> David
> 
> Le 4 décembre 2012 à 11:59, Ashraf Sarhan \<[ashraf...@silicon-nile.com](mailto:ashraf...@silicon-nile.com)\<javascript:\>\>  
> a écrit :
> 
> Firstly, i would like to thank you for your quick answer. I know that the  
> elasticsearch is not a node manager. actually, my project is a bout making  
> an admin web console to manage and monitor the Elasticsearch nodes. so, i  
> mean that i want to add a new node (NOT EXIST) to my cluster. So, Is there  
> is any way to do that ??
> 
> On Tuesday, December 4, 2012 12:14:42 PM UTC+2, Ashraf Sarhan wrote:
> 
> I'm working on a project which utilize the elasticsearch REST API. So far,  
> it's so nice but i'm trying to add a new node using REST API but i  
> couldn't. My question is " _Is there any way to add a new elasticsearch  
> node using REST API?_"
> 
> --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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:** [December 4, 2012, 1:02pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/8 "2012-12-04T13:02:44Z")

</div>

Just a note: rudder is not my project. I was only talking about adding Elasticsearch in Rudder.

But, yes, Rudder is, IMHO a cool project! 😉

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

Le 4 déc. 2012 à 12:52, Ashraf Sarhan [ashraf.sarhan@silicon-nile.com](mailto:ashraf.sarhan@silicon-nile.com) a écrit :

> Thanks, David  
> you mean that the elasticsearch REST API does not offer to add a new node. for sure those projects are good but i'm developing my app using java. I think that it will be more convenient to make own app to avoid the integration.  
> Really, your project (rudder) will be great 🙂
> 
> On Tuesday, December 4, 2012 1:20:07 PM UTC+2, David Pilato wrote:  
> No. You have probably to do it yourself.  
> But, if you don't want to reinvent the wheel, you should have a look at puppet/chef integrations:  
> [GitHub - visibiz/puppet-elasticsearch: Elasticsearch Puppet Module](https://github.com/visibiz/puppet-elasticsearch)  
> [http://community.opscode.com/cookbooks/elasticsearch](http://community.opscode.com/cookbooks/elasticsearch)  
> [GitHub - karmi/cookbook-elasticsearch: https://github.com/elasticsearch/cookbook-elasticsearch](https://github.com/karmi/cookbook-elasticsearch)  
> On my side, I'm going to start a Rudder ([http://www.rudder-project.org](http://www.rudder-project.org)) integration in the next months.
> 
> Note sure I helped you here :-/
> 
> Cheers  
> David
> 
> Le 4 décembre 2012 à 11:59, Ashraf Sarhan [ashraf...@silicon-nile.com](mailto:ashraf...@silicon-nile.com) a écrit :
> 
> > Firstly, i would like to thank you for your quick answer. I know that the elasticsearch is not a node manager. actually, my project is a bout making an admin web console to manage and monitor the Elasticsearch nodes. so, i mean that i want to add a new node (NOT EXIST) to my cluster. So, Is there is any way to do that ??
> > 
> > On Tuesday, December 4, 2012 12:14:42 PM UTC+2, Ashraf Sarhan wrote:  
> > I'm working on a project which utilize the elasticsearch REST API. So far, it's so nice but i'm trying to add a new node using REST API but i couldn't. My question is " Is there any way to add a new elasticsearch node using REST API?"
> > 
> > --
> 
> ## -- David Pilato [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/) [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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:01am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-a-new-elasticsearch-node-using-rest-api/9929/9 "2017-07-06T03:01:38Z")

</div>


