zookeeper visual management tool

foreword
In project applications, dubbo, flume, etc. are often used to register services with zookeeper, and zookeeper is used to manage services. There are many inconveniences in using the zookeeper command to manage services. Therefore, I searched for a good zookeeper visualization open source software on the Internet and shared it with everyone.
 
zkWeb purpose
Provide a convenient web management page for zookeeper!
 
zkWeb Features
  • Configure multiple zookeeper cfg to manage multiple zookeeper data
  • The zookeeper directory is displayed in a tree structure. You can add and delete zNodes through the right-click menu.
  • Update the data of zNode at any time, convenient and fast
 
  • Add zk server information

 
 
  • Show zk server information tree

 
 
zkWeb deployment
1. Download the source code (source address: http://code.taobao.org/p/zkweb/wiki/index/ ) or use http://pan.baidu.com/s/1hs57yC0
 
2. Modify the database connection string zkweb\src\main\java\com\yasenagat\zkweb\util\ZkCfgManagerImpl.java

 
3. Use mvn clean package to package the zkWeb project

 
4. Copy zkWeb-1.0.war to the /tomcat/webapps directory and start tomcat (zkWeb uses the H2 database, so you need to install and configure the H2 database before starting).
 
H2 database installation and configuration
1. Download the H2 database Jar ( http://www.h2database.com/html/download.html ), I am currently using h2-1.3.176.jar.
 
2. Start the H2 service
  • Copy h2-1.3.176.jar to /opt/h2/bin/
  • java -cp h2-1.3.176.jar org.h2.tools.Server -web -webAllowOthers -tcp -tcpPort 19200 -tcpAllowOthers &
3. Use web tools to connect to H2 Console
Access URL: http://172.16.1.13:8082/login.jsp
During use, please use your own IP
 
4. Create ZK table
CREATE TABLE IF NOT EXISTS ZK(ID VARCHAR PRIMARY KEY, DES VARCHAR, CONNECTSTR VARCHAR, SESSIONTIMEOUT VARCHAR)
 
5. Start the zkWeb service.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326201033&siteId=291194637