# Installing multiple, unrelated ES servers

**URL:** <https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536>\
**Category:** Elasticsearch\
**Created:** [June 25, 2013, 4:15am UTC](https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536 "2013-06-25T04:15:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allan\_Johns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allan_johns/32/2387_2.png) [@Allan\_Johns](https://discuss.elastic.co/u/Allan_Johns)\
**Post date:** [June 25, 2013, 4:15am UTC](https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536/1 "2013-06-25T04:15:17Z")

</div>

How should I set up separate elasticsearch servers that have their own  
configs, without having to copy the entire elasticsearch install?

I would like to run the binary from one ES install but say "read all config  
info from cwd." I can get partway there by using the cmdlin -Des.config  
option, but that only partially works. If I make a copy of the config  
subdirectory, that gets more of the way there, but I find that mappings  
under config/mappings/\_default are ignored.

Thanks  
A

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Israel\_Tsadok](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/israel_tsadok/32/1283_2.png) [@Israel\_Tsadok](https://discuss.elastic.co/u/Israel_Tsadok)\
**Post date:** [June 25, 2013, 6:59am UTC](https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536/2 "2013-06-25T06:59:39Z")

</div>

I don't have mappings config files, so I can't comment on that, but what we  
do is run elasticsearch in the directory that has the config files, with  
the command:

/path/to/elasticsearch -Des.path.conf=./

Then in elasticsearch.yml (located in the same working directory) I set  
path.{data,work,logs} to subfolders within the current directory.

On Tue, Jun 25, 2013 at 7:15 AM, Allan Johns [nerdvegas@gmail.com](mailto:nerdvegas@gmail.com) wrote:

> How should I set up separate elasticsearch servers that have their own  
> configs, without having to copy the entire elasticsearch install?
> 
> I would like to run the binary from one ES install but say "read all  
> config info from cwd." I can get partway there by using the cmdlin  
> -Des.config option, but that only partially works. If I make a copy of the  
> config subdirectory, that gets more of the way there, but I find that  
> mappings under config/mappings/\_default are ignored.
> 
> Thanks  
> A
> 
> --  
> 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).  
> 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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Allan\_Johns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allan_johns/32/2387_2.png) [@Allan\_Johns](https://discuss.elastic.co/u/Allan_Johns)\
**Post date:** [June 26, 2013, 5:43am UTC](https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536/3 "2013-06-26T05:43:40Z")

</div>

Thanks Israel, es.path.conf seems to be working as expected.  
A

On Tue, Jun 25, 2013 at 4:59 PM, Israel Tsadok [itsadok@gmail.com](mailto:itsadok@gmail.com) wrote:

> I don't have mappings config files, so I can't comment on that, but what  
> we do is run elasticsearch in the directory that has the config files, with  
> the command:
> 
> /path/to/elasticsearch -Des.path.conf=./
> 
> Then in elasticsearch.yml (located in the same working directory) I set  
> path.{data,work,logs} to subfolders within the current directory.
> 
> On Tue, Jun 25, 2013 at 7:15 AM, Allan Johns [nerdvegas@gmail.com](mailto:nerdvegas@gmail.com) wrote:
> 
> > How should I set up separate elasticsearch servers that have their own  
> > configs, without having to copy the entire elasticsearch install?
> > 
> > I would like to run the binary from one ES install but say "read all  
> > config info from cwd." I can get partway there by using the cmdlin  
> > -Des.config option, but that only partially works. If I make a copy of the  
> > config subdirectory, that gets more of the way there, but I find that  
> > mappings under config/mappings/\_default are ignored.
> > 
> > Thanks  
> > A
> > 
> > --  
> > 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).  
> > 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).  
> 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).  
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:29am UTC](https://discuss.elastic.co/t/installing-multiple-unrelated-es-servers/12536/4 "2017-07-06T02:29:30Z")

</div>


