上一页 1 2 3 4 5 6 7 ··· 44 下一页
摘要: ```css 1、查看分片分布 GET _cat/shards?v 2、设置集群节点允许分片数 GET /_cluster/settings { "index.routing.allocation.total_shards_per_node":2 } 3、解除索引只读 PUT /_all/_sett 阅读全文
posted @ 2022-09-04 15:17 西门运维 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 设置多个国内源 cat >/etc/pip.conf<<EOF [global] index-url=http://pypi.douban.com/simple extra-index-url=http://mirrors.aliyun.com/pypi/simple/,https://pypi.t 阅读全文
posted @ 2022-07-21 15:26 西门运维 阅读(258) 评论(0) 推荐(0) 编辑
摘要: nginx代理后端服务返回404 需带上host头 location ^~ /publicApi/ { rewrite ^/publicApi/(.*)$ /public/v1/$1 break; proxy_pass http://public-api-backend:8231/; proxy_s 阅读全文
posted @ 2022-07-19 16:59 西门运维 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: 【导读】中小型城商行在科技人员配置和资金投入时一般都是重开发轻运维,运维管理粗放,这就不可避免地暴露了很多运维的问题和痛点,本文尝试分析并提出对策。 【作者】谢茜茜,某城商行信息科技部系统运维组骨干成员,十余年系统运维从业经验,主要负责全行主机、存储、操作系统、云管平台等基础软硬件运维工作。统筹组织 阅读全文
posted @ 2022-06-17 10:57 西门运维 阅读(434) 评论(0) 推荐(1) 编辑
摘要: 总结 一、遇到集群Red时,我们可以从如下方法排查: 集群层面:/_cluster/health。 索引层面:/_cluster/health?pretty&level=indices。 分片层面:/_cluster/health?pretty&level=shards。 看恢复情况:/_recov 阅读全文
posted @ 2022-06-09 19:18 西门运维 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 查看集群状态 GET /_cluster/health { "cluster_name" : "yzt-es-cluster", "status" : "yellow", "timed_out" : false, "number_of_nodes" : 20, "number_of_data_nod 阅读全文
posted @ 2022-06-08 16:06 西门运维 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 优化相关 修改logstash.yml配置文件 一、pipeline.workers(实际output 时的线程数) 决定filter和output的线程数,官方建议大于CPU数,如果logstah节点是混用服务器, 建议等于或小于CPU数 二、pipeline.batch.size(每次发送的事件 阅读全文
posted @ 2022-06-08 15:58 西门运维 阅读(813) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch集群监控状态指标分三个级别●集群级别:集群级别的监控主要是针对整个Elasticsearch集群来说,包括集群的健康状况、集群的状态等。●节点级别:节点级别的监控主要是针对每个Elasticsearch实例的监控,其中包括每个实例的查询索引指标和物理资源使用指标。●索引级别 阅读全文
posted @ 2022-04-28 14:24 西门运维 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 安装命令 sudo yum install epel-release -y sudo yum install nginx nginx-mod-stream -y systemctl status nginx systemctl start nginx 修改配置文件 vim "/etc/nginx/n 阅读全文
posted @ 2022-04-17 13:47 西门运维 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 架构图 哨兵的介绍 sentinel , 中文是哨兵。 哨兵是redis 集群架构中非常重要的一个组件,主要功能如下: (1)集群监控:负责监控reidis master 和slave 进程是否正常工作; (2)消息通知:如果某个redis实例有故障,那么哨兵负责发送消息作为报警通知给管理员; (3 阅读全文
posted @ 2022-01-07 15:25 西门运维 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 44 下一页