Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Master node, slave node, system and method for mirror image management of distributed container cluster

A container cluster and management system technology, applied in the computer field, can solve problems such as the need to improve reliability and security, and the low efficiency of the image management system, and achieve the effect of improving batch management capabilities, realizing efficient and safe operation, and speeding up the speed.

Active Publication Date: 2020-01-03
NANJING UNIV OF POSTS & TELECOMM
View PDF12 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the problems of low efficiency, reliability and security of the current container cluster image management system, the present invention provides a distributed container cluster image management master node, slave node, system and method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Master node, slave node, system and method for mirror image management of distributed container cluster
  • Master node, slave node, system and method for mirror image management of distributed container cluster
  • Master node, slave node, system and method for mirror image management of distributed container cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0049] figure 1 A framework diagram of a distributed container cluster management master node provided in this embodiment. In the system, the master node is the control node, which plays the role of cluster information storage and control, and generally does not run container-related services. Specifically, the master node includes:

[0050] mirror database, request input module and mirror management module;

[0051] In response to the mirror image management module successfully connecting to the mirror database and having read and write permissions to the mirror database, the mirror image management module can perform read and write operations on the mirror database;

[0052] The mirror database is a distributed database for storing node information of all nodes. The node information includes the current state of the node, instruction execution content, instruction execution time and instruction execution status log and is stored in the distributed database of the master no...

Embodiment approach 2

[0070]In order to achieve the scalability and stability of the system, new slave nodes can be authorized to the system in time after the system needs to increase the slave node or the slave node fails unexpectedly, and at the same time, in order to increase the security of the system. On the basis of the above implementation methods, including:

[0071] Described mirror image management module comprises Web server, and described Web server is used for blocking monitoring, and waits to apply for joining cluster request from node, if receiving the join cluster request that slave node sends, then mirror image management module adds the communication password in the cluster request Authentication, after the authentication is passed, the node name, role, operating system, operating system kernel version, container engine version, request time and communication password in the cluster request will be written into the mirror database, and the update time of the slave node will be set ...

Embodiment approach 3

[0075] In order to improve the batch processing efficiency of container images in the cluster, on the basis of the above implementation, it also includes: the image management module responds to the completion of the slave node joining the cluster, and uses all the slave node information and the labels set for it as data The table is stored in the mirror database;

[0076] If the mirror image management module judges that the request record input module obtains the request target as a specified label, then query the corresponding slave node list of the label in the mirror database, and obtain the corresponding IP address from the node in the list; These slave nodes send command execution content, and the command execution content includes pull operation, update operation, delete operation and cleanup operation.

[0077] The embodiment of the distributed container cluster management method applied to the master node provided in this embodiment is based on the methods provided i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a distributed container cluster mirror image management master node, slave nodes, a system and a method, wherein the main node comprises a mirror image database which is a distributed database and is used for storing node information of all nodes in the system; the request input module is used for receiving request content including a request target and command execution content; mirror image management module, the verification module is used for communicating the password and verifying whether the request content acquired by the request record input module is legal; ifit is judged that a request target in the request content is a specified single slave node or grouped slave nodes, sending a communication password and command execution content including a pulling operation, an updating operation, a deleting operation and a cleaning operation to IP addresses corresponding to the slave nodes; and receiving the state feedback content sent by the slave node. According to the invention, the flattening management of the container cluster mirror image is realized, the management efficiency of the cluster container mirror image in a distributed system is improved,and the high reliability and safety of the whole cluster are improved.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a distributed container cluster image management master node, slave node, system and method. Background technique [0002] With the development of technology, deploying microservices into containers can greatly improve resource utilization. When the application gradually grows, only a single container can no longer meet the current requirements, especially when the application is more important and cannot interrupt the service, it is necessary to consider using multiple containers to deploy the application to improve the ability of concurrent access and avoid single point of failure Purpose. When multiple containers provide external services as a whole, a container cluster is formed. [0003] A container cluster generally includes multiple nodes, and these nodes include a selected master node as a management node, and management of other slave nodes is realized by...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/27G06F16/21G06F16/215
CPCG06F16/27G06F16/219G06F16/215G06Q10/08G01N21/90G06F3/0484
Inventor 张登银李俊江陈灿周超刘子捷
Owner NANJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products