# Run test1, test2 and demo environment on the same box

**URL:** <https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789>\
**Category:** Elasticsearch\
**Created:** [December 10, 2013, 10:54am UTC](https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789 "2013-12-10T10:54:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brent\_Gracey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brent_gracey/32/823_2.png) [@Brent\_Gracey](https://discuss.elastic.co/u/Brent_Gracey)\
**Post date:** [December 10, 2013, 10:54am UTC](https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789/1 "2013-12-10T10:54:57Z")

</div>

Hi - this feels like a stupid question, but here goes

I would like to run a test1, test2 and demo environment on the same box.  
The two ways I can think of doing this is

a) Use a naming convention on my indexes - so I have a message \_index and  
data \_type, which I could update to be test1\_message/data  
b) Run different ES processes on different ports

Is there a much better way to approach this that I'm not thinking of?

Thanks,  
Brent

--  
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/7e2cfa8f-0c00-48b8-b193-a22e7ea82312%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e2cfa8f-0c00-48b8-b193-a22e7ea82312%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [December 10, 2013, 8:02pm UTC](https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789/2 "2013-12-10T20:02:01Z")

</div>

If you start up extra ES processes it'll use method B by default.  
If you do this and then set the cluster name to be unique in each of the  
configs, you'll have N discrete environments to use.

Regards,  
Mark Walkom

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

On 10 December 2013 21:54, Brent Gracey [brentgracey@gmail.com](mailto:brentgracey@gmail.com) wrote:

> Hi - this feels like a stupid question, but here goes
> 
> I would like to run a test1, test2 and demo environment on the same box.  
> The two ways I can think of doing this is
> 
> a) Use a naming convention on my indexes - so I have a message \_index and  
> data \_type, which I could update to be test1\_message/data  
> b) Run different ES processes on different ports
> 
> Is there a much better way to approach this that I'm not thinking of?
> 
> Thanks,  
> Brent
> 
> --  
> 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/7e2cfa8f-0c00-48b8-b193-a22e7ea82312%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e2cfa8f-0c00-48b8-b193-a22e7ea82312%40googlegroups.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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624bOqGEh%2BCY227oZrUvfa7Yq0q4v54chS0DjU-8fc0Dk6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bOqGEh%2BCY227oZrUvfa7Yq0q4v54chS0DjU-8fc0Dk6w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Brent\_Gracey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brent_gracey/32/823_2.png) [@Brent\_Gracey](https://discuss.elastic.co/u/Brent_Gracey)\
**Post date:** [December 11, 2013, 6:33pm UTC](https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789/3 "2013-12-11T18:33:35Z")

</div>

OK, thanks

On Tuesday, December 10, 2013 10:54:57 AM UTC, Brent Gracey wrote:

> Hi - this feels like a stupid question, but here goes
> 
> I would like to run a test1, test2 and demo environment on the same box.  
> The two ways I can think of doing this is
> 
> a) Use a naming convention on my indexes - so I have a message \_index and  
> data \_type, which I could update to be test1\_message/data  
> b) Run different ES processes on different ports
> 
> Is there a much better way to approach this that I'm not thinking of?
> 
> Thanks,  
> Brent

--  
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/09be01a4-0af5-48a9-bbb3-db6e3950a5b5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/09be01a4-0af5-48a9-bbb3-db6e3950a5b5%40googlegroups.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:01am UTC](https://discuss.elastic.co/t/run-test1-test2-and-demo-environment-on-the-same-box/14789/4 "2017-07-06T02:01:55Z")

</div>


