root@verdin-imx8mp-07154523:/opt/emqx# LD_LIBRARY_PATH=/opt/emqx/dynlibs/ ./bin/emqx_ctl cluster join ‘emqx0326@192.168.3.26’
Join the cluster successfully.
Cluster status: #{running_nodes =>
[‘emqx0325@192.168.3.25’,‘emqx0326@192.168.3.26’],
stopped_nodes => }
root@verdin-imx8mp-07154523:/opt/emqx# LD_LIBRARY_PATH=/opt/emqx/dynlibs/ ./bin/emqx_ctl cluster join ‘emqx0327@192.168.3.27’
Join the cluster successfully.
Cluster status: #{running_nodes =>
[‘emqx0325@192.168.3.25’,‘emqx0327@192.168.3.27’],
stopped_nodes => }
第一次集群成功,第二次集群也成功,但是第一次集群成功的节点丢失了。
集群的日志
2023-10-19T12:49:31.067578+00:00 [warning] msg: Stopping mria, mfa: mria:stop/1, line: 134, reason: join
2023-10-19T12:49:34.136153+00:00 [warning] msg: CMD_overridden, mfa: emqx_ctl:handle_call/3, line: 254, cmd: observer, mf: {emqx_observer_cli,cmd}
2023-10-19T12:49:34.136920+00:00 [warning] msg: CMD_overridden, mfa: emqx_ctl:handle_call/3, line: 254, cmd: cluster_call, mf: {emqx_conf_cli,admins}
2023-10-19T12:49:34.137486+00:00 [warning] msg: CMD_overridden, mfa: emqx_ctl:handle_call/3, line: 254, cmd: conf, mf: {emqx_conf_cli,conf}