Installation of the Dubbo management console
1, Dubbo Management Console's main role: Service governance
2. The management console mainly includes:
Routing rules
Dynamic configuration
Service downgrade
Access control
Weight adjustment
Management functions such as load balancing
3. Management Console version:
Current stable version: Dubbo-admin-2.5.3.war (available to group 446855438 download)
Latest 2.5.4-snapshot version: https://Github.com/alibaba/dubbo
4. Install Dubbo Management Console
Dubbo Control console can be registered to the Zookeeper Registry Service or service consumers to manage, but the control console is normal to the Dubbo service has no impact, the control console also does not need to be highly available, so you can deploy a single node.
Deployment container: apache-tomcat-6, 7
Port: 8080
This way, take TOMCAT7 as an example. Deploy Dubbo Management Engineering
1, download the latest version of TOMCAT7:
$wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.57. tar.gz
2, Decompression:
$ TAR-ZXVF apache-tomcat-7.0.57.tar.gz
3. Remove all files from the/home/ant/apache-tomcat-7.0.57/webapps directory:
$ RM-RF *
4, Upload Dubbo Management Console program Dubbo-admin-2.5.3.war to
/home/ant/apache-tomcat-7.0.57/webapps
5. Unzip and name the directory Dubbo:
$ unzip dubbo-admin-2.5.3.war-d Dubbo
6, Configuration dubbo.properties:
$ VI root/web-inf/dubbo.properties
dubbo.registry.address=zookeeper://Local ip:2181
Dubbo.admin.root.password=xxx
Dubbo.admin.guest.password=ooo (the above password before the formal production to be modified)
7, firewall open 8080 port, with the root user to modify/etc/sysconfig/iptables
Vi/etc/sysconfig/iptables
Increase:
Apache-tomcat-7.0.57:8080-a input-m State--state new-m tcp-p TCP--dport 8080-j ACCEPT
To restart the firewall:
Service Iptables Restart
8. Start TOMAT7
$/home/ant/apache-tomcat-7.0.57/bin/startup.sh
10. Configure the Tomcat boot to deploy the Dubbo control console:
To edit the/etc/rc.local file in the virtual host, add:
Su-ant-c '/home/ant/apache-tomcat-7.0.57/bin/startup.sh '
Build Springmvc+dubbo Distributed Platform-dubbo Control console installation