上一页 1 ··· 200 201 202 203 204 205 206 207 208 ··· 273 下一页
摘要: elasticsearch如何安全重启节点 问题: elasticsearch集群,有时候可能需要修改配置,增加硬盘,扩展内存等操作,需要对节点进行维护升级。但是业务不能停,如果直接kill掉节 点,可能导致数据丢失。而且集群会认为该节点挂掉了,就开始转移数据,当重启之后,它又会恢复数据,如果你当前 阅读全文
posted @ 2017-08-31 15:10 bonelee 阅读(2414) 评论(0) 推荐(0)
摘要: 摘自:http://unasm.com/2016/11/644/ 在通过 /_cluster/state 命令查看es 状态的时候,发现es 处于一个yellow的状态, 这个很奇怪,按照官方的解释,就是所有主分片都是处于可用状态,但是有复制分片不可用。为什么有复制分片不可用呢? 通过/_cat/s 阅读全文
posted @ 2017-08-31 14:44 bonelee 阅读(11171) 评论(0) 推荐(0)
摘要: 什么是一个Shard? Shard就是一个Lucene Index,参照文章(深入理解Shard和Lucene Index)。 Index需要多少个Shard? 回答这个问题,我们需要先谈谈节点,一个集群有多个节点,具体需要多少个节点合适,是另外一个问题,但是这个数字也会影响我们对Shard数的设置 阅读全文
posted @ 2017-08-30 17:25 bonelee 阅读(789) 评论(0) 推荐(0)
摘要: similarity similarity Elasticsearch allows you to configure a scoring algorithm or similarity per field. The similaritysetting provides a simple way o 阅读全文
posted @ 2017-08-30 10:43 bonelee 阅读(3409) 评论(0) 推荐(0)
摘要: Delaying Shard Allocation Delaying Shard Allocation Delaying Shard Allocation Delaying Shard Allocation As discussed way back in Scale Horizontally, E 阅读全文
posted @ 2017-08-28 16:40 bonelee 阅读(1545) 评论(0) 推荐(0)
摘要: 集群版本升级 Elasticsearch 作为一个新兴项目,版本更新非常快。而且每次版本更新都或多或少带有一些重要的性能优化、稳定性提升等特性。可以说,ES 集群的版本升级,是目前 ES 运维必然要做的一项工作。 按照 ES 官方设计,有 restart upgrade 和 rolling upgr 阅读全文
posted @ 2017-08-28 16:24 bonelee 阅读(760) 评论(0) 推荐(0)
摘要: Full cluster restart upgrade Full cluster restart upgrade Full cluster restart upgrade Full cluster restart upgrade Elasticsearch requires a full clus 阅读全文
posted @ 2017-08-28 15:31 bonelee 阅读(1137) 评论(0) 推荐(0)
摘要: Upgrading Elasticsearch Upgrading Elasticsearch Before upgrading Elasticsearch: Consult the breaking changes docs. Use the Elasticsearch Migration Plu 阅读全文
posted @ 2017-08-28 14:52 bonelee 阅读(473) 评论(0) 推荐(0)
摘要: 集群节点Elasticsearch升级 操作流程 1.首先执行Elasticsearch-1.2.2集群的索引数据备份 2.关闭elasticsearch-1.2.2集群的recovery.compress 3.关闭shard reallocation 4.关闭集群中需要升级的节点 5.确认被关闭节 阅读全文
posted @ 2017-08-28 14:47 bonelee 阅读(873) 评论(0) 推荐(0)
摘要: "cluster.routing.allocation.balance.shard":"0.45f",//定义分配在该节点的分片数的因子 阈值=因子*(当前节点的分片数-集群的总分片数/节点数,即每个节点的平均分片数) "cluster.routing.allocation.balance.inde 阅读全文
posted @ 2017-08-28 14:28 bonelee 阅读(3493) 评论(0) 推荐(0)
上一页 1 ··· 200 201 202 203 204 205 206 207 208 ··· 273 下一页