Dubbo---dubbo environment construction (download and install the registration center zookeeper and monitoring center)

1. Registration Center

1. Zookeeper registration center

  • Zookeeper is a high-performance, distributed, open source distributed application coordination service. Referred to as zk.
  • Zookeeper is the translation manager and the animal manager. It can be understood as the resource manager or registry in windows. It is a tree structure, which is similar to a standard file system. Each node in the ZooKeeper tree is called a Znode. Like the directory tree of the file system, each node in the ZooKeeper tree can have child nodes. Each node represents a unique service resource. Zookeeper requires java environment to run.

2. How the registration center works

Insert picture description here

3. Download and install the registration center zookeeper

Official website download address: http://zookeeper.apache.org/

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

2. Monitoring Center

1. What is a monitoring center

  • The use of dubbo, in fact, only need three registration center, consumer, provider can be used, but can not see which consumers and providers, in order to better debug, find and solve problems, so Introduce dubbo-admin.
  • Consumers and providers can be managed through dubbo-admin. Dynamic adjustment and service management can be done in dubbo application deployment.

dubbo-admin :
Graphical service management page, you need to specify the address of the registration center during installation, and all providers/consumers can be obtained from the registration center for configuration management

2. Download and install the monitoring center (dubbo-admin)

Official website address: https://github.com/apache/incubator-dubbo-ops

(1) Download dubbo-admin

Insert picture description here

(2) Enter the directory and modify the dubbo-admin configuration

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

(3) Package dubbo-admin

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

(4) Run dubbo-admin

Enter cmd in the directory where the jar package is stored to enter the command line window and enter the following command
java -jar dubbo-admin-0.0.1-SNAPSHOT.jar
Insert picture description here

(5) Remember to start the registration center zooepper before starting the monitoring center

Insert picture description here

Username: root
Password: root

Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/hcz666/article/details/115055698