elasticsearch集群添加节点
最简配置文件:
cluster.name: your_cluster_name
node.name: your_ip
network.host: 0.0.0.0
http.port: your_port
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["xx.xx.xx.xx","xx.xx.xx.xx1","xx.xx.xx.xx2","xx.xx.xx.3"]
配置相同的集群名字,通过组播方式在配置文件中填入你各个节点的IP,这样配置好以后就可以直接启动集群了。(其他老节点的组播IP列表也可以更新下,把新节点的IP写进去)