# Running multiple cluster on 1 server

**URL:** https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232
**Category:** Elasticsearch
**Created:** [October 14, 2014, 9:21am UTC](https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232 "2014-10-14T09:21:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![haries\_fajar\_nugroho](https://avatars.discourse-cdn.com/v4/letter/h/e19b73/32.png) [@haries\_fajar\_nugroho](https://discuss.elastic.co/u/haries_fajar_nugroho)
#### Post date: [October 14, 2014, 9:21am UTC](https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232/1 "2014-10-14T09:21:57Z")

</div>

Hello,

I want to create multiple cluster on 1 server, is that possible in  
elasticsearch 1.x ? I've found article about this but it's for  
elasticsearch before 1.x. Previously, i've succeeded to create failover  
node within same cluster on different server. Now, i want to create  
multiple cluster on 1 server so my 3 elasticsearch server (different  
cluster) would have failover node in 1 server only (by creating multiple  
cluster in 1 server).

Regards,

--  
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/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%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: [October 14, 2014, 9:27am UTC](https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232/2 "2014-10-14T09:27:59Z")

</div>

Yes it will work, and probably the same way as pre 1.X.

The elasticsearch puppet module could handle this for you.

Regards,  
Mark Walkom

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

On 14 October 2014 20:21, haries fajar nugroho [hariesfn@gmail.com](mailto:hariesfn@gmail.com) wrote:

> Hello,
> 
> I want to create multiple cluster on 1 server, is that possible in  
> elasticsearch 1.x ? I've found article about this but it's for  
> elasticsearch before 1.x. Previously, i've succeeded to create failover  
> node within same cluster on different server. Now, i want to create  
> multiple cluster on 1 server so my 3 elasticsearch server (different  
> cluster) would have failover node in 1 server only (by creating multiple  
> cluster in 1 server).
> 
> Regards,
> 
> --  
> 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/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%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/CAEM624bzX01jYn1wg4Uw2NK%3DByo-JmG%3DPTtZJYwXK9a2FQQEgQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bzX01jYn1wg4Uw2NK%3DByo-JmG%3DPTtZJYwXK9a2FQQEgQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![haries\_fajar\_nugroho](https://avatars.discourse-cdn.com/v4/letter/h/e19b73/32.png) [@haries\_fajar\_nugroho](https://discuss.elastic.co/u/haries_fajar_nugroho)
#### Post date: [October 14, 2014, 10:22am UTC](https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232/3 "2014-10-14T10:22:34Z")

</div>

Hi Mark,

I've tried without puppet module since i haven't familiar with, but the  
result is like this:

[root@cg-nfs-01 ~]# /usr/share/elasticsearch/bin/elasticsearch  
-Des.config=/etc/elasticsearch/elasticsearch-haries.yml  
log4j:WARN No appenders could be found for logger (node).  
log4j:WARN Please initialize the log4j system properly.  
log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for  
more info.

On Tuesday, October 14, 2014 4:28:26 PM UTC+7, Mark Walkom wrote:

> Yes it will work, and probably the same way as pre 1.X.
> 
> The elasticsearch puppet module could handle this for you.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 14 October 2014 20:21, haries fajar nugroho \<[hari...@gmail.com](mailto:hari...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hello,
> > 
> > I want to create multiple cluster on 1 server, is that possible in  
> > elasticsearch 1.x ? I've found article about this but it's for  
> > elasticsearch before 1.x. Previously, i've succeeded to create failover  
> > node within same cluster on different server. Now, i want to create  
> > multiple cluster on 1 server so my 3 elasticsearch server (different  
> > cluster) would have failover node in 1 server only (by creating multiple  
> > cluster in 1 server).
> > 
> > Regards,
> > 
> > --  
> > 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:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7cefda0d-2257-400c-ad24-e2b0e94a57af%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/8e84917a-ddf5-4152-9b54-e531569d4916%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8e84917a-ddf5-4152-9b54-e531569d4916%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, 12:56am UTC](https://discuss.elastic.co/t/running-multiple-cluster-on-1-server/20232/4 "2017-07-06T00:56:23Z")

</div>


