CN111026510A - 一种云环境下虚拟机跨存储热迁移方法 - Google Patents
一种云环境下虚拟机跨存储热迁移方法 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种云环境下虚拟机跨存储热迁移方法,具体涉及云计算存储领域。该迁移方法中,采用的Hypervisor允许多个操作系统和应用共享一套基础物理硬件,源目标节点为虚拟机热迁移之前运行的计算节点,目标计算节点为虚拟机热迁移之后运行的计算节点,虚拟机支持热迁移的同时能将虚拟机使用的系统盘和数据盘数据迁移到新的存储系统中,支持虚拟机在线切换底层存储,可作为一个通用的云平台虚拟机跨存储热迁移解决方案,支持虚拟机在不同存储之间热迁移,满足用户不中断业务的情况下切换存储类型,具有推广价值。
Description
技术领域
本发明涉及云计算存储领域,具体涉及一种云环境下虚拟机跨存储热迁移方法。
背景技术
随着云计算技术的快速展,越来越多的企业将应用部署在云环境中。为满足不同应用对存储性能的需求,通常部署多套存储系统为虚拟机提供数据存储。这样在不同存储后端之间进行虚拟机跨存储热迁移是普遍的需求,但目前主流云平台均不支持跨存储进行虚拟机热迁移。
发明内容
本发明的目的是针对上述不足,提出了一种虚拟机支持热迁移的同时能将虚拟机使用的系统盘和数据盘数据迁移到新的存储系统中,支持虚拟机在线切换底层存储的云环境下虚拟机跨存储热迁移方法。
本发明具体采用如下技术方案:
一种云环境下虚拟机跨存储热迁移方法,包括以下步骤:
(1)获取要迁移虚拟机使用的系统盘和数据盘规格信息;
(2)根据系统盘和数据盘规格信息,在目标存储系统上创建对应规格的系统盘和数据盘;
(3)将源存储系统盘和数据盘与目标存储系统盘和数据盘配对,并发起热迁移操作;
(4)目标计算节点的虚拟机管理组件根据存储配对信息,启动虚拟机进程;
(5)源计算节点Hypervisor读取虚拟机存储上的数据通过网络传输到目标Hypervisor并写入对应存储上,并通过位图记录已迁移的存储块和虚拟机写入而变化的存储块;
(6)源计算节点Hypervisor读取虚拟机内存数据并通过网络传输到目标Hypervisor并写入内存,并通过位图记录已迁移的内存块和虚拟机写入而变化的内存块;
(7)Hypervisor循环执行存储数据迁移和内存数据迁移,直到迁移监视器判断能一次完成剩余数据迁移;
(8)源计算节点Hypervisor暂停虚拟机,并完成剩余数据和内存迁移,最后在目标计算节点上运行虚拟机,完成跨热迁移。
优选地,Hypervisor允许多个操作系统和应用共享一套基础物理硬件。
优选地,源目标节点为虚拟机热迁移之前运行的计算节点。
优选地,目标计算节点为虚拟机热迁移之后运行的计算节点。
本发明具有如下有益效果:
该方法可作为一个通用的云平台虚拟机跨存储热迁移解决方案,支持虚拟机在不同存储之间热迁移,满足用户不中断业务的情况下切换存储类型,具有推广价值。
附图说明
图1为云环境下虚拟机跨存储热迁移方法流程框图。
具体实施方式
下面结合附图和具体实施例对本发明的具体实施方式做进一步说明:
Source Compute:源计算节点,虚拟机热迁移之前运行的计算节点;
Dest Compute:目标节点节点,虚拟机热迁移之后运行的计算节点;
Hypervisor:一种运行在物理服务器和操作系统之间的中间层软件,可以允许多个操作系统和应用共享一套基础物理硬件。
结合图1,一种云环境下虚拟机跨存储热迁移方法,包括以下步骤:
(1)获取要迁移虚拟机使用的系统盘和数据盘规格信息;
(2)根据系统盘和数据盘规格信息,在目标存储系统上创建对应规格的系统盘和数据盘;
(3)将源存储系统盘和数据盘与目标存储系统盘和数据盘配对,并发起热迁移操作;
(4)目标计算节点的虚拟机管理组件根据存储配对信息,启动虚拟机进程;
(5)源计算节点Hypervisor读取虚拟机存储上的数据通过网络传输到目标Hypervisor并写入对应存储上,并通过位图记录已迁移的存储块和虚拟机写入而变化的存储块;
(6)源计算节点Hypervisor读取虚拟机内存数据并通过网络传输到目标Hypervisor并写入内存,并通过位图记录已迁移的内存块和虚拟机写入而变化的内存块;
(7)Hypervisor循环执行存储数据迁移和内存数据迁移,直到迁移监视器判断能一次完成剩余数据迁移;
(8)源计算节点Hypervisor暂停虚拟机,并完成剩余数据和内存迁移,最后在目标计算节点上运行虚拟机,完成跨热迁移。
Hypervisor允许多个操作系统和应用共享一套基础物理硬件。
源目标节点为虚拟机热迁移之前运行的计算节点,目标计算节点为虚拟机热迁移之后运行的计算节点。
该迁移方法可作为一个通用的云平台虚拟机跨存储热迁移解决方案,支持虚拟机在不同存储之间热迁移,满足用户不中断业务的情况下切换存储类型,具有推广价值。
当然,上述说明并非是对本发明的限制,本发明也并不仅限于上述举例,本技术领域的技术人员在本发明的实质范围内所做出的变化、改型、添加或替换,也应属于本发明的保护范围。
Claims (4)
1.一种云环境下虚拟机跨存储热迁移方法,其特征在于,包括以下步骤:
(1)获取要迁移虚拟机使用的系统盘和数据盘规格信息;
(2)根据系统盘和数据盘规格信息,在目标存储系统上创建对应规格的系统盘和数据盘;
(3)将源存储系统盘和数据盘与目标存储系统盘和数据盘配对,并发起热迁移操作;
(4)目标计算节点的虚拟机管理组件根据存储配对信息,启动虚拟机进程;
(5)源计算节点Hypervisor读取虚拟机存储上的数据通过网络传输到目标Hypervisor并写入对应存储上,并通过位图记录已迁移的存储块和虚拟机写入而变化的存储块;
(6)源计算节点Hypervisor读取虚拟机内存数据并通过网络传输到目标Hypervisor并写入内存,并通过位图记录已迁移的内存块和虚拟机写入而变化的内存块;
(7)Hypervisor循环执行存储数据迁移和内存数据迁移,直到迁移监视器判断能一次完成剩余数据迁移;
(8)源计算节点Hypervisor暂停虚拟机,并完成剩余数据和内存迁移,最后在目标计算节点上运行虚拟机,完成跨热迁移。
2.如权利要求1所述的一种云环境下虚拟机跨存储热迁移方法,其特征在于,Hypervisor允许多个操作系统和应用共享一套基础物理硬件。
3.如权利要求1所述的一种云环境下虚拟机跨存储热迁移方法,其特征在于,源目标节点为虚拟机热迁移之前运行的计算节点。
4.如权利要求1所述的一种云环境下虚拟机跨存储热迁移方法,其特征在于,目标计算节点为虚拟机热迁移之后运行的计算节点。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911273766.6A CN111026510A (zh) | 2019-12-12 | 2019-12-12 | 一种云环境下虚拟机跨存储热迁移方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911273766.6A CN111026510A (zh) | 2019-12-12 | 2019-12-12 | 一种云环境下虚拟机跨存储热迁移方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111026510A true CN111026510A (zh) | 2020-04-17 |
Family
ID=70208305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911273766.6A Pending CN111026510A (zh) | 2019-12-12 | 2019-12-12 | 一种云环境下虚拟机跨存储热迁移方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111026510A (zh) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111679889A (zh) * | 2020-06-10 | 2020-09-18 | 广州市品高软件股份有限公司 | 一种虚拟机的转换迁移方法和系统 |
CN111797059A (zh) * | 2020-07-07 | 2020-10-20 | 优刻得科技股份有限公司 | 一种跨云在线迁移云主机的方法及迁移控制器、云服务器 |
CN111949378A (zh) * | 2020-08-28 | 2020-11-17 | 腾讯科技(深圳)有限公司 | 虚拟机启动模式切换方法和装置、存储介质及电子设备 |
CN112003902A (zh) * | 2020-07-29 | 2020-11-27 | 苏州浪潮智能科技有限公司 | 一种基于云平台的云主机业务快速恢复方法及装置 |
CN112084069A (zh) * | 2020-09-21 | 2020-12-15 | 西安超越申泰信息科技有限公司 | 一种基于飞腾平台的虚拟热备系统 |
WO2023179388A1 (zh) * | 2022-03-25 | 2023-09-28 | 阿里巴巴(中国)有限公司 | 一种虚拟机实例的热迁移方法 |
CN118295773A (zh) * | 2024-06-04 | 2024-07-05 | 浪潮云信息技术股份公司 | 信创操作系统跨不同cpu虚拟机热迁移方法、设备及介质 |
-
2019
- 2019-12-12 CN CN201911273766.6A patent/CN111026510A/zh active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111679889A (zh) * | 2020-06-10 | 2020-09-18 | 广州市品高软件股份有限公司 | 一种虚拟机的转换迁移方法和系统 |
CN111679889B (zh) * | 2020-06-10 | 2023-08-29 | 广州市品高软件股份有限公司 | 一种虚拟机的转换迁移方法和系统 |
CN111797059A (zh) * | 2020-07-07 | 2020-10-20 | 优刻得科技股份有限公司 | 一种跨云在线迁移云主机的方法及迁移控制器、云服务器 |
CN112003902A (zh) * | 2020-07-29 | 2020-11-27 | 苏州浪潮智能科技有限公司 | 一种基于云平台的云主机业务快速恢复方法及装置 |
CN111949378A (zh) * | 2020-08-28 | 2020-11-17 | 腾讯科技(深圳)有限公司 | 虚拟机启动模式切换方法和装置、存储介质及电子设备 |
CN111949378B (zh) * | 2020-08-28 | 2021-09-10 | 腾讯科技(深圳)有限公司 | 虚拟机启动模式切换方法和装置、存储介质及电子设备 |
CN112084069A (zh) * | 2020-09-21 | 2020-12-15 | 西安超越申泰信息科技有限公司 | 一种基于飞腾平台的虚拟热备系统 |
WO2023179388A1 (zh) * | 2022-03-25 | 2023-09-28 | 阿里巴巴(中国)有限公司 | 一种虚拟机实例的热迁移方法 |
CN118295773A (zh) * | 2024-06-04 | 2024-07-05 | 浪潮云信息技术股份公司 | 信创操作系统跨不同cpu虚拟机热迁移方法、设备及介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111026510A (zh) | 一种云环境下虚拟机跨存储热迁移方法 | |
US10838648B2 (en) | Distributed host copy migration in a cluster environment using changed block tracking | |
US11258725B2 (en) | Distributed stream-based database triggers | |
EP3410288B1 (en) | Online upgrade method, device and system | |
US10585691B2 (en) | Distribution system, computer, and arrangement method for virtual machine | |
EP3069263B1 (en) | Session idle optimization for streaming server | |
US9400611B1 (en) | Data migration in cluster environment using host copy and changed block tracking | |
CN106469085B (zh) | 虚拟机在线迁移方法、装置及系统 | |
US11210132B2 (en) | Virtual machine migration in virtualization environment having different virtualization systems | |
US20130268800A1 (en) | Method and system for co-existence of live migration protocols and cluster server failover protocols | |
US10331470B2 (en) | Virtual machine creation according to a redundancy policy | |
CN103389884A (zh) | 处理输入/输出请求的方法、宿主机、服务器和虚拟机 | |
CN104572274A (zh) | 跨云点迁移系统及方法 | |
US20200021654A1 (en) | Host device with multi-path layer configured for detection and reporting of path performance issues | |
CN106528327A (zh) | 一种数据处理方法以及备份服务器 | |
US10860375B1 (en) | Singleton coordination in an actor-based system | |
CN111124286A (zh) | 一种基于Libcloud的多云管理实现方法 | |
CN111679889B (zh) | 一种虚拟机的转换迁移方法和系统 | |
US11962647B2 (en) | Data migration using dynamic synchronization | |
CN104239122A (zh) | 一种虚拟机迁移方法和装置 | |
CN112328365A (zh) | 一种虚拟机迁移方法、装置、设备及存储介质 | |
CN104517067A (zh) | 访问数据的方法、装置及系统 | |
EP3625683B1 (en) | System and method for load balancing backup data | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
CN105162833A (zh) | 应用于无盘工作站的客户机管理系统及方法 |
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 |