Dec14

【原创】elasticsearch集群配置不生效

Author: leeon  Click: 1566   Date: 2021.12.14 @ 19:02:34 pm Category: 架构

为什么按照网上的步骤配置了集群就是不生效?每个节点单独作为master node。

这时候不妨试一下如下方法:

https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-bootstrap-cluster.html

  • Shut down all the nodes.
  • Completely wipe each node by deleting the contents of their data folders.
  • Configure cluster.initial_master_nodes as described above.
  • Restart all the nodes and verify that they have formed a single cluster.
简单点说就是,你需要重建你的elasticsearch数据文件夹,删除每个节点的data文件夹,然后分别重启es服务即可,这时候es就会自动组建集群了。


TAG:   elasticsearch es

    评论
    • 提交

    分类

    标签

    归档

    最新评论

    Abyss在00:04:28评论了
    Linux中ramdisk,tmpfs,ramfs的介绍与性能测试
    shallwe99在10:21:17评论了
    【原创】如何在微信小程序开发中正确的使用vant ui组件
    默一在09:04:53评论了
    Berkeley DB 由浅入深【转自架构师杨建】
    Memory在14:09:22评论了
    【原创】最佳PHP框架选择(phalcon,yaf,laravel,thinkphp,yii)
    leo在17:57:04评论了
    shell中使用while循环ssh的注意事项

    我看过的书

    链接

    其他

    访问本站种子 本站平均热度:8823 c° 本站链接数:1 个 本站标签数:464 个 本站被评论次数:94 次