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
从节点重新设置主节点
总体功能不错,可以对Redis集群实现管理功能。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。