# Does anyone have 2 or more instances running Elastic Search on the same machine?

**URL:** <https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109>\
**Category:** Elasticsearch\
**Created:** [April 21, 2014, 9:30am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109 "2014-04-21T09:30:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![age](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@age](https://discuss.elastic.co/u/age)\
**Post date:** [April 21, 2014, 9:30am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109/1 "2014-04-21T09:30:17Z")

</div>

Good morning

Does anyone have 2 or more instances running Elastic Search on the same  
machine? Problems who live 2 instances of Elastic Search in the same  
machine? Besides that would have to share the RAM, and consultation would  
be slower.

A greeting and 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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 21, 2014, 9:43am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109/2 "2014-04-21T09:43:16Z")

</div>

Lots of people do, by either running two processes manually managed, or  
using container technology like Docker.  
Obviously you'd increase your management overhead, but I haven't heard any  
major issues from others using these methods.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 21 April 2014 19:30, age [angeldieze@gmail.com](mailto:angeldieze@gmail.com) wrote:

> Good morning
> 
> Does anyone have 2 or more instances running Elastic Search on the same  
> machine? Problems who live 2 instances of Elastic Search in the same  
> machine? Besides that would have to share the RAM, and consultation would  
> be slower.
> 
> A greeting and 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e8dd7d43-fbad-4904-bad9-a0bee0eac677%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624an82t\_1X63neqrYb\_iYP-R3pAwbtD5u7oE9m1d7myjJw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624an82t_1X63neqrYb_iYP-R3pAwbtD5u7oE9m1d7myjJw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![mega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mega/32/1631_2.png) [@mega](https://discuss.elastic.co/u/mega)\
**Post date:** [April 21, 2014, 9:47am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109/3 "2014-04-21T09:47:46Z")

</div>

I have 2 instances in one server, but none of them are data node, one is  
master (-Des.node.master=true -Des.node.data=false) and another is use for  
search balance (-Des.node.master=false -Des.node.data=false), totally fine,  
no load at all.

But if these are data nodes, you probable shouldn't do that, better be one  
instance per machine.

On Monday, April 21, 2014 5:30:17 PM UTC+8, age wrote:

> Good morning
> 
> Does anyone have 2 or more instances running Elastic Search on the same  
> machine? Problems who live 2 instances of Elastic Search in the same  
> machine? Besides that would have to share the RAM, and consultation would  
> be slower.
> 
> A greeting and 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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f01eb0c3-eb4a-4e04-b9fa-c1c143e32b3e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f01eb0c3-eb4a-4e04-b9fa-c1c143e32b3e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![age](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@age](https://discuss.elastic.co/u/age)\
**Post date:** [April 22, 2014, 11:24am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109/4 "2014-04-22T11:24:30Z")

</div>

I understand that you do not have two elasticsearch both operating, which  
have no problems with RAM or problems slow queries.  
In my case I need to install two elasticsearch in the same machine, and not  
know it would cause me problems in the short and long term.  
For example had thought about playing with the parameters of the RAM and  
Cache, but not if I could play some more parameter, so that the coexistence  
of both elastic was the best.

Thank you.

El lunes, 21 de abril de 2014 11:47:46 UTC+2, mega escribió:

> I have 2 instances in one server, but none of them are data node, one is  
> master (-Des.node.master=true -Des.node.data=false) and another is use for  
> search balance (-Des.node.master=false -Des.node.data=false), totally fine,  
> no load at all.
> 
> But if these are data nodes, you probable shouldn't do that, better be one  
> instance per machine.
> 
> On Monday, April 21, 2014 5:30:17 PM UTC+8, age wrote:
> 
> > Good morning
> > 
> > Does anyone have 2 or more instances running Elastic Search on the same  
> > machine? Problems who live 2 instances of Elastic Search in the same  
> > machine? Besides that would have to share the RAM, and consultation would  
> > be slower.
> > 
> > A greeting and 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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b21abb0d-962b-40a0-b362-8e5d62ccfc13%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b21abb0d-962b-40a0-b362-8e5d62ccfc13%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:34am UTC](https://discuss.elastic.co/t/does-anyone-have-2-or-more-instances-running-elastic-search-on-the-same-machine/17109/5 "2017-07-06T01:34:22Z")

</div>


