CN104850459A - Virtual machine migrating method and apparatus - Google Patents

Virtual machine migrating method and apparatus Download PDF

Info

Publication number
CN104850459A
CN104850459A CN201510267153.7A CN201510267153A CN104850459A CN 104850459 A CN104850459 A CN 104850459A CN 201510267153 A CN201510267153 A CN 201510267153A CN 104850459 A CN104850459 A CN 104850459A
Authority
CN
China
Prior art keywords
physical server
resource utilization
described physical
virtual machine
upper limit
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
Application number
CN201510267153.7A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510267153.7A priority Critical patent/CN104850459A/en
Publication of CN104850459A publication Critical patent/CN104850459A/en
Pending legal-status Critical Current

Links

Abstract

Embodiments of the present invention disclose a virtual machine migrating method and apparatus, and relate to the technical field of communications, so as to resolve the problem that processing efficiency of a task with a long delay is low when resources are concentrated. The virtual machine migrating method disclosed by the embodiment of the present invention comprises that: a resource utilization rate of a physical server is acquired; when the resource utilization rate of the physical server is greater than an upper limit of the resource utilization rate of the physical server, according to a resource utilization rate of each virtual machine in the physical server, the virtual machines in the physical server are sequentially migrated, in descending order of the resource utilization rates of the virtual machines, to other physical servers until the resource utilization rate of the physical server is less than or equal to the upper limit of the resource utilization rate of the physical server, wherein the resource utilization rate of each physical server in the other physical servers is less than the upper limit of the resource utilization rate of the physical server. The virtual machine migrating method and the apparatus provided by the present invention are applicable to cloud computing data centers.

Description

A kind of method and device moving virtual machine
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and the device that move virtual machine.
Background technology
Along with the development of the communication technology, especially Intel Virtualization Technology is universal, and cloud computation data center uses virtual machine to execute the task usually.In actual applications, in order to save the energy consumption of cloud computation data center, can realize in the resource set of cloud computation data center by the method for virtual machine (vm) migration, namely virtual machine is concentrated migrating to and minority physical server performing cloud computation data center of task, the physical server moving sky virtual machine is closed simultaneously.
In resource set, multiple virtual machine run may be there is in a physical server simultaneously, and multiple virtual machine run may cause the resource utilization of physical server too high, thus cause the hydraulic performance decline of physical server, increase the time of each virtual machine Processing tasks on physical server.But, for the task that delay requirement is higher, the time of virtual machines performing tasks to be ensured in the process of virtual machines performing tasks.Therefore, adopt above-mentioned moving method, although can realize in resource set, reduce the energy consumption of cloud computation data center, but also reduce the performance of physical server, the execution time of task of making delay requirement higher is long simultaneously, reduce the treatment effeciency of the higher task of time delay.
Summary of the invention
The embodiment of the present invention provides a kind of method and the device that move virtual machine, can in resource set, solve the problem that the treatment effeciency of the higher task of time delay is low.
For achieving the above object, the embodiment of the present invention adopts following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of moving virtual machine, and described method comprises:
Obtain the resource utilization of physical server;
When in the resource utilization that the resource utilization of described physical server is greater than described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
Second aspect, the embodiment of the present invention provides a kind of device moving virtual machine, and described device comprises:
Monitoring resource condition module, for obtaining the resource utilization of physical server;
Analysis module, in the resource utilization being greater than described physical server when the resource utilization of described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
A kind of method and device moving virtual machine that the embodiment of the present invention provides, when in the resource utilization that the resource utilization of physical server is greater than physical server in limited time, can according to the resource utilization of virtual machine order from big to small, virtual machine on physical server is migrated to other physical servers successively, until the resource utilization of physical server is less than or equal to the resource utilization upper limit of physical server, wherein, in other physical servers, the resource utilization of each physical server is less than the resource utilization upper limit of physical server.Be compared in prior art to realize in resource set, being concentrated by virtual machine moves on minority physical server, the physical server moving sky virtual machine is closed, the embodiment of the present invention can be prescribed a time limit in the resource utilization that the resource utilization of physical server is greater than physical server, according to the resource utilization order from big to small of virtual machine, successively by the virtual machine (vm) migration on physical server to other physical servers, can ensure when physical server performance is lower like this, the performance of fast quick-recovery physical server is carried out by moving less physical server, thus meet the execution demand of the higher task of delay requirement.And, when in the resource utilization that the resource utilization of physical server is less than or equal to physical server in limited time, stop the transition process of virtual machine, can guarantee like this in resource set, namely avoid when physical server can meet the execution demand of the higher task of delay requirement, still improved the performance of physical server by migration virtual machine, thus cause the wasting of resources.Therefore, in resource set, solve the low problem of the treatment effeciency of the higher task of time delay by the performance of fast quick-recovery physical server.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of embody rule scene schematic diagram that Fig. 1 provides for the embodiment of the present invention;
A kind of method flow diagram moving virtual machine that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of the another kind migration virtual machine that Fig. 3 provides for the embodiment of the present invention;
The method flow diagram of the another kind migration virtual machine that Fig. 4 provides for the embodiment of the present invention;
A kind of apparatus structure schematic diagram moving virtual machine that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention may be used for a kind of cloud computation data center, and as shown in Figure 1, cloud computation data center can comprise Distribution Layer and resource layer.Wherein, analysis module and monitoring resource condition module can be comprised in Distribution Layer; One or more physical server can be comprised, such as physical server 1, physical server 2 and physical server n in resource layer, wherein, each physical server one or more virtual machine corresponding.The resource utilization of each virtual machine on the resource utilization of each physical server that analysis module can report according to monitoring resource condition module, the resource utilization upper limit of physical server, the resource utilization lower limit of physical server and physical server, determines virtual machine to be migrated on physical server in all virtual machines and by virtual machine (vm) migration to be migrated to other physical servers.
The embodiment of the present invention provides a kind of method of moving virtual machine, and the method flow process realizes by analysis module.As shown in Figure 2, described method comprises:
101, the resource utilization of physical server is obtained.
Analysis module can from the information that monitoring resource condition module reports, the resource utilization of each physical server of Gains resources layer.In embodiments of the present invention, monitoring resource condition module periodically can report the resource utilization of each physical server, thus ensures that analysis module is after determining virtual machine to be migrated, can distribute suitable physical server for virtual machine to be migrated.So just can make virtual machine to be migrated from original physical server migration to target physical server after, the resource utilization of original physical server and the resource utilization of target physical server are all in a metastable interval range.
102, when in the resource utilization that the resource utilization of described physical server is greater than described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server.
Wherein, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
The resource utilization of each virtual machine on the physical server that analysis module can obtain according to monitoring resource condition module, move successively in the process of virtual machine in the order from big to small of the resource utilization according to virtual machine, after often migration virtual machine all needs to calculate this virtual machine of migration, the resource utilization of physical server, and by judging the magnitude relationship of the utilization of resources of physical server and the resource utilization upper limit of physical server, determine whether the transition process needing to stop virtual machine.Size due to the resource utilization of physical server equals the resource utilization sum of all virtual machines on physical server, therefore, after a virtual machine on migration physical server, can by obtaining on physical server not by the resource utilization sum of all virtual machines of moving, determine the resource utilization of physical server after this virtual machine of migration, or according to the resource utilization of physical server when not moving virtual machine with by the resource utilization of this virtual machine of moving, determine the resource utilization of physical server after this virtual machine of migration.It should be noted that, in order to the performance of fast quick-recovery physical server, can according to the resource utilization of virtual machine order from big to small, after determining a virtual machine to be migrated, just by this virtual machine (vm) migration to be migrated to other physical servers, determine next virtual machine to be migrated afterwards again, and by virtual machine (vm) migration to be migrated for the next one to other physical servers, until the resource utilization of physical server is less than or equal to the resource utilization upper limit of physical server.Like this, after each migration virtual machine to be migrated, the performance of physical server all can improve.In embodiments of the present invention, after the virtual machine to be migrated first determining that all needs move can also be passed through, all virtual machines to be migrated of migration that needs are migrated to other physical servers in the lump.The migration pattern that virtual machine is concrete, can judge according to different application scenarioss, is not construed as limiting in embodiments of the present invention.Further, the method for migration virtual machine to be migrated does not do concrete restriction in embodiments of the present invention yet, can use bin packing algorithm or other can carry out the algorithm of reasonable distribution, by virtual machine (vm) migration to other physical servers.
It should be noted that, after ensureing virtual machine (vm) migration to be migrated to other physical servers, the resource utilization of other physical servers is still less than or equal to the upper limit of physical server, before execution transition process, analysis module can judge after virtual machine (vm) migration to be migrated to other physical servers, whether the resource utilization of other physical servers is greater than the resource utilization upper limit of physical server, if after migration virtual machine to be migrated, the resource utilization of other physical servers is not more than the resource utilization upper limit of physical server, then by virtual machine (vm) migration to be migrated to other physical servers, if after migration virtual machine to be migrated, the resource utilization of other physical servers is greater than the resource utilization upper limit of physical server, then analysis module can redefine the physical server satisfied condition according to the method described above, afterwards by virtual machine (vm) migration to be migrated to the physical server satisfied condition.
A kind of method of moving virtual machine that the embodiment of the present invention provides, when in the resource utilization that the resource utilization of physical server is greater than physical server in limited time, can according to the resource utilization of virtual machine order from big to small, virtual machine on physical server is migrated to other physical servers successively, until the resource utilization of physical server is less than or equal to the resource utilization upper limit of physical server, wherein, in other physical servers, the resource utilization of each physical server is less than the resource utilization upper limit of physical server.Be compared in prior art to realize in resource set, being concentrated by virtual machine moves on minority physical server, the physical server moving sky virtual machine is closed, the embodiment of the present invention can be prescribed a time limit in the resource utilization that the resource utilization of physical server is greater than physical server, according to the resource utilization order from big to small of virtual machine, successively by the virtual machine (vm) migration on physical server to other physical servers, can ensure when physical server performance is lower like this, the performance of fast quick-recovery physical server is carried out by moving less physical server, thus meet the execution demand of the higher task of delay requirement.And, when in the resource utilization that the resource utilization of physical server is less than or equal to physical server in limited time, stop the transition process of virtual machine, can guarantee like this in resource set, namely avoid when physical server can meet the execution demand of the higher task of delay requirement, still improved the performance of physical server by migration virtual machine, thus cause the wasting of resources.Therefore, in resource set, solve the low problem of the treatment effeciency of the higher task of time delay by the performance of fast quick-recovery physical server.
In order to avoid physical server running a small amount of virtual machine and the wasting of resources caused because existing, in another implementation of the embodiment of the present invention, resource utilization is less than to the physical server of the resource utilization upper limit, can passes through all virtual machine (vm) migrations on physical server to other physical servers.Therefore, on the basis of implementation as shown in Figure 2, implementation as shown in Figure 3 can also be embodied as, namely after the step 101 that is finished obtains the resource utilization of physical server, step 103 can also be performed to step 107:
103, according to the resource utilization of described physical server and the resource utilization upper limit of described physical server, judge whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server.
Wherein, when in the resource utilization that the resource utilization of described physical server is less than or equal to described physical server in limited time, perform step 104 to step 106; When in the resource utilization that the resource utilization of described physical server is more than or equal to described physical server in limited time, perform step 107.
In embodiments of the present invention, when in the resource utilization that the resource utilization of physical server is less than or equal to physical server in limited time, by performing step 104, can judge whether physical server is run the physical server of a small amount of virtual machine by analysis module according to the resource utilization lower limit of physical server.In cloud computation data center, the operation of each physical server can take certain resource, and when the resource utilization of physical server is lower, this physical server can cause the wasting of resources, although namely physical server occupies certain resource, only use its small portion resource.Now, sky physical server can be moved by all virtual machines on migration physical server, and physical server is closed, thus the quantity of the physical server run in minimizing cloud computation data center, and then the resource sum in reduction cloud computation data center shared by all physical servers, reduce the wasting of resources.
104, according to the resource utilization of described physical server and the resource utilization lower limit of described physical server, judge whether the resource utilization of described physical server is less than the resource utilization lower limit of described physical server.
Wherein, the resource utilization of described physical server to be less than under the resource utilization of described physical server in limited time, performs step 105; When the resource utilization of described physical server is more than or equal to the resource utilization lower limit of described physical server, and in the resource utilization being less than or equal to described physical server in limited time, perform step 106.
105, by virtual machine (vm) migrations all on described physical server extremely other physical servers described.
Analysis module can using virtual machines all on this physical server as virtual machine to be migrated, and migrate to other physical servers, thus close the physical server moving sky virtual machine, carry out saving resource with the quantity by reducing the physical server that cloud computation data center is being run.
106, the virtual machine on described physical server is not moved.
In order to ensure that the resource utilization of physical server is in a metastable interval, when the resource utilization of physical server is not more than the resource utilization upper limit of physical server, and under being not less than the resource utilization of physical server in limited time, can not the virtual machine on physical server be moved.
107, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server.
A kind of method of moving virtual machine that the embodiment of the present invention provides, prescribes a time limit, by all virtual machine (vm) migrations on physical server to other physical servers under the resource utilization of physical server is less than the resource utilization of physical server.Wherein, in other physical servers, the resource utilization of each physical server is less than the resource utilization upper limit of physical server.Be compared in prior art to realize in resource set, being concentrated by virtual machine moves on minority physical server, the physical server moving sky virtual machine is closed, the embodiment of the present invention can be prescribed a time limit under the resource utilization of physical server is less than the resource utilization of physical server, in order to reduce the wasting of resources, and by all virtual machine (vm) migrations on physical server to other physical servers, the physical server moving sky virtual machine can be closed afterwards, thus avoid situation physical server running a small amount of virtual machine, in resource set, decrease the wasting of resources.
After ensureing to move virtual machine to be migrated, the resource utilization of physical server can meet the requirement of current application scene for the resource utilization of physical server, in another implementation of the embodiment of the present invention, the resource utilization upper limit of physical server and the resource utilization lower limit of physical server can be pre-set according to different application scenarioss.Therefore, on the basis of implementation as shown in Figure 3, implementation as shown in Figure 4 can also be embodied as, namely in the resource utilization upper limit of step 103 according to the resource utilization of described physical server and described physical server, before judging whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server, described method also comprises step 108:
108, the resource utilization upper limit of described physical server and the resource utilization lower limit of described physical server is set.
It should be noted that there is not the precedence relationship on execution sequence due to step 101 and step 108, therefore, step 101 and step 108 can perform according to certain sequencing, or perform simultaneously, in embodiments of the present invention, the execution sequence of step 101 and step 108 is not limited.The resource utilization upper limit of each physical server and the resource utilization lower limit of each physical server can be different.The resource utilization upper limit and resource utilization lower limit can preset according to the performance of each physical server respectively.Wherein, for the concrete setting means of the resource utilization upper limit of physical server and the resource utilization lower limit of physical server, do not do concrete restriction in embodiments of the present invention, can be that staff presets according to different application scene, or analysis module obtains empirical value according to historical data, and periodically preset for each physical server, can also be other setting meanss.
MM (Minimization of Migrations) algorithm can be passed through in actual application the judgement of bin packing algorithm is carried out one by one to all virtual machines on physical server, and by the virtual machine (vm) migration to be migrated determined to other physical servers.The false code of MM algorithm is specific as follows:
Above-mentioned MM algorithm is mainly in order to determine the virtual machine to be migrated in all virtual machines on physical server.In embodiments of the present invention, above-mentioned MM algorithm can according to the information provided in the virtual machine list on physical server, select virtual machine physical server with optimum rate of utilization to move, and delete by the virtual machine moved from the virtual machine list of original physical server, perform new iterative loop afterwards, automatically stop in limited time until MM algorithm is less than or equal in resource utilization in the resource utilization of original physical server, export the list of virtual machine to be migrated afterwards.Wherein, the complexity of MM algorithm depends on that in cloud computation data center, resource utilization is greater than the quantity of the physical server of the resource utilization upper limit, can also depend on that resource utilization is greater than the quantity of the virtual machine on the physical server of the resource utilization upper limit.It should be noted that, each physical server all can arrange a virtual machine list, this virtual machine list is for storing the relevant information of each virtual machine on this physical server.
A kind of method of moving virtual machine that the embodiment of the present invention provides, preset the resource utilization upper limit of physical server and the resource utilization lower limit of physical server, afterwards according to the resource utilization of physical server obtained and the resource utilization upper limit of physical server, and the magnitude relationship of the resource utilization lower limit of physical server, determine the virtual machine to be migrated needing migration, and migrate to other physical servers.Wherein, in other physical servers, the resource utilization of each physical server is less than the resource utilization upper limit of physical server.Be compared in prior art to realize in resource set, being concentrated by virtual machine moves on minority physical server, the physical server moving sky virtual machine is closed, the embodiment of the present invention can in the resource utilization upper limit of the resource utilization and physical server that judge physical server, and before the magnitude relationship of the resource utilization lower limit of physical server, the resource utilization upper limit of physical server and the resource utilization lower limit of physical server is preset according to different application scene, thus ensure that the virtual machine to be migrated of the needs migration determined is more accurate, and then the problem that the treatment effeciency solving the higher task of time delay is low.
The embodiment of the present invention provides a kind of device 20 moving virtual machine, and described device 20 is for realizing method flow as shown in Figures 2 to 4, and as shown in Figure 5, described device 20 comprises:
Monitoring resource condition module 21, for obtaining the resource utilization of physical server.
Analysis module 22, in the resource utilization being greater than described physical server when the resource utilization of described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
In another implementation of the embodiment of the present invention, described analysis module 22, also for according to the resource utilization of described physical server and the resource utilization upper limit of described physical server, judge whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server.
Described analysis module 22, specifically for be less than or equal to described physical server when the resource utilization of described physical server resource utilization in limited time, according to the resource utilization of described physical server and the resource utilization lower limit of described physical server, judge whether the resource utilization of described physical server is less than the resource utilization lower limit of described physical server;
Prescribe a time limit, by virtual machine (vm) migrations all on described physical server to other physical servers described under the resource utilization of described physical server is less than the resource utilization of described physical server.
In another implementation of the embodiment of the present invention, described analysis module 22, concrete also for being more than or equal to the resource utilization lower limit of described physical server when the resource utilization of described physical server, and in the resource utilization being less than or equal to described physical server in limited time, do not move the virtual machine on described physical server.
In another implementation of the embodiment of the present invention, described device 20 also comprises:
Setting module 23, for the resource utilization lower limit of the resource utilization upper limit and described physical server that set described physical server.
A kind of device moving virtual machine that the embodiment of the present invention provides, when in the resource utilization that the resource utilization of physical server is greater than physical server in limited time, can according to the resource utilization of virtual machine order from big to small, virtual machine on physical server is migrated to other physical servers successively, until the resource utilization of physical server is less than or equal to the resource utilization upper limit of physical server, wherein, in other physical servers, the resource utilization of each physical server is less than the resource utilization upper limit of physical server.Be compared in prior art to realize in resource set, being concentrated by virtual machine moves on minority physical server, the physical server moving sky virtual machine is closed, the embodiment of the present invention can be prescribed a time limit in the resource utilization that the resource utilization of physical server is greater than physical server, according to the resource utilization order from big to small of virtual machine, successively by the virtual machine (vm) migration on physical server to other physical servers, can ensure when physical server performance is lower like this, the performance of fast quick-recovery physical server is carried out by moving less physical server, thus meet the execution demand of the higher task of delay requirement.And, when in the resource utilization that the resource utilization of physical server is less than or equal to physical server in limited time, stop the transition process of virtual machine, can guarantee like this in resource set, namely avoid when physical server can meet the execution demand of the higher task of delay requirement, still improved the performance of physical server by migration virtual machine, thus cause the wasting of resources.Therefore, in resource set, solve the low problem of the treatment effeciency of the higher task of time delay by the performance of fast quick-recovery physical server.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, 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 protection domain of claim.

Claims (8)

1. move a method for virtual machine, it is characterized in that, described method comprises:
Obtain the resource utilization of physical server;
When in the resource utilization that the resource utilization of described physical server is greater than described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
2. method according to claim 1, is characterized in that, after the resource utilization of described acquisition physical server, described method also comprises:
According to the resource utilization of described physical server and the resource utilization upper limit of described physical server, judge whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server;
When in the resource utilization that the resource utilization of described physical server is less than or equal to described physical server in limited time, according to the resource utilization of described physical server and the resource utilization lower limit of described physical server, judge whether the resource utilization of described physical server is less than the resource utilization lower limit of described physical server;
Prescribe a time limit, by virtual machine (vm) migrations all on described physical server to other physical servers described under the resource utilization of described physical server is less than the resource utilization of described physical server.
3. method according to claim 2, it is characterized in that, in the resource utilization being less than or equal to described physical server in the described resource utilization when described physical server in limited time, according to the resource utilization of described physical server and the resource utilization lower limit of described physical server, after judging whether the resource utilization of described physical server is less than the resource utilization lower limit of described physical server, described method also comprises:
When the resource utilization of described physical server is more than or equal to the resource utilization lower limit of described physical server, and in the resource utilization being less than or equal to described physical server in limited time, do not move the virtual machine on described physical server.
4. according to the method in claim 2 or 3, it is characterized in that, in the resource utilization upper limit of the described resource utilization according to described physical server and described physical server, before judging whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server, described method also comprises:
Set the resource utilization upper limit of described physical server and the resource utilization lower limit of described physical server.
5. move a device for virtual machine, it is characterized in that, described device comprises:
Monitoring resource condition module, for obtaining the resource utilization of physical server;
Analysis module, in the resource utilization being greater than described physical server when the resource utilization of described physical server in limited time, according to the resource utilization of virtual machine each on described physical server, according to the resource utilization order from big to small of virtual machine, virtual machine on described physical server is migrated to other physical servers successively, until the resource utilization of described physical server is less than or equal to the resource utilization upper limit of described physical server, in other physical servers described, the resource utilization of each physical server is less than the resource utilization upper limit of described physical server.
6. device according to claim 5, it is characterized in that, described analysis module, also for according to the resource utilization of described physical server and the resource utilization upper limit of described physical server, judge whether the resource utilization of described physical server is greater than the resource utilization upper limit of described physical server;
Described analysis module, specifically for be less than or equal to described physical server when the resource utilization of described physical server resource utilization in limited time, according to the resource utilization of described physical server and the resource utilization lower limit of described physical server, judge whether the resource utilization of described physical server is less than the resource utilization lower limit of described physical server;
Prescribe a time limit, by virtual machine (vm) migrations all on described physical server to other physical servers described under the resource utilization of described physical server is less than the resource utilization of described physical server.
7. device according to claim 6, it is characterized in that, described analysis module, concrete also for being more than or equal to the resource utilization lower limit of described physical server when the resource utilization of described physical server, and in the resource utilization being less than or equal to described physical server in limited time, do not move the virtual machine on described physical server.
8. the device according to claim 6 or 7, is characterized in that, described device also comprises:
Setting module, for the resource utilization lower limit of the resource utilization upper limit and described physical server that set described physical server.
CN201510267153.7A 2015-05-22 2015-05-22 Virtual machine migrating method and apparatus Pending CN104850459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510267153.7A CN104850459A (en) 2015-05-22 2015-05-22 Virtual machine migrating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510267153.7A CN104850459A (en) 2015-05-22 2015-05-22 Virtual machine migrating method and apparatus

Publications (1)

Publication Number Publication Date
CN104850459A true CN104850459A (en) 2015-08-19

Family

ID=53850116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510267153.7A Pending CN104850459A (en) 2015-05-22 2015-05-22 Virtual machine migrating method and apparatus

Country Status (1)

Country Link
CN (1) CN104850459A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775918A (en) * 2015-11-23 2017-05-31 中国电信股份有限公司 Dispatching method of virtual machine, virtual machine manager and SDN systems
CN107203255A (en) * 2016-03-20 2017-09-26 田文洪 Power-economizing method and device are migrated in a kind of network function virtualized environment
CN109002348A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 Load-balancing method and device in a kind of virtualization system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981890A (en) * 2012-11-30 2013-03-20 华南理工大学 Computing task and virtual machine deploying method within a virtual data center
CN103077082A (en) * 2013-01-08 2013-05-01 中国科学院深圳先进技术研究院 Method and system for distributing data center load and saving energy during virtual machine migration
CN103218249A (en) * 2013-03-27 2013-07-24 华为技术有限公司 Virtualization cluster control method and equipment as well as virtualization cluster system
CN103473142A (en) * 2013-10-08 2013-12-25 浪潮(北京)电子信息产业有限公司 Virtual machine transferring method and device under cloud computing operating system
CN103473139A (en) * 2013-09-26 2013-12-25 四川中电启明星信息技术有限公司 Virtual machine cluster resource allocation and scheduling method
US20140282541A1 (en) * 2013-03-13 2014-09-18 Cloubrain, Inc. Feedback system for optimizing the allocation of resources in a data center

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981890A (en) * 2012-11-30 2013-03-20 华南理工大学 Computing task and virtual machine deploying method within a virtual data center
CN103077082A (en) * 2013-01-08 2013-05-01 中国科学院深圳先进技术研究院 Method and system for distributing data center load and saving energy during virtual machine migration
US20140282541A1 (en) * 2013-03-13 2014-09-18 Cloubrain, Inc. Feedback system for optimizing the allocation of resources in a data center
CN103218249A (en) * 2013-03-27 2013-07-24 华为技术有限公司 Virtualization cluster control method and equipment as well as virtualization cluster system
CN103473139A (en) * 2013-09-26 2013-12-25 四川中电启明星信息技术有限公司 Virtual machine cluster resource allocation and scheduling method
CN103473142A (en) * 2013-10-08 2013-12-25 浪潮(北京)电子信息产业有限公司 Virtual machine transferring method and device under cloud computing operating system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775918A (en) * 2015-11-23 2017-05-31 中国电信股份有限公司 Dispatching method of virtual machine, virtual machine manager and SDN systems
CN107203255A (en) * 2016-03-20 2017-09-26 田文洪 Power-economizing method and device are migrated in a kind of network function virtualized environment
CN109002348A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 Load-balancing method and device in a kind of virtualization system

Similar Documents

Publication Publication Date Title
US10331492B2 (en) Techniques to dynamically allocate resources of configurable computing resources
CN104881316A (en) Virtual machine transferring method and device
CN102724277B (en) The method of live migration of virtual machine and deployment, server and group system
CN104102523A (en) Method for migrating virtual machine and resource scheduling platform
CN102508718A (en) Method and device for balancing load of virtual machine
CN105117285B (en) A kind of nonvolatile memory method for optimizing scheduling based on mobile virtual system
CN105446790A (en) Virtual machine migration method and device
CN104866379A (en) Multi-core processor scheduling method and device as well as terminal
CN106125888B (en) The efficient power-economizing method of the utilization of resources in cloud data center based on virtual machine (vm) migration
WO2016122462A1 (en) Virtual machine placement
CN104951352A (en) Method and equipment for migrating data flow
CN104850459A (en) Virtual machine migrating method and apparatus
CN103634379A (en) Management method for distributed storage space and distributed storage system
CN107704310B (en) Method, device and equipment for realizing container cluster management
CN104866375A (en) Virtual machine migration method and apparatus
WO2021253851A1 (en) Cluster distributed resource scheduling method, apparatus and device, and storage medium
CN105868004A (en) Cloud computing based business system scheduling method and apparatus
CN103560915A (en) Method and system for managing resources in cloud computing system
Padoin et al. Saving energy by exploiting residual imbalances on iterative applications
CN106897116A (en) A kind of virtual machine migration method and device
WO2015188504A1 (en) Data centre solution method for decomposition-coordination calculation of block bordered diagonal frame model
CN104598311A (en) Method and device for real-time operation fair scheduling for Hadoop
CN104820616A (en) Task scheduling method and device
Padoin et al. Managing power demand and load imbalance to save energy on systems with heterogeneous CPU speeds
Chen et al. Utilization-based VM consolidation scheme for power efficiency in cloud data centers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150819

RJ01 Rejection of invention patent application after publication