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

Stateful container online migration method and apparatus

A container and state technology, applied in the field of stateful container online migration, can solve the problem of not supporting stateful container service migration

Active Publication Date: 2016-05-25
SOUTH CHINA NORMAL UNIVERSITY
View PDF5 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of the existing cloud computing application engines support the migration of stateful container services

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
  • Stateful container online migration method and apparatus
  • Stateful container online migration method and apparatus
  • Stateful container online migration method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical solutions and advantages of the present invention clearer, the exemplary embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all implementations. Exhaustive list of examples. And in the case of no conflict, the embodiments in this specification and the features in the embodiments can be combined with each other.

[0032] figure 1 It is a schematic flowchart of a method for online migration of stateful containers in an embodiment of the present invention, such as figure 1 As shown, the method for online migration of stateful containers may include the following steps:

[0033] Step 101: Create a snapshot of the stateful container data volume to be migrated;

[0034] Step 102: Establish a container network across physical hosts through the virtual routers set on the f...

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 provides a stateful container online migration method and apparatus. The method comprises the steps of creating a snapshot of a data volume of a to-be-migrated stateful container; through virtual routers arranged in a first physical host node and a second physical host node, establishing a cross-physical host container network and transmitting the snapshot to the second physical host node, wherein the first physical host node is a host node where the to-be-migrated stateful container is, and the second physical host node is a target host of the to-be-migrated stateful container; determining newly added data after the creation of the snapshot is started; transmitting the newly added data to the second physical host node through the container network; and writing the snapshot and the newly added data into the data volume of the newly created container in the second physical host node to reconstruct the stateful container. With the adoption of the technical scheme provided by the invention, the cross-physical host online migration of the stateful container can be realized.

Description

technical field [0001] The invention relates to the technical field of computer cloud computing, in particular to a method and device for online migration of stateful containers. Background technique [0002] With the gradual maturity of Linux container technology, especially the container management tool Docker, OpenShift, CloudFoundry and Baidu Cloud Application Engine have begun to use Docker containers as sandboxes for securely executing cloud applications. Amazon AWS, Google App Engine and Microsoft Azure have also launched container services. [0003] In order to facilitate the elastic expansion of applications, the applications deployed on the cloud computing application engine are usually stateless, that is, the memory and file system of these applications only play the role of caching data, and it is the back-end storage service that truly realizes the persistent storage of data , including database servers, key-value storage services, and messaging systems. These...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06F3/06
CPCG06F3/0608G06F3/0647G06F3/067G06F9/5088
Inventor 柳泉波许骏
Owner SOUTH CHINA NORMAL UNIVERSITY
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