elasticsearch多台服务器集群时,节点之间无法互相发现,请问是什么问题?

主节点是这样配置的:
cluster.name: mys
node.name: node0
node.master: true
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
network.host: 0.0.0.0http.port: 9200
transport.tcp.port: 9300
discovery.seed_hosts: ["192.168.1.30:9300","192.168.1.36:9300"]
http.cors.enabled: true
http.cors.allow-origin: "*"

分节点:
cluster.name: mys
node.name: node1
node.master: false
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
discovery.seed_hosts: ["192.168.1.30:9300","192.168.1.36:9300"]
http.cors.enabled: true
http.cors.allow-origin: "*"

THE END
喜欢就支持以下吧
点赞0
分享
评论 抢沙发
  • 管埋员

    昵称

  • 取消
    昵称