I am running elasticsearch-5.0.0-beta1 in my laptop, I want to add one more new node to my elasticsearch cluster. In total I want to have 2 nodes. How do I do this?
My elasticsearch.yml
cluster.name: my-application
node.attr.rack: r1
node.name: node-1
path.data: /path/to/data
second node
node.name: newnode
node.master: false
node.data: true
discovery.zen.ping.unicast.hosts: ["127.0.0.2"]
When starting elasticsearch the newnode is not added to cluster. what to do? I use windows 8 64bit machine.