zookeeper 管理界面工具推荐

zookeeper 管理界面工具推荐
总结: 监控、集群管理方面目前暂时并没有成熟稳定的开源项目,以下测试的项目,大部分偏重zookeeper数据管理,其余都是5年以上未有代码提交的项目;
====================================================================================================================
1、zktop
类似 IOtop,命令行查看命令,轻型工具,推荐使用
2、Zkui /
https://github.com/DeemOpen/zkui偏重节点数据管理,监控数据方面未有全局展示,节点增删不够灵活;推荐指数 **

Requires Java 7 to run.

  1. mvn clean install
  2. Copy the config.cfg to the folder with the jar file. Modify it to point to the zookeeper instance. Multiple zk instances are coma separated. eg: server1:2181,server2:2181. First server should always be the leader.
  3. Run the jar. ( nohup java -jar zkui-2.0-SNAPSHOT-jar-with-dependencies.jar & )
  4. http://localhost:9090

3、ireaderlab/zkdash


https://github.com/ireaderlab/zkdash (偏重节点数据管理,监控数据方面未有全局展示;推荐指数 ***)

安装步骤

  • 安装并运行mysql

  • 安装python2.7, 版本最好 >= 2.7.6

  • 下载zkdash

    ```
    git clone https://github.com/ireaderlab/zkdash.git
    ```
    
  • 安装依赖项

    cd zkdash
    pip install -r requirements.txt
    
  • 设置配置文件

    根据需要修改当前目录下./conf/conf.yml中相关配置信息,配置文件详细说明见后面

  • 同步数据库表结构 首先创建数据库zkdash,并设置数据库的用户名和密码 将配置文件的数据库的用户名和密码进行修改

    DATABASE:
      db: 'zkdash'
      host: '192.168.1.1'   # 修改为你的数据库地址
      port: 3306   # 设置端口号
      user: 'tokyo'   # 修改用户名
      passwd: 'tokyo!'  # 修改密码
    
    设置完成后进行初始化数据库
    
    cd zkdash
    python ./bin/syncdb.py   # 注意执行路径必须为./bin/syncdb.py
    

    说明:数据库使用mysql,创建表结构前请先配置数据库连接信息

  • 注意数据字符编码 utf8
  • 运行

    cd zkdash
    python init.py -port=8888
    

    说明:初次运行zkdash时需要到zookeeper管理菜单下增加监控的zookeeper集群ip信息

https://github.com/phunt/zookeeper_dashboard

(python项目,N久未有代码提交,测试未通过;)

5、alibaba/taokeeper

https://github.com/alibaba/taokeeper (淘宝开源项目,目前测试版,推荐指数 *)
半途而废项目,未通过测试;
环境准备:
jdk 1.7
tomcat 7.X
mysql
初始化数据库

# mysql -uroot < taokeeper.sql

# mysql -uroot -e "grant all privileges on taokeeper.* to test@'0.0.0.0' identified by '123456';"

# mysql -uroot -e "flush privileges;"


初试化项目配置

1、cp taokeeper-build/etc/taokeeper-monitor-config.properties /usr/local/apache-tomcat-7.0.62/webapps/taokeeper-monitor/

vim taokeeper-monitor-config.properties

#Daily-TB


systemInfo.envName=


#DBCP

dbcp.driverClassName=com.mysql.jdbc.Driver

dbcp.dbJDBCUrl=jdbc:mysql://0.0.0.0:3306/taokeeper

dbcp.characterEncoding=GBK

dbcp.username=root

dbcp.password=

dbcp.maxActive=30

dbcp.maxIdle=10

dbcp.maxWait=10000


#SystemConstant

SystemConstent.dataStoreBasePath=/usr/local/apache-tomcat-7.0.62/taokeeper-monitor/datastore/

SystemConstant.userNameOfSSH=root

SystemConstant.passwordOfSSH=

#Optional

SystemConstant.configOfMsgCenter=

2、

配置tomcat

vim bin/catalina.sh

JAVA_OPTS=-DconfigFilePath="/usr/local/apache-tomcat-7.0.62/webapps/taokeeper-monitor/taokeeper-monitor-config.properties"


3、修改日志配置

/usr/local/apache-tomcat-7.0.62/webapps/taokeeper-monitor/WEB-INF/classes//log4j.properties



     

    Pingbacks已打开。

    引用地址

    评论
    1. KimGal KimGal 发布于 2021年3月9日 01:31 #

      <a href="https://oggpharm.com/">zoloft pills 50mg</a>

    2. JoeGal JoeGal 发布于 2021年3月9日 01:44 #

      <a href="https://pillsenorx.com/">zoloft sertraline</a> <a href="https://reallevitra.com/">buy levitra from uk</a> <a href="https://conmstore.com/">metformin sr</a> <a href="https://enviagra.com/">viagra canada</a> <a href="https://ntmhealth.com/">lexapro prescription cost</a> <a href="https://cialismedication.com/">tadalafil online no prescription</a> <a href="https://viagrabtab.com/">buy viagra medicine online india</a> <a href="https://cialisuno.com/">tadalafil 10</a>

    3. GeraldMom GeraldMom 发布于 2021年3月9日 01:46 #

      prescription drugs without a doctor <a href=" https://genericwdp.com/# ">generic pills for ed</a>
      sildenafil without doctor prescription: https://genericwdp.com/ meds without a doctor prescription
      <a href=https://genericwdp.com/#>india pharmacy</a> meds online without doctor prescription

    4. IvyGal IvyGal 发布于 2021年3月9日 01:49 #

      <a href="https://btviagra.com/">female viagra price</a> <a href="https://adatabs.com/">25 retin a</a> <a href="https://levitrahow.com/">levitra medication</a> <a href="https://okviagra.com/">how to order vigra on internet</a> <a href="https://toptabstore.com/">order clomid online india</a> <a href="https://rlcialis.com/">order cialis online india</a> <a href="https://oggpharm.com/">buy uk generic fluoxetine</a> <a href="https://pfhhealth.com/">cost of finasteride</a> <a href="https://enviagra.com/">where to buy female viagra</a> <a href="https://ycialis.com/">cialis sale australia</a>

    5. NickGal NickGal 发布于 2021年3月9日 01:50 #

      <a href="http://ntmhealth.com/">cost of fluoxetine 60 mg</a> <a href="http://malegraonline.com/">malegra 100</a> <a href="http://tbbstore.com/">augmentin pills</a> <a href="http://tkmeds.com/">save on pharmacy</a> <a href="http://cialisdt.com/">dapoxetine priligy</a> <a href="http://buyimedications.com/">bupropion</a> <a href="http://ventolinha.com/">albuterol price 5mg</a> <a href="http://drugsildenafil.com/">generic viagra online india</a>

    6. AnnaGal AnnaGal 发布于 2021年3月9日 01:53 #

      <a href="http://ventolinha.com/">where to buy ventolin</a> <a href="http://cymbaltapill.com/">cheap generic cymbalta</a> <a href="http://yasminrx.com/">buy yasmin</a> <a href="http://rlcialis.com/">cialis brand for sale</a> <a href="http://optablets.com/">augmentin 825 125 mg</a> <a href="http://iviagrabuy.com/">sildenafil citrate generic</a>

    7. 스카이 카지노 스카이 카지노 发布于 2021年3月9日 01:55 #

      Great blog here! Also your web site loads up very fast! What web host are you using?
      Can I get your affiliate link to your host?
      I wish my website loaded up as fast as yours lol

    8. 더나인카지노 더나인카지노 发布于 2021年3月9日 02:04 #

      Superb blog you have here but I was curious about
      if you knew of any community forums that cover the
      same topics discussed here? I'd really like to be a part
      of group where I can get suggestions from other knowledgeable people that share the same interest.
      If you have any suggestions, please let me know.
      Thanks!

    9. 더나인카지노 더나인카지노 发布于 2021年3月9日 02:04 #

      Superb blog you have here but I was curious about if you knew of any
      community forums that cover the same topics discussed here?

      I'd really like to be a part of group where I can get suggestions
      from other knowledgeable people that share the same interest.
      If you have any suggestions, please let me know.
      Thanks!

    发表评论