Storage online migration method and device of virtual machine

A virtual machine and storage pool technology, applied in the field of virtualization, can solve problems such as loss of internal snapshots and inability to achieve internal snapshot migration

Active Publication Date: 2016-07-06
NEW H3C TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In the storage online migration method of the prior art, since the storage data in the storage file of the VM in the storage pool 1 is blockpull to the external snapshot, the migration of the internal snapshot cannot be realized, resulting in the loss of the internal snapshot

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
  • Storage online migration method and device of virtual machine
  • Storage online migration method and device of virtual machine
  • Storage online migration method and device of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0045] In the prior art, when the storage data in the storage file of the VM is blockpulled into the external snapshot, the internal snapshot cannot be submitted to the external snapshot together, resulting in the loss of the internal snapshot. In order to solve the above-mentioned problems in the prior art, an embodiment of the present application provides a method for online storage migration of a virtual machine. First, an external snapshot is created for the storage file of the VM. After the external snapshot is created, the VM will Read data from the external snapshot and write data to the external snapshot; then, copy the storage file of the VM from the source storage pool to the destination storage pool, and specify the base image file of the external snapsh...

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 storage online migration method and device of a virtual machine. The storage online migration method of the virtual machine comprises the steps of establishing an external snapshot for a storage file of the virtual machine, wherein the virtual machine reads data from the exterior and writes data in the external snapshot after the external snapshot is established; copying the storage file from a source storage pool to a target storage pool; assigning a basic mirror image file of the external snapshot as a storage file copied to the target storage pool, and block-committing the storage data in the external snapshot to the storage file in the target storage pool; and enabling the virtual machine to read data from the storage file in the target storage pool and writing data in the storage file. According to the storage online migration method and device of the virtual machine, an internal snapshot in the storage file can be copied into the target storage pool, and the internal snapshot cannot be lost.

Description

technical field [0001] The present application relates to the technical field of virtualization, and in particular to a storage live migration method and device for a virtual machine. Background technique [0002] Migration of a virtual machine (Virtual Machine, VM) makes resource configuration more flexible, especially the online migration technology improves availability and reliability of a server. [0003] When it is necessary to migrate the storage files of the VM from the current storage pool to other storage pools, for example, when the storage pool where the storage files of the VM are currently located has insufficient space, the online storage migration method can be used. This method can be used during the migration process Ensure business continuity. Specifically, the storage online migration method in the prior art is as follows: [0004] Such as figure 1 As shown, the storage file of the VM is stored in the storage pool 1, and the VM reads and writes data to...

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/06G06F11/14
CPCG06F3/0647G06F11/1448G06F11/1484
Inventor 卢学旺
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products