CN111026510A - Cross-storage thermal migration method for virtual machine in cloud environment - Google Patents
Cross-storage thermal migration method for virtual machine in cloud environment Download PDFInfo
- Publication number
- CN111026510A CN111026510A CN201911273766.6A CN201911273766A CN111026510A CN 111026510 A CN111026510 A CN 111026510A CN 201911273766 A CN201911273766 A CN 201911273766A CN 111026510 A CN111026510 A CN 111026510A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- storage
- migration
- data
- computing node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Abstract
The invention discloses a cross-storage hot migration method for a virtual machine in a cloud environment, and particularly relates to the field of cloud computing storage. In the migration method, the adopted Hypervisor allows a plurality of operating systems and applications to share one set of basic physical hardware, a source target node is a computing node operated before virtual machine live migration, a target computing node is a computing node operated after virtual machine live migration, the virtual machine supports live migration and can migrate a system disk and data disk data used by the virtual machine to a new storage system, the virtual machine supports online switching of bottom storage, the Hypervisor can be used as a universal cloud platform virtual machine cross-storage live migration solution, the virtual machine is supported to live migration among different storages, the storage type switching is met under the condition that a user does not interrupt service, and the method has popularization value.
Description
Technical Field
The invention relates to the field of cloud computing storage, in particular to a cross-storage live migration method of a virtual machine in a cloud environment.
Background
With the rapid deployment of cloud computing technologies, more and more enterprises deploy applications in cloud environments. To meet the storage performance requirements of different applications, multiple storage systems are usually deployed to provide data storage for the virtual machines. In this way, cross-storage live migration of virtual machines between different storage back ends is a common requirement, but currently, no mainstream cloud platform supports cross-storage live migration of virtual machines.
Disclosure of Invention
The invention aims to provide a cross-storage live migration method for a virtual machine in a cloud environment, wherein the method supports live migration, meanwhile, the virtual machine can migrate a system disk and data disk data used by the virtual machine to a new storage system, and supports online switching of the virtual machine to underlying storage.
The invention specifically adopts the following technical scheme:
a cross-storage hot migration method for a virtual machine in a cloud environment comprises the following steps:
(1) acquiring specification information of a system disk and a data disk used by a virtual machine to be migrated;
(2) according to the specification information of the system disk and the data disk, establishing the system disk and the data disk with corresponding specifications on the target storage system;
(3) pairing a source storage system disk and a data disk with a target storage system disk and a data disk, and initiating a thermomigration operation;
(4) the virtual machine management component of the target computing node starts a virtual machine process according to the storage pairing information;
(5) the method comprises the steps that a source computing node Hypervisor reads data stored in a virtual machine, transmits the data to a target Hypervisor through a network, writes the data into a corresponding storage, and records migrated storage blocks and storage blocks changed by writing of the virtual machine through bitmaps;
(6) the method comprises the steps that a source computing node Hypervisor reads virtual machine memory data, transmits the virtual machine memory data to a target Hypervisor through a network and writes the virtual machine memory data into a memory, and records migrated memory blocks and memory blocks changed by writing of a virtual machine through bitmaps;
(7) the Hypervisor circularly executes the stored data migration and the memory data migration until the migration monitor judges that the residual data migration can be completed at one time;
(8) and the Hypervisor of the source computing node suspends the virtual machine, completes the migration of the residual data and the memory, and finally runs the virtual machine on the target computing node to complete the cross-thermal migration.
Preferably, Hypervisor allows multiple operating systems and applications to share a set of underlying physical hardware.
Preferably, the source target node is a computing node running before the virtual machine live migration.
Preferably, the target computing node is a computing node that runs after the virtual machine live migration.
The invention has the following beneficial effects:
the method can be used as a universal solution for cross-storage live migration of the cloud platform virtual machine, supports live migration of the virtual machine among different storages, meets the requirement of switching storage types under the condition that a user does not interrupt a service, and has popularization value.
Drawings
Fig. 1 is a flow chart of a cross-storage live migration method of a virtual machine in a cloud environment.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings:
source computer: a source compute node, a compute node running before virtual machine live migration;
dest computer: the target node is a computing node which runs after the virtual machine is subjected to the thermal migration;
hypervisor: an intermediate layer of software running between a physical server and an operating system may allow multiple operating systems and applications to share a set of underlying physical hardware.
With reference to fig. 1, a method for cross-storage live migration of a virtual machine in a cloud environment includes the following steps:
(1) acquiring specification information of a system disk and a data disk used by a virtual machine to be migrated;
(2) according to the specification information of the system disk and the data disk, establishing the system disk and the data disk with corresponding specifications on the target storage system;
(3) pairing a source storage system disk and a data disk with a target storage system disk and a data disk, and initiating a thermomigration operation;
(4) the virtual machine management component of the target computing node starts a virtual machine process according to the storage pairing information;
(5) the method comprises the steps that a source computing node Hypervisor reads data stored in a virtual machine, transmits the data to a target Hypervisor through a network, writes the data into a corresponding storage, and records migrated storage blocks and storage blocks changed by writing of the virtual machine through bitmaps;
(6) the method comprises the steps that a source computing node Hypervisor reads virtual machine memory data, transmits the virtual machine memory data to a target Hypervisor through a network and writes the virtual machine memory data into a memory, and records migrated memory blocks and memory blocks changed by writing of a virtual machine through bitmaps;
(7) the Hypervisor circularly executes the stored data migration and the memory data migration until the migration monitor judges that the residual data migration can be completed at one time;
(8) and the Hypervisor of the source computing node suspends the virtual machine, completes the migration of the residual data and the memory, and finally runs the virtual machine on the target computing node to complete the cross-thermal migration.
Hypervisor allows multiple operating systems and applications to share a set of underlying physical hardware.
The source target node is a computing node operated before the virtual machine live migration, and the target computing node is a computing node operated after the virtual machine live migration.
The migration method can be used as a universal cross-storage live migration solution for the cloud platform virtual machine, supports live migration of the virtual machine among different storages, meets the requirement of switching storage types under the condition that a user does not interrupt a service, and has popularization value.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.
Claims (4)
1. A cross-storage hot migration method of a virtual machine in a cloud environment is characterized by comprising the following steps:
(1) acquiring specification information of a system disk and a data disk used by a virtual machine to be migrated;
(2) according to the specification information of the system disk and the data disk, establishing the system disk and the data disk with corresponding specifications on the target storage system;
(3) pairing a source storage system disk and a data disk with a target storage system disk and a data disk, and initiating a thermomigration operation;
(4) the virtual machine management component of the target computing node starts a virtual machine process according to the storage pairing information;
(5) the method comprises the steps that a source computing node Hypervisor reads data stored in a virtual machine, transmits the data to a target Hypervisor through a network, writes the data into a corresponding storage, and records migrated storage blocks and storage blocks changed by writing of the virtual machine through bitmaps;
(6) the method comprises the steps that a source computing node Hypervisor reads virtual machine memory data, transmits the virtual machine memory data to a target Hypervisor through a network and writes the virtual machine memory data into a memory, and records migrated memory blocks and memory blocks changed by writing of a virtual machine through bitmaps;
(7) the Hypervisor circularly executes the stored data migration and the memory data migration until the migration monitor judges that the residual data migration can be completed at one time;
(8) and the Hypervisor of the source computing node suspends the virtual machine, completes the migration of the residual data and the memory, and finally runs the virtual machine on the target computing node to complete the cross-thermal migration.
2. The method for hot migration of virtual machines across storage under cloud environment as claimed in claim 1, wherein Hypervisor allows multiple operating systems and applications to share a set of basic physical hardware.
3. The method for the cross-storage live migration of the virtual machine in the cloud environment according to claim 1, wherein the source target node is a computing node which runs before the live migration of the virtual machine.
4. The method for the cross-storage live migration of the virtual machine in the cloud environment according to claim 1, wherein the target computing node is a computing node which runs after the live migration of the virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911273766.6A CN111026510A (en) | 2019-12-12 | 2019-12-12 | Cross-storage thermal migration method for virtual machine in cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911273766.6A CN111026510A (en) | 2019-12-12 | 2019-12-12 | Cross-storage thermal migration method for virtual machine in cloud environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111026510A true CN111026510A (en) | 2020-04-17 |
Family
ID=70208305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911273766.6A Pending CN111026510A (en) | 2019-12-12 | 2019-12-12 | Cross-storage thermal migration method for virtual machine in cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111026510A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111679889A (en) * | 2020-06-10 | 2020-09-18 | 广州市品高软件股份有限公司 | Virtual machine conversion migration method and system |
CN111797059A (en) * | 2020-07-07 | 2020-10-20 | 优刻得科技股份有限公司 | Method for online cloud host migration across clouds, migration controller and cloud server |
CN111949378A (en) * | 2020-08-28 | 2020-11-17 | 腾讯科技(深圳)有限公司 | Virtual machine starting mode switching method and device, storage medium and electronic equipment |
CN112003902A (en) * | 2020-07-29 | 2020-11-27 | 苏州浪潮智能科技有限公司 | Cloud host service rapid recovery method and device based on cloud platform |
CN112084069A (en) * | 2020-09-21 | 2020-12-15 | 西安超越申泰信息科技有限公司 | Virtual hot standby system based on Feiteng platform |
WO2023179388A1 (en) * | 2022-03-25 | 2023-09-28 | 阿里巴巴(中国)有限公司 | Hot migration method for virtual machine instance |
-
2019
- 2019-12-12 CN CN201911273766.6A patent/CN111026510A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111679889A (en) * | 2020-06-10 | 2020-09-18 | 广州市品高软件股份有限公司 | Virtual machine conversion migration method and system |
CN111679889B (en) * | 2020-06-10 | 2023-08-29 | 广州市品高软件股份有限公司 | Conversion migration method and system of virtual machine |
CN111797059A (en) * | 2020-07-07 | 2020-10-20 | 优刻得科技股份有限公司 | Method for online cloud host migration across clouds, migration controller and cloud server |
CN112003902A (en) * | 2020-07-29 | 2020-11-27 | 苏州浪潮智能科技有限公司 | Cloud host service rapid recovery method and device based on cloud platform |
CN111949378A (en) * | 2020-08-28 | 2020-11-17 | 腾讯科技(深圳)有限公司 | Virtual machine starting mode switching method and device, storage medium and electronic equipment |
CN111949378B (en) * | 2020-08-28 | 2021-09-10 | 腾讯科技(深圳)有限公司 | Virtual machine starting mode switching method and device, storage medium and electronic equipment |
CN112084069A (en) * | 2020-09-21 | 2020-12-15 | 西安超越申泰信息科技有限公司 | Virtual hot standby system based on Feiteng platform |
WO2023179388A1 (en) * | 2022-03-25 | 2023-09-28 | 阿里巴巴(中国)有限公司 | Hot migration method for virtual machine instance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111026510A (en) | Cross-storage thermal migration method for virtual machine in cloud environment | |
US10838648B2 (en) | Distributed host copy migration in a cluster environment using changed block tracking | |
US20220158953A1 (en) | Distributed stream-based database triggers | |
US10585691B2 (en) | Distribution system, computer, and arrangement method for virtual machine | |
EP3410288B1 (en) | Online upgrade method, device and system | |
EP2834734B1 (en) | Live migration protocols and cluster server failover protocols | |
US10157214B1 (en) | Process for data migration between document stores | |
US10331470B2 (en) | Virtual machine creation according to a redundancy policy | |
CN103389884A (en) | Method for processing input/output request, host, server and virtual machine | |
CN104461687B (en) | The storage method and device of a kind of virtual machine configuration information | |
US11210132B2 (en) | Virtual machine migration in virtualization environment having different virtualization systems | |
CN106528327A (en) | Data processing method and backup server | |
CN111124286A (en) | Libcloud-based multi-cloud management implementation method | |
US8595192B1 (en) | Systems and methods for providing high availability to instance-bound databases | |
US10860375B1 (en) | Singleton coordination in an actor-based system | |
US11962647B2 (en) | Data migration using dynamic synchronization | |
CN104111867B (en) | A kind of virtual machine (vm) migration device and method | |
CN111679889B (en) | Conversion migration method and system of virtual machine | |
CN112328365A (en) | Virtual machine migration method, device, equipment and storage medium | |
CN107402839B (en) | Method and system for backing up data | |
CN104517067A (en) | Method, device and system for data access | |
CN104199716A (en) | Virtual machine thermal migration method, physical host and system | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
US10942821B1 (en) | Method and apparatus for dynamic binding and unbinding thin logical storage volumes to snapshots of a file system | |
CN106775846A (en) | For the method and device of the online migration of physical server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200417 |
|
WD01 | Invention patent application deemed withdrawn after publication |