美文网首页
部署区块链浏览器 | 部署(二) | report agent(

部署区块链浏览器 | 部署(二) | report agent(

作者: Ricsy | 来源:发表于2019-01-01 04:50 被阅读6次

report agent部署


注意:
每台部署了区块链节点的机器仅运行一个脚本即可。
使用前,请将需要被监控的区块链节点配置文件中的statlog打开。

  • 配置config文件使statlog参数为ON
    vim config.json

注意:若修改了config.json,则需要重启节点才会生效。

  • 进入区块链浏览器根目录下的report文件夹,修改ReportAgent.py
    vim ReportAgent.py

提示:我采用的是两服务器各两个节点的部署方式

  • 常用命令

启动脚本
chmod +x start_Agent.sh
./start_Agent.sh

查看日志
tail -f agentOut.txt

关闭脚本
chmod +x stop_Agent.sh
./stop_Agent.sh


上一篇 主教程 下一篇
浏览器部署 部署区块链浏览器教程 page部署

相关文章

网友评论

      本文标题:部署区块链浏览器 | 部署(二) | report agent(

      本文链接:https://www.haomeiwen.com/subject/oowglqtx.html