上一页 1 ··· 149 150 151 152 153 154 155 156 157 ··· 236 下一页
摘要: Posted on 2015-11-10 09:32 NooBkey 阅读(3033) 评论(0) 编辑 收藏 a 追加内容 sed ‘/匹配词/a\要加入的内容’ example.file(将内容追加到匹配的目标行的下一行位置)i 插入内容 sed ‘/匹配词/i\要加入的内容’ example. 阅读全文
posted @ 2021-04-27 10:21 技术颜良 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: discovery.zen.minimum_master_nodes对集群的稳定性至关重要,防止脑裂的出现。 脑裂: 如果网络的故障导致一个集群被划分成两片,每片都有多个node,以及一个master。因为master是维护集群状态,以及shard的分配。如果出现了两个master,可能导致数据破损 阅读全文
posted @ 2021-04-26 16:47 技术颜良 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个名为“ example1.sh”的脚本,该脚本使用输入重定向和循环: [root@localhost ~]# cat example1.sh #!/bin/bashwhile read rowsdo echo "Line contents are : $rows "done < myco 阅读全文
posted @ 2021-04-25 20:43 技术颜良 阅读(339) 评论(0) 推荐(0) 编辑
摘要: FROM node:slimRUN useradd somebody -u 10001 --create-home --user-group # < Create a userCOPY --chown=somebody . /home/somebody/app/USER 10001WORKDIR / 阅读全文
posted @ 2021-04-25 20:41 技术颜良 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 一、安装elasticdump 终端中输入 1 npm install elasticdump -g -g表示全局可用,直接在终端输入 elasticdump --version,出现版本信息即表示安装成功,如下 1 2 C:\Users\T470s>elasticdump --version 6. 阅读全文
posted @ 2021-04-23 17:09 技术颜良 阅读(1073) 评论(0) 推荐(0) 编辑
摘要: PUT /_cluster/settings { "persistent": { "cluster": { "max_shards_per_node":10000 } } 阅读全文
posted @ 2021-04-23 16:47 技术颜良 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 设置全局分片数量:put http://196.168.137.100:9200/_template/template_http_request_record{“index_patterns”: ["*"],“settings”: {“number_of_shards”: 5,“number_of_ 阅读全文
posted @ 2021-04-23 16:31 技术颜良 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 环境; centos7.6, linux 内核 3.10 可以修改 /etc/security/limits.conf,2.6版本的内核默认是在/etc/security/limits.d/90-nproc.conf 里的配置会覆盖 /etc/security/limits.conf 的配置。所以直 阅读全文
posted @ 2021-04-21 10:17 技术颜良 阅读(1869) 评论(0) 推荐(0) 编辑
摘要: 关键指标说明: status:集群状态,分为green、yellow和red。number_of_nodes/number_of_data_nodes:集群的节点数和数据节点数。active_primary_shards:集群中所有活跃的主分片数。active_shards:集群中所有活跃的分片数。 阅读全文
posted @ 2021-04-20 14:57 技术颜良 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xxnn/p/10552819.html 阅读全文
posted @ 2021-04-20 14:53 技术颜良 阅读(34) 评论(0) 推荐(0) 编辑
上一页 1 ··· 149 150 151 152 153 154 155 156 157 ··· 236 下一页