bcmtool使用

bcm tool工具的目的是对bcm zk中的gc集群信息以及加速pool等信息进行配置查询等操作,主要包括对:

  1. Global Cache集群的增删,加速pool的增删,xml文件的导入导出。
  2. Global Cache集群信息查询。
  3. 告警信息查询。
工具支持在客户端及服务端使用,为做出区分分别叫做bcmtool_cbcmtool_s,建议将/opt/gcache/conf/gcache.conf中tls_status置为off。
客户端启动bcmtool命令:
export LD_LIBRARY_PATH=/opt/gcache_adaptor_compile/third_part/lib
/opt/gcache_adaptor_compile/third_part/bin/bcmtool_c
服务端启动bcmtool命令:
export LD_LIBRARY_PATH=/opt/gcache/lib
/opt/gcache/bin/bcmtool_s