gpt4 book ai didi

elasticsearch - 无法引导Elasticsearch v7.4.0 3节点集群

转载 作者:行者123 更新时间:2023-12-03 02:16:35 25 4
gpt4 key购买 nike

我正在设置ES v7.4.0,以下是我的设置。

cluster.name: prod-elk-logging-7-4-0
node.name: "prod-elk-master1-new"
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: "prod-elk-master1-new"
discovery.seed_hosts: ["prod-elk-master1-new", "prod-elk-master2-new", "prod-elk-master3-new"]
cluster.initial_master_nodes: ["prod-elk-master1-new", "prod-elk-master2-new", "prod-elk-master3-new"]
node.master: true
node.ml: false
node.ingest: false
node.data: false
并且在所有3个主节点上都有主机条目。
但是仍然出现以下错误。请帮助。

[2020-08-17T18:41:20,015][WARN][o.e.c.c.ClusterFormationFailureHelper] [prod-elk-master2-new] masternot discovered yet, this node has not previously joined a bootstrapped(v7+) cluster, and this node must discover master-eligible nodes[prod-elk-master1-new, prod-elk-master2-new, prod-elk-master3-new] tobootstrap a cluster: have discovered[{prod-elk-master2-new}{1wrWU0LEQfiN-mUapeLtUg}{58SzXhJCQl6qS8J5bARnnw}{prod-elk-master2-new}{10.1.x.x:9300}{m}{xpack.installed=true}];discovery will continue using [10.1.x.x:9300, 10.1.x.x:9300] fromhosts providers and[{prod-elk-master2-new}{1wrWU0LEQfiN-mUapeLtUg}{58SzXhJCQl6qS8J5bARnnw}{prod-elk-master2-new}{10.1.x.x:9300}{m}{xpack.installed=true}]from last-known cluster state; node term 0, last-accepted version 0 interm 0

最佳答案

我弄清楚了原因。我的团队成员已在VM上启用了防火墙,我必须明确允许端口9200、9300。

关于elasticsearch - 无法引导Elasticsearch v7.4.0 3节点集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63449344/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com