Method for establishing data recovery exercise environment based on micro-service

A micro-service and data technology, which is applied in the computer field, can solve the problems of unreliable data, data cannot be saved and restored, and achieve high resource utilization, small size, and continuity.

Inactive Publication Date: 2019-08-09
南京云信达科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At the same time, under requirements other than testing, the data is not reliable when directly using microservices for data recovery drills
When an exception occurs in a single service, the data cannot be saved and restored in a timely and effective manner

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
  • Method for establishing data recovery exercise environment based on micro-service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further explained below in conjunction with the drawings.

[0024] This embodiment is based on mainstream Linux systems, such as RedHat / CentOS of the rpm series, and adopts Docker container technology to construct a database microservice operating environment. It is mainly composed of two parts: the server and the client: including two steps. The first step is to build a Docker private warehouse on the server, and upload the image that packs all the required microservices to this warehouse; the second step is for the customer Start and run the Docker container on the end host to establish a data recovery exercise environment.

[0025] The process of building a Docker private warehouse on the server is as follows:

[0026] Step 11: Prepare the Docker warehouse image, which can be pulled from Docker Hub;

[0027] Step 12: Start the Docker warehouse container, which uses port 5000 of the server by default;

[0028] Step 13: Upload the Docker image con...

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 for establishing a data recovery exercise environment based on a micro-service, which mainly uses a containerized micro-service to establish a database development test environment and quickly realizes the data recovery exercise. And meanwhile, an external data volume is mounted on a client host, and then a data directory of the database in the container is mappedand stored into the mounted external data volume through the micro-service directory, so that the database data is isolated from a database application program, and the data persistence is realized. According to the present invention, the characteristics that the containerization technology is small in size, rapid in starting, high in resource utilization rate and high in isolation degree are fully utilized, and a database development test environment can be rapidly set up for data recovery exercise through the rapid mirror image distribution and deployment. No matter what environment the database program is deployed, the database program can keep a consistent operation effect, and the persistence of the data on a local data volume is achieved through the isolation of the data and the database application program.

Description

Technical field [0001] The invention belongs to the field of computer technology, and particularly relates to a method for building a data recovery drill environment based on microservices. Background technique [0002] For the establishment of database development or test environment, the traditional practice in the industry is generally to install an operating system and corresponding database application software on a physical machine or a virtual machine (VMware). This is not only very time-consuming, but also the dependency of various local libraries and conflicts between the software are often encountered during the installation of the database software, which is quite troublesome to resolve. Therefore, database development and testing or management personnel in the process of data recovery drills and other operations urgently need to introduce a new method that can quickly build the required operating environments for various databases. [0003] The microservices that have ...

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): G06F11/14G06F9/455
CPCG06F9/45558G06F11/1464G06F2009/45562
Inventor 梁亮
Owner 南京云信达科技有限公司
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