Loading

摘要: ES分片损坏 如果遇到unassigned shared 可以通过以下命令,查询并将损坏的索引名称打印到文件内 curl -k -u elastic:elastic -XGET "http://192.168.45.11:9200/_cat/shards?" | grep UNASSIGNED >> 阅读全文
posted @ 2021-01-27 16:48 坚果Leo 阅读(444) 评论(0) 推荐(0)
摘要: 安装ES安全认证 进入到skywalking/elasticsearch/elasticsearch-7.6.2/bin路径下, 1、为集群创建认证 文件根目录下,执行 bin/elasticsearch-certutil ca 依次输入回车(文件使用默认名),密码 2、为节点颁发证书 之后执行 b 阅读全文
posted @ 2021-01-27 16:23 坚果Leo 阅读(1357) 评论(0) 推荐(0)
摘要: 安装Cerebro Cerebro为ES提供了优秀的监控机制,官方地址:https://github.com/lmenezes/cerebro 下载最新版本 需要有java环境,ES也是依赖java环境 可直接root操作创建安装路径如下: /usr/local/cerebro 解压: tar zx 阅读全文
posted @ 2021-01-27 16:09 坚果Leo 阅读(478) 评论(0) 推荐(0)
摘要: Python 1、What is the purpose of the self keyword when defining calling methods on an instance of an object? ** A、self means that no other arguments ar 阅读全文
posted @ 2021-01-27 15:19 坚果Leo 阅读(248) 评论(0) 推荐(0)
摘要: 1、ES高可用架构图 ES数据库最好的高可用集群部署架构为: 三台服务器做master节点、三台服务器作为data节点(存储资源要大)、三台做ingest节点(用于数据转换,可以提高ES查询效率) 2、创建ES用户组 Elasticsearch不能在 root 用户下启动,我们需要在三台机器上分创建 阅读全文
posted @ 2021-01-27 15:00 坚果Leo 阅读(1728) 评论(0) 推荐(0)