Construction of dubbo management platform

1. Installation

1. Download the dubbo package, the path is https://github.com/alibaba/dubbo.

2. Enter cmd, decompress the file, enter the directory E:\dubbo-master\dubbo-admin, execute mvn package -Dmaven.skip.test=true, you can see dubbo-admin-2.5.5.war in the target .

3. Put dubbo-admin-2.5.5.war in the webapps directory of tomcat.

3. Start zookeeper and tomcat.

4. Visit http://localhost:8080/dubbo-admin-2.5.5/, enter the account password, the default configuration is D:\apache-tomcat-8.5.20\webapps\dubbo-admin-2.5.5\WEB- INF\dubbo.properties is visible.

 

2. Routing configuration

For example, consumers 1, 2, 3, and providers 4, 5, and 6, we want 1 to access 4, 2 to access 5, and 3 to access 6. You can create three new rules and fill in the ip of the consumer and the provider respectively.

3. Load balancing

You can configure the service name, method name, and selection rules.

...

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326768780&siteId=291194637