CN104881316A - Virtual machine transferring method and device - Google Patents

Virtual machine transferring method and device Download PDF

Info

Publication number
CN104881316A
CN104881316A CN201510268583.0A CN201510268583A CN104881316A CN 104881316 A CN104881316 A CN 104881316A CN 201510268583 A CN201510268583 A CN 201510268583A CN 104881316 A CN104881316 A CN 104881316A
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
CN201510268583.0A
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 CN201510268583.0A priority Critical patent/CN104881316A/en
Publication of CN104881316A publication Critical patent/CN104881316A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a virtual machine transferring method and device, and relates to the technical field of the communication. Under the condition of concentrated resources, transferring resources are saved. The method comprises the steps that resource utilization rates of a physical server are obtained; when the resource utilization rates of the physical server are bigger than an upper limit of the resource utilization rates of the physical server, according to the resource utilization rate of each virtual machine on the physical server, and the sequence of the resource utilization rates of the virtual machines from small to big, the virtual machines on the physical server are sequentially transferred to other physical servers until the resource utilization rates of the physical server are smaller than or equal to the upper limit of the resource utilization rates of the physical server. The resource utilization rates of each physical server in the other physical servers are smaller than the upper limit of the resource utilization rates of the physical server. The virtual machine transferring method and device are suitable for a cloud computing data centre.

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, therefore, in order to ensure the performance of physical server, then need to trigger second time virtual machine (vm) migration process.But, after second time virtual machine (vm) migration process terminates, the performance of physical server may not declined again because the task amount of process increases considerably by the virtual machine moved, thus trigger third time virtual machine (vm) migration process.Like this, the virtual machine frequent migration on Same Physical server will be made.Therefore, adopt above-mentioned moving method, although can realize in resource set, reduce the energy consumption of cloud computation data center, need the virtual machine on the same physical server of frequent migration, thus waste ample resources in virtual machine (vm) migration process.
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, save migration resource.
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 small to large 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 small to large, 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, by the virtual machine frequent migration on same physical server on other physical servers, 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 small to large 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, by moving the follow-up virtual machine that may affect physics server performance, namely be there is by migration resource utilization the virtual machine of larger growth space, realize while raising physical server performance, the resource utilization because of virtual machine is avoided significantly to promote and virtual machine on the same physical server of frequent migration.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 the performance of physical server is brought up to a certain degree, still improved the performance of physical server by migration virtual machine further, thus cause the wasting of resources.Therefore, in resource set, the virtual machine by moving resource utilization with larger growth space reduces the probability of the virtual machine on the same physical server of frequent migration, thus saves migration resource.
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 structural representation 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 small to large 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 small to large 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, analysis module can according to the resource utilization of virtual machine order from small to large, 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 small to large, 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, by the virtual machine frequent migration on same physical server on other physical servers, 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 small to large 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, by moving the follow-up virtual machine that may affect physics server performance, namely be there is by migration resource utilization the virtual machine of larger growth space, realize while raising physical server performance, the resource utilization because of virtual machine is avoided significantly to promote and virtual machine on the same physical server of frequent migration.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 the performance of physical server is brought up to a certain degree, still improved the performance of physical server by migration virtual machine further, thus cause the wasting of resources.Therefore, in resource set, the virtual machine by moving resource utilization with larger growth space reduces the probability of the virtual machine on the same physical server of frequent migration, thus saves migration resource.
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 small to large 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.
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 reduce the probability of the virtual machine on the same physical server of frequent migration, thus save migration resource, thus save migration resource.。
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 small to large 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 small to large, 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, by the virtual machine frequent migration on same physical server on other physical servers, 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 small to large 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, by moving the follow-up virtual machine that may affect physics server performance, namely be there is by migration resource utilization the virtual machine of larger growth space, realize while raising physical server performance, the resource utilization because of virtual machine is avoided significantly to promote and virtual machine on the same physical server of frequent migration.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 the performance of physical server is brought up to a certain degree, still improved the performance of physical server by migration virtual machine further, thus cause the wasting of resources.Therefore, in resource set, the virtual machine by moving resource utilization with larger growth space reduces the probability of the virtual machine on the same physical server of frequent migration, thus saves migration resource.
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 small to large 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.
CN201510268583.0A 2015-05-22 2015-05-22 Virtual machine transferring method and device Pending CN104881316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510268583.0A CN104881316A (en) 2015-05-22 2015-05-22 Virtual machine transferring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510268583.0A CN104881316A (en) 2015-05-22 2015-05-22 Virtual machine transferring method and device

Publications (1)

Publication Number Publication Date
CN104881316A true CN104881316A (en) 2015-09-02

Family

ID=53948822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510268583.0A Pending CN104881316A (en) 2015-05-22 2015-05-22 Virtual machine transferring method and device

Country Status (1)

Country Link
CN (1) CN104881316A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203255A (en) * 2016-03-20 2017-09-26 田文洪 Power-economizing method and device are migrated in a kind of network function virtualized environment
CN107391228A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of virtual machine migration management and device
CN107562512A (en) * 2016-07-01 2018-01-09 华为技术有限公司 A kind of method, apparatus and system for migrating virtual machine
CN110597631A (en) * 2019-09-06 2019-12-20 广州华多网络科技有限公司 Resource management method, monitoring server, proxy server, and storage medium
CN110825212A (en) * 2019-10-17 2020-02-21 北京京东尚科信息技术有限公司 Energy-saving scheduling method and device and computer storage medium
CN114002488A (en) * 2021-09-29 2022-02-01 苏州浪潮智能科技有限公司 Automatic monitoring and adjusting method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN103077082A (en) * 2013-01-08 2013-05-01 中国科学院深圳先进技术研究院 Method and system for distributing data center load and saving energy during virtual machine migration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN103077082A (en) * 2013-01-08 2013-05-01 中国科学院深圳先进技术研究院 Method and system for distributing data center load and saving energy during virtual machine migration

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203255A (en) * 2016-03-20 2017-09-26 田文洪 Power-economizing method and device are migrated in a kind of network function virtualized environment
CN107562512A (en) * 2016-07-01 2018-01-09 华为技术有限公司 A kind of method, apparatus and system for migrating virtual machine
CN107562512B (en) * 2016-07-01 2020-06-26 华为技术有限公司 Method, device and system for migrating virtual machine
CN107391228A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of virtual machine migration management and device
CN110597631A (en) * 2019-09-06 2019-12-20 广州华多网络科技有限公司 Resource management method, monitoring server, proxy server, and storage medium
CN110597631B (en) * 2019-09-06 2022-06-21 广州华多网络科技有限公司 Resource management method, monitoring server, proxy server, and storage medium
CN110825212A (en) * 2019-10-17 2020-02-21 北京京东尚科信息技术有限公司 Energy-saving scheduling method and device and computer storage medium
CN114002488A (en) * 2021-09-29 2022-02-01 苏州浪潮智能科技有限公司 Automatic monitoring and adjusting method, device and system
CN114002488B (en) * 2021-09-29 2024-01-16 苏州浪潮智能科技有限公司 Automatic monitoring and adjusting method, device and system

Similar Documents

Publication Publication Date Title
CN104881316A (en) Virtual machine transferring method and device
US10331492B2 (en) Techniques to dynamically allocate resources of configurable computing resources
US9594590B2 (en) Application migration with dynamic operating system containers
CN103365704B (en) Internal memory pre-copy method in virtual machine (vm) migration and perform device and the system of the method
EP3467651B1 (en) Method, device and terminal for allocating computational resources of processor
CN102110015B (en) Method and device for determining task progress and task processing time
WO2016008316A1 (en) Virtual machine migration method and device
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
CN104951352A (en) Method and equipment for migrating data flow
CN103634379A (en) Management method for distributed storage space and distributed storage system
CN104123171A (en) Virtual machine migrating method and system based on NUMA architecture
CN104866379A (en) Multi-core processor scheduling method and device as well as terminal
CN105516024B (en) A kind of task flux monitoring method and system based on queue
CN104850459A (en) Virtual machine migrating method and apparatus
CN104866375A (en) Virtual machine migration method and apparatus
CN103560915A (en) Method and system for managing resources in cloud computing system
CN106125888A (en) The efficient power-economizing method of the utilization of resources based on virtual machine (vm) migration in cloud data center
CN109960579B (en) Method and device for adjusting service container
CN106598508A (en) Solid-state hard disc and write-in arbitrating method and system thereof
CN104598311A (en) Method and device for real-time operation fair scheduling for Hadoop
US20190391847A1 (en) Resource Scheduling Method and Related Apparatus
Tian et al. Efficient algorithms for VM placement in cloud data centers
US20230325082A1 (en) Method for setting up and expanding storage capacity of cloud without disruption of cloud services and electronic device employing method
CN108121589A (en) A kind of online migration automatic convergent method of virtual machine

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150902