I have two-node cluster on one machine and one config file (elasticsearch.yml). Is it possible to create another .yml-config file and start every instance with different config-file? For example, i want run cluster on two ports (localhost:9200 and localhost:9201) on the same time.
I can't find command-line API for starting elastic-cluster (config-file as an argument?).
You should be able to start your second ES instance with the
-Epath.conf setting on the command line and point to another folder where you have your second
elasticsearch.yml configuration file