首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Zabbix监控es集群状态

”: 15,#主分片数 “active_shards”: 15,#可用的分片数 “relocating_shards”: 0,#正在迁移的分片数 “initializing_shards”: 0,#正在初始化的分片数...“unassigned_shards”: 15, #未分配的分片,但在集群中存在 “delayed_unassigned_shards”: 0, #延时待分配到具体节点上的分片数 “number_of_pending_tasks...”: 0, #待处理的任务数,指主节点创建索引并分配shards等任务 “number_of_in_flight_fetch”: 0, “task_max_waiting_in_queue_millis...”: 0, “active_shards_percent_as_number”: 50 #可用分片数占总分片的比例 1.编写采集脚本获取集群状态 vim /monitor_es.py #encoding...","active_shards","relocating_shards","initializing_shards","unassigned_shards","delayed_unassigned_shards

1.7K30

索引单节点可分配分片数达到限制

异常现象通过执行 GET /_cluster/allocation/explain 查看当前索引分配详情"deciders": [{"decider": "shards_limit","decision...": "NO","explanation": "too many shards [1] allocated to this node for index [index-xxx], index setting...[index.routing.allocation.total_shards_per_node=1]"}]如果 decider 中返回 shards_limit,通常是由于配置了单节点可分配分片数达到上限而无法分配...排查流程执行 GET /{myIndex}/_settings 查看 index.routing.allocation.total_shards_per_node 配置的具体值,需要保证该值大于等于((...如果该值小于会导致部分分片无法分配解决方案修改单节点可分配分片数大小大于(主分片数+副本分片数)/ 节点数,或-1(不限制数量)PUT /{myIndex}/_settings{ "index.routing.allocation.total_shards_per_node

33040
领券