Installing multiple, unrelated ES servers

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.
For more options, visit https://groups.google.com/groups/opt_out.

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 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.
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.
For more options, visit https://groups.google.com/groups/opt_out.

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 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 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.
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.
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.
For more options, visit https://groups.google.com/groups/opt_out.