elasticsearch报错:failed send ping to zen unicast

故障日志

[2018-07-23T19:34:46,733][WARN ][o.e.d.z.UnicastZenPing ] [es-node2] [1] failed send ping to {#zen_unicast_47.98.97.124_0#}{rYCo6JscRLiztNERg_YpqQ}{47.98.97.124}{47.98.97.124:9300}

java.lang.IllegalStateException: handshake failed with {#zen_unicast_47.98.97.124_0#}{rYCo6JscRLiztNERg_YpqQ}{47.98.97.124}{47.98.97.124:9300}

Caused by: org.elasticsearch.transport.RemoteTransportException: [es-node1][172.16.102.26:9300][internal:transport/handshake]

故障分析

因为它ping不同主节点的IP地址47.98.97.124:9300。因为主节点我是安装了x-pack,安装x-pack后会有权限问题。所以我们也要在节点2中安装x-pack。

故障解决

[root@host-47-106-141-17 ~]# cd /usr/share/kibana/plugins/
[root@host-47-106-141-17 plugins]# /usr/share/kibana/bin/kibana-plugin install x-pack
Found previous install attempt. Deleting…
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.6.0.zip
Transferring 119526372 bytes………………..
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

安装x-pack后内置的账号:elastic密码:changeme

观察日志

[2018-07-23T20:18:33,283][INFO ][o.e.c.s.ClusterService ] [es-node2] detected_master {es-node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10,
ml.enabled=true}, added {{es-node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10, ml.enabled=true},}, reason: zen-disco-receive(from master [master {es-
node1}{MnEFYeEWTmuEIxmVkDLdEg}{kdPCrNLeQ2OAixlz4UxD1w}{47.98.97.124}{47.98.97.124:9300}{ml.max_open_jobs=10, ml.enabled=true} committed version [22]])
[2018-07-23T20:18:34,087][INFO ][o.e.l.LicenseService ] [es-node2] license [2a0d8d41-07d4-4505-9b7b-63b7d70db18e] mode [trial] - valid
[2018-07-23T20:18:34,135][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [es-node2] publish_address {47.106.141.17:9200}, bound_addresses {0.0.0.0:9200}
[2018-07-23T20:18:34,135][INFO ][o.e.n.Node ] [es-node2] started

注:发现另外一个节点已经找到了主机点

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:酷酷鲨 设计师:CSDN官方博客 返回首页
评论

打赏作者

东城绝神

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值