I have tried to create 3 nodes in my ES for "production", "development", "testing" using command:
bin/elasticsearch -Epath.data=data1 -Epath.logs=log1
My elasticsearch.yml file located at admin:///etc/elasticsearch and getting error as:
bash: bin/elasticsearch: No such file or directory
Besides, I also tried modifying elasticsearch.yml file following StackOverflow answers but failed.
But I can not create separate nodes. My purpose is to test my application separately so that it doesn't affect the main node.
Here are respentive lines of my elasticsearch.yml file:
cluster.name : scidatamanager
node.name : "dev"
node.name : "test"
node.master: true
node.data: false
http.port: 9200
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["127.0.0.1"]cluster.name : scidatamanager
node.name : "test"
node.master: false
node.data: true
http.port: 9201
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["127.0.0.2"]path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch