CN102118437B - Method and device based on Xen for monitoring thermomigration progress for virtual machine - Google Patents

Method and device based on Xen for monitoring thermomigration progress for virtual machine Download PDF

Info

Publication number
CN102118437B
CN102118437B CN201110009315.9A CN201110009315A CN102118437B CN 102118437 B CN102118437 B CN 102118437B CN 201110009315 A CN201110009315 A CN 201110009315A CN 102118437 B CN102118437 B CN 102118437B
Authority
CN
China
Prior art keywords
virtual machine
migration
agent
request
xen
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.)
Active
Application number
CN201110009315.9A
Other languages
Chinese (zh)
Other versions
CN102118437A (en
Inventor
朱波
刘俊朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201110009315.9A priority Critical patent/CN102118437B/en
Publication of CN102118437A publication Critical patent/CN102118437A/en
Application granted granted Critical
Publication of CN102118437B publication Critical patent/CN102118437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device based on Xen for monitoring the thermomigration progress for a virtual machine. The device comprises a first agent arranged on an original host machine and a second agent arranged on an objecitve host machine. The method comprises the steps as follows: the first agent initiates a migration request of the virtual machine, and a unique mark of the virtual machine to be migrated is carried in the request; the second agent creates a casing with the same name and the same configurations for the virtual machine to be migrated according to the migration request of the virtual machine; the first agent initiates the migration of the virtual machine, and leads internal storage of the virtual machine to be migrated to the casing; and the second agent acquires the internal storage increments of the virtual machine in the casing, so as to calculate the migration speed of the virtual machine. By adopting the method, the migration progress in the migration process of the virtual machine can be obtained without modification to the Xen part at a bottom layer.

Description

A kind of live migration of virtual machine progress method for supervising and device based on Xen
Technical field
The present invention relates to the Virtual Machine Manager field based on Xen, be specifically related to a kind of live migration of virtual machine progress method for supervising and device based on Xen.
Background technology
Current, along with the rise of cloud computing upsurge, as the Intel Virtualization Technology on cloud computing Floor layer Technology basis, be more and more subject to pursuing of people.And Xen provides a kind of to people increases income, free virtualization solution.But in its current more stable version (such as 3.3.2), in the api interface itself externally providing, may not have our more needed functional interfaces, such as, in virtual machine (vm) migration process, the Real-time Obtaining of migration progress.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of live migration of virtual machine progress method for supervising and device based on Xen is provided, and can the Xen of bottom partly do not modified, and just can get migration progress in virtual machine (vm) migration process.
In order to solve the problems of the technologies described above, the present invention proposes a kind of live migration of virtual machine progress queries method based on Xen, comprises the first agent who is arranged on former host and is arranged on the second agent on target host, and the method comprising the steps of:
Described first agent initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Described second agent, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Described first agent starts virtual machine (vm) migration, and the internal memory of virtual machine is moved in described shell;
Described second agent obtains the memory increase of the virtual machine in described shell, calculates according to this speed of virtual machine (vm) migration.
Further, said method also can have following characteristics:
Described second agent, according to user's inquiry request, exports the speed of the current virtual machine (vm) migration calculating.
In order to solve the problems of the technologies described above, the present invention also proposes a kind of live migration of virtual machine progress queries device based on Xen, and comprise the first agent's module being arranged on former host and be arranged on the second agent's module on target host, wherein:
Described first agent's module, initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Described second agent's module, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Described first agent's module, starts virtual machine (vm) migration, and the internal memory of virtual machine is moved in described shell;
Described second agent's module, obtains the memory increase of the virtual machine in described shell, calculates according to this speed of virtual machine (vm) migration.
Further, said apparatus also can have following characteristics:
Described second agent's module, also according to user's inquiry request, exports the speed of the current virtual machine (vm) migration calculating.
A kind of live migration of virtual machine progress method for supervising and device based on Xen provided by the invention, can partly not modify to the Xen of bottom, just can get migration progress in virtual machine (vm) migration process.
Accompanying drawing explanation
Fig. 1 is a kind of live migration of virtual machine progress method for supervising flow chart based on Xen of the embodiment of the present invention;
Fig. 2 is the operating process schematic diagram of a kind of live migration of virtual machine progress method for supervising based on Xen of the embodiment of the present invention;
Fig. 3 is a kind of live migration of virtual machine progress supervising device block diagram based on Xen of the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, describe embodiment of the present invention in detail.
The embodiment of the present invention is dexterously by the former host at virtual machine place He on target host, agency being set respectively, by the function that between two agencies, mutual realization is monitored virtual machine (vm) migration speed each other.Without the Xen to bottom, partly modify, be simple and easy to use.Described former host is the host at the front place of virtual machine (vm) migration, and described target host is the host at place after virtual machine (vm) migration.
Referring to Fig. 1, this illustrates a kind of live migration of virtual machine progress method for supervising based on Xen of the embodiment of the present invention, comprises step:
Step S101: described first agent initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Step S102: described second agent, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Step S103: described first agent starts virtual machine (vm) migration moves the internal memory of virtual machine in described shell;
Step S104: described second agent obtains the memory increase of the virtual machine in described shell, calculates the speed of virtual machine (vm) migration according to this.
In order to be illustrated more clearly in operating process of the present invention, refer to Fig. 2, the figure shows the process of embodiment of the present invention said method.
Embodiment of the present invention said method, realizes the monitoring to virtual machine (vm) migration speed by upper strata, can calculate in real time the migration velocity of virtual machine.
Preferably, the embodiment of the present invention can also provide speed query function, that is, described second agent can, according to user's inquiry request, export the speed of the current virtual machine (vm) migration calculating.
In order to realize said method, the embodiment of the present invention also provides a kind of live migration of virtual machine progress queries device based on Xen, as shown in Figure 3, comprise the first agent's module being arranged on former host and be arranged on the second agent's module on target host, wherein:
Described first agent's module, initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Described second agent's module, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Described first agent's module, starts virtual machine (vm) migration, and the internal memory of virtual machine is moved in described shell;
Described second agent's module, obtains the memory increase of the virtual machine in described shell, calculates according to this speed of virtual machine (vm) migration.
Preferably, described second agent's module, can also, according to user's inquiry request, export the speed of the current virtual machine (vm) migration calculating.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those skilled in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (4)

1. the live migration of virtual machine progress queries method based on Xen, it is characterized in that, comprise the first agent who is arranged on former host and be arranged on the second agent on target host, by the function that between two agencies, mutual realization is monitored virtual machine (vm) migration speed each other, without the Xen to bottom, partly modify, just can get migration progress in virtual machine (vm) migration process, the method comprising the steps of:
Described first agent initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Described second agent, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Described first agent starts virtual machine (vm) migration, and the internal memory of virtual machine is moved in described shell;
Described second agent obtains the memory increase of the virtual machine in described shell, calculates according to this speed of virtual machine (vm) migration.
2. the method for claim 1, is characterized in that, also comprises:
Described second agent, according to user's inquiry request, exports the speed of the current virtual machine (vm) migration calculating.
3. the live migration of virtual machine progress queries device based on Xen, it is characterized in that, comprise the first agent's module being arranged on former host and be arranged on the second agent's module on target host, by the function that between two agencies, mutual realization is monitored virtual machine (vm) migration speed each other, without the Xen to bottom, partly modify, just can get migration progress in virtual machine (vm) migration process, wherein:
Described first agent's module, initiates virtual machine (vm) migration request, carries the unique identification of virtual machine to be migrated in described request;
Described second agent's module, according to described virtual machine (vm) migration request, is shell with the identical configuration of same names of described virtual machine creating to be migrated;
Described first agent's module, starts virtual machine (vm) migration, and the internal memory of virtual machine is moved in described shell;
Described second agent's module, obtains the memory increase of the virtual machine in described shell, calculates according to this speed of virtual machine (vm) migration.
4. device as claimed in claim 3, is characterized in that:
Described second agent's module, also according to user's inquiry request, exports the speed of the current virtual machine (vm) migration calculating.
CN201110009315.9A 2011-01-17 2011-01-17 Method and device based on Xen for monitoring thermomigration progress for virtual machine Active CN102118437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110009315.9A CN102118437B (en) 2011-01-17 2011-01-17 Method and device based on Xen for monitoring thermomigration progress for virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110009315.9A CN102118437B (en) 2011-01-17 2011-01-17 Method and device based on Xen for monitoring thermomigration progress for virtual machine

Publications (2)

Publication Number Publication Date
CN102118437A CN102118437A (en) 2011-07-06
CN102118437B true CN102118437B (en) 2014-03-05

Family

ID=44217025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110009315.9A Active CN102118437B (en) 2011-01-17 2011-01-17 Method and device based on Xen for monitoring thermomigration progress for virtual machine

Country Status (1)

Country Link
CN (1) CN102118437B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857561A (en) * 2012-08-21 2013-01-02 浪潮电子信息产业股份有限公司 Interacting method of virtual computer system and cloud computing control center
CN103699842A (en) * 2013-12-25 2014-04-02 北京安码科技有限公司 Virtual machine security monitoring method based on cellular neural network
CN103885830B (en) * 2014-04-16 2017-02-15 中国科学院软件研究所 Data processing method used in cross-data-center live migration process of virtual machine
CN106844148B (en) * 2016-12-30 2020-01-14 清华大学 Virtual machine starting progress monitoring method and device
CN109445908B (en) * 2018-10-30 2021-04-27 杭州炎魂网络科技有限公司 Virtual machine backup method and system
CN114281259A (en) * 2021-12-23 2022-04-05 天翼视讯传媒有限公司 Data heat migration system based on multiple angles

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398770A (en) * 2007-09-30 2009-04-01 赛门铁克公司 System for and method of migrating one or more virtual machines

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100489787C (en) * 2007-07-10 2009-05-20 北京大学 Dummy machine external storage on-line migration method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398770A (en) * 2007-09-30 2009-04-01 赛门铁克公司 System for and method of migrating one or more virtual machines

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
热迁移技术在构建电力虚拟数据中心的研究与应用;胡威等;《电力信息化》;20100131;第8卷(第1期);第45页第3列第2段至第46页第1段,第47页第2列第3段至第48页第1列第1段,图1、图3 *
胡威等.热迁移技术在构建电力虚拟数据中心的研究与应用.《电力信息化》.2010,第8卷(第1期),第44-48页.

Also Published As

Publication number Publication date
CN102118437A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102118437B (en) Method and device based on Xen for monitoring thermomigration progress for virtual machine
US9372712B2 (en) Optimizing virtual storage size in a virtual computer system based on information related to virtual machines, user inputs and/or configuration parameters
US10684876B2 (en) Migration of virtual machine data using native data paths
US20170090972A1 (en) Techniques for data migration
EP2827245B1 (en) Enabling multi-tenant virtual servers in a cloud system
CN102968331B (en) A kind of virtual machine management system and file access method thereof
WO2016062117A1 (en) Virtual machine migration processing method and apparatus
US9588793B2 (en) Creating new virtual machines based on post-boot virtual machine snapshots
GB2492006A (en) System and method for assisting virtual machine instantiation and migration
WO2015043147A1 (en) Virtual machine memory data migration method, related apparatus, and cluster system
WO2015032201A1 (en) Virtual machine placing method and device
CN103544047B (en) cloud system data management method
WO2013140076A3 (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN105094964A (en) Virtual machine migration method and system
TWI456944B (en) Management method and system using the same
US20150199524A1 (en) Synchronized virtual trusted platform modules (vtpm) and virtual machine (vm) rollbacks
CN109960579B (en) Method and device for adjusting service container
CN102917044B (en) Method for synchronizing data between cloud management platform and cloud platform
WO2018022951A3 (en) Collection of vnf (virtual network function) performance measurements related to virtualized resources
CN103399791A (en) Method and device for migrating virtual machines on basis of cloud computing
CN111061617B (en) Space-based network networking simulation test system based on cloud computing
CN105447382A (en) Sandbox based software registry redirection method and system
CN106911741A (en) A kind of method and NM server for virtualizing webmaster file download load balancing
CN104462955A (en) Host behavior active detection system and method based on virtualization
CN106250112A (en) A kind of auxiliary system for developing software, method and software development system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201112

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Patentee after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road to information on the ground floor, building 2-1, No. 1, C

Patentee before: Inspur (Beijing) Electronic Information Industry Co.,Ltd.

TR01 Transfer of patent right