CN105988858A - Virtual machine resource scheduling method, device and system - Google Patents

Virtual machine resource scheduling method, device and system Download PDF

Info

Publication number
CN105988858A
CN105988858A CN201510250285.9A CN201510250285A CN105988858A CN 105988858 A CN105988858 A CN 105988858A CN 201510250285 A CN201510250285 A CN 201510250285A CN 105988858 A CN105988858 A CN 105988858A
Authority
CN
China
Prior art keywords
virtual machine
monitoring
business
increase
mark
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
CN201510250285.9A
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 Unionpay Co Ltd
Original Assignee
China Unionpay 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 Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201510250285.9A priority Critical patent/CN105988858A/en
Publication of CN105988858A publication Critical patent/CN105988858A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a virtual machine resource scheduling method, device and system. The method comprises the following steps: monitoring a business volume of a set business by a monitoring scheduling platform; judging whether to increase quantity of virtual machines for processing the set business or not according to the monitored business volume; if the judging result is positive, generating and sending a virtual machine expansion instruction to a cloud resource management platform so that the cloud resource management platform increases the quantity of the virtual machines for processing the set business; receiving a virtual machine increase message sent by the cloud resource management platform, wherein the virtual machine increase message comprises identifiers of the increased virtual machines; and adding registration information of the increased virtual machines in load balancing equipment according to the identifiers of the increased virtual machines. Through the method disclosed in the invention, the efficiency of processing the set business can be improved or the hardware resources can be saved.

Description

A kind of resources of virtual machine dispatching method, Apparatus and system
Technical field
The present invention relates to computer realm, particularly relate to a kind of resources of virtual machine dispatching method, Apparatus and system.
Background technology
Along with the development of computer and network technologies, people can handle setting business by network, and without Go to the place specified to handle setting business, such as people to be in and pay telephone expenses, gas charge etc. by network. Thus, network is handled setting business and is brought convenience to the life of people.
Prior art processes the system of setting business as it is shown in figure 1, in FIG, including terminal 101, Load-balancing device 102 and at least one server 103, wherein, each server includes at least one Virtual machine, each virtual machine has log-on message in load-balancing device 102.When terminal 101 is initiated to do After the request of reason setting business is to load-balancing device 102, load-balancing device 102 is virtual according to registration The loading condition of machine, one of them virtual machine that requests assignment to terminal 101 sent processes.
But, the disposal ability of virtual machine is limited to the server at virtual machine place.And under load-balancing device The quantity of server even be system constructing personnel before foundation processes the system of setting business, according to estimate Portfolio determines.System shown in Fig. 1 is limited to load-balancing device to the disposal ability of the business of setting The hardware resource of the server of 102 times companies.And when the portfolio of setting business increases, beyond server 103 Disposal ability after, setting business must be interrupted, and is then increased server by system constructing personnel and again sets After the system of meter reason setting business, just can continue with setting business.Such as after increasing server, by manually The server increased creates virtual machine, then for virtual machine, operating system is installed and processes setting business Application after, newly-built virtual machine needs manually to register in responsible balancing equipment just can use.It is visible, In prior art, the treatment effeciency to the business of setting is low.On the other hand, when portfolio declines, without people Work intervention minimizing processes the virtual machine of setting business, then partial virtual machine can be caused to leave unused, cause hardware to provide Source is wasted.Accordingly, it would be desirable to a kind of new resources of virtual machine dispatching method.
Summary of the invention
It is an object of the invention to provide a kind of resources of virtual machine dispatching method, Apparatus and system, relevant to overcome In technology, to setting, Business Processing efficiency is low or the problem of hardware resource waste.
On the one hand, the present invention provides a kind of resources of virtual machine dispatching method, including:
Monitoring and scheduling platform monitoring sets the portfolio of business;And,
According to the described portfolio monitored, it may be judged whether increase processes the number of the virtual machine of described setting business Amount;
If the determination result is YES, then generate and send virtual machine extension and instruct to cloud resource management platform, so that Described cloud resource management platform increase processes the virtual machine quantity of described setting business;
Receiving described cloud resource management platform and send the virtual machine increase message come, described virtual machine increases message Include the mark of the virtual machine increased;
The mark of the virtual machine according to described increase, adds the virtual machine of described increase in load-balancing device Log-on message.
On the other hand, the present invention provides a kind of resources of virtual machine dispatching method, including:
Monitoring and scheduling platform monitoring sets the portfolio of business;And,
According to the described portfolio monitored, it may be judged whether minimizing processes the number of the virtual machine of described setting business Amount;
If the determination result is YES, then the log-on message of virtual machine to be deleted in load-balancing device is deleted;
Generate and send virtual machine and shrink instruction to cloud resource management platform, bag in the contraction instruction of described virtual machine Include the mark of described virtual machine to be deleted, so that described cloud resource management platform is according to described virtual machine to be deleted Mark minimizing process described setting business virtual machine quantity;
Receive described cloud resource management platform and shrink the behaviour returned after instruction performs operation according to described virtual machine Make result.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching method, and described method includes:
Cloud resource management platform receives the virtual machine extension instruction that monitoring and scheduling platform sends, and described virtual machine expands Exhibition instruction is for increasing the virtual machine quantity processing setting business, and described virtual machine adjusts and expands to described prison The portfolio of control dispatching platform monitoring setting business;And according to the described portfolio monitored, it is judged that at increase Generate during the quantity of the virtual machine managing described setting business;
Instructing according to described virtual machine extension, increase processes the quantity of the virtual machine of described reason setting business;
Send virtual machine increase message to include increasing to described monitoring and scheduling platform, described virtual machine increase message The mark of the virtual machine added, so that described monitoring and scheduling platform is according to the mark of the virtual machine of described increase, Load-balancing device adds the log-on message of the virtual machine of described increase.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching method, and described method includes:
Cloud resource management platform receives the virtual machine contraction instruction that monitoring and scheduling platform sends, and described virtual machine is received Contracting instruction includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described monitoring and scheduling platform The portfolio of monitoring setting business;And according to the described portfolio monitored, it is judged that minimizing processes described setting Generate during the quantity of the virtual machine of business;
Delete the virtual machine that the mark of described virtual machine to be deleted is corresponding;
Return operating result to described monitoring and scheduling platform.
Another further aspect, the present invention provides a kind of resources of virtual machine dispatching device, and described device includes:
Monitoring module, for monitoring the portfolio of setting business;
Judge module, for according to the described portfolio monitored, it may be judged whether increase processes described setting industry The quantity of the virtual machine of business;
Virtual machine extension instruction sending module, if the judged result for described judge module is yes, then generates And send virtual machine extension and instruct to cloud resource management platform, so that described cloud resource management platform increase processes The virtual machine quantity of described setting business;
Receiver module, the virtual machine come for receiving described cloud resource management platform to send increases message, described Virtual machine increases message and includes the mark of the virtual machine increased;
More new module, for the mark of the virtual machine according to described increase, adds institute in load-balancing device State the log-on message of the virtual machine of increase.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching device, and described device includes:
Monitoring module, for monitoring the portfolio of setting business;And,
Judge module, for according to the described portfolio monitored, it may be judged whether minimizing processes described setting industry The quantity of the virtual machine of business;
More new module, if being yes for described judge module judged result, then deletes in load-balancing device The log-on message of virtual machine to be deleted;
Virtual machine shrinks instruction sending module, is used for generating and sending virtual machine and shrinks instruction to cloud resource management Platform, described virtual machine shrinks instruction and includes the mark of described virtual machine to be deleted, so that described cloud resource Management platform processes the virtual machine quantity of described setting business according to the mark minimizing of described virtual machine to be deleted;
Receiver module, is used for receiving described cloud resource management platform and performs behaviour according to the contraction instruction of described virtual machine The operating result returned after work.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching device, and described device includes:
Receiver module, for receiving the virtual machine extension instruction that monitoring and scheduling platform sends, described virtual machine expands Exhibition instruction is for increasing the virtual machine quantity processing setting business, and described virtual machine adjusts and expands to described prison The portfolio of control dispatching platform monitoring setting business;And according to the described portfolio monitored, it is judged that at increase Generate during the quantity of the virtual machine managing described setting business;
Increasing module, for instructing according to described virtual machine extension, increase processes the void of described reason setting business The quantity of plan machine;
Sending module, is used for sending virtual machine and increases message to described monitoring and scheduling platform, the increasing of described virtual machine Add message and include the mark of the virtual machine increased, so that described monitoring and scheduling platform is according to the void of described increase The mark of plan machine, adds the log-on message of the virtual machine of described increase in load-balancing device.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching device, and described device includes:
Receiver module, the virtual machine sent for receiving monitoring and scheduling platform shrinks instruction, and described virtual machine is received Contracting instruction includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described monitoring and scheduling platform The portfolio of monitoring setting business;And according to the described portfolio monitored, it is judged that minimizing processes described setting Generate during the quantity of the virtual machine of business;
Removing module, for deleting the virtual machine that the mark of described virtual machine to be deleted is corresponding;
Sending module, is used for returning operating result to described monitoring and scheduling platform.
Another further aspect, the present invention provides a kind of resources of virtual machine dispatching patcher, and described system includes:
Monitoring and scheduling platform, for monitoring the portfolio of setting business;And, according to the described business monitored Amount, it may be judged whether increase processes the quantity of the virtual machine of described setting business;If the determination result is YES, then give birth to Become and send virtual machine extension to instruct to cloud resource management platform, so that at described cloud resource management platform increase Manage the virtual machine quantity of described setting business;Receive described cloud resource management platform and send the virtual machine increase come Message, described virtual machine increases message and includes the mark of the virtual machine increased;Virtual according to described increase The mark of machine, adds the log-on message of the virtual machine of described increase in load-balancing device;
Cloud resource management platform, for receiving the virtual machine extension instruction that monitoring and scheduling platform sends, described void Plan machine extended instruction processes the virtual machine quantity of setting business for increasing, and described virtual machine adjusts and expands to Described monitoring and scheduling platform monitoring sets the portfolio of business;And according to the described portfolio monitored, it is judged that Increase generates when processing the quantity of virtual machine of described setting business;Instruct according to described virtual machine extension, Increase processes the quantity of the virtual machine of described reason setting business;Send virtual machine and increase message to described monitoring tune Degree platform, described virtual machine increases message and includes the mark of the virtual machine increased, so that described monitoring and scheduling Platform, according to the mark of the virtual machine of described increase, adds the virtual machine of described increase in load-balancing device Log-on message;
It is managed and creates the server of virtual machine for cloud resource management platform.
Another further aspect, the present invention also provides for a kind of resources of virtual machine dispatching patcher, and described system includes:
Monitoring and scheduling platform, for monitoring the portfolio of setting business;And, according to the described business monitored Amount, it may be judged whether minimizing processes the quantity of the virtual machine of described setting business;If the determination result is YES, then delete Log-on message except the virtual machine to be deleted in load-balancing device;Generate and send virtual machine shrink instruction to Cloud resource management platform, described virtual machine shrinks instruction and includes the mark of described virtual machine to be deleted, so that Described cloud resource management platform processes described setting business according to the mark minimizing of described virtual machine to be deleted Virtual machine quantity;Receive described cloud resource management platform according to described virtual machine shrink instruction perform operation after The operating result returned;
Cloud resource management platform, the virtual machine sent for receiving monitoring and scheduling platform shrinks instruction, described void Plan machine shrinks instruction and includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction and adjusts for described monitoring Degree platform monitoring sets the portfolio of business;And according to the described portfolio monitored, it is judged that minimizing processes institute Generate during the quantity of the virtual machine stating setting business;Delete the void that the mark of described virtual machine to be deleted is corresponding Plan machine;Return operating result to described monitoring and scheduling platform;
It is managed and creates the server of virtual machine for cloud resource management platform.
The present invention at least has the advantages that the present invention provides a kind of resources of virtual machine dispatching method, In the method that the present invention provides, it is possible to according to portfolio, self-adaptative adjustment is for processing the virtual of setting business The quantity of machine, such as, when portfolio rises, and needs to increase virtual machine, can interrupt setting business Process, be adaptively created virtual machine and for processing setting business, thus improve setting business is carried out The efficiency processed;And when portfolio declines and has idle virtual machine, virtual machine can be automatically deleted, reduction sets Determine business virtual machine is taken, save hardware resource.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the system processing setting business in prior art;
Fig. 2 is one of exemplary process diagram of resources of virtual machine dispatching method in the embodiment of the present invention;
Fig. 3 is in the embodiment of the present invention the two of the exemplary process diagram of resources of virtual machine dispatching method;
Fig. 4 is in the embodiment of the present invention the three of the exemplary process diagram of resources of virtual machine dispatching method;
Fig. 5 is in the embodiment of the present invention the four of the exemplary process diagram of resources of virtual machine dispatching method;
Fig. 6 is in the embodiment of the present invention the five of the exemplary process diagram of resources of virtual machine dispatching method;
Fig. 7 is in the embodiment of the present invention the six of the exemplary process diagram of resources of virtual machine dispatching method;
Fig. 8 is one of schematic diagram of resources of virtual machine dispatching device in the embodiment of the present invention;
Fig. 9 is in the embodiment of the present invention the two of the schematic diagram of resources of virtual machine dispatching device;
Figure 10 is in the embodiment of the present invention the three of the schematic diagram of resources of virtual machine dispatching device;
Figure 11 is in the embodiment of the present invention the four of the schematic diagram of resources of virtual machine dispatching device;
Figure 12 is in the embodiment of the present invention the five of the schematic diagram of resources of virtual machine dispatching device;
Figure 13 is in the embodiment of the present invention the six of the schematic diagram of resources of virtual machine dispatching device;
Figure 14 is one of schematic diagram of resources of virtual machine dispatching patcher in the embodiment of the present invention;
Figure 15 is in the embodiment of the present invention the two of the schematic diagram of resources of virtual machine dispatching patcher.
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the invention are illustrated, it will be appreciated that enforcement described herein Example is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all enforcements consistent with the present invention Mode.On the contrary, they only with describe in detail in appended claims, the present invention some in terms of phase The example of consistent apparatus and method.
The present invention provides a kind of resources of virtual machine dispatching method, in the method that the present invention provides, it is possible to according to Portfolio, self-adaptative adjustment for processing the quantity of the virtual machine of setting business, such as, rises when portfolio, When needing to increase virtual machine, the process to the business of setting can be interrupted, be adaptively created virtual machine also For processing setting business, thus improve the efficiency that setting business is processed;And have when portfolio declines During idle virtual machine, virtual machine can be automatically deleted, reduce setting business and virtual machine is taken, save hard Part resource.
Additionally, in the embodiment of the present invention, create virtual machine by resource management platform, concrete, resource pipe Platform can manage resource pool, and resource pool includes at least two-server.Cloud resource management platform is permissible The server of management creates and deletes virtual machine.When creating virtual machine, cloud resource management platform makes The system image file of the operating system of the virtual machine of currently processed setting business, then according to system image be Newly-built virtual machine installs operating system, is so possible not only to improve the efficiency installing operating system, also makes The operating system of newly-built virtual machine is equivalent to be currently used in the backup of the operating system processing setting business, therefore The operating system of this newly-built virtual machine can be removed from as processing setting business, and to the operation system installed System carries out the work configured, such that it is able to quickly make newly-built virtual machine for processing setting business.
Further, system image file also includes the application for processing setting business, so, After installing operating system in newly-built virtual machine, this application is just already installed in operating system, the most permissible Remove the process installing application in the operating system of newly-built virtual machine from, further such that newly-built virtual machine Can be used for processing setting business as soon as possible, raising processes the efficiency of setting business.
Below, in conjunction with simple embodiment, the resources of virtual machine dispatching method providing the embodiment of the present invention enters Row describes in detail.
Embodiment one
As in figure 2 it is shown, be the resources of virtual machine dispatching party being used for monitoring and scheduling platform end in the embodiment of the present invention The exemplary process diagram of method, the method is applicable to the quantity that increase processes the virtual machine of described setting business Situation, comprise the following steps:
Step 201: monitoring and scheduling platform monitoring sets the portfolio of business.
Step 202: according to the described portfolio monitored, it may be judged whether increase processes described setting business The quantity of virtual machine.
Step 203: then generate and send virtual machine extension and instruct to cloud resource management platform, so that described cloud Resource management platform increase processes the virtual machine quantity of described setting business.
Step 204: receive described cloud resource management platform and send the virtual machine increase message come, described virtual Machine increases message and includes the mark of the virtual machine increased.
Step 205: according to the mark of the virtual machine of described increase, adds described increasing in load-balancing device The log-on message of the virtual machine added.
Wherein, the log-on message in step 205 is for showing that the virtual machine that log-on message is corresponding sets in equilibrium Standby middle registration, in balancing equipment, the virtual machine of registration is the virtual machine that can be used to process setting business.
Below, in conjunction with above steps, the resources of virtual machine dispatching method providing the embodiment of the present invention is carried out Describe in detail, wherein:
Wherein, in one embodiment, step 202 specifically can perform as following steps:
Step A1: calculate the described portfolio that monitors, and, currently processed described setting business virtual The current task amount sum of machine.
Step A2: judge whether the described and value calculated processes the upper limit more than or equal to presetting;The most true Surely the quantity of the virtual machine of the increase described setting business of process is needed.
Wherein, the process energy processing the upper limit more than or equal to the virtual machine of currently processed described setting business is preset Power.
Wherein, in one embodiment, step 202 specifically can perform as following steps B1-step B3:
Step B1: judge whether the portfolio of described setting business increases in the first preset duration, and increase Long amount exceedes default increment.
Step B2: if, it is determined that need the quantity of the virtual machine of the increase described setting business of process.
Step B3: no, it is determined that need not the quantity that increase processes the virtual machine of described setting business.
Wherein, the execution sequence of step B2 and step B3 is unrestricted.
By step B1-step B3, when the increment of portfolio exceedes default increment, explanation The resources of virtual machine of currently processed setting business is inadequate, needs to set up virtual machine, thus, and the embodiment of the present invention When can work as portfolio growth, adaptive increase processes the virtual machine of setting business, can automatically set up void Plan machine is to improve the treatment effeciency to the business of setting.
Wherein, when virtual machine extension instruction is used for indicating source resource management platform to receive extended instruction, according to Described virtual machine extension instructs, and instructs according to described virtual machine extension, makes currently processed described setting business The system image file of operating system of virtual machine;Create new virtual machine and mark for the distribution of described new virtual machine Know;Wherein, when creating new virtual machine, it is that described new virtual machine installs operation according to described system image file System;The most described new virtual machine is as the virtual machine increased, and sends virtual machine increase message to institute Stating monitoring and scheduling platform, wherein said virtual machine increases message and includes the mark of the virtual machine increased, so that Described monitoring and scheduling platform, according to the mark of the virtual machine of described increase, adds described in load-balancing device The log-on message of the virtual machine increased.
Wherein, in one embodiment, the operating system of the virtual machine of described increase is provided with for processing The application of described setting business, monitoring and scheduling platform after performing step 204, and is performing step 205 Before, it is also possible to: in the operating system of the virtual machine starting described increase for processing described setting business Application.Wherein, the application being used for processing described setting business is that resource management platform is currently processed in making During the system image file of the operating system of the virtual machine of described setting business, together this application is produced on and is In system image file, therefore this is applied and installs after operating system at the virtual machine increased, just already installed on In operating system, in order to save the process installing this application in the operating system of the virtual machine increased, enter One step makes newly-built virtual machine can be used for processing setting business as soon as possible, and raising processes the effect of setting business Rate.
Wherein, in one embodiment, virtual when the above-mentioned application for processing setting business needing configure The attribute information (such as during virtual machine mark) of machine, monitoring and scheduling platform can be according to the virtual machine increased Attribute information, by the way of remotely controlling virtual machine, being used in the virtual machine that change increases processes setting The configuration of the application of business.So that the virtual machine increased normal process can set business.
To sum up, in the embodiment of the present invention, monitoring and scheduling platform, it is possible to monitoring business amount, and according to monitoring Portfolio, adaptive scheduling resource management platform sets up the virtual machine for processing setting business, and can Update the virtual machine log-on message in auxiliary equalizing equipment so that after load-balancing device can be according to updating Log-on message determines the task to which virtual machine distribution setting business, finally realizes according to portfolio, adaptive Ying Di, automatically adjustment are for processing the resources of virtual machine of setting business.Hinge structure, works as portfolio When rising needs to set up virtual machine, the process to the business of setting can be interrupted, it is possible at increase automatically The virtual machine of reason setting business, thus improve the efficiency that setting business is processed.
Embodiment two
As it is shown on figure 3, be for resource management platform end in the embodiment of the present invention, determine that increase processes and set During the quantity of the virtual machine determining business, resources of virtual machine dispatching method, the method comprises the following steps:
Step 301: cloud resource management platform receives the virtual machine extension instruction that monitoring and scheduling platform sends, institute State virtual machine extension to instruct for increasing the virtual machine quantity processing setting business, and described virtual machine adjusts and expands Exhibition sets the portfolio of business for described monitoring and scheduling platform monitoring;And according to the described portfolio monitored, Judge what increase generated when processing the quantity of virtual machine of described setting business.
Step 302: instruct according to described virtual machine extension, increase processes the virtual machine of described reason setting business Quantity.
Step 303: send virtual machine increase message and disappear to described monitoring and scheduling platform, described virtual machine increase Breath includes the mark of the virtual machine increased, so that described monitoring and scheduling platform is according to the virtual machine of described increase Mark, load-balancing device adds the log-on message of the virtual machine of described increase.
Wherein, the implication of the log-on message in step 303 and effect and the effect of log-on message in embodiment one Identical, do not repeat them here.
Wherein, in one embodiment, instruction is adjusted for for increasing virtual machine quantity when described virtual machine During extended instruction, step 302, specifically include step D1-step D2:
Step D1: instruct according to described virtual machine extension, makes the virtual of currently processed described setting business The system image file of the operating system of machine.
Step D2: create new virtual machine and for described new virtual machine allocation identification;Wherein, establishment is the most virtual During machine, it is that described new virtual machine installs operating system according to described system image file.
After performing step D2, step 303, concrete execution is: using described new virtual machine as increasing Virtual machine, and send virtual machine and increase message to described monitoring and scheduling platform, described virtual machine increases in message Including the mark of the virtual machine increased, so that described monitoring and scheduling platform is according to the mark of the virtual machine of described increase Know, described load-balancing device increases the log-on message of the virtual machine of described increase.
The embodiment of the present invention, by making the system mirror of the operating system of the virtual machine of currently processed setting business As file, it is then that newly-built virtual machine installs operating system according to system image, is so possible not only to improve The efficiency of operating system is installed, also makes the operating system of the virtual machine increased and be currently used in process setting industry The operating system of business is the same, can remove from as processing setting business, and operating system is configured Work, such that it is able to quickly make the virtual machine of increase for processing setting business.
Wherein, in one embodiment, described system image file also includes for processing described setting industry The application of business, so that described monitoring and scheduling platform starts being used in the VME operating system of described increase and locates Manage the application of described setting business.So, after installing operating system in the virtual machine increased, this application is just Already installed in operating system, so can remove from and application is installed in the operating system of the virtual machine increased Process, further such that the virtual machine increased can be used for processing setting business as soon as possible, raising processes and sets Determine the efficiency of business.
To sum up, in the embodiment of the present invention, resource management platform refers to according to the virtual machine extension of monitoring and scheduling platform Order increases the quantity of the virtual machine for processing setting business such that it is able to increases virtual machine process timely and sets Determine business, improve the efficiency setting Business Processing.
Embodiment three
As shown in Figure 4, for the embodiment of the present invention is used for the resources of virtual machine dispatching party of monitoring and scheduling platform end The exemplary process diagram of method, the method is applicable to the quantity that minimizing processes the virtual machine of described setting business Situation, comprise the following steps:
Step 401: monitoring and scheduling platform monitoring sets the portfolio of business.
Step 402: according to the described portfolio monitored, it may be judged whether minimizing processes described setting business The quantity of virtual machine.
Wherein, in one embodiment, step 402 may particularly include following steps E1-E3:
Step E1: judge whether the portfolio of described setting business reduces in the second preset duration, and fall Low amounts exceedes default reduction amount.
Step E2: if, it is determined that need the quantity of the virtual machine of the minimizing described setting business of process.
Step E3: if not, it is determined that need not the quantity that minimizing processes the virtual machine of described setting business.
By step E1-step E3, when portfolio reduces, and when reduction amount exceedes default reduction amount, Illustrate that the virtual machine of currently processed setting business is superfluous, have hardware resource to leave unused, so virtual machine can be reclaimed, Thus, when the embodiment of the present invention can work as portfolio reduction, adaptive recovery virtual machine, it is to avoid set industry Business takies virtual machine and does not uses, and causes the waste of resources of virtual machine.
Wherein, the execution sequence of step E2 and step E3 is unrestricted.
Wherein, in one embodiment, step 402 specifically can perform as following steps:
Step F1: calculate the described portfolio monitored, and, the virtual machine of currently processed described setting business Current task amount sum.
Step F: judge whether the described and value calculated processes lower limit more than or equal to presetting;If, it is determined that Need the quantity of the virtual machine of the minimizing described setting business of process.
Wherein, preset process lower limit and can be set as the disposal ability of the virtual machine less than or equal to predetermined number, This predetermined number is that the quantity of the virtual machine of currently processed described setting business deducts n, and wherein n is more than or equal to 1 and the quantity of virtual machine less than or equal to currently processed described setting business.
Step 403: if the determination result is YES, the then note of the virtual machine to be deleted in deletion load-balancing device Volume information.
Wherein, there is no the log-on message of virtual machine to be deleted by performing step 403 load-balancing device, and Will not continue to the task to virtual machine to be deleted distribution setting business.
Wherein, in one embodiment, virtual machine to be deleted can be according to each void of currently processed setting business The load of plan machine determines, such as, according to load by gently to the order of weight, choose the forward default number of units of sequence Virtual machine is as virtual machine to be deleted.Or, when monitoring and scheduling platform storage has currently processed setting business Each virtual machine mark time, monitoring and scheduling platform determine at random.Or, it is also possible to put down by monitoring and scheduling Platform, determined according to the establishment time of each virtual machine of currently processed setting business, such as, select the establishment time The virtual machine in evening is as virtual machine to be deleted.Any method determining virtual machine to be deleted is all applicable to the present invention Embodiment, this is not limited by the present invention.
Step 404: generate and send virtual machine and shrink instruction to cloud resource management platform, described virtual machine receipts Contracting instruction includes the mark of described virtual machine to be deleted so that described cloud resource management platform according to described in treat The mark minimizing deleting virtual machine processes the virtual machine quantity of described setting business.
Step 405: receive described cloud resource management platform according to described virtual machine shrink instruction perform operation after The operating result returned.
Wherein, in one embodiment, there is the virtual of currently processed setting business when monitoring and scheduling platform storage The mark of machine, and when described operating result includes the mark of the virtual machine that merit deletes, step 405 it After, described method also includes: the one-tenth that the described operating result of self storage includes deleted by monitoring and scheduling platform The mark of the virtual machine that merit is deleted.So, delete storage in monitoring and scheduling platform by resource management platform The mark of the virtual machine deleted, can save the storage resource of monitoring and scheduling platform.Thus monitoring and scheduling platform There is the information of the virtual machine of the most currently processed setting business, in order to proceed resources of virtual machine Scheduling.
To sum up, the embodiment of the present invention, monitoring and scheduling platform, it is possible to monitoring business amount, and according to monitoring Portfolio, adaptive scheduling resource management platform sets up the virtual machine for processing setting business, and can be more Virtual machine log-on message in new auxiliary equalizing equipment so that load-balancing device can be according to the note after updating Volume information determines the task to which virtual machine distribution setting business, finally realizes according to portfolio, self adaptation Ground, automatically adjustment are for processing the resources of virtual machine of setting business.Hinge structure, when under portfolio When fall has idle resources of virtual machine, it is possible to adaptively, automatically reduce virtual machine, thus avoid waste hard Part resource.
Embodiment four
As it is shown in figure 5, be for resource management platform end in the embodiment of the present invention, determine that minimizing processes and set During the quantity of the virtual machine determining business, resources of virtual machine dispatching method, the method comprises the following steps:
Step 501: cloud resource management platform receives the virtual machine contraction instruction that monitoring and scheduling platform sends, institute State virtual machine contraction instruction and include the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described prison The portfolio of control dispatching platform monitoring setting business;And according to the described portfolio monitored, it is judged that at minimizing Generate during the quantity of the virtual machine managing described setting business.
Step 502: delete the virtual machine that the mark of described virtual machine to be deleted is corresponding.
Step 503: return operating result to described monitoring and scheduling platform.
Wherein, in embodiment, described operating result includes the mark of the virtual machine successfully deleted, so that institute State monitoring and scheduling platform and delete the virtual machine of successful deletion that the described operating result of self storage includes Mark.So that monitoring and scheduling platform saving storage resource, it is possible to there is the most currently processed setting business The information of virtual machine, in order to proceed the scheduling of resources of virtual machine.
To sum up, in the embodiment of the present invention, resource management platform shrinks according to the virtual machine of monitoring and scheduling platform and refers to Order reduces the quantity of the virtual machine for processing setting business such that it is able to avoid wasting hardware resource.
Embodiment five
Need to set up virtual machine instance with portfolio increase, the resources of virtual machine in the embodiment of the present invention is dispatched Method is described in detail, and as shown in Figure 6, the method comprises the following steps:
Step 601: monitoring and scheduling platform monitoring sets the portfolio of business.
Step 602: monitoring and scheduling platform determines that the portfolio of described setting business increases in the first preset duration Long, and when increment exceedes default increment, generate virtual machine extension instruction.
Step 603: virtual machine extension instruction is sent to cloud resource management platform by monitoring and scheduling platform.
Step 604: cloud resource management platform receives the virtual machine extension instruction that monitoring and scheduling platform sends.
Step 605: cloud resource management platform instructs according to virtual machine extension, makes currently processed described setting The system image file of the operating system of the virtual machine of business, this system image file includes for processing State the application of setting business.
Step 606: cloud resource management platform creates new virtual machine and is described new virtual machine allocation identification;Its In, when creating new virtual machine, it is that described new virtual machine installs operating system according to described system image file, The described operating system installed includes the application processing described setting business.
Step 607: described new virtual machine as the virtual machine increased, is sent virtual by cloud resource management platform Machine increases message and includes the virtual machine of increase to described monitoring and scheduling platform, described virtual machine increase message Mark.
Step 608: monitoring and scheduling platform receives cloud resource management platform and sends the virtual machine increase message come.
Step 609: being used in the operating system of the virtual machine that monitoring and scheduling platform starts described increase processes The application of described setting business.
Wherein, if for processing when applying the attribute information needing configuration increase virtual machine of setting business, Before step 609, monitoring and scheduling platform is configured to process according to the attribute information increasing virtual machine and sets industry The application of business.
Step 610: monitoring and scheduling platform increases the mark of the virtual machine of increase in message according to virtual machine, The log-on message of the virtual machine of increase is added in described load-balancing device.
Step 611: the log-on message of the virtual machine that load-balancing device more increases, appointing the business of setting The virtual machine increased is distributed in business.
The embodiment of the present invention, when needing to expand virtual machine process setting business by portfolio rising, self adaptation Scheduling cloud resource management platform generate the system mirror of operating system of virtual machine of currently processed setting business Picture, also includes the application for processing setting business in this system image, when cloud resource management platform creates void Plan machine, and installing after operating system according to system image on the virtual machine created, process setting business should With installing in an operating system, and without reinstalling, so newly created virtual machine can be enable fast Speed be used for process setting business.By adaptively, automatically set up virtual machine, it is not necessary to interrupt setting The process of business, can improve the treatment effeciency of setting business.
Embodiment six
Decline with portfolio and need to reduce virtual machine instance, the resources of virtual machine in the embodiment of the present invention is dispatched Method is described in detail, as it is shown in fig. 7, the method comprises the following steps:
Step 701: monitoring and scheduling platform monitoring sets the portfolio of business.
Step 702: monitoring and scheduling platform determines that the portfolio of setting business reduces in the second preset duration, And reduction amount is when exceeding default reduction amount, delete the registration letter of virtual machine to be deleted in load-balancing device Breath.
Step 703: monitoring and scheduling platform generates and sends virtual machine contraction and instructs to cloud resource management platform, Described virtual machine shrinks the mark of virtual machine to be deleted in instruction.
Step 704: cloud resource management platform receives the virtual machine contraction instruction that monitoring and scheduling platform sends.
Step 705: cloud resource management platform is deleted virtual machine and shunk the mark of the virtual machine to be deleted in instruction Corresponding virtual machine.
Step 706: cloud resource management platform returns operating result to described monitoring and scheduling platform, described operation Result includes the mark of the virtual machine successfully deleted.
Step 707: monitoring and scheduling platform receives the operating result that described cloud resource platform returns.
Step 708: the successful deletion that the described operating result of self storage includes deleted by monitoring and scheduling platform The mark of virtual machine.
The embodiment of the present invention, when needing to reduce virtual machine by portfolio decline, adaptive scheduling cloud resource Management platform reclaims virtual machine.By adaptively, automatically reclaim virtual machine, can avoid wasting hardware money Source.
Embodiment seven
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of resources of virtual machine dispatching device, uses In monitoring and scheduling platform, as shown in Figure 8, described device includes:
Monitoring module 801, for monitoring the portfolio of setting business;
Judge module 802, for according to the described portfolio monitored, it may be judged whether set described in increase process Determine the quantity of the virtual machine of business;
Virtual machine extension instruction sending module 803, if the judged result for described judge module is yes, then Generate and send virtual machine extension to instruct to cloud resource management platform, so that described cloud resource management platform increases Process the virtual machine quantity of described setting business;
Receiver module 804, the virtual machine come for receiving described cloud resource management platform to send increases message, Described virtual machine increases message and includes the mark of the virtual machine increased;
More new module 805, for the mark of the virtual machine according to described increase, adds in load-balancing device Add the log-on message of the virtual machine of described increase.
Wherein, in one embodiment, described judge module 802 specifically for:
Judge whether the portfolio of described setting business increases in preset duration, and increment exceedes default increasing Long amount;
If, it is determined that need the quantity of the virtual machine of the increase described setting business of process;
No, it is determined that to need not the quantity that increase processes the virtual machine of described setting business.
Wherein, in one embodiment, as it is shown in figure 9, described device also includes:
Start module 806, be provided with for processing described in the operating system of the virtual machine of described increase The application of setting business, described receiver module receives described cloud resource management platform and sends the virtual machine increase come After message, and described more new module add in load-balancing device described increase virtual machine registration letter Before breath, in the operating system of the virtual machine starting described increase for process described setting business should With.
Embodiment eight
Based on identical inventive concept, the present invention also provides for a kind of resources of virtual machine dispatching device, such as Figure 10 Shown in, described device includes:
Monitoring module 1001, for monitoring the portfolio of setting business;
Judge module 1002, for according to the described portfolio monitored, it may be judged whether set described in minimizing process Determine the quantity of the virtual machine of business;
More new module 1003, if being yes for described judge module judged result, then deletes load-balancing device In the log-on message of virtual machine to be deleted;
Virtual machine shrinks instruction sending module 1004, is used for generating and sending virtual machine and shrinks instruction to cloud resource Management platform, described virtual machine shrinks instruction and includes the mark of described virtual machine to be deleted, so that described cloud Resource management platform processes the virtual machine of described setting business according to the mark minimizing of described virtual machine to be deleted Quantity;
Receiver module 1005, is used for receiving described cloud resource management platform and holds according to the contraction instruction of described virtual machine The operating result returned after row operation.
Wherein, in one embodiment, described judge module 1002 specifically for:
Judge whether the portfolio of described setting business reduces in the second preset duration, and reduction amount exceedes pre- If reduction amount;
If, it is determined that need the quantity of the virtual machine of the minimizing described setting business of process;
If not, it is determined that need not the quantity that minimizing processes the virtual machine of described setting business.
Wherein, in one embodiment, as shown in figure 11, described device also includes removing module 1006, Include the mark of the virtual machine successfully deleted for described operating result, delete the described operation of self storage The mark of the virtual machine of the successful deletion that result includes.
Embodiment nine
Based on identical inventive concept, the present invention also provides for a kind of resources of virtual machine dispatching device, such as Figure 12 Shown in, described device includes:
Receiver module 1201, for receiving the virtual machine extension instruction that monitoring and scheduling platform sends, described virtual Machine extended instruction processes the virtual machine quantity of setting business for increasing, and described virtual machine adjusts and expands to institute State monitoring and scheduling platform monitoring and set the portfolio of business;And according to the described portfolio monitored, it is judged that increase Generate when adding the quantity of the virtual machine processing described setting business;
Increasing module 1202, for instructing according to described virtual machine extension, increase processes described reason setting business The quantity of virtual machine;
Sending module 1203, is used for sending virtual machine and increases message to described monitoring and scheduling platform, described virtual Machine increases message and includes the mark of the virtual machine increased, so that described monitoring and scheduling platform is according to described increase The mark of virtual machine, load-balancing device adds the log-on message of the virtual machine of described increase.
Wherein, in one embodiment, according to increase module 1202 specifically for:
Instruct according to described virtual machine extension, make the operation system of the virtual machine of currently processed described setting business The system image file of system;
Create new virtual machine and for described new virtual machine allocation identification;Wherein, when creating new virtual machine, according to Described system image file is that described new virtual machine installs operating system;
Described sending module 1203 specifically for:
Using described new virtual machine as the virtual machine increased, and send virtual machine increase message to described monitoring tune Degree platform, described virtual machine increases message and includes the mark of the virtual machine increased.
Wherein, in one embodiment, described system image file also includes for processing described setting industry The application of business, so that described monitoring and scheduling platform starts being used in the VME operating system of described increase and locates Manage the application of described setting business.
Embodiment ten
Based on identical inventive concept, the present invention also provides for a kind of resources of virtual machine dispatching device, such as Figure 13 Shown in, described device includes:
Receiver module 1301, the virtual machine sent for receiving monitoring and scheduling platform shrinks instruction, described virtual Machine shrinks instruction and includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described monitoring and scheduling Platform monitoring sets the portfolio of business;And according to the described portfolio monitored, it is judged that minimizing processes described Generate during the quantity of the virtual machine of setting business;
Removing module 1302, for deleting the virtual machine that the mark of described virtual machine to be deleted is corresponding;
Sending module 1303, is used for returning operating result to described monitoring and scheduling platform.
Wherein, in one embodiment, described operating result includes the mark of the virtual machine successfully deleted, So that the void of the successful deletion that the described operating result self stored includes deleted by described monitoring and scheduling platform The mark of plan machine.
Embodiment 11
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of resources of virtual machine dispatching patcher, as Shown in Figure 14, this system includes:
Monitoring and scheduling platform 1401, wherein, the device included by monitoring and scheduling platform 1401 is in embodiment Describe in detail in seven, do not repeat them here.
Cloud resource management platform 1402, wherein, the device included by cloud resource management platform 1402 is in reality Execute in example nine and describe in detail, do not repeat them here.
It is managed and creates the server 1403 of virtual machine for cloud resource management platform.
Embodiment 12
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of resources of virtual machine dispatching patcher, as Shown in Figure 15, this system includes:
Monitoring and scheduling platform 1501, wherein, the device included by monitoring and scheduling platform 1501 is in embodiment Describe in detail in eight, do not repeat them here.
Cloud resource management platform 1502, wherein, the device included by cloud resource management platform 1502 is in reality Execute in example ten and describe in detail, do not repeat them here.
It is managed and creates the server 1503 of virtual machine for cloud resource management platform.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation relevant The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (24)

1. a resources of virtual machine dispatching method, it is characterised in that described method includes:
Monitoring and scheduling platform monitoring sets the portfolio of business;And,
According to the described portfolio monitored, it may be judged whether increase processes the number of the virtual machine of described setting business Amount;
If the determination result is YES, then generate and send virtual machine extension and instruct to cloud resource management platform, so that Described cloud resource management platform increase processes the virtual machine quantity of described setting business;
Receiving described cloud resource management platform and send the virtual machine increase message come, described virtual machine increases message Include the mark of the virtual machine increased;
The mark of the virtual machine according to described increase, adds the virtual machine of described increase in load-balancing device Log-on message.
Method the most according to claim 1, it is characterised in that the described industry that described basis monitors Business amount, it may be judged whether increase processes the quantity of the virtual machine of described setting business, specifically includes:
Judge whether the portfolio of described setting business increases in the first preset duration, and increment exceedes pre- If increment;
If, it is determined that need the quantity of the virtual machine of the increase described setting business of process;
No, it is determined that to need not the quantity that increase processes the virtual machine of described setting business.
Method the most according to claim 1, it is characterised in that the operation of the virtual machine of described increase Being provided with the application for processing described setting business in system, described reception described cloud resource management platform is sent out After the virtual machine sent here increases message, and the described virtual machine adding described increase in load-balancing device Log-on message before, described method also includes:
The application for processing described setting business in the operating system of the virtual machine starting described increase.
4. a resources of virtual machine dispatching method, it is characterised in that described method includes:
Monitoring and scheduling platform monitoring sets the portfolio of business;And,
According to the described portfolio monitored, it may be judged whether minimizing processes the number of the virtual machine of described setting business Amount;
If the determination result is YES, then the log-on message of virtual machine to be deleted in load-balancing device is deleted;
Generate and send virtual machine and shrink instruction to cloud resource management platform, bag in the contraction instruction of described virtual machine Include the mark of described virtual machine to be deleted, so that described cloud resource management platform is according to described virtual machine to be deleted Mark minimizing process described setting business virtual machine quantity;
Receive described cloud resource management platform and shrink the behaviour returned after instruction performs operation according to described virtual machine Make result.
Method the most according to claim 4, it is characterised in that the described industry that described basis monitors Business amount, it may be judged whether minimizing processes the quantity of the virtual machine of described setting business, specifically includes:
Judge whether the portfolio of described setting business reduces in the second preset duration, and reduction amount exceedes pre- If reduction amount;
If, it is determined that need the quantity of the virtual machine of the minimizing described setting business of process;
If not, it is determined that need not the quantity that minimizing processes the virtual machine of described setting business.
Method the most according to claim 4, it is characterised in that described operating result includes successfully The mark of the virtual machine deleted, described method also includes:
Delete the mark of the virtual machine of the successful deletion that the described operating result self stored includes.
7. a resources of virtual machine dispatching method, it is characterised in that described method includes:
Cloud resource management platform receives the virtual machine extension instruction that monitoring and scheduling platform sends, and described virtual machine expands Exhibition instruction is for increasing the virtual machine quantity processing setting business, and described virtual machine adjusts and expands to described prison The portfolio of control dispatching platform monitoring setting business;And according to the described portfolio monitored, it is judged that at increase Generate during the quantity of the virtual machine managing described setting business;
Instructing according to described virtual machine extension, increase processes the quantity of the virtual machine of described reason setting business;
Send virtual machine increase message to include increasing to described monitoring and scheduling platform, described virtual machine increase message The mark of the virtual machine added, so that described monitoring and scheduling platform is according to the mark of the virtual machine of described increase, Load-balancing device adds the log-on message of the virtual machine of described increase.
Method the most according to claim 7, it is characterised in that instruct according to described virtual machine extension, Increase processes the quantity of the virtual machine of described reason setting business, specifically includes:
Instruct according to described virtual machine extension, make the operation system of the virtual machine of currently processed described setting business The system image file of system;
Create new virtual machine and for described new virtual machine allocation identification;Wherein, when creating new virtual machine, according to Described system image file is that described new virtual machine installs operating system;
Described transmission virtual machine increase message, to described monitoring and scheduling platform, specifically includes:
Using described new virtual machine as the virtual machine increased, and send virtual machine increase message to described monitoring tune Degree platform, described virtual machine increases message and includes the mark of the virtual machine increased.
Method the most according to claim 8, it is characterised in that also wrap in described system image file Include the application for processing described setting business, so that described monitoring and scheduling platform starts the virtual of described increase The application for processing described setting business in machine operating system.
10. a resources of virtual machine dispatching method, it is characterised in that described method includes:
Cloud resource management platform receives the virtual machine contraction instruction that monitoring and scheduling platform sends, and described virtual machine is received Contracting instruction includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described monitoring and scheduling platform The portfolio of monitoring setting business;And according to the described portfolio monitored, it is judged that minimizing processes described setting Generate during the quantity of the virtual machine of business;
Delete the virtual machine that the mark of described virtual machine to be deleted is corresponding;
Return operating result to described monitoring and scheduling platform.
11. methods according to claim 10, it is characterised in that described operating result includes into The mark of the virtual machine that merit is deleted, so that the described operating result of self storage deleted by described monitoring and scheduling platform The mark of the virtual machine of the successful deletion included.
12. 1 kinds of resources of virtual machine dispatching devices, it is characterised in that described device includes:
Monitoring module, for monitoring the portfolio of setting business;
Judge module, for according to the described portfolio monitored, it may be judged whether increase processes described setting industry The quantity of the virtual machine of business;
Virtual machine extension instruction sending module, if the judged result for described judge module is yes, then generates And send virtual machine extension and instruct to cloud resource management platform, so that described cloud resource management platform increase processes The virtual machine quantity of described setting business;
Receiver module, the virtual machine come for receiving described cloud resource management platform to send increases message, described Virtual machine increases message and includes the mark of the virtual machine increased;
More new module, for the mark of the virtual machine according to described increase, adds institute in load-balancing device State the log-on message of the virtual machine of increase.
13. devices according to claim 12, it is characterised in that described judge module specifically for:
Judge whether the portfolio of described setting business increases in preset duration, and increment exceedes default increasing Long amount;
If, it is determined that need the quantity of the virtual machine of the increase described setting business of process;
No, it is determined that to need not the quantity that increase processes the virtual machine of described setting business.
14. devices according to claim 12, it is characterised in that described device also includes:
Start module, be provided with in the operating system of the virtual machine of described increase for processing described setting The application of business, described receiver module receives described cloud resource management platform and sends the virtual machine increase message come Afterwards, and described more new module add in load-balancing device described increase virtual machine log-on message it Before, the application for processing described setting business in the operating system of the virtual machine starting described increase.
15. 1 kinds of resources of virtual machine dispatching devices, it is characterised in that described device includes:
Monitoring module, for monitoring the portfolio of setting business;And,
Judge module, for according to the described portfolio monitored, it may be judged whether minimizing processes described setting industry The quantity of the virtual machine of business;
More new module, if being yes for described judge module judged result, then deletes in load-balancing device The log-on message of virtual machine to be deleted;
Virtual machine shrinks instruction sending module, is used for generating and sending virtual machine and shrinks instruction to cloud resource management Platform, described virtual machine shrinks instruction and includes the mark of described virtual machine to be deleted, so that described cloud resource Management platform processes the virtual machine quantity of described setting business according to the mark minimizing of described virtual machine to be deleted;
Receiver module, is used for receiving described cloud resource management platform and performs behaviour according to the contraction instruction of described virtual machine The operating result returned after work.
16. devices according to claim 15, it is characterised in that described judge module specifically for:
Judge whether the portfolio of described setting business reduces in the second preset duration, and reduction amount exceedes pre- If reduction amount;
If, it is determined that need the quantity of the virtual machine of the minimizing described setting business of process;
If not, it is determined that need not the quantity that minimizing processes the virtual machine of described setting business.
17. devices according to claim 15, it is characterised in that described device also includes:
Removing module, includes the mark of the virtual machine successfully deleted, deletes self for described operating result The mark of the virtual machine of the successful deletion that the described operating result of storage includes.
18. 1 kinds of resources of virtual machine dispatching devices, it is characterised in that described device includes:
Receiver module, for receiving the virtual machine extension instruction that monitoring and scheduling platform sends, described virtual machine expands Exhibition instruction is for increasing the virtual machine quantity processing setting business, and described virtual machine adjusts and expands to described prison The portfolio of control dispatching platform monitoring setting business;And according to the described portfolio monitored, it is judged that at increase Generate during the quantity of the virtual machine managing described setting business;
Increasing module, for instructing according to described virtual machine extension, increase processes the void of described reason setting business The quantity of plan machine;
Sending module, is used for sending virtual machine and increases message to described monitoring and scheduling platform, the increasing of described virtual machine Add message and include the mark of the virtual machine increased, so that described monitoring and scheduling platform is according to the void of described increase The mark of plan machine, adds the log-on message of the virtual machine of described increase in load-balancing device.
19. devices according to claim 18, it is characterised in that according to increase module specifically for:
Instruct according to described virtual machine extension, make the operation system of the virtual machine of currently processed described setting business The system image file of system;
Create new virtual machine and for described new virtual machine allocation identification;Wherein, when creating new virtual machine, according to Described system image file is that described new virtual machine installs operating system;
Described sending module specifically for:
Using described new virtual machine as the virtual machine increased, and send virtual machine increase message to described monitoring tune Degree platform, described virtual machine increases message and includes the mark of the virtual machine increased.
20. devices according to claim 19, it is characterised in that in described system image file also Including the application for processing described setting business, so that described monitoring and scheduling platform starts the void of described increase The application for processing described setting business in plan machine operating system.
21. 1 kinds of resources of virtual machine dispatching devices, it is characterised in that described device includes:
Receiver module, the virtual machine sent for receiving monitoring and scheduling platform shrinks instruction, and described virtual machine is received Contracting instruction includes the mark of virtual machine to be deleted;Described virtual machine shrinks instruction for described monitoring and scheduling platform The portfolio of monitoring setting business;And according to the described portfolio monitored, it is judged that minimizing processes described setting Generate during the quantity of the virtual machine of business;
Removing module, for deleting the virtual machine that the mark of described virtual machine to be deleted is corresponding;
Sending module, is used for returning operating result to described monitoring and scheduling platform.
22. devices according to claim 21, it is characterised in that described operating result includes into The mark of the virtual machine that merit is deleted, so that the described operating result of self storage deleted by described monitoring and scheduling platform The mark of the virtual machine of the successful deletion included.
23. 1 kinds of resources of virtual machine dispatching patchers, it is characterised in that described system includes:
Monitoring and scheduling platform, including the arbitrary described device of claim 12-14;
Cloud resource management platform, including the arbitrary described device of claim 18-20;
It is managed and creates the server of virtual machine for cloud resource management platform.
24. 1 kinds of resources of virtual machine dispatching patchers, it is characterised in that described system includes:
Monitoring and scheduling platform, including the arbitrary described device of claim 15-17;
Cloud resource management platform, including the arbitrary described device of claim 21-22;
It is managed and creates the server of virtual machine for cloud resource management platform.
CN201510250285.9A 2015-05-15 2015-05-15 Virtual machine resource scheduling method, device and system Pending CN105988858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510250285.9A CN105988858A (en) 2015-05-15 2015-05-15 Virtual machine resource scheduling method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510250285.9A CN105988858A (en) 2015-05-15 2015-05-15 Virtual machine resource scheduling method, device and system

Publications (1)

Publication Number Publication Date
CN105988858A true CN105988858A (en) 2016-10-05

Family

ID=57040380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510250285.9A Pending CN105988858A (en) 2015-05-15 2015-05-15 Virtual machine resource scheduling method, device and system

Country Status (1)

Country Link
CN (1) CN105988858A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203413A (en) * 2017-05-27 2017-09-26 北京思特奇信息技术股份有限公司 A kind of resource data dispatches system and method
CN107341046A (en) * 2017-07-17 2017-11-10 郑州云海信息技术有限公司 A kind of information security management method and device
CN108121585A (en) * 2016-11-29 2018-06-05 上海有云信息技术有限公司 Based on the resource allocation device and method under cloud mode
CN108540341A (en) * 2018-03-19 2018-09-14 云宏信息科技股份有限公司 resource monitoring method and device
CN108616377A (en) * 2016-12-13 2018-10-02 中国电信股份有限公司 Business chain virtual machine control method and system
CN109213569A (en) * 2018-08-27 2019-01-15 郑州云海信息技术有限公司 A kind of auditing method based on virtual machine, device, server and storage medium
CN109842660A (en) * 2017-11-28 2019-06-04 上海驻云信息科技有限公司 General cloud resource and Rights Management System for different application scene
CN110764873A (en) * 2019-10-21 2020-02-07 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
TWI688905B (en) * 2017-07-24 2020-03-21 大陸商中國銀聯股份有限公司 Resource configuration method and device
CN111221641A (en) * 2020-01-15 2020-06-02 广州虎牙科技有限公司 Task regulation and control method, system, storage medium and electronic equipment
CN111625319A (en) * 2020-05-25 2020-09-04 北京金山云网络技术有限公司 Virtual machine monitoring data acquisition method and device and host machine
CN112711465A (en) * 2021-03-23 2021-04-27 腾讯科技(深圳)有限公司 Data processing method and device based on cloud platform, electronic equipment and storage medium
CN113254150A (en) * 2021-05-13 2021-08-13 曙光信息产业(北京)有限公司 Load balancing method, system, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694633A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Equipment, method and system for dispatching of computer operation
CN103049309A (en) * 2012-12-11 2013-04-17 华为技术有限公司 Device, method and system for resource management of virtual machine
CN103257683A (en) * 2013-05-07 2013-08-21 华为技术有限公司 Method and device of cloud calculation service expansion and contraction
CN103354990A (en) * 2012-02-13 2013-10-16 华为技术有限公司 System and method for processing virtual machine in cloud platform
CN103634330A (en) * 2012-08-20 2014-03-12 曙光信息产业(北京)有限公司 Automatic resource distribution method in cloud calculation environment
CN104426694A (en) * 2013-08-28 2015-03-18 杭州华三通信技术有限公司 Method and device for adjusting virtual-machine resources

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694633A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Equipment, method and system for dispatching of computer operation
CN103354990A (en) * 2012-02-13 2013-10-16 华为技术有限公司 System and method for processing virtual machine in cloud platform
CN103634330A (en) * 2012-08-20 2014-03-12 曙光信息产业(北京)有限公司 Automatic resource distribution method in cloud calculation environment
CN103049309A (en) * 2012-12-11 2013-04-17 华为技术有限公司 Device, method and system for resource management of virtual machine
CN103257683A (en) * 2013-05-07 2013-08-21 华为技术有限公司 Method and device of cloud calculation service expansion and contraction
CN104426694A (en) * 2013-08-28 2015-03-18 杭州华三通信技术有限公司 Method and device for adjusting virtual-machine resources

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121585A (en) * 2016-11-29 2018-06-05 上海有云信息技术有限公司 Based on the resource allocation device and method under cloud mode
CN108616377B (en) * 2016-12-13 2021-12-31 中国电信股份有限公司 Service chain virtual machine control method and system
CN108616377A (en) * 2016-12-13 2018-10-02 中国电信股份有限公司 Business chain virtual machine control method and system
CN107203413A (en) * 2017-05-27 2017-09-26 北京思特奇信息技术股份有限公司 A kind of resource data dispatches system and method
CN107341046A (en) * 2017-07-17 2017-11-10 郑州云海信息技术有限公司 A kind of information security management method and device
TWI688905B (en) * 2017-07-24 2020-03-21 大陸商中國銀聯股份有限公司 Resource configuration method and device
CN109842660A (en) * 2017-11-28 2019-06-04 上海驻云信息科技有限公司 General cloud resource and Rights Management System for different application scene
CN108540341A (en) * 2018-03-19 2018-09-14 云宏信息科技股份有限公司 resource monitoring method and device
CN109213569A (en) * 2018-08-27 2019-01-15 郑州云海信息技术有限公司 A kind of auditing method based on virtual machine, device, server and storage medium
CN110764873A (en) * 2019-10-21 2020-02-07 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
CN110764873B (en) * 2019-10-21 2022-09-27 深圳金蝶账无忧网络科技有限公司 Virtual machine resource management method, system and related equipment
CN111221641A (en) * 2020-01-15 2020-06-02 广州虎牙科技有限公司 Task regulation and control method, system, storage medium and electronic equipment
CN111625319A (en) * 2020-05-25 2020-09-04 北京金山云网络技术有限公司 Virtual machine monitoring data acquisition method and device and host machine
CN112711465A (en) * 2021-03-23 2021-04-27 腾讯科技(深圳)有限公司 Data processing method and device based on cloud platform, electronic equipment and storage medium
CN112711465B (en) * 2021-03-23 2021-06-18 腾讯科技(深圳)有限公司 Data processing method and device based on cloud platform, electronic equipment and storage medium
CN113254150A (en) * 2021-05-13 2021-08-13 曙光信息产业(北京)有限公司 Load balancing method, system, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105988858A (en) Virtual machine resource scheduling method, device and system
CN109669758A (en) Concocting method, device, equipment and the storage medium of server resource
CN102369688A (en) Method for adjusting resources dynamically and scheduling device
CN106254471A (en) Resource United Dispatching method and system under a kind of isomery cloud environment
CN104090806A (en) Method and device for processing upgrade patch and upgrade request
CN106302632A (en) The method for down loading of a kind of foundation image and management node
CN104239123A (en) Campus-cloud-platform-oriented virtual machine management dispatching method and system
CN103873534A (en) Method and device for application cluster migration
CN102833101B (en) Software upgrading method and equipment of distributed network system
US11886905B2 (en) Host upgrade method and device
CN105808341A (en) Method, apparatus and system for scheduling resources
CN103036855A (en) Achievement device and method of authority management
CN103955409A (en) Method for operation dispatching
CN109726007B (en) Container arrangement quota management method and device and container arrangement system
CN106598559A (en) Rapid deployment method and system of cloud platform
CN114064229A (en) Cluster node processing method, system, device and medium
CN109597674B (en) Shared virtual resource pool share scheduling method and system
CN116204268A (en) Expansion and contraction method of cloud instance and related equipment thereof
CN113608751A (en) Operation method, device and equipment of reasoning service platform and storage medium
CN103501509B (en) A kind of method and device equalizing radio network controller load
CN107783826B (en) Virtual machine migration method, device and system
CN105933136A (en) Resource scheduling method and system
CN113992509B (en) SDN network service configuration issuing method, device and storage medium
CN113626472B (en) Method and device for processing order data
CN109756356A (en) Device updating method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20161005