Run test1, test2 and demo environment on the same box


(Brent Gracey) #1

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.
To view this discussion on the web visit 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.


(Mark Walkom) #2

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
web: www.campaignmonitor.com

On 10 December 2013 21:54, Brent Gracey 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bOqGEh%2BCY227oZrUvfa7Yq0q4v54chS0DjU-8fc0Dk6w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Brent Gracey) #3

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.
To view this discussion on the web visit 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.


(system) #4