table of Contents
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
3. Download and install the registration center zookeeper
Official website download address: http://zookeeper.apache.org/
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
(2) Enter the directory and modify the dubbo-admin configuration
(3) Package dubbo-admin
(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
(5) Remember to start the registration center zooepper before starting the monitoring center
Username: root
Password: root