使用confd+nacos以无侵入方式管理nginx confd部署mkdir -p $GOPATH/src/github.com/kelseyhightower wget https://github.com/nacos-group/nacos-confd/archive/v0.19.2.tar.gz tar -xvf v0.19.2.tar.gz -C $G 2020-04-19 Nginx confd nacos
Grafana的版本升级和数据迁移 下载最新的grafana版本官网下载地址 wget https://dl.grafana.com/oss/release/grafana-6.7.4.linux-amd64.tar.gz tar -zxvf grafana-6.7.4.linux-amd64.tar.gz 2020-03-16 Linux 监控
nginx实现四层代理 Nginx 从1.9.0开始发布ngx_stream_core_module模块,该模块支持tcp代理及负载均衡。 在编译时通过指定–with-stream参数来激活这个模块。 Nginx编译后参数如下-prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module 2020-03-14 Linux Nginx
Prometheus Grafana学习笔记 prometheus 大内存问题随着规模变大,prometheus需要的cpu和内存都会升高,内存一般先达到瓶颈,这个时候要么加内存,要么集群分片减少单机指标。原因:1、prometheus 的内存消耗主要是因为每隔2小时做一个 block 数据落盘,落盘之前所有数据都在内存里面,因此和采集量有关。2、加载历史数据时,是从磁盘到内存的,查询范围越大,内存越大。这里面有一定的优化空间3、一些不合理的 2020-03-13 Linux 监控
Redis Cluster搭建、扩容、缩容 集群机器列表redis版本 redis-cli 3.2.1110.16.76.116 10.16.76.117 10.16.76.119 集群安装跑ansible脚本 master 10.16.76.116:6000 10.16.76.117:6000 10.16.76.119:6000 slave 10.16.76.116:7000 10.16.76.117:7000 2019-10-27 Redis Redis
redis-migrate-tool使用详解 rmt介绍redis-migrate-tool 是维品会开源的一款redis数据迁移工具,基于redis复制,快速,稳定,github地址为:https://github.com/vipshop/redis-migrate-tool 。 快速。 多线程。 基于redis复制。 实时迁移。 迁移过程中,源集群不影响对外提供服务。 异构迁移。 支持Twemproxy集群,redis cluster集 2019-08-25 Redis redis
redis性能分析工具redis-faina redis-faina是一个通过解析redis的MONITOR命令,从而对redis实例进行性能诊断的工具。该工具使用虽然简单,但是功能还是很不错,对于定位线上redis性能问题,确实是一把利器。 通过redis MONITOR命令保存文件用于分析redis-cli -h 192.168.1.110 -p 6700 monitor |head -n 5000 > redis-6700.txt 2019-07-07 Redis redis key分布
CAT集群部署 cat集群机器列表cat1192.168.1.110 8080cat2192.168.1.111 8080cat3192.168.1.112 8080 部署tomcat新建setenv.sh然后添加环境变量bin/setenv.sh export CAT_HOME=/data/apps/data/cat/ export JAVA 2019-05-15 Linux cat
elastic 迁移 es迁移测试工具对比 测试工具 是否成功 环境搭建 迁移版本是否支持 工具地址 Elasticsearch Migration 是 简单,二进制下载即可用 5.0->5.0 https://github.com/medcl/esm-abandoned logstash迁移 是 更新和es对应版本 支持跨版本,logstash5.0 Elasticsearch-Expor 2019-04-22 ELK elk
Redis 迁移工具 rmt安装Redis-Migrate-Tool集群迁移工具,基于redis复制,快速,稳定。 github地址 cd redis-migrate-tool autoreconf -fvi ./configure make src/redis-migrate-tool -h 2019-03-21 Redis rmt RedisShake