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

A distributed system rapid deployment method and system

A distributed system and distributed technology, applied in the field of cloud computing, can solve the problems of unpredictable production environment, insufficient use of virtual machine resources, document understanding problems, etc. The effect of reducing the complexity of operation and maintenance and the number of parameter configurations

Active Publication Date: 2022-03-04
TAIHUA WISDOM IND GRP CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. Business developers, according to the research and development process, sort out complex deployment documents. The documents describe detailed deployment steps and parameter configurations. However, due to business function updates, deployment documents are usually not updated in time. When delivery personnel install and deploy documents for project delivery , it may be due to the fact that the deployment document has not been updated, or there is a problem with the understanding of the document, resulting in deployment failure, configuration failure, etc.
[0004] 2. Business developers write automated deployment scripts to complete the deployment, but usually due to unpredictable problems in the production environment, automatic deployment cannot be performed
[0005] 3. Normally, virtual machines are selected for deployment, but for most applications, virtual machine resources cannot be fully used, and there is a problem of low resource utilization

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
  • A distributed system rapid deployment method and system
  • A distributed system rapid deployment method and system
  • A distributed system rapid deployment method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Please refer to figure 1 , figure 1 It is a flow chart of a distributed system rapid deployment method provided by an embodiment of the present invention. The deployment method of this embodiment includes:

[0053] Step 101: The developers of each subsystem sort out the configuration parameters of the subsystems they are responsible for and write the image file of the subsystem, make a Docker image, test whether the image is running normally, and archive the created image, and based on the System version for image management;

[0054] Step 102: For the database initialization data required by each subsystem, the method of storing the data in a mirror image is adopted, that is, the prepared Docker image contains the initialization data required by the subsystem;

[0055] Step 103: The developers of each subsystem write image usage documents, describe the parameter configuration needed to start the container based on the Docker image, and define how to use the image to ...

Embodiment 2

[0063] Please refer to figure 2 , figure 2 It is a flowchart of another distributed system rapid deployment method provided by the embodiment of the present invention. The deployment method of this embodiment includes:

[0064] Step 201: the developers of each subsystem sort out the configuration parameters of the subsystems they are responsible for and write the image file of the subsystem to make a Docker image;

[0065] Step 202: test whether the image is running normally, you can choose different test methods according to the services provided by the image; for example, to test whether the Nginx image can run normally, you can use the following method: start the container based on the Nginx image on the 10.10.70.65 server: docker run- itd --name some-nginx --p 8080:80 some-content-nginx;

[0066] Browser access URL http: / / 10.10.70.65:8080, if the access is normal, it means that the mirror can run normally;

[0067] Step 203: archive the prepared image, and perform ima...

Embodiment 3

[0081] Please refer to image 3 , image 3 It is a schematic diagram of the composition of a distributed system rapid deployment system provided by an embodiment of the present invention, the system includes an initialization module 11, a public component module 12, and a business subsystem module 13;

[0082] The initialization module 11 is used to complete the initialization operation of distributed deployment. The initialization operation specifically includes collecting which nodes each subsystem is deployed on, deploying Docker at each node, closing the firewall, and selecting a certain node to deploy a mirror warehouse;

[0083] The public component module 12 is used to complete the containerized deployment of the public components. The containerized deployment specifically includes completing the deployment of the public components, and caching the access addresses of the public components to retain the parameter configuration information required when the business subs...

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 method and system for rapid deployment of a distributed system. The method includes: the developers of each subsystem sort out the configuration parameters of the subsystems they are responsible for, write the image file of the subsystem, and make a Docker image; The database initialization data required by the system; the developers of each subsystem write mirroring usage documents, defining how to use the mirroring to create containers; the dependencies and parameter configurations of each subsystem are automatically managed based on code; the delivery personnel write Docker’s automated deployment scripts ; The architect and person in charge of the entire system, based on the distributed deployment script, sorts out relevant usage documents and guides the delivery personnel to use it. The system includes: an initialization module, a public component module, and a business subsystem module. The invention combines the distributed deployment script Ansible with the Docker container technology, can quickly complete the deployment of the distributed deployment system, accelerate software delivery, and reduce the complexity of delivery and operation and maintenance.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, and more specifically, to a method and system for rapid deployment of a distributed system. Background technique [0002] With the evolution of software technology architecture and the gradual increase of business functions, a product or system begins to evolve from monolithic application to SOA architecture, microservice architecture, and serverless architecture. The evolution of architecture solves business needs, but improves The complexity of software deployment and operation and maintenance. At present, the following problems exist in the deployment of complex distributed systems: [0003] 1. Business developers, according to the research and development process, sort out complex deployment documents. The documents describe detailed deployment steps and parameter configurations. However, due to business function updates, deployment documents are usually not updated in time. ...

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): G06F8/61
CPCG06F8/63
Inventor 王德奎郑其荣李文杰赵海涛艾永健李鹏马述杰
Owner TAIHUA WISDOM IND GRP CO LTD
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