Is it okay to remove the config directory, when it comes to cluster setup?

Hello there!

We have setup elasticsearch using ansible using the archive (.tgz) file.

The setup goes like this,

/opt/elastic/application/elasticsearch-5.2.2/node1/ - Master node
/opt/elastic/application/elasticsearch-5.2.2/node2/ - Data node

Under these locations, we have files, directories like below,

elasticsearch.yml
instances.yml
jvm.options
log4j2.properties
scripts/
security/
x-pack/

Under this location, /opt/elastic/application/elasticsearch-5.2.2/, we have the below files, directories,

bin/
config/
data/
lib/
LICENSE.txt
modules/
node1/
node2/
NOTICE.txt
plugins/
README.textile
run/

Is this the right approach to have the setup this way? Wouldn't the cluster work properly, if we place config files, directories (elasticsearch.yml, instances.yml, jvm.options, log4j2.properties) under config/ directory for each node1/ and node2/?

P.S: if this okay, what would be ES_HOME then?

Thanks,

Vijay

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