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

CRIU-based Docker container heat migration method and system

A docker container and hot migration technology, applied in the field of information security, can solve the problems of being unable to keep the container state consistent and not belonging to hot migration

Active Publication Date: 2017-12-29
WUHAN UNIV
View PDF11 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this solution avoids the problem of copying the entire file system by Docker's native migration commands export / import and save / load, and only migrates the modified part, this solution does not belong to hot migration and cannot keep the container state consistent before and after migration.

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
  • CRIU-based Docker container heat migration method and system
  • CRIU-based Docker container heat migration method and system
  • CRIU-based Docker container heat migration method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0143] 1. The purpose of the present invention is to provide a CRIU-based Docker container hot migration solution that can be applied to shared storage and non-shared storage. The overall framework of the solution is as follows figure 1 As shown, the present invention adopts a C / S architecture, and is mainly divided into a migration component module, a migration module and a cleaning module. Next, the three modules will be introduced in detail.

[0144] 1. Migrate component modules

[0145] This module is mainly responsible for completing all the migration operations required for the container during the migration process, which is called by the migration module to migrate the container. It has four sub-modules in total, which are configuration migration sub-module, running state migration sub-module, volume data migration sub-module and file system migration sub-module.

[0146] 1) Configure the migration submodule

[0147] The configuration migration sub-module is mainly ...

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 CRIU-based Docker container heat migration method and system. According to the scheme, a container creation instruction is reestablished based on configuration information of a Docker container, so that configuration migration of the Docker container is realized; and in combination with characteristics of shared storage and non shared storage, file system migration of the Docker container is realized by adopting different Docker mirror image distribution methods, thereby avoiding the problem of Docker daemon restarting caused by direct migration of disk files of the container in an existing scheme. By performing normalization processing on volume sources, and based on this, proposing a volume heat migration algorithm, volume migration of the Docker container is simplified. By introducing a Docker warehouse security mechanism and an Rsync+SSH network communication mechanism, the scheme can ensure the confidentiality and integrity of migrated data during the migration process in a non shared storage environment.

Description

technical field [0001] The invention relates to a Docker container hot migration mechanism, which is an important defense means load balancing basic technology for DDOS attacks, and belongs to the field of information security. Background technique [0002] In recent years, lightweight application containers have developed rapidly in the cloud environment, and the CaaS (Container as a Service) technology represented by Docker is becoming a new form of cloud computing. The Docker container has the characteristics of light weight, rapid deployment and simple management, which can make building and publishing applications easier and more efficient. With the rapid development of Docker containers, the functional requirements for containers are also expanding; cloud providers urgently hope that application containers, like other virtualization products (such as virtual machines), can have load balancing, disaster recovery backup, and high availability. and other new enterprise-l...

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): G06F9/455G06F9/48H04L29/06H04L29/08
CPCG06F9/45558G06F9/485G06F2009/4557H04L63/1458H04L67/1036
Inventor 王丽娜徐来余荣威鞠瑞谈诚
Owner WUHAN UNIV
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