Greetings, i am trying to add a second node to our elasticsearch cluster currently in development in our lab environment.
both nodes are running version 7.2 and are installed on CentOS7. Name resolution works with no issues and the machines can see each other. SELinux has been disabled as well as firewall Configuration files are below:
First Node:
cluster.name: elastic.lab.aginion.net
node.name: elastic01.lab.aginion.net
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
discovery.seed_hosts: ["10.226.95.13"]
cluster.initial_master_nodes: elk01.lab.aginion.net
Second node:
cluster.name: elastic.lab.aginion.net
node.name: elk01.lab.aginion.net
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
discovery.seed_hosts: ["10.226.95.10"]
cluster.initial_master_nodes: elastic.lab.aginion.net
additionally when i run curl -XGET 'http://elastic.lab.aginion.net:9200/_nodes' from any of the two nodes i receive information on only one.
Any help would be appreciated