HI
I want to setup a 3 node ES cluster on one VM. I tried to install and configure but seeing issues.
I installed ES to two different directories and configured it . But I am seeing error. My elasticsearch.yml file . Can you please help.
Node 1:
cluster.name: elasticsearch
node.name: node-1
path.data: ["/home/ags/Elastic/data","/data/elk/Elastic-7/data"]
path.logs: /data/elk/Elastic-7/logs
path.repo: ["/home/ags/Elastic/backup"]
network.host: 10.11.2.233
http.port: 9200
cluster.initial_master_nodes: ["master.node.com"]
Node2:
cluster.name: elasticsearch
node.name: node-2
path.data: ["/home/ags/Elastic/data1"]
path.logs: /data/elk/Elastic71/logs
path.repo: ["/home/ags/Elastic/backup"]
network.host: 10.11.2.233
node.master: false
node.data: true
node.ingest: false
cluster.remote.connect: false
http.port: 9201
cluster.initial_master_nodes: ["master.node.com"]
I am seeing logs in second node.
[2019-05-08T15:28:31,271][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-2] master not discovered yet: have discovered []; discovery will continue using [127.0.0.1:9300, 127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, [::1]:9300, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304] from hosts providers and [{node-2}{i_WUVwRBTB-XrtwyKSTtBQ}{sFq4o45ORBu20F5Y_dKZqQ}{10.44.10.140}{10.44.10.140:9301}{ml.machine_memory=7674531840, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0