Docker container-oriented online migration system implementation and optimization method
A docker container and migration system technology, applied in the field of virtualization, can solve problems such as isolation, and achieve the effect of ensuring reliability, reducing migration time, and reducing data transmission
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Such as figure 2 As shown, the present invention provides an online migration system for Docker containers, which at least includes a base layer 1 , a migration data layer 2 , a function layer 3 and an application layer 4 . Migration data layer 2 includes at least container configuration data, image layer data, image layer metadata, image metadata and data volume data, so as to provide data support for function layer 3 and application layer 4. The function layer 3 is used to perform, for example, integration, redundancy processing, and memory iterative processing on the data in the migration data layer 2 to provide a preparation basis for data migration. Application layer 4 is used to complete online or offline migration of containers.
[0057] Preferably, the base layer 1 includes at least an initialization module 101 , a CRIU module 102 , an RPC communication module 103 and a migration control module 104 . The initialization module 101 is used to detect and build o...
Embodiment 2
[0067] This embodiment is a further improvement on Embodiment 1, and repeated content will not be repeated here.
[0068] Such as figure 1 As shown, the source machine container 5 and the destination machine container 6 are connected through the transmission terminal 7, so as to realize the mutual transmission of data between the two. The source machine container 5 and the destination machine container 6 can be connected to the online migration system of the present invention through the transmission terminal 7, so that the online migration of the container process can be realized through the CRIU module. Both the source machine container 5 and the destination machine container 6 are configured to have a daemon process 8 , a mirror layer 9 , a container 10 and a memory unit 14 . The daemon process 8 is used to receive the request initiated by the client and process the request accordingly. The mirroring layer 9 is configured to at least support the working modes of the AUFS ...
Embodiment 3
[0097] This embodiment is a further improvement on the foregoing embodiments, and repeated content will not be repeated here.
[0098] Preferably, the dynamic loading module 16 is configured to dynamically load the relevant configuration information and underlying image information of the container to be restored into the corresponding image storage driver according to the following steps:
[0099] D1: Determine whether the container to be restored belongs to a local container. If the container to be restored belongs to a local container, directly start the container to be restored.
[0100] D2: If the container to be restored belongs to a remote migration container, load the image layer metadata of the container to be restored to the image layer storage driver according to the parent-child relationship between the image layers, and load the readable and writable layer to the image layer storage driver .
[0101] D3: Load container information. For example, read th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com