RedisClusterManager监控Redis集群

网站建设哪家好,找创新互联!专注于网页设计、网站建设、微信开发、小程序制作、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了
濉溪免费建站欢迎大家使用!环境要求:Java8+
jdk配置这里略过
RedisClusterManager 下载地址:https://git.oschina.net/yanfanVIP/RedisClusterManager/releases 附件:systemMonitor-release.tar.gz 收集系统状态包
附件: RedisManager-Web-1.0.0-SNAPSHOT-beta.tar.gz redis集群管理包
1、安装systemMonitor
# tar -zxvf systemMonitor-release.tar.gz
# vi start.sh
#!/bin/sh
website="http://localhost:8080/metric"
ip="192.168.1.107" #这里的IP要和RedisManager-Web保持一致
java -jar systemMonitor.jar --website=$website --ip=$ip
#sh start.sh #启动systemMonitor
200
2、安装RedisManager-Web
#tar -zxvf RedisManager-Web-1.0.0-SNAPSHOT-beta.tar.gz
# sh start.sh #启动RedisManager-Web
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.2.RELEASE)
2017-05-08 12:01:30.679 INFO 5505 --- [ main] org.redis.manager.AppStarter : Starting AppStarter v1.0.0-SNAPSHOT on WebServer107 with PID 5505 (/data/software/RedisManager-Web-1.0.0-SNAPSHOT/RedisManager-Web-1.0.0-SNAPSHOT.jar started by root in /data/software/RedisManager-Web-1.0.0-SNAPSHOT)
2017-05-08 12:01:30.682 INFO 5505 --- [ main] org.redis.manager.AppStarter : No active profile set, falling back to default profiles: default
2017-05-08 12:01:30.752 INFO 5505 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Mon May 08 12:01:30 CST 2017]; root of context hierarchy
2017-05-08 12:01:31.312 INFO 5505 --- [ main] o.s.b.
访问: http://192.168.1.107:8080
1、集群监控功能

2、集群状态查询

3、集群节点管理功能

从节点重新设置主节点

主从切换

槽迁移

4、集群数据管理

创建集群
1、打开Manager首页,点击右上角的Create Cluster
2、若没有在集群中注册redis打包文件,则点击Import Resource,并且上传Resource

3、若没有在集群中注册Server信息,则点击Import Server

4、点击Install Node, 进行Redis以及monitor的自动化安装

5、安装完所有节点后,点击Create Cluster,填写Master数量,生成集群

6、查询新建集群状态

数据查询的方法
1、在Manager首页,点击集群进入集群操作界面
2、点击右上角的Query按钮,进入查询界面
3、在搜索框输入需要查询的key,或者使用通配符‘*’进行匹配

4、在查询的key列表中,点击查询数据详情

总体功能不错,可以对Redis集群实现管理功能。
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站题目:Redis集群监控RedisClusterManager-创新互联
网页链接:
http://kswsj.cn/article/dehpsi.html