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,
Under this location, /opt/elastic/application/elasticsearch-5.2.2/, we have the below files, directories,
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?