同一个内网,13服务器访问不了12.关键的配置也设置了,版本是5.6.0:
`discovery.zen.ping.unicast.hosts: ["192.168.1.12", "192.168.1.13"]`
`network.host: 192.168.1.13`
`cluster.name: kindo`。
手动也可以ping通。
下面是全部的设置:
#cluster.name: kindo
node.name: kindo12-0
node.master: true
node.data: true
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.1.12","192.168.1.13"]
discovery.zen.minimum_master_nodes: 2
#gateway.recover_after_nodes: 3
这是12的,13也是类似的。
错误内容为:[2018-01-11T09:47:58,951][WARN ][o.e.d.z.ZenDiscovery ] [node13-1] not enough master nodes discovered during pinging (found [[Candidate{node={node13-1}{L80RKiBlR7616lErYlDIFA}{bWZUZ0NUTwqq7aZ4DQwSyA}{192.168.1.13}{192.168.1.13:9300}, clusterStateVersion=-1}]], but needed [2]), pinging again
一直就这样ping,直到超时。
`discovery.zen.ping.unicast.hosts: ["192.168.1.12", "192.168.1.13"]`
`network.host: 192.168.1.13`
`cluster.name: kindo`。
手动也可以ping通。
下面是全部的设置:
#cluster.name: kindo
node.name: kindo12-0
node.master: true
node.data: true
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.1.12","192.168.1.13"]
discovery.zen.minimum_master_nodes: 2
#gateway.recover_after_nodes: 3
这是12的,13也是类似的。
错误内容为:[2018-01-11T09:47:58,951][WARN ][o.e.d.z.ZenDiscovery ] [node13-1] not enough master nodes discovered during pinging (found [[Candidate{node={node13-1}{L80RKiBlR7616lErYlDIFA}{bWZUZ0NUTwqq7aZ4DQwSyA}{192.168.1.13}{192.168.1.13:9300}, clusterStateVersion=-1}]], but needed [2]), pinging again
一直就这样ping,直到超时。
1 个回复
wx
赞同来自: