自学内容网 自学内容网

单节点集群数据写入测试

背景:将节点设置为1后RED消失。

elasticsearch单个node节点写入数据-CSDN博客 

elasticsearch 写入新数据测试(二)-CSDN博客

参数设置如下:

discovery.seed_hosts: ["81.70.16.18"]

cluster.initial_master_nodes: ["node-1"]

gateway.recover_after_nodes: 1

xpack.security.enabled: true

然后重启,设置密码,此时发现RED消失了

./bin/elasticsearch-setup-passwords interactive

Initiating the setup of passwords for reserved users elastic,apm_syste


原文地址:https://blog.csdn.net/SPESEG/article/details/142658641

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!