随笔分类 - redis
摘要:环境: os:Centos 7 redis:4.0.12 1. 查看ruby安装路径 [root@dev_test_redis ~]# which ruby /opt/ruby/bin/ruby [root@dev_test_redis ~]# 2.尝试检查redis集群 检查其中一个节点即可 [r
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.当前集群的状态 [root@dev_test_redis redis_6384]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 W
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.当前集群的状态 [root@dev_test_redis redis_6384]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 W
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.新建集群模拟写入数据 [root@dev_test_redis conf]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 Warn
阅读全文
摘要:环境OS:Centos 7db:4.0.14角色 机器ip主 192.168.1.84 6379从 192.168.1.84 6380主 192.168.1.84 6381从 192.168.1.84 6382主 192.168.1.84 6383从 192.168.1.84 6384 1.下载安装
阅读全文
摘要:环境:OS:Centos 7redis:7.4.0 1.准备redis配置文件 [root@localhost redisconf]# more redis.conf ##daemonize yes dir ./ port 6379 tcp-backlog 511 timeout 300 tcp-k
阅读全文
摘要:脚本 [root@localhost scripts]# more get_latency_history.sh #!/bin/bash timeout 5 /usr/local/services/redis/bin/redis-cli -u redis://123@192.168.1.14:637
阅读全文
摘要:环境: OS:Centos 7 RedisShake:v4.2.2 1.下载地址 https://github.com/tair-opensource/RedisShake/releases/download/v4.2.2/redis-shake-linux-amd64.tar.gz 2.解压安装
阅读全文
摘要:环境: 3主3从部署的集群 973:M 21 Nov 19:19:30.083 * Ready to accept connections 973:M 21 Nov 19:19:30.204 * Slave 192.168.10.1:9002 asks for synchronization 973
阅读全文
摘要:#!/bin/bash now_date=`date "+%Y%m%d%H%M%S"` total_commands_processed=`/usr/local/redis/bin/redis-cli -h 192.168.1.50 -a test123 -p 6379 info 2>/dev/nu
阅读全文
摘要:环境:Os:Centos 7redis-shake:4.0.2 说明:redis源端和目的端都是单节点 1.项目地址https://github.com/tair-opensource/RedisShake/tags 2.下载介质我这里下载的版本是4.0.2,文件如下:redis-shake-lin
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 ################################主库部署#######################1.解压介质并安装[root@localhost soft]# tar -xvf redis-4.0.14.tar.gz[roo
阅读全文
摘要:环境: OS:Centos 7 PMM:版本1 注意:如下方法只适用于pmm版本1,pmm2好像不支持. 1.下载redis_exporterwget https://github.com/oliver006/redis_exporter/releases/download/v1.3.5/redis
阅读全文
摘要:使用如下命令获取大key/usr/local/services/redis/bin/redis-cli -h 192.168.1.136 -a 123456 -p 7001 --bigkeys summary Sampled 5123146 keys in the keyspace!Total ke
阅读全文
摘要:[root@cdc-henan-cdhworker02 redis]# /usr/local/redis/bin/redis-cli -h 192.168.1.50 -a test123 -p 6379 Warning: Using a password with '-a' or '-u' opti
阅读全文
摘要:redis-cli -h 192.168.1.114 -a test123 --bigkeys hotkeys命令需要redis 4.0以上的版本才支持 /usr/local/redis/src/redis-cli -h 192.168.1.50 -a test123 --hotkeys 分析热ke
阅读全文
摘要:环境:OS:Centos 7ip:192.168.1.135redis服务器:192.168.1.49 1.安装ruby下载地址https://www.ruby-lang.org/en/downloads/我这里下载的是2.7.5ruby-2.7.5.tar.gz 2.安装[root@localho
阅读全文
摘要:安装部署redislive环境:OS:Centos 7Python:2.7.5 1.下载下载地址为:https://github.com/kumarnitin/下载文件文件为:RedisLive-master.zip 2.解压[root@localhost soft]# unzip RedisLiv
阅读全文
摘要:环境: Python:2.7.5 1.下载redis-faina 下载地址 https://github.com/facebookarchive/redis-faina 2.解压安装 # unzip redis-faina-master.zip 3.使用 [root@]# ./redis-faina
阅读全文
摘要:1.安装npm 安装步骤请参考 https://www.cnblogs.com/hxlasky/p/16141313.html 2.安装waoffle [root@localhost tmp]# npm install -g waoffle/usr/local/bin/waoffle -> /usr
阅读全文