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 sys

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

Example Embodiment

[0048] Implementation mode one

[0049] figure 1 This embodiment provides a framework diagram of a distributed container cluster management master node. In the system, the master node is the control node, which functions as cluster information storage and control, and generally does not run container-related services. The master node specifically includes:

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

[0051] In response to the mirroring management module successfully docking the mirroring database and having read and write permissions for the mirroring database, the mirroring management module can perform read and write operations on the mirrored database;

[0052] The mirror database is a distributed database and is used to store node information of all nodes. The node information including the current state of the node, instruction execution content, instruction execution time, and instruction execution status log are stored in the distributed datab...

Example Embodiment

[0069] Implementation mode two

[0070] In order to achieve the scalability and stability of the system, it is possible to authorize new slave nodes in the system in time when the system needs to add slave nodes or after an unexpected failure occurs in the slave node, and at the same time to increase the security of the system. On the basis of the above implementation, including:

[0071] The mirror management module includes a Web server, which is used to block monitoring and wait for a slave node to apply for joining a cluster request. If a request to join a cluster is received from a node, the mirror management module performs a communication password on the request to join the cluster. Authentication, after passing the authentication, the node name, role, operating system, operating system kernel version, container engine version, request time and communication password added to the cluster request will be written into the mirror database, and the update time of the slave node ...

Example Embodiment

[0074] Implementation mode three

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

[0076] If the mirror management module determines that the request record input module obtains the request target as the specified label, it queries the slave node list corresponding to the label in the mirror database to obtain the IP address corresponding to the slave 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...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products