Hi, I'm learning elasticsearch and trying to run multiple nodes or 2 services of elasticsearch. the both work smoothly but the both use the same config file even I already point the another one to use different config file.
is it because I run two instance of elasticsearch?
sudo service elasticsearch start which is use /etc/elasticsearch/elasticsearch.yml config
sudo service elasticsearch1 start which is use /etc/elasticsearch/elasticsearch1.yml config
they appear different but when I open localhost:9200/plugin/_head it tell me the both have the same name "Node client balancer" (read from /etc/elasticsearch/elasticsearch.yml and ignore /etc/elasticsearch/elasticsearch1.yml).