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

Cross-OpenStack virtual machine migration method, device and medium

A virtual machine migration and virtual machine technology, applied in the field of cloud computing, can solve the problems of manual operation, virtual machine business interruption, cumbersome steps, etc., and achieve the effect of ensuring continuity and reducing pause time

Pending Publication Date: 2021-03-19
北京浪潮数据技术有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In a multi-cloud environment, due to user business development, business relationship and other reasons, business virtual machines need to be migrated to other clusters. When migrating virtual machines across OpenStack clusters in related technologies, migration actions need to be performed in the state of virtual machine shutdown. This will cause the virtual machine business to be interrupted, and the related technology requires manual operation and cumbersome steps, which may easily cause data loss

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
  • Cross-OpenStack virtual machine migration method, device and medium
  • Cross-OpenStack virtual machine migration method, device and medium
  • Cross-OpenStack virtual machine migration method, device and medium

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0072] In the above embodiment, there is no limitation on how to execute step S104. This embodiment also provides a specific implementation manner, which may include the following steps:

[0073] Call the interface of the target OpenStack cluster to unmount the cloud disk from the proxy VM.

[0074]Use the uninstalled cloud disk to create a target virtual machine, and specify the IP address and MAC address of the source virtual machine as the IP address and MAC address of the target virtual machine. Wherein, the configuration of the target virtual machine is the same as that of the source virtual machine.

[0075] Start the target virtual machine, and automatically set the IP address and MAC address of the target virtual machine to be the same as the source virtual machine during the startup process. When starting a new virtual machine, for example, you can initialize the virtual machine through cloudinit, read the IP / MAC address information of the source virtual machine save...

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 Cross-OpenStackCluster virtual machine migration method, a device and a computer readable storage medium. The method comprises the steps of when a migration task is created,creating a cloud disk with the same disk parameters as a source virtual machine, wherein the cloud disk is mounted in an agent virtual machine created in a target OpenStack cluster in advance; readingdisk backup data of the source virtual machine by utilizing the proxy virtual machine and writing the disk backup data into the cloud disk. in the process that the source virtual machine refreshes the cache data to the disk and creates the cache backup data, writing each read cache backup data into the cloud disk by utilizing the proxy virtual machine until the occupied space capacity value of the current cache backup data is smaller than a preset threshold value; The cloud disk is unloaded in the pause state of the source virtual machine, and the unloaded cloud disk is used for creating thetarget virtual machine with the same configuration and network address as the source virtual machine, so that online and automatic migration of the virtual machine across the OpenStack cluster is realized, the pause time of the virtual machine service is reduced to the greatest extent, and the continuity of the virtual machine service is effectively guaranteed.

Description

technical field [0001] The present application relates to the technical field of cloud computing, in particular to a virtual machine migration method, device and computer-readable storage medium across OpenStack clusters. Background technique [0002] With the development of cloud computing technology, multi-cloud and hybrid cloud have become the trend of future technology development. Due to its unique advantages, OpenStack is widely used in various multi-cloud and hybrid cloud technologies as a cloud computing management platform. OpenStack supports almost all types of cloud environments. The goal of the project is to provide a cloud computing management platform that is simple to implement, scalable, rich, and standardized. OpenStack provides an infrastructure-as-a-service solution through a variety of complementary services, each providing an API for integration. [0003] In a multi-cloud environment, due to the development of user business, business relationship and ot...

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/455
CPCG06F9/45558G06F2009/4557
Inventor 李栋梁亓开元苏志远
Owner 北京浪潮数据技术有限公司
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