Dubbo 2.6.1升级

下载源码并编译打包

  1. 下载源码

https://github.com/apache/incubator-dubbo-ops

  1. incubator-dubbo-ops-master\dubbo-admin\src\main\resources下application.properties修改server.port(服务管理平台端口)和dubbo.registry.address(连接到哪几台zookeeper注册服务器)的配置,例如:

server.port=8080

dubbo.registry.address=zookeeper://172.26.160.27:2181?backup=172.26.160.26:2181,172.26.160.28:2181

  1. 编译打包

incubator-dubbo-ops-master目录下执行 mvn clean package -Dmaven.test.skip=true

admin服务管理平台

  1. incubator-dubbo-ops-master\dubbo-admin\target目录下生成了dubbo-admin-0.0.1-SNAPSHOT.jar包,直接后台运行此jar,命令为nohup java -jar dubbo-admin-0.0.1-SNAPSHOT.jar &
  2. 结果

 Dubbo 2.6.1升级_第1张图片

monitor监控服务

1.incubator-dubbo-ops-master/dubbo-monitor-simple/target目录下,生成了 dubbo-monitor-simple-2.0.0-assembly.tar.gz ,解压,将解压后的dubbo-monitor-simple-2.0.0放入安装目录

2.dubbo-monitor-simple-2.0.0/conf目录下, 修改dubbo.properties文件,主要修改dubbo.registry.address、dubbo.protocol.port和dubbo.jetty.port配置

例如

dubbo.registry.address=zookeeper://172.26.160.27:2181?backup=172.26.160.26:2181,172.26.160.28:2181

dubbo.protocol.port=7070

dubbo.jetty.port=8081

  1. 运行根目录下assembly.bin/start.sh启动监控服务
  2. 结果

Dubbo 2.6.1升级_第2张图片

你可能感兴趣的:(框架,java,编程)