I am newbie to elastic search clustering. I am trying to setup a simple cluster with two nodes(not adviced) for experimental purpose. My nodes are my laptop and my desktop.
The master node elastic search configuration :
cluster.name: my-cluster
node.name: master-1
node.master: true
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_,_site_]
http.port: 9200
discovery.seed_hosts: ["<master-ip>","<node-ip>"]
cluster.initial_master_nodes: ["master-1"]
The data node elastic search config file:
cluster.name: my-cluster
node.name: data-1
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_,_site_]
http.port: 9200
discovery.seed_hosts: ["<master-ip>","<node-ip>"]
cluster.initial_master_nodes: ["master-1"]
I am able to telnet the master-node from the data-node but when I check the number of nodes on the master, I see only one node.
What am I missing here?