节点 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]
[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"]
4 个回复
God_lockin
赞同来自:
同时,你可以试试在init 里面写ip地址而不是node-1
es_observer
赞同来自:
解决
防火墙没关
printf_uck - 1024
赞同来自:
byx313 - BLOG:https://www.jianshu.com/u/43fd06f9589c
赞同来自: