Terizian
(Terizian)
July 15, 2020, 10:36am
1
I'm trying to set up an ES cluster on three Windows hosts. Those hosts are currently offline, and I cannot extract screenshots.
All three nodes have the following elasticsearch.yml:
bootstrap.memory_lock: false
cluster.name: elasticsearch
http.port: 9200
node.master: true
node.data: true
node.max_local_storage_nodes: 1
node.name: server1
path.data: C:\ProgramData\Elastic\Elasticsearch\data
path.logs: C:\ProgramData\Elastic\Elasticsearch\logs
transport.tcp.port: 9300
xpack.license.self_generated.type: basic
xpack.security.enabled: false
network.host: 127.0.0.1
discover.zen.ping.unicast.hosts: ["IP1(to replace the actual IP)", "IP2", "IP3"]
cluster.initial_master_nodes: ["IP1(to replace the actual IP)", "IP2", "IP3"]
A connection error is thrown and a warning shows up with the following text:
master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster
Any advice? Also, are there any Windows specific steps I might follow?
(I'm sorry for not being able to extract the error logs)
ylasri
(Yassine LASRI)
July 15, 2020, 10:37am
2
Your nodes can't communicate as you are binding each node into licalhost IP
Use network.host: site
Terizian
(Terizian)
July 15, 2020, 11:04am
3
Thank you for your response. What should I put in place of site?
ylasri
(Yassine LASRI)
July 15, 2020, 11:14am
4
you can use "site " to bind on any IP adresse or use explicit IP adresse like what you did for seeds
ylasri
(Yassine LASRI)
July 15, 2020, 11:24am
5
Check some network config here
Terizian
(Terizian)
July 15, 2020, 11:58am
6
So just to make sure that I understand: in this case, on server1 with IP1, the network.host will be IP1?
Terizian
(Terizian)
July 16, 2020, 3:47am
8
Hi there,
I have deleted the contents of the data folder and changed the config as specified in your message. How do I check that the node is running now? Also, how can I verify that the cluster contains three nodes?
system
(system)
Closed
August 13, 2020, 3:47am
9
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.