Hello, i am trying to build a multiple node cluster on a single instance. I found a useful doc to create multiple elasticsearch nodes on a single instance.
If you want to start multiple nodes on the same machine (for tests purposes) just run: bin/elasticsearch -Epath.data=data1 -Epath.logs=log1 bin/elasticsearch -Epath.data=data2 -Epath.logs=log2 bin/elasticsearch -Epath.data=data3 -Epath.logs=log3 Without changing anything in the default elasticsearch.yml and you should be done.
Now i would like know few things:
- How can we remove nodes from cluster.
- Do we need to take any precautions, while we take out them from pool.
- When we add multiple elasticsearch nodes, will the loadbalancing happens on its own or we need to make any changes in elasticsearch.yml