Separating Elastic configuration and data directory

(Robert Baxter) #1

We would like to separate the elasticsearch configuration (confg, logs, plugins, work) location from the data directory where all the index files are stored (primarly to put the data directory on a partition that with more capable/expandable storage).

Has anyone done this, anything we should be concerned about with this approach?

(Robert Baxter) #2

Additionally, to do this on an existing cluster is it as simple as shutting down the node, updating the elasticsearch.yml file to adjust the "" setting?

(Tanguy) #3


It depends how Elasticsearch has been installed.

If you installed ES using a tar.gz archive, then you just have to configure, path.conf, path.plugins etc in elasticsearch.yml and move the existing directories and files.

If you installed ES using a deb/rpm it's a bit different (but almost as simple) and you should check the documentation here :

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.