标签:redis集群监控redisclustermanager
RedisClusterManager监控Redis集群
环境要求:Java8+ jdk配置这里略过 RedisClusterManager 下载地址:
附件: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.
从节点重新设置主节点
总体功能不错,可以对Redis集群实现管理功能。
本文出自 “xiangcun168” 博客,请务必保留此出处http://xiangcun168.blog.51cto.com/4788340/1923302
标签:redis集群监控redisclustermanager
原文地址:http://xiangcun168.blog.51cto.com/4788340/1923302