CN102096606A - Virtual machine migration method, device and system - Google Patents
Virtual machine migration method, device and system Download PDFInfo
- Publication number
- CN102096606A CN102096606A CN2011100412953A CN201110041295A CN102096606A CN 102096606 A CN102096606 A CN 102096606A CN 2011100412953 A CN2011100412953 A CN 2011100412953A CN 201110041295 A CN201110041295 A CN 201110041295A CN 102096606 A CN102096606 A CN 102096606A
- Authority
- CN
- China
- Prior art keywords
- physical machine
- machine
- virtual machine
- migration
- physical
- 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
- 230000005012 migration Effects 0.000 title claims abstract description 75
- 238000013508 migration Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000013500 data storage Methods 0.000 claims description 3
- 210000000352 storage cell Anatomy 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 5
- 230000000977 initiatory effect Effects 0.000 abstract description 2
- 238000004364 calculation method Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001617 migratory effect Effects 0.000 description 1
- ORQBXQOJMQIAOY-UHFFFAOYSA-N nobelium Chemical compound [No] ORQBXQOJMQIAOY-UHFFFAOYSA-N 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000009885 systemic effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a virtual machine migration method, a virtual machine migration device and a virtual machine migration system, relates to the field of computers, and solves the problem of real time lack and high cost in a virtual machine migration process. The method comprises the following steps of: automatically selecting a physical machine from a preset available physical machine list to serve as a target physical machine; and initiating the migration of the virtual machine from a current source physical machine. The technical scheme provided by the invention is suitable for virtualization application and realizes real-time and high-efficiency virtual machine migration.
Description
Technical field
The present invention relates to computer realm, relate in particular to a kind of virtual machine migration method, device and system.
Background technology
Current, virtualization applications is more and more higher in supplier's cry, has become the first-selection that enterprise saves operation cost.Virtual machine (Virtual Machine) is a kind of typical virtualization applications.Virtual machine is a kind of can the realization as the software of the computing machine of real machine working procedure, can create a kind of environment between computer platform and terminal user, and the terminal user then is based on the environment that this software creates and comes function software.In actual use, for the simplified system maintenance management, improve system load balancing, purposes such as enhanced system fault tolerant degree and optimization system power management inevitably need be carried out virtual machine (vm) migration.Virtual machine (vm) migration is meant goes up the virtual machine (vm) migration of operation to another physical machine (target physical machine) operation with a physical machine (source physical machine).In order to reach this target, the running status of virtual machine need be transferred to the target physical machine from the source physical machine, on the target physical machine, recover the operation of virtual machine then.
In the prior art, migration virtual machine commonly used is when needs move, at first by administrator hand specify except that the physical machine of current place have respective resources (not all physical machine is all suitable, be respective resources to be arranged, be set to 4GB as virutal machine memory, requiring physical machine to possess the above internal memory of 4GB at least) physical machine is as the target physical machine, initiates virtual machine again by the migration of current place physical machine to this target physical machine.
Because the migratory behaviour of virtual machine in case of emergency takes place mostly, large quantities of data transfer all can be arranged all the time to virtual machine.And the physical machine quantity that virtualized system relates to can be a lot.Each change, the keeper specifies and expends time in very much with the target physical chance, and requires meeting very high to keeper's computing machine, lacks instantaneity in the realization, also will pay more on the cost.
Summary of the invention
The invention provides a kind of virtual machine migration method, device and system, solved shortage real-time and the high problem of cost in the virtual machine (vm) migration process.
A kind of virtual machine migration method comprises:
Automatically from the available physical machine tabulation of presetting, select a physical machine as the target physical machine;
Initiate virtual machine by of the migration of source, current place physical machine to described target physical machine.
Preferably, above-mentioned virtual machine migration method also comprises:
Obtain the hardware information of the physical machine of source, the current place of described virtual machine physical machine connection;
According to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
Preferably, described hardware information is specially the CPU model of physical machine.
The present invention also provides a kind of virtual machine (vm) migration device, comprising:
The Dynamic Recognition unit is used for selecting a physical machine as the target physical machine from the available physical machine tabulation of presetting automatically;
The migration performance element is used to initiate virtual machine by the migration of source, current place physical machine to described target physical machine.
Preferably, above-mentioned virtual machine (vm) migration device also comprises:
Data storage cell, be used to obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects, according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
The present invention also provides a kind of virtual machine (vm) migration system, comprises the virtual machine (vm) migration device;
Described virtual machine (vm) migration device is used for selecting a physical machine as the target physical machine from the available physical machine tabulation of presetting automatically, and initiates virtual machine by the migration of source, current place physical machine to described target physical machine.
Preferably, described virtual machine (vm) migration device, also be used to obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects, and according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
The invention provides a kind of virtual machine migration method, device and system, when needs carry out virtual machine (vm) migration, automatically from the available physical machine tabulation of presetting, select a physical machine as the target physical machine, initiate virtual machine by of the migration of source, current place physical machine to described target physical machine, finish the complete procedure that the target physical machine is selected and moved voluntarily by equipment, shorten the response time and reduced cost of labor, solved shortage real-time and the high problem of cost.
Description of drawings
Fig. 1 is the structural representation of a kind of virtual machine (vm) migration device of providing of embodiments of the invention;
Fig. 2 is the process flow diagram of a kind of virtual machine migration method of providing of embodiments of the invention;
Fig. 3 is the structural representation of the physical machine work system in the embodiments of the invention.
Embodiment
Lack real-time and the high problem of cost in order to solve in the existing virtual machine (vm) migration process, embodiments of the invention provide a kind of virtual machine migration method, device and system.Hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment among the application and the feature among the embodiment be combination in any mutually.
Embodiments of the invention provide a kind of virtual machine (vm) migration device, and this device is independent of each virtual machine of installing on mainboard BIOS system and the physical machine, and its structure comprises as shown in Figure 1:
Preferably, above-mentioned virtual machine (vm) migration device also comprises:
Preferably, above-mentioned virtual machine (vm) migration device can be integrated on the physical machine, because this device is independent of each virtual machine of installing on mainboard BIOS system and the physical machine, so when the system on the physical machine changes, this device can not be affected yet, normal functionating still, obtain the hardware information that this installs other physical machine of current place physical machine (hereinafter referred to as the source physical machine), determine available physical machine (i.e. the virtual machine that on the physical machine of source, moves also can move physical machine) according to this hardware information, when needs carry out virtual machine on the physical machine of source to the migration of other physical machine, from predetermined available physical machine, select one as the target physical machine, initiate virtual machine by of the migration of source physical machine to the target physical machine.
The embodiment of the invention also provides a kind of virtual machine (vm) migration system, comprises the virtual machine (vm) migration device;
Described virtual machine (vm) migration device is used for selecting a physical machine as the target physical machine from the available physical machine tabulation of presetting automatically, and initiates virtual machine by the migration of source, current place physical machine to described target physical machine.
Preferably, described virtual machine (vm) migration device, also be used to obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects, and according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
Virtual machine (vm) migration device that the embodiment of the invention provided and the virtual level of systemic effect on physical machine operating system.The work system of physical machine as shown in Figure 3, on physical machine, operating system is installed, on operating system, virtual level and hardware detecting program are arranged, decision-making device can gather each hardware detecting program feedack, and the physical machine of unanimity mated (promptly generate available physical machine tabulation), after coupling, need migration as virtual machine 2, decision-making device can call virtual level carry out virtual machine 2 from physical machine 2 to physical machine 1 migration operation (physical machine 1 and physical machine 2 couplings).
Below in conjunction with the virtual machine (vm) migration device that embodiments of the invention provided, a kind of virtual machine migration method that embodiments of the invention are provided is elaborated.
Use flow process that this method finishes virtual machine (vm) migration as shown in Figure 2, comprising:
Step 201, obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects;
In this step, the virtual machine (vm) migration device obtains the hardware information of the physical machine that links to each other with source, current virtual machine place physical machine.Concrete, all physical machine that may have access on the retrieval network are carried out the hardware information traversal to every physical machine then, and the physical machine of hardware information unanimity is sorted out, and deposit in the corresponding tabulation.When the physical machine in cluster changed (as new adding physical machine, existing physical machine when machine or HardwareUpgring etc.), the cluster control end can send to the physical machine information after changing other physical machine of being correlated with in the cluster; Also can periodically carry out the retrieval of physical machine and the traversal of hardware information, to realize the renewal of tabulation.
Step 202, according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation;
In this step, the hardware information of each physical machine of obtaining according to step 201 determines which physical machine can support described virtual machine, and promptly described virtual machine can normally move on which physical machine.Generally speaking, the physical machine that hardware information is identical with the source physical machine promptly can be used as the physical machine of virtual support machine.
Hardware information comprises information such as CPU, internal memory, and CPU is the factor of overriding concern.
In the tabulation of available physical machine, store the sign and the address of physical machine.
The tabulation of available physical machine can be triggered by external command to be upgraded, and assigns instruction as the keeper; Or when need moving, upgrades virtual machine; Or a update cycle is set, periodically update.
Step 203, automatically from the available physical machine tabulation of presetting, select a physical machine as the target physical machine;
In this step, when the virtual machine on the physical machine of source need move, the virtual machine (vm) migration device promptly selected a physical machine as the target physical machine from the available physical machine tabulation of presetting.Migration can be triggered (passing through cluster control end transmitting order to lower levels as the user) by external command, also can be judged voluntarily by the source physical machine.
Step 204, initiation virtual machine are by the migration of source, current place physical machine to described target physical machine;
In this step,, initiate virtual machine by of the migration of source physical machine to the target physical machine according to the target physical machine that step 203 is selected.
The virtual machine migration method that embodiments of the invention provided, device and system, when needs carry out virtual machine (vm) migration, automatically from the available physical machine tabulation of presetting, select a physical machine as the target physical machine, initiate virtual machine by of the migration of source, current place physical machine to described target physical machine, finish the complete procedure that the target physical machine is selected and moved voluntarily by equipment, shorten the response time and reduced cost of labor, solved shortage real-time and the high problem of cost.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized, described computer program can be stored in the computer-readable recording medium, described computer program (as system, unit, device etc.) on the relevant hardware platform is carried out, when carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be a ROM (read-only memory), disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection domain of claim.
Claims (7)
1. a virtual machine migration method is characterized in that, comprising:
Automatically from the available physical machine tabulation of presetting, select a physical machine as the target physical machine;
Initiate virtual machine by of the migration of source, current place physical machine to described target physical machine.
2. virtual machine migration method according to claim 1 is characterized in that, this method also comprises:
Obtain the hardware information of the physical machine of source, the current place of described virtual machine physical machine connection;
According to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
3. virtual machine migration method according to claim 2 is characterized in that, described hardware information is specially processor (CPU) model of physical machine.
4. a virtual machine (vm) migration device is characterized in that, comprising:
The Dynamic Recognition unit is used for selecting a physical machine as the target physical machine from the available physical machine tabulation of presetting automatically;
The migration performance element is used to initiate virtual machine by the migration of source, current place physical machine to described target physical machine.
5. virtual machine (vm) migration device according to claim 4 is characterized in that, this device also comprises:
Data storage cell, be used to obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects, according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
6. a virtual machine (vm) migration system is characterized in that, comprises the virtual machine (vm) migration device;
Described virtual machine (vm) migration device is used for selecting a physical machine as the target physical machine from the available physical machine tabulation of presetting automatically, and initiates virtual machine by the migration of source, current place physical machine to described target physical machine.
7. virtual machine (vm) migration according to claim 6 system is characterized in that,
Described virtual machine (vm) migration device, also be used to obtain the hardware information of the physical machine that source, the current place of described virtual machine physical machine connects, and according to described hardware information, from described physical machine, extract to support the physical machine of this virtual machine, deposit the physical machine address of described this virtual machine of support in described available physical machine tabulation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100412953A CN102096606A (en) | 2011-02-21 | 2011-02-21 | Virtual machine migration method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100412953A CN102096606A (en) | 2011-02-21 | 2011-02-21 | Virtual machine migration method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102096606A true CN102096606A (en) | 2011-06-15 |
Family
ID=44129712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100412953A Pending CN102096606A (en) | 2011-02-21 | 2011-02-21 | Virtual machine migration method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102096606A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426512A (en) * | 2011-11-09 | 2012-04-25 | 浪潮电子信息产业股份有限公司 | Realizing method for storing double-control disk array based on virtualization |
CN102521035A (en) * | 2011-11-25 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Identifying method of virtual machine in migration process |
WO2012109876A1 (en) * | 2011-08-03 | 2012-08-23 | 华为技术有限公司 | Virtualized data backup method, and virtualized data reorganization method, device and system |
CN103814358A (en) * | 2011-09-20 | 2014-05-21 | 国际商业机器公司 | Virtual machine placement within server farm |
CN108182107A (en) * | 2018-01-02 | 2018-06-19 | 郑州云海信息技术有限公司 | The detection method and equipment of a kind of virtual machine (vm) migration |
CN108241521A (en) * | 2016-12-26 | 2018-07-03 | 北京国双科技有限公司 | The choosing method and device of host |
CN105302627B (en) * | 2014-07-03 | 2019-06-25 | 中国移动通信集团公司 | A kind of S1 mouth moving method and device with robustness |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206582A (en) * | 2006-12-22 | 2008-06-25 | 联想(北京)有限公司 | Virtual machine system and processing method thereof |
US20090222542A1 (en) * | 2008-02-29 | 2009-09-03 | Hiroaki Miyajima | Virtual system and method in a virtual system |
CN101739287A (en) * | 2008-11-13 | 2010-06-16 | 国际商业机器公司 | Device, system and method for managing virtual machines |
-
2011
- 2011-02-21 CN CN2011100412953A patent/CN102096606A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206582A (en) * | 2006-12-22 | 2008-06-25 | 联想(北京)有限公司 | Virtual machine system and processing method thereof |
US20090222542A1 (en) * | 2008-02-29 | 2009-09-03 | Hiroaki Miyajima | Virtual system and method in a virtual system |
CN101739287A (en) * | 2008-11-13 | 2010-06-16 | 国际商业机器公司 | Device, system and method for managing virtual machines |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012109876A1 (en) * | 2011-08-03 | 2012-08-23 | 华为技术有限公司 | Virtualized data backup method, and virtualized data reorganization method, device and system |
US9547605B2 (en) | 2011-08-03 | 2017-01-17 | Huawei Technologies Co., Ltd. | Method for data backup, device and system |
CN103814358A (en) * | 2011-09-20 | 2014-05-21 | 国际商业机器公司 | Virtual machine placement within server farm |
CN103814358B (en) * | 2011-09-20 | 2018-04-03 | 联想企业方案(新加坡)有限公司 | Virtual machine in server zone is placed |
CN102426512A (en) * | 2011-11-09 | 2012-04-25 | 浪潮电子信息产业股份有限公司 | Realizing method for storing double-control disk array based on virtualization |
CN102521035A (en) * | 2011-11-25 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Identifying method of virtual machine in migration process |
CN105302627B (en) * | 2014-07-03 | 2019-06-25 | 中国移动通信集团公司 | A kind of S1 mouth moving method and device with robustness |
CN108241521A (en) * | 2016-12-26 | 2018-07-03 | 北京国双科技有限公司 | The choosing method and device of host |
CN108241521B (en) * | 2016-12-26 | 2020-11-06 | 北京国双科技有限公司 | Host machine selection method and device |
CN108182107A (en) * | 2018-01-02 | 2018-06-19 | 郑州云海信息技术有限公司 | The detection method and equipment of a kind of virtual machine (vm) migration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102326132B (en) | Power management to maximize reduced power state for virtual machine platforms | |
CN101398770B (en) | System for and method of migrating one or more virtual machines | |
CN102955675B (en) | For improvement of method and the device of the resource utilization in data center | |
US11200526B2 (en) | Methods and systems to optimize server utilization for a virtual data center | |
CN102096606A (en) | Virtual machine migration method, device and system | |
CN103631633B (en) | Virtual machine total-system online migration method, device and system | |
US8280431B2 (en) | Apparatus for end-user transparent utilization of computational, storage, and network capacity of mobile devices, and associated methods | |
Wang et al. | A decentralized virtual machine migration approach of data centers for cloud computing | |
CN107741875B (en) | Heterogeneous management system | |
US10925191B2 (en) | Methods and apparatus to manage power delivery for a data center based on predicted power consumption | |
US20110307899A1 (en) | Computing cluster performance simulation using a genetic algorithm solution | |
CN103885833B (en) | A kind of method for managing resource and system | |
CN105245523B (en) | Storage service platform and its implementation applied to desktop virtualization scene | |
US20160156568A1 (en) | Computer system and computer resource allocation management method | |
CN103473117A (en) | Cloud-mode virtualization method | |
JP5803496B2 (en) | Storage system | |
CN105187512A (en) | Method and system for load balancing of virtual machine clusters | |
CN102662750A (en) | Virtual machine resource optimal control method and control system based on elastic virtual machine pool | |
CN103399781A (en) | Cloud server and virtual machine management method thereof | |
Narayanan et al. | Towards a leaner geo-distributed cloud infrastructure | |
CN102035662A (en) | Virtual server management system, method and device | |
CN102341763A (en) | Power management in a virtual machine farm at the local virtual machine platform level by a platform hypervisor extended with farm management server functions | |
CN101387957A (en) | Multi-path software implementing apparatus and method | |
CN103383650A (en) | Management method and system thereof | |
CN104391736B (en) | The park mode method to set up and device of virtual machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110615 |