The requested URL was not found on this server. 不管你信不信,反正我是没找到

elasticsearch7.1.1 在centos7中节点 无法加入 集群

Elasticsearch | 作者 es_observer | 发布于2020年05月03日 | 阅读数:2526

节点 1[2020-05-03T22:01:56,483][INFO ][o.e.c.c.ClusterBootstrapService] [node-2] skipping cluster bootstrapping as local node does not match bootstrap requirements: [node-1]
[2020-05-03T22:01:57,621][INFO ][o.e.c.c.JoinHelper       ] [node-2] failed to join {node-1}{4sU2wwXOQbSPE2naBf-uiA}{dFh1GVXxRReWFtnpG-VQJA}{192.168.0.11}{192.168.0.11:9300}{ml.machine_memory=1019797504, ml.max_open_jobs=20, xpack.installed=true} with JoinRequest{sourceNode={node-2}{Al6P2aAfSqOvhycQQr0-_A}{POOtVnTWS0aD7NdGPnRGfw}{192.168.0.15}{192.168.0.15:9300}{ml.machine_memory=1019797504, xpack.installed=true, ml.max_open_jobs=20}, optionalJoin=Optional.empty}
org.elasticsearch.transport.RemoteTransportException: [node-1][192.168.0.11:9300][internal:cluster/coordination/join]
 
node-2
cluster.name: es_cluster
node.name: node-2
node.master: true
node.data: true
path.data: /soft/elk-7.1.1/elsearchCluster-7.1.1/data
path.logs: /soft/elk-7.1.1/elsearchCluster-7.1.1/logs
bootstrap.system_call_filter: false
network.host: 0.0.0.0
http.cors.enabled: true
http.cors.allow-origin: "*"
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.0.15:9300","192.168.0.8:9300","192.168.0.11:9300"]
discovery.zen.minimum_master_nodes: 2
network.publish_host: 192.168.0.15
cluster.initial_master_nodes: ["node-1"]

node-1
cluster.name: es_cluster
node.name: node-1
node.master: true
node.data: true
path.data: /soft/elk-7.1.1/elsearchCluster-7.1.1/data
path.logs: /soft/elk-7.1.1/elsearchCluster-7.1.1/logs
bootstrap.system_call_filter: false
network.host: 0.0.0.0
http.cors.enabled: true
http.cors.allow-origin: "*"
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.0.15:9300","192.168.0.8:9300","192.168.0.11:9300"]
discovery.zen.minimum_master_nodes: 2
network.publish_host: 192.168.0.11
cluster.initial_master_nodes: ["node-1"]
已邀请:

God_lockin

赞同来自:

你node-1和node-2分别所在节点能相互ping通吗?看看9300端口是否相互不可见
 
同时,你可以试试在init 里面写ip地址而不是node-1

es_observer

赞同来自:

Thanks 
解决
防火墙没关

printf_uck - 1024

赞同来自:

discovery.zen.ping.unicast.hosts: ["192.168.0.15:9300","192.168.0.8:9300","192.168.0.11:9300"]
discovery.zen.minimum_master_nodes: 2
你确定新版本还是这个配置吗。。。

byx313 - BLOG:https://www.jianshu.com/u/43fd06f9589c

赞同来自:

配置错啦 新版本得用下新配置

要回复问题请先登录注册