Unlock instant, AI-driven research and patent intelligence for your innovation.

Migration method and device for application container

An application container and post-migration technology, applied in the storage field, can solve the problems of storage device write failure, data of multiple nodes cannot be kept synchronized, and stored data cannot be migrated at the same time, so as to ensure the effect of storing data and ensuring synchronization.

Active Publication Date: 2017-07-07
SANGFOR TECH INC
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) When multiple nodes are connected to the SAN at the same time, the data of multiple nodes cannot be kept in sync, and even the storage device will be damaged;
[0005] 2) When a Docker container is migrated from one node in the cluster to another node, the storage data corresponding to the Docker container cannot be migrated at the same time

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
  • Migration method and device for application container
  • Migration method and device for application container
  • Migration method and device for application container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] The invention provides a migration method of an application container.

[0049] refer to figure 1 , figure 1 It is a schematic diagram of the system architecture of each embodiment of the present invention. The system architecture includes a cluster host composed of several host nodes, a cluster file system that controls the cluster host to perform file read and write operations, and a cluster storage system for storing SAN block storage information. Among them, the cluster host accesses SAN block storage, and the cluster The host is equipped with a cluster storage system and a cluster file system.

[0050] Also refer to figure 2 , figure 2 It is a schematic flowchart of the first embodiment of the application container migration method of the present invention. The method comprises the steps of:

[00...

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 migration method and device for an application container, and is applied to a cluster host which is accessed into SAN (Storage Area Network) block storage, wherein the cluster host carries a cluster storage system and a cluster file system. The method comprises the following steps that: when an application container migration instruction is received, determining a target node migrated by an application container to be migrated, and obtaining pre-stored SAN block storage configuration information from the cluster storage system; migrating the application container to be migrated to the target node, and controlling the cluster file system to access SAN block storage into the target node according to the obtained SAN block storage configuration information; and mounting the accessed SAN block storage to a file directory corresponding to the migrated application container. The invention also discloses a migration device for the application container. By use of the method and the device, a plurality of nodes of a cluster share the SAN block storage so as to guarantee the synchronization of corresponding storage data when the application container carries out migration among cluster nodes.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a migration method and device for an application container. Background technique [0002] In recent years, with the widespread application of Docker (an open source application container engine that can easily create a lightweight, portable, self-sufficient container for any application) containers, the data of applications running in Docker containers Storage also has more demands. [0003] Storage Area Network (SAN for short) is a dedicated network established for storage. It connects storage arrays and server hosts through Fiber Channel switches to form a dedicated storage network and realize the networking of block storage. Because SAN storage has a good transmission rate and scalability, it is very suitable for application on Docker to achieve persistence of application data, but the current SAN storage has great defects: [0004] 1) When multiple nodes are connec...

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): G06F3/06
CPCG06F3/0643G06F3/0647G06F3/067
Inventor 何倩华
Owner SANGFOR TECH INC