CN105260245B - A kind of resource regulating method and device - Google Patents
A kind of resource regulating method and device Download PDFInfo
- Publication number
- CN105260245B CN105260245B CN201510742023.4A CN201510742023A CN105260245B CN 105260245 B CN105260245 B CN 105260245B CN 201510742023 A CN201510742023 A CN 201510742023A CN 105260245 B CN105260245 B CN 105260245B
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- server
- information
- load
- itself
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000001105 regulatory effect Effects 0.000 title claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims description 10
- 241000208340 Araliaceae Species 0.000 claims description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 7
- 235000008434 ginseng Nutrition 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000010606 normalization Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 239000011800 void material Substances 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of resource regulating method and device, wherein method includes:Server judges the virtual machine state of itself according to load information;When server judges the virtual machine state of itself for high load condition, virtual machine is generated according to the load information of itself and is moved out information, and virtual machine information of moving out is sent at least one other server;Other servers receive virtual machine and move out information, when judging that the virtual machine state of itself is low-load state according to own load information, calculate virtual machine according to the load information of itself and move into parameter, and virtual machine is moved into parameter and is sent to server;Server receives the virtual machine that at least one other server is sent and moves into parameter, and maximum virtual machine is selected to move into other servers corresponding to parameter server as a purpose;Server is moved out virtual machine according to virtual machine information of moving out to destination server.The technical solution provided through the invention improves flexibility and the promptness of scheduling of resource.
Description
Technical field
The present invention relates to Computer Applied Technology, espespecially a kind of resource regulating method and device.
Background technology
Reality is obtained with the development and maturation, more and more cloud computing solutions of the relevant technologies of field of cloud calculation
Using with popularization.Server virtualization is one of key technology of cloud computing, be may be implemented using server virtualization higher
Utilization rate of equipment and installations.The source scheduling mode of current traditional server virtualization depends on administrative center, passes through each server week
The load information of itself is reported to phase property administrative center or collects the load information of each server by administrative center, then by
Administrative center analyzes the load information of Servers-all, and makes the migration scheme of virtual machine.
However, there are the following problems for traditional source scheduling mode:1, global due to being carried out to resource using administrative center
Monitoring and scheduling be easy to cause resource when administrative center occurs that computing resource is nervous or load information fails to collect in time
Scheduling is not in time.2, when cloud computing system expands scale, it is easy to cause scheduling of resource underaction.3, bearing due to server
Information carrying breath will be reported to administrative center, increase the cost of data transmission.
In conclusion traditional source scheduling mode is concentrated using administrative center carries out global monitoring and tune to resource
Degree, has excessively relying on that administrative center, load information compiling costs is higher, it is not prompt enough to dispatch.
Invention content
In order to solve the above technical problem, the present invention provides a kind of resource regulating method and devices, can improve resource
The flexibility of scheduling and promptness avoid the dependence to administrative center, reduce load information compiling costs.
In a first aspect, the present invention provides a kind of resource regulating methods, including:Server is obtained when preset time reaches
The load information of itself, and the virtual machine state of itself is judged according to the load information;Judge the virtual of itself in server
When machine state is high load condition, virtual machine is generated according to the load information of itself and is moved out information, and the virtual machine is moved out
Information is sent at least one other server, wherein the virtual machine is moved out information, including the server is needed to other
The information for the virtual machine that server is moved out;Other servers receive the virtual machine and move out information, according to own load information
When judging that the virtual machine state of itself is low-load state, calculates virtual machine using the load information of itself and move into parameter, and
The virtual machine is moved into parameter and is sent to server;Server receives the virtual machine that at least one other server is sent
Parameter is moved into, maximum virtual machine is selected to move into other servers corresponding to parameter server as a purpose;Server according to
Virtual machine information of moving out is moved out virtual machine to the destination server.
Further, the server obtains the load information of itself when preset time reaches, and specifically includes:The clothes
Business device obtains at least one resource information when preset time reaches, and passes through normalized, meter to each resource information
Calculate the load information of server.
Further, the server obtains at least one resource information when preset time reaches, and to each money
Source information is calculated the load information of server, is specifically included by normalized:The server is reached in preset time
When obtain the resource utilization of at least one resource;Calculate the weight of the resource utilization of each resource;According to the resource of each resource
The weight of utilization rate calculates the load information of the server by weighting normalization.
Further, the server generates virtual machine according to the load information of itself and moves out information, specifically includes:It is described
Server judges that the load of itself virtual machine is less than default virtual machine load value and necessarily runs on the server, then
It is judged to the virtual machine to allow virtual machine of moving out;The server, which calculates itself to move out, at least one described allows void of moving out
Load information after quasi- machine, and judge the virtual machine state of the server at this time;If the virtual machine shape of the server at this time
State is low-load state, then move out according to it is at least one allow virtual machine of moving out, generate virtual machine and move out information.
Further, the load information of other described server by utilizing itself calculates virtual machine and moves into parameter, specifically includes:
It is being moved into currently without virtual machine if other described servers are identified according to the load information of itself, and itself has operation
The resource of the corresponding virtual machine of information of moving out with the virtual machine in the server, then other servers judgement move into
The virtual machine is moved out the virtual machine state of itself after the corresponding virtual machine of information;In the virtual machine state of other servers
For low-load state when, allow to move into and move out the corresponding virtual machine of information with the virtual machine, and utilize own load information Sold
With move into the load information S after virtual machinenew, according to formula:A=(1- (Snew-Sold))×(1-Sold), it calculates virtual machine and moves into
Parameter A.
Second aspect, the embodiment of the present invention provide a kind of server, including:Acquiring unit, transmission unit, selecting unit and
It moves out unit, wherein:The acquiring unit, the load information for obtaining server when preset time reaches, and according to institute
State the virtual machine state that load information judges the server;The transmission unit, for judging institute in the acquiring unit
When the virtual machine state for stating server is high load condition, the load information generation virtual machine obtained according to the acquiring unit moves
Go out information, and virtual machine information of moving out is sent at least one other server;Wherein, virtual machine is moved out information, packet
The information that the server needs the virtual machine moved out to other servers is included, is sent to the server for other servers
Virtual machine moves into parameter;The selecting unit moves into ginseng for receiving the virtual machine that at least one other server is sent
Number selects maximum virtual machine to move into other servers corresponding to parameter server as a purpose;The unit of moving out, is used for
It is moved out virtual machine according to the virtual machine destination server that information is selected to the selecting unit of moving out.
Further, server further includes:Virtual machine moves into parameter calculation unit, for receiving other servers hair
The virtual machine sent move out information when, according to the load information of the server judge the virtual machine state of itself be low-load shape
When state, calculate virtual machine using the load information of itself and move into parameter, and by the virtual machine move into parameter be sent to it is described its
His server.
It is provided in an embodiment of the present invention to realize that the technical solution of scheduling of resource includes:Server judges certainly according to load information
The virtual machine state of body;When server judges the virtual machine state of itself for high load condition, according to the load information of itself
It generates virtual machine to move out information, and virtual machine information of moving out is sent at least one other server;Other servers receive
Move out information to virtual machine, when judging that the virtual machine state of itself is low-load state according to own load information, according to from
The load information of body calculates virtual machine and moves into parameter, and virtual machine is moved into parameter and is sent to server;Server receives at least
The virtual machine that one other server is sent moves into parameter, and maximum virtual machine is selected to move into other servers corresponding to parameter
Server as a purpose;Server is moved out virtual machine according to virtual machine information of moving out to destination server.It provides through the invention
Technical solution improve flexibility and the promptness of scheduling of resource, avoid the dependence to administrative center, and reduce load
Information compiling costs.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram for resource regulating method that the embodiment of the present invention proposes;
Fig. 2 is the flow diagram for another resource regulating method that the embodiment of the present invention proposes;
Fig. 3 is a kind of structural schematic diagram for server that the embodiment of the present invention proposes.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be with suitable different from herein
Sequence executes shown or described step.
Resource regulating method provided in an embodiment of the present invention be applied to resource scheduling system, the system include administrative center and
It is controlled by multiple servers of the administrative center.Each server in resource scheduling system be not necessarily to administrative center periodically on
The load information of itself is reported, but server makes decisions on one's own and the virtual machine of itself is moved out when identifying that own load is higher
Others in resource scheduling system load lower server, to make the resource in resource scheduling system reach balanced.
Fig. 1 is a kind of flow diagram for resource regulating method that the embodiment of the present invention proposes, with reference to figure 1, method includes:
Step 101:Server obtains the load information of itself when preset time reaches, and is judged certainly according to load information
The virtual machine state of body;
Wherein, load information refers to service condition of the server to various resources.
Preset time periodically obtains the load information of itself for server so that server can obtain in time
Know the virtual machine state of itself.
In practical application, virtual machine state is judged according to load information, specially:If load information is more than default load
Value, then virtual machine state is high load condition;If load information is less than or equal to default load value, virtual machine state is low-load
State.Wherein, high load condition illustrates the load too high of server, and the virtual machine for the server that needs to move out is to reduce service
The load of device;Low-load state illustrates that the load of server is relatively low, and the virtual machine that can receive other servers is moved into equilibrium
Resource in resource scheduling system.
Further, server obtains the load information of itself when preset time reaches, and specifically includes:Server is pre-
If obtaining at least one resource information when the time reaches, and server is calculated by normalized to each resource information
Load information.
The load information of server includes the load information of the multiple resources of server, it may for example comprise the center of server
Processor (CPU, Central Processing Unit) occupancy, memory usage, free memory, network inputs/output
(I/O, input/output), the service condition for storing I/O.Certainly, the load information of server further includes other of server
The load information of resource, the embodiment of the present invention do not do this specific limitation.
Preferably, server obtains at least one resource information when preset time reaches, and passes through to each resource information
Normalized calculates the load information of server, specifically includes:Server obtains at least one when preset time reaches
The resource utilization of resource;Calculate the weight of the resource utilization of each resource;According to the weight of the resource utilization of each resource, lead to
Cross the load information that weighting normalization calculates server.
Load information calculating server in the way of weighting normalization to the resource utilization of each resource, it is comprehensive
The service condition for closing the various resources for considering server, can more accurately calculate the load information of server, make clothes
Business device tends to be balanced to the use of itself various resource.
Step 102:When server judges the virtual machine state of itself for high load condition, according to the load information of itself
It generates virtual machine to move out information, and virtual machine information of moving out is sent at least one other server, wherein virtual machine
It moves out information, including the server needs the information for the virtual machine moved out to other servers;
Wherein, other servers refer to other servers in the resource scheduling system where the server, that is,
It says, the server and other servers belong to same resource scheduling system, are controlled by same administrative center.
In order to promote the resource utilization of each server, multiple virtual machines are run on each server.In server
Virtual machine state when being high load condition, need select in multiple virtual machines of server according to actual conditions needs to its
The virtual machine that his server is moved out, to reduce the load of server.
It moves out information it should be noted that server sends virtual machine at least one other server, i.e., server is logical
The mode for crossing inquiry goes to judge whether other servers can move into virtual machine.So, server is not necessarily to administrative center
Report own load information and administrative center waited for make decision, realize autonomous analysis decision, reduce to administrative center according to
Rely.
Further, server generates virtual machine according to the load information of itself and moves out information, specifically includes:The service
Device judges that the load of itself virtual machine is less than default virtual machine load value and necessarily runs on the server, then by institute
Virtual machine is stated to be judged to allowing virtual machine of moving out;The server, which calculates itself to move out, at least one described allows virtual machine of moving out
Load information afterwards, and judge the virtual machine state of the server at this time;If the virtual machine state of the server is at this time
Low-load state, then move out according to it is at least one allow virtual machine of moving out, generate virtual machine and move out information.
It should be noted that if virtual machine load is more than or equal to default virtual machine load value, illustrate virtual machine load too high,
There is virtual machine in this way to move out risk;If virtual machine must run on server, for example, the virtual machine, which has, runs on server
Licensing, then the virtual machine do not allow server of moving out.
In practical applications, server can preferentially move out from multiple virtual machines that allow to move out run time be more than it is default
The virtual machine of run time.Run time is more than the virtual machine of default run time, illustrates that the virtual machine is stable, therefore suitable
In the virtual machine of moving out.
Step 103:Other servers receive virtual machine and move out information, and the void of itself is judged according to own load information
When quasi- machine state is low-load state, calculates virtual machine using the load information of itself and move into parameter, and virtual machine is moved into ginseng
Number is sent to server;
Wherein, virtual machine moves into parameter, indicates that other servers can receive the degree that virtual machine is moved into.Virtual machine moves into ginseng
Number is higher, illustrates that the virtual machine of the more acceptant server of other servers is moved into;It is lower that virtual machine moves into parameter, illustrates other
The virtual machine that server should not receive server is moved into.Specifically, virtual machine moves into load of the parameter according to other servers
Information and virtual machine are moved out information acquisition.Further, the load information of other server by utilizing itself calculates virtual machine and moves
Enter parameter, specifically includes:It is being moved currently without virtual machine if other described servers are identified according to the load information of itself
Enter, and itself there is the resource for running in the server the corresponding virtual machine of information of moving out with the virtual machine, then it is described its
The judgement of his server is moved into moves out the virtual machine state of itself after the corresponding virtual machine of information with the virtual machine;It is described other
When the virtual machine state of server is low-load state, allows to move into and move out the corresponding virtual machine of information with the virtual machine, and
Utilize own load information SoldWith move into the load information S after virtual machinenew, according to formula:A=(1- (Snew-Sold))×(1-
Sold), it calculates virtual machine and moves into parameter A.
In practical applications, whether other servers currently have virtual machine moving into according to the load information of itself identification
Process include:If other servers identify that the load information of itself gradually increases in certain period of time, other clothes
Business device confirmation currently has virtual machine moving into;If other servers identify the load information of itself in certain period of time
It is maintained in default fluctuation range, then other servers confirmation is being moved into currently without virtual machine.
Step 104:Server receives the virtual machine that at least one other server is sent and moves into parameter, selects maximum void
Quasi- machine moves into the server as a purpose of other servers corresponding to parameter;
In practical applications, a timing of the server after moving out information at least one other server transmission virtual machine
In, if the virtual machine for not receiving the transmission of other servers moves into parameter, illustrate that other server network links are bad
Or virtual machine can not be provided in time and move into parameter, then just not considering other servers server as a purpose.
Step 105:Server is moved out virtual machine according to virtual machine information of moving out to destination server.
Embodiment one:
Fig. 2 is the flow diagram for another resource regulating method that the embodiment of the present invention proposes, reference chart goes 2, method
Including:
Step 201:Server A obtains the CPU resource utilization c of itself when preset time reaches, and memory source utilizes
Rate m and network bandwidth utilization factor n;
Wherein, the utilization rate of resource is the ratio of resource usage amount and total resources.
Step 202:Server A calculates separately the weight r of cpu resource according to c, m, nc, memory source weight rmAnd network
The weight r of bandwidthn;
Wherein, rc、rmAnd rnCalculation formula be respectively:
Step 203:Server A is according to rc、rmAnd rnPass through formula S=U × RT, calculation server passes through normalized
Load information S;
Wherein, U={ c, m, n } indicates the utilization rate vector of three kinds of resources of server A;R={ rc,rm,rnIndicate clothes
The weight proportion vector of three kinds of resources of business device A.
Step 204:Server A judges that the virtual machine state of itself is high load condition according to load information S;
Step 205:Server A generates virtual machine according to load information S and moves out information, and to server B, server C, clothes
Business device D sends virtual machine and moves out information;
Step 206:Server B, server C, server D respectively receive virtual machine move out information when, according to acquisition
Own load information judge virtual machine state for low-load state, calculate virtual machine and move into parameter, and virtual machine is moved into ginseng
Number is sent to server A;
Step 207:Server A is respectively received server B, server C, and the virtual machine that server D is sent moves into parameter;
Step 208:It is that the virtual machine that server C is sent moves into ginseng that server A, which judges that maximum virtual machine moves into parameter,
Number, by server C as a purpose server to realize that virtual machine is moved out.
Resource regulating method provided in an embodiment of the present invention judges the virtual machine of itself by server according to load information
State;When server judges the virtual machine state of itself for high load condition, virtual machine is generated according to the load information of itself
It moves out information, and virtual machine information of moving out is sent at least one other server;Other servers receive virtual machine and move
Go out information, when judging that the virtual machine state of itself is low-load state according to own load information, is believed according to the load of itself
Breath calculates virtual machine and moves into parameter, and virtual machine is moved into parameter and is sent to server;Server receives at least one other clothes
The virtual machine that business device is sent moves into parameter, other servers that maximum virtual machine is moved into corresponding to parameter is selected to take as a purpose
Business device;Server is moved out virtual machine according to virtual machine information of moving out to destination server, improve scheduling of resource flexibility and
Promptness avoids the dependence to administrative center, and reduces load information compiling costs.
Fig. 3 is a kind of structural schematic diagram for server that the embodiment of the present invention proposes, with reference to figure 3, which includes:It obtains
Unit 301, transmission unit 302, selecting unit 303 and unit 304 of moving out are taken, wherein:
The acquiring unit 301, the load information for obtaining server when preset time reaches, and according to described negative
Information carrying ceases the virtual machine state for judging the server;
The transmission unit 302, for judging that the virtual machine state of the server is height in the acquiring unit 301
When load condition, the load information that is obtained according to the acquiring unit generates virtual machine and moves out information, and the virtual machine is moved
Go out information and is sent at least one other server;Wherein, virtual machine is moved out information, including the server needs to take to other
The information for the virtual machine that business device is moved out sends virtual machine to the server for other servers and moves into parameter;
The selecting unit 303 is moved into parameter for receiving the virtual machine that at least one other server is sent, is selected
It selects maximum virtual machine and moves into other servers corresponding to parameter server as a purpose;
The unit 304 of moving out, for being moved out the purpose that information selects to the selecting unit 303 according to the virtual machine
Server is moved out virtual machine.
Further, server further includes:Virtual machine moves into parameter calculation unit, for receiving other servers hair
The virtual machine sent move out information when, according to the load information of the server judge the virtual machine state of itself be low-load shape
When state, calculate virtual machine using the load information of itself and move into parameter, and by the virtual machine move into parameter be sent to it is described its
His server.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use
Embodiment is not limited to the present invention.Technical staff in any fields of the present invention is taken off not departing from the present invention
Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (6)
1. a kind of resource regulating method, which is characterized in that including:
Server obtains the load information of itself when preset time reaches, and judges the virtual of itself according to the load information
Machine state;
When server judges the virtual machine state of itself for high load condition, virtual machine is generated according to the load information of itself and is moved
Go out information, and virtual machine information of moving out is sent at least one other server, wherein the virtual machine is moved out letter
Breath, including the server need the information for the virtual machine moved out to other servers;
Other servers receive the virtual machine and move out information, and the virtual machine state of itself is judged according to own load information
For low-load state when, calculate virtual machine using the load information of itself and move into parameter, and the virtual machine is moved into parameter hair
It send to server;
Server receives the virtual machine that at least one other server is sent and moves into parameter, and maximum virtual machine is selected to move into
Other servers corresponding to parameter server as a purpose;
Server is moved out virtual machine according to virtual machine information of moving out to the destination server;
The load information of other described server by utilizing itself calculates virtual machine and moves into parameter, specifically includes:
It is being moved into currently without virtual machine if other described servers are identified according to the load information of itself, and itself has
The resource of the corresponding virtual machine of information of moving out with the virtual machine is run in the server, then other servers judgement is moved
Enter and moves out the virtual machine state of itself after the corresponding virtual machine of information with the virtual machine;
When the virtual machine state of other servers is low-load state, allows to move into and move out information pair with the virtual machine
The virtual machine answered, and utilize own load information SoldWith move into the load information S after virtual machinenew, according to formula:A=(1-
(Snew-Sold))×(1-Sold), it calculates virtual machine and moves into parameter A.
2. resource regulating method according to claim 1, which is characterized in that the server is obtained when preset time reaches
It is derived from the load information of body, is specifically included:
The server obtains at least one resource information when preset time reaches, and passes through normalizing to each resource information
Change is handled, and calculates the load information of server.
3. resource regulating method according to claim 2, which is characterized in that the server is obtained when preset time reaches
At least one resource information is taken, and the load information of server is calculated by normalized to each resource information, is had
Body includes:
The server obtains the resource utilization of at least one resource when preset time reaches;Calculate the resource profit of each resource
With the weight of rate;According to the weight of the resource utilization of each resource, the load of the server is calculated by weighting normalization
Information.
4. resource regulating method according to claim 1, which is characterized in that the server is according to the load information of itself
It generates virtual machine to move out information, specifically include:
The server judges that the load of itself virtual machine is less than default virtual machine load value and necessarily runs on the clothes
Business device, then be judged to the virtual machine to allow virtual machine of moving out;
The server calculates the load information after itself moving out at least one virtual machine that allows to move out, and judges institute at this time
State the virtual machine state of server;
If the virtual machine state of the server is low-load state at this time, that moves out according at least one allows to move out
Virtual machine generates virtual machine and moves out information.
5. a kind of server, which is characterized in that including:Acquiring unit, transmission unit, selecting unit and unit of moving out, wherein:
The acquiring unit, the load information for obtaining server when preset time reaches, and according to the load information
Judge the virtual machine state of the server;
The transmission unit, for judging that the virtual machine state of the server is high load condition in the acquiring unit
When, the load information that is obtained according to the acquiring unit generates virtual machine and moves out information, and the virtual machine is moved out information hair
It send at least one other server;Wherein, virtual machine is moved out information, including the server needs to move out to other servers
Virtual machine information, for other servers to the server send virtual machine move into parameter;The virtual machine moves into ginseng
Number is other servers when judging that the virtual machine state of itself is low-load state according to own load information, using itself
What load information calculated;The load information of other described server by utilizing itself calculates virtual machine and moves into parameter, specifically includes:Institute
It is being moved into currently without virtual machine if stating other servers and being identified according to the load information of itself, and itself there is operation institute
The resource of the corresponding virtual machine of information of moving out with the virtual machine is stated in server, then other servers judgement is moved into and institute
Virtual machine is stated to move out the virtual machine state of itself after the corresponding virtual machine of information;It is in the virtual machine state of other servers
When low-load state, allows to move into and move out the corresponding virtual machine of information with the virtual machine, and utilize own load information SoldWith
Move into the load information S after virtual machinenew, according to formula:A=(1- (Snew-Sold))×(1-Sold), it calculates virtual machine and moves into ginseng
Number A;
The selecting unit moves into parameter for receiving the virtual machine that at least one other server is sent, and selection is maximum
Virtual machine move into the server as a purpose of other servers corresponding to parameter;
The unit of moving out, for being moved out according to the virtual machine destination server that information is selected to the selecting unit of moving out
Virtual machine.
6. server according to claim 5, which is characterized in that further include:Virtual machine moves into parameter calculation unit, is used for
When the virtual machine for receiving the transmission of other servers moves out information, itself is judged according to the load information of the server
It when virtual machine state is low-load state, calculates virtual machine using the load information of itself and moves into parameter, and by the virtual machine
It moves into parameter and is sent to other described servers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742023.4A CN105260245B (en) | 2015-11-04 | 2015-11-04 | A kind of resource regulating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742023.4A CN105260245B (en) | 2015-11-04 | 2015-11-04 | A kind of resource regulating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105260245A CN105260245A (en) | 2016-01-20 |
CN105260245B true CN105260245B (en) | 2018-11-13 |
Family
ID=55099948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510742023.4A Active CN105260245B (en) | 2015-11-04 | 2015-11-04 | A kind of resource regulating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105260245B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608765B (en) * | 2017-10-11 | 2021-04-02 | 郑州云海信息技术有限公司 | Virtual machine migration method and device |
CN108334402A (en) * | 2018-03-07 | 2018-07-27 | 山东超越数控电子股份有限公司 | A kind of the virtual management system and its resource regulating method of non-stop layer framework |
CN110515694A (en) * | 2019-07-26 | 2019-11-29 | 浪潮电子信息产业股份有限公司 | A kind of virtual machine migration method, device, equipment and storage medium |
CN111580937B (en) * | 2020-06-17 | 2022-11-04 | 中国人民解放军国防科技大学 | Automatic virtual machine scheduling method for Feiteng multi-core/many-core hybrid cluster |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102187315A (en) * | 2009-04-28 | 2011-09-14 | 思科技术公司 | Methods and apparatus to get feedback information in virtual environment for server load balancing |
CN103888501A (en) * | 2012-12-24 | 2014-06-25 | 华为技术有限公司 | Virtual machine migration method and device |
CN103890714A (en) * | 2011-08-25 | 2014-06-25 | 维图斯瑞姆有限公司 | Systems and methods of host-aware resource management involving cluster-based resource pools |
CN104168332A (en) * | 2014-09-01 | 2014-11-26 | 广东电网公司信息中心 | Load balance and node state monitoring method in high performance computing |
-
2015
- 2015-11-04 CN CN201510742023.4A patent/CN105260245B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102187315A (en) * | 2009-04-28 | 2011-09-14 | 思科技术公司 | Methods and apparatus to get feedback information in virtual environment for server load balancing |
CN103890714A (en) * | 2011-08-25 | 2014-06-25 | 维图斯瑞姆有限公司 | Systems and methods of host-aware resource management involving cluster-based resource pools |
CN103888501A (en) * | 2012-12-24 | 2014-06-25 | 华为技术有限公司 | Virtual machine migration method and device |
CN104168332A (en) * | 2014-09-01 | 2014-11-26 | 广东电网公司信息中心 | Load balance and node state monitoring method in high performance computing |
Also Published As
Publication number | Publication date |
---|---|
CN105260245A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107045455B (en) | A kind of Docker Swarm cluster resource method for optimizing scheduling based on load estimation | |
CN106534333B (en) | A kind of two-way choice calculating discharging method based on MEC and MCC | |
US8789061B2 (en) | System and method for datacenter power management | |
CN105593823B (en) | Method, system and computer readable storage medium for the data packet flows between the virtual machine VM in monitoring data center | |
US20170329643A1 (en) | Distributed node intra-group task scheduling method and system | |
CN105637925B (en) | Dynamic frequency and power resource allocation with refinement tactical management | |
CN105260245B (en) | A kind of resource regulating method and device | |
CN105279027B (en) | A kind of virtual machine deployment method and device | |
CN102724103B (en) | Proxy server, hierarchical network system and distributed workload management method | |
CN103927229A (en) | Scheduling Mapreduce Jobs In A Cluster Of Dynamically Available Servers | |
CN107465708A (en) | A kind of CDN bandwidth scheduling systems and method | |
CN108965014A (en) | The service chaining backup method and system of QoS perception | |
US9501326B2 (en) | Processing control system, processing control method, and processing control program | |
CN101483601A (en) | Scheduling method and apparatus based on service priority | |
CN106454947A (en) | AP access load balancing method | |
CN109543890A (en) | Power grid based on load estimation equilibrium takes control Optimization Scheduling, apparatus and system | |
CN113472659B (en) | Method and device for determining forwarding path and SDN controller | |
CN115543577B (en) | Covariate-based Kubernetes resource scheduling optimization method, storage medium and device | |
CN109726004A (en) | A kind of data processing method and device | |
CN109343931A (en) | A kind of application perception dispatching method of virtual machine of the facing load balance in IaaS environment | |
CN108023834A (en) | A kind of cloud resource auto-allocation method and device | |
CN108132840A (en) | Resource regulating method and device in a kind of distributed system | |
CN106209433B (en) | Application system energy-efficient deployment device towards framework under a kind of cloud environment | |
CN115118784A (en) | Computing resource scheduling method, device and system | |
US20200233724A1 (en) | Workload placement in a cluster computing environment using machine learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |