CN105553721A - Cloud application stretching method, application management side and system - Google Patents

Cloud application stretching method, application management side and system Download PDF

Info

Publication number
CN105553721A
CN105553721A CN201510938475.XA CN201510938475A CN105553721A CN 105553721 A CN105553721 A CN 105553721A CN 201510938475 A CN201510938475 A CN 201510938475A CN 105553721 A CN105553721 A CN 105553721A
Authority
CN
China
Prior art keywords
virtual machine
application
load threshold
early warning
warning information
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
CN201510938475.XA
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510938475.XA priority Critical patent/CN105553721A/en
Publication of CN105553721A publication Critical patent/CN105553721A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a cloud application stretching method, an application management side and a system; the method comprises the following steps: applying to the application management side, setting a minimum load threshold and a maximum load threshold, and setting a monitoring task; receiving metadata of an application, controlling a cloud platform manager and establishing at least one virtual machine for the application; sending the monitoring task to a proxy device of the at least one virtual machine; receiving early warning information corresponding to the monitoring task; when the early warning information is that a load of the first virtual machine of the at least one virtual machine is smaller than the minimum load threshold, controlling the cloud platform manager to close the first virtual machine and releasing resources occupied by the first virtual machine; and when the early warning information is that the load of any virtual machine of the at least one virtual machine is greater than the maximum load threshold, controlling the cloud platform manager, and establishing the second virtual machine for the application according to a virtual machine template comprising the proxy device. The resource utilization rate of a cloud platform is effectively improved.

Description

A kind of cloud application telescopic method, application management end and system
Technical field
The present invention relates to Computer Applied Technology field, particularly a kind of cloud application telescopic method, application management end and system.
Background technology
Along with the arrival in cloud computing epoch, industry-by-industry builds by the hardware resource of cloud platform the virtual machine running application one after another, cloud platform comes, for user flexibility ground resource allocation, as increase and decrease CPU or internal memory etc., to achieve unified allocation of resources and the management of resource by resource stretch mode.For government, the units such as bank, in order to ensure the fail safe of data, usually use privately owned cloud platform, and in privately owned cloud platform resource stretch mode is mainly: cloud platform monitors application load by monitor component, user is according to the application load situation monitored, the virtual machine number that manual change application is corresponding, such as: find that certain section of time load is higher by monitoring, can be arranged on and increase virtual machine number during this period of time, and when when load during this period of time changes, user does not change virtual machine number in time, by causing, the resource utilization of cloud platform is lower.
Summary of the invention
The invention provides a kind of cloud application telescopic method, application management end and system, effectively can improve the resource utilization of cloud platform.
A kind of cloud application telescopic method, is applied to application management end, arranges minimal load threshold and maximum load threshold value, and arrange monitor task; Also comprise:
Receive the metadata of application, and trigger cloud Platform Manager, according to the metadata of described application, the virtual machine template comprising agent apparatus is set;
Control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, at least one virtual machine is set up in described application;
Send described monitor task to the agent apparatus in described at least one virtual machine;
Receive the early warning information corresponding with described monitor task, when described early warning information be the load of the first virtual machine in described at least one virtual machine lower than described minimal load threshold time, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies; When described early warning information be the load of any virtual machine in described at least one virtual machine higher than described maximum load threshold value time, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application.
Preferably, the method comprises further: arrange monitoring alarm server, and is connected with described monitoring alarm server by described application management end;
Described minimal load threshold and maximum load threshold value are sent to described monitoring alarm server;
After described transmission monitor task is to the agent apparatus in described at least one virtual machine, before the early warning information that described reception is corresponding with described monitor task, comprise further: control the monitor data that described monitoring alarm server receives the transmission of described agent apparatus, and analysis monitoring data, described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send described early warning information;
The early warning information that described reception is corresponding with described monitor task, comprising: receive the described early warning information that described monitoring alarm server sends.
Preferably, the method comprises further: when described early warning information is when in described at least one virtual machine, the 3rd virtual machine is in abnormality, for the resource that described application application is new, and trigger described cloud Platform Manager, set up the 4th virtual machine, in described 4th virtual machine, redeploy described application, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
Preferably, described in be applied as web application, the method comprises further:
For Reverse Proxy is set up in described web application; And associating between described Reverse Proxy arranges address that reference address and described web that described web applies apply place virtual machine, when described web application place virtual machine changes, described association is revised accordingly.
A kind of application management end, comprising:
Setting unit, for arranging minimal load threshold and maximum load threshold value, and arranges monitor task;
First control unit, for receiving the metadata of application, and triggers the cloud Platform Manager of peripheral hardware, according to the metadata of described application, arranges the virtual machine template comprising agent apparatus;
Second control unit, for controlling the cloud Platform Manager of described peripheral hardware, controls the virtual machine template comprising agent apparatus arranged, at least one virtual machine of peripheral hardware is set up in described application according to described first control unit; When receiving the triggering of receiving element, when the minimal load threshold that the load that described early warning information is the first virtual machine in described at least one virtual machine is arranged lower than described setting unit, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies; When the maximum load threshold value that the load that described early warning information is any virtual machine in described at least one virtual machine is arranged higher than described setting unit, control the cloud Platform Manager of described peripheral hardware, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application;
First transmitting element, for sending the monitor task of described setting unit setting to the agent apparatus at least one virtual machine of peripheral hardware;
Receiving element, for receiving the early warning information corresponding with described monitor task, and triggers described second control unit.
Preferably, application management end is connected with the monitoring alarm server of peripheral hardware; Comprise further: the second transmitting element and the 3rd control unit, wherein,
Described second transmitting element, sends to the monitoring alarm server of described peripheral hardware for the minimal load threshold that arranged by described setting unit and maximum load threshold value;
3rd control unit, monitoring alarm server for controlling described peripheral hardware performs, obtain and analysis monitoring data from the agent apparatus of described peripheral hardware, and described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generate and send early warning information;
Described receiving element, the described early warning information that the monitoring alarm server controlling described peripheral hardware for receiving described 3rd control unit sends.
Preferably, application manager comprises further: drift cells, for when the early warning information that described receiving element receives be described peripheral hardware at least one virtual machine in the 3rd virtual machine be in abnormality time, for the resource that described application application is new, and the cloud Platform Manager triggering described peripheral hardware sets up the 4th virtual machine, in described 4th virtual machine, redeploy described application, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
Preferably, described in be applied as web application, application management end, comprises further:
Build associative cell, associating between the address that the reference address and the described web that apply for building described web apply place virtual machine, and described association is sent to the Reverse Proxy of peripheral hardware, when described web application place virtual machine changes, described association is revised accordingly.
A kind of cloud application telescopic system, comprising: any one application management end above-mentioned and cloud platform; Wherein,
In described cloud platform, cloud Platform Server, for the metadata according to the application in described application management end, arranges the virtual machine template comprising agent apparatus, and according to the described virtual machine template comprising agent apparatus, at least one virtual machine is set up in described application;
In described cloud platform, the agent apparatus in each virtual machine, for receiving the monitor task that described application management end sends, and sends monitor data.
Preferably, said system comprises further: monitoring alarm server, for receiving minimal load threshold and the maximum load threshold value of the transmission of described application management end, and receive the monitor data of the agent apparatus transmission in each virtual machine described, and analysis monitoring data, described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generates early warning information, and send described early warning information to described application management end.
Preferably, described cloud Platform Server, be further used for when the early warning information that described application management termination receives is when in described at least one virtual machine, the 3rd virtual machine is in abnormality, receive the triggering that described application management end is described application application new resources, set up the 4th virtual machine, in described 4th virtual machine, redeploy described application, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
Preferably, described in be applied as web application, said system comprises further:
Reverse Proxy, associating between the address that the reference address and the described web that apply for storing described web applys place virtual machine, when described web application place virtual machine changes, revises accordingly to described association.
Embodiments provide a kind of cloud application telescopic method, application management end and system, the method comprises: arrange minimal load threshold and maximum load threshold value, and arrange monitor task, make user load threshold and monitor task can be set according to the demand of application itself by this step, and arrange without the need to keeper is unified, by receiving the metadata of application, and trigger cloud Platform Manager, according to the metadata of described application, the virtual machine template comprising agent apparatus is set, that set up for application can by the basis of virtual machine monitored in real time, agent apparatus in virtual machine template is for monitoring virtual machine, namely achieve and monitoring is positioned over virtual machine internal, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for at least one virtual machine is set up in described application, send described monitor task to the agent apparatus in described at least one virtual machine, so far agent apparatus can be monitored virtual machine in real time, by receiving the early warning information corresponding with described monitor task, when described early warning information be the load of the first virtual machine in described at least one virtual machine lower than described minimal load threshold time, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies, when described early warning information be the load of any virtual machine in described at least one virtual machine higher than described maximum load threshold value time, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application, because agent apparatus can monitor virtual machine in real time, so, early warning information also can be received in real time, occupation condition can be modified in time, effectively improve the resource utilization of cloud platform.
Accompanying drawing explanation
The flow chart of a kind of cloud application telescopic method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of a kind of cloud application telescopic method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of a kind of application management end that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the cloud application telescopic system that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the cloud application telescopic system that Fig. 5 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of cloud application telescopic method, and the method can comprise the steps:
Step 101: minimal load threshold and maximum load threshold value are set, and monitor task is set;
Step 102: the metadata receiving application, and trigger cloud Platform Manager, according to the metadata of application, the virtual machine template comprising agent apparatus is set;
Step 103: control cloud Platform Manager, according to the virtual machine template comprising agent apparatus, at least one virtual machine is set up in application;
Step 104: send monitor task to the agent apparatus at least one virtual machine;
Step 105: receive the early warning information corresponding with monitor task, when early warning information be the load of the first virtual machine at least one virtual machine lower than minimal load threshold time, perform step 106; When early warning information be the load of any virtual machine at least one virtual machine higher than maximum load threshold value time, perform step 107;
Step 106: control cloud Platform Manager and close the first virtual machine, and the resource discharging that the first virtual machine takies, and terminate current process;
Step 107: control cloud Platform Manager, according to the virtual machine template comprising agent apparatus, for the second virtual machine is set up in application.
In an embodiment of the invention, in order to can the monitor data that arrives of analysis agent assembly monitor, and obtaining early warning information by analysis monitoring data, the method comprises further: arrange monitoring alarm server, and is connected with monitoring alarm server by application management end; Minimal load threshold and maximum load threshold value are sent to monitoring alarm server; After step 104, to comprise in taking a step forward of step 105: control the monitor data that monitoring alarm server Receiving Agent device sends, and analysis monitoring data, monitor data and minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send early warning information; The embodiment of step 105: receive the early warning information that monitoring alarm server sends.
In an embodiment of the invention, when virtual machine occurs abnormal, in order to the resource discharging abnormal virtual machine can be realized, and supplement new virtual machine in time, thus improve the service efficiency of resource further, the method comprises further: when early warning information is when at least one virtual machine, the 3rd virtual machine is in abnormality, for the resource that application application is new, and trigger cloud Platform Manager, set up the 4th virtual machine, in the 4th virtual machine, redeploy application, derive the log information in the 3rd virtual machine, and discharge the resource that the 3rd virtual machine takies.
In an embodiment of the invention, in order to the method can be enable to provide resource for web applies, the method comprises further: for Reverse Proxy is set up in web application; And associating between the address of apply place virtual machine at reference address and web that Reverse Proxy arranges web application, when web application place virtual machine changes, association is revised accordingly.
As shown in Figure 2, another enforcement of the present invention is to realize stretching of web application, and launch to illustrate, cloud application telescopic method, the method can comprise the steps:
Step 200: monitoring alarm server is set, and application management end is connected with monitoring alarm server;
This monitoring alarm server is mainly used to analysis monitoring data, and provides warning information to application management end, makes corresponding operation to make application management end according to warning information.
Step 201: for Reverse Proxy is set up in web application;
Step 202: associating between the address that the reference address and the web that arrange web application at Reverse Proxy apply place virtual machine;
An address a for user is there is because web application is general, also there is the address 1 for virtual machine, then, when user accesses web application by Input Address a, by the Reverse Proxy that this step is set up, user successfully can have access to virtual machine corresponding to web application.
Step 203: minimal load threshold and maximum load threshold value are set, and monitor task is set;
User can according to the demand of oneself, by application management end, threshold value is set, such as: in advance different threshold value 10%, 20%, 50%, 70%, 80% etc. is set at application management end, user can be minimal load threshold by the mode selected 10% selected, 70% is maximum load threshold value, the monitor task that this step is arranged can be the data that monitoring CPU utilance or memory usage etc. relate to the service condition of virtual machine.
Step 204: minimal load threshold and maximum load threshold value are sent to monitoring alarm server;
Step 205: the metadata receiving web application, and trigger cloud Platform Manager, according to the metadata of web application, the virtual machine template comprising agent apparatus is set;
Each web application has its distinctive metadata as application essential information, language environment, virtual machine parameter etc., by this metadata, cloud platform constructs the virtual machine template comprising agent apparatus, this agent apparatus mainly, according to the monitor task that user is arranged, monitoring virtual machine service condition.
Step 206: control cloud Platform Manager, according to the virtual machine template comprising agent apparatus, at least one virtual machine is set up in web application;
Step 207: send monitor task to the agent apparatus at least one virtual machine;
Such as: monitor task is the cpu busy percentage of monitoring virtual machine, and so, the agent apparatus in each virtual machine will monitor the cpu busy percentage of the virtual machine at its place in real time.
Step 208: control the monitor data that monitoring alarm server Receiving Agent device sends;
Step 209: control monitoring alarm server analysis monitor data, contrasts monitor data and minimal load threshold and maximum load threshold value, generation early warning information, and sends early warning information;
Such as: the cpu busy percentage monitored is sent to monitoring alarm server by agent apparatus, monitoring alarm server is analyzed to the cpu busy percentage received, to find out the cpu busy percentage exceeding threshold range, early warning information is sent to application management end for the cpu busy percentage exceeding threshold range.
Step 210: receive the early warning information that monitoring alarm server sends, when early warning information be the load of the first virtual machine at least one virtual machine lower than minimal load threshold time, perform step 211; When early warning information be the load of any virtual machine at least one virtual machine higher than maximum load threshold value time, perform step 212; When early warning information is when the 3rd virtual machine is in abnormality at least one virtual machine, perform step 213;
In this step, early warning information more comprehensively contains the situation that virtual machine may occur, early warning information be the load of the first virtual machine at least one virtual machine lower than minimal load threshold, namely virtual machine load factor is low, needs the utilization rate improving cloud platform resource by reducing virtual machine; Early warning information be the load of any virtual machine at least one virtual machine higher than maximum load threshold value, namely virtual machine load factor is too high, need by increase virtual machine improve web application operational efficiency; Early warning information is that at least one virtual machine, the 3rd virtual machine is in abnormality, namely application goes wrong, the resource of cloud platform is wasted simultaneously, then replace by setting up new virtual machine the virtual machine gone wrong, the resource of the virtual machine that goes wrong is discharged simultaneously, effectively improve resource utilization on cloud platform.
Step 211: control cloud Platform Manager and close the first virtual machine, and the resource discharging that the first virtual machine takies, and perform step 214;
Such as: web application a operates on 5 virtual machines, because the embodiment of the present invention can also arrange equally loaded, make the load factor of each virtual machine basically identical, if have the load factor of 2 virtual machines lower than minimal load threshold 10% in these 5 virtual machines, then application management end can control cloud platform and close this 2 virtual machines, and by remaining for the information dispersion band in these 2 virtual machines 3 virtual machines.
Step 212: control cloud Platform Manager, according to the virtual machine template comprising agent apparatus, for the second virtual machine is set up in application, and performs step 214;
Such as: web application a operates on 5 virtual machines, if have the load factor of 1 virtual machine higher than maximum load threshold value 70% in these 5 virtual machines, then application management end can control newly-built 1 virtual machine of cloud platform, and the partial information in 5 virtual machines is dumped in newly-built virtual machine, make the load factor of these virtual machines balanced as far as possible.
Step 213: be the resource that web application application is new, and perform step 214;
In this step, by triggering cloud Platform Manager, the 4th virtual machine is set up, in the 4th virtual machine, redeploy application, derive the log information in the 3rd virtual machine, and discharge the resource that the 3rd virtual machine takies, such as: web application a operates on 5 virtual machines, wherein, virtual machine 1 can not be normal, then, a newly-built virtual machine, and by the statistical conversion in virtual machine 1, meanwhile, the resource of the cloud platform that release virtual machine 1 takies.
Step 214: associating between the address of apply place virtual machine to reference address and the web of the web application in Reverse Proxy carries out corresponding amendment.
Such as: web application a operates on 5 virtual machines, these 5 virtual machines corresponding address 1, address 2, address 3, address 4 and address 5 respectively, in step 202., web application have been established with address 5 for address a and address 1, address 2, address 3, the address 4 of user and associated.When the virtual machine of address 1 correspondence goes wrong, the virtual machine adding address 6 correspondence of knowing clearly runs web application a, and so, association is above revised as address a and associates with address 5 with address 6, address 2, address 3, address 4 by this step.
As shown in Figure 3, the embodiment of the present invention provides a kind of application management end, and this application management end, comprising:
Setting unit 301, for arranging minimal load threshold and maximum load threshold value, and arranges monitor task;
First control unit 302, for receiving the metadata of application, and triggers the cloud Platform Manager of peripheral hardware, according to the metadata of application, arranges the virtual machine template comprising agent apparatus;
Second control unit 303, for controlling the cloud Platform Manager of peripheral hardware, controls the virtual machine template comprising agent apparatus arranged according to the first control unit 302, at least one virtual machine of peripheral hardware is set up in application; When receiving the triggering of receiving element 305, when the minimal load threshold that the load that early warning information is the first virtual machine at least one virtual machine is arranged lower than setting unit 301, control cloud Platform Manager and close described first virtual machine, and discharge the resource that the first virtual machine takies; When the maximum load threshold value that the load that early warning information is any virtual machine at least one virtual machine is arranged higher than setting unit 301, control the cloud Platform Manager of peripheral hardware, according to the virtual machine template comprising agent apparatus, for the second virtual machine is set up in application;
First transmitting element 304, for sending the monitor task of setting unit 301 setting to the agent apparatus at least one virtual machine of peripheral hardware;
Receiving element 305, for receiving the early warning information corresponding with monitor task, and triggers the second control unit 303.
In an alternative embodiment of the invention, this application management end is connected with the monitoring alarm server of peripheral hardware; Comprise further: the second transmitting element and the 3rd control unit (not shown), wherein,
Second transmitting element, sends to the monitoring alarm server of peripheral hardware for the minimal load threshold that arranged by setting unit 301 and maximum load threshold value;
3rd control unit, performs for the monitoring alarm server controlling peripheral hardware, obtains and analysis monitoring data from the agent apparatus of peripheral hardware, and monitor data and minimal load threshold and maximum load threshold value are contrasted, generate and send early warning information;
Receiving element 305, the early warning information that the monitoring alarm server controlling peripheral hardware for receiving the 3rd control unit sends.
In an alternative embodiment of the invention, above-mentioned application management end, comprises further:
Drift cells (not shown), for when the early warning information that receiving element 305 receives be peripheral hardware at least one virtual machine in the 3rd virtual machine be in abnormality time, for the resource that application application is new, and the cloud Platform Manager triggering peripheral hardware sets up the 4th virtual machine, application is redeployed in the 4th virtual machine, derive the log information in the 3rd virtual machine, and discharge the resource that the 3rd virtual machine takies.
In still another embodiment of the process, be applied as web application, application management end may further include:
Build associative cell (not shown), associating between the address that reference address and web for building web application apply place virtual machine, and association is sent to the Reverse Proxy of peripheral hardware, when web application place virtual machine changes, association is revised accordingly.
As shown in Figure 4, the embodiment of the present invention provides a kind of cloud application telescopic system, and this system comprises: any one application management end 401 above-mentioned and cloud platform 402; Wherein,
In cloud platform 402, cloud Platform Server 4021, for the metadata according to the application in application management end 401, arranges the virtual machine template comprising agent apparatus, and according to comprising the virtual machine template of agent apparatus, at least one virtual machine 4022 is set up in application;
In cloud platform 402, the agent apparatus 40221 in each virtual machine 4022, for receiving the monitor task that application management end 401 sends, and sends monitor data.
As shown in Figure 5, in still another embodiment of the process, said system comprises further: monitoring alarm server 501, for receiving minimal load threshold and the maximum load threshold value of application management end 401 transmission, and receive the monitor data that agent apparatus 40221 in each virtual machine 4022 sends, and analysis monitoring data, monitor data and minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send early warning information to application management end 401.
In an alternative embodiment of the invention, cloud Platform Server 4021, be further used for when the early warning information that application management end 401 receives is when at least one virtual machine 4022, the 3rd virtual machine is in abnormality, receive the triggering that described application management end is described application application new resources, set up the 4th virtual machine, in described 4th virtual machine, redeploy described application, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
In an alternative embodiment of the invention, when being applied as web application, said system comprises further: Reverse Proxy (not shown), associating between the address that reference address and web for storing web application apply place virtual machine, when web application place virtual machine changes, association is revised accordingly.
The scheme that the embodiment of the present invention provides, at least can reach following beneficial effect:
1. by arranging minimal load threshold and maximum load threshold value, and monitor task is set, this step makes user can arrange load threshold and monitor task according to the demand of application itself, and arrange without the need to keeper is unified, by receiving the metadata of application, and trigger cloud Platform Manager, according to the metadata of described application, the virtual machine template comprising agent apparatus is set, that set up for application can by the basis of virtual machine monitored in real time, agent apparatus in virtual machine template is for monitoring virtual machine, namely achieve and monitoring is positioned over virtual machine internal, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for at least one virtual machine is set up in described application, send described monitor task to the agent apparatus in described at least one virtual machine, so far agent apparatus can be monitored virtual machine in real time, by receiving the early warning information corresponding with described monitor task, when described early warning information be the load of the first virtual machine in described at least one virtual machine lower than described minimal load threshold time, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies, when described early warning information be the load of any virtual machine in described at least one virtual machine higher than described maximum load threshold value time, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application, because agent apparatus can monitor virtual machine in real time, so, early warning information also can be received in real time, occupation condition can be modified in time, effectively improve the resource utilization of cloud platform.
2., in embodiment of the present invention system, by arranging monitoring alarm server, and application management end is connected with monitoring alarm server; Meanwhile, minimal load threshold and maximum load threshold value are sent to monitoring alarm server by application management end; Make monitoring alarm server can Receiving Agent device send monitor data, and analysis monitoring data, monitor data and minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send early warning information to application management end, by setting up separately monitoring alarm server, effectively improve the analysis efficiency of monitor data, thus can enable user real-time get cloud platform resource service condition.
3. in embodiments of the present invention, when the virtual machine run occurs abnormal, the early warning information sent by monitoring alarm server is that at least one virtual machine, the 3rd virtual machine is in abnormality, now, application management end can apply for new resource for application, and trigger cloud Platform Manager, set up the 4th virtual machine, application is redeployed in the 4th virtual machine, derive the log information in the 3rd virtual machine, and discharge the resource that the 3rd virtual machine takies, ensure that the normal operation of application, meanwhile, the service efficiency of resource is further increased.
4. in embodiments of the present invention, by arranging Reverse Proxy, and associating between the address of applying place virtual machine at reference address and web that Reverse Proxy arranges web application, when web application place virtual machine changes, association is revised accordingly, make cloud platform not only can deliver common application, it can also deliver web application, and the flexible of web application also can be controlled, make method and system provided by the invention have practicality, and can be widely used.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical factor.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a cloud application telescopic method, is characterized in that, is applied to application management end, arranges minimal load threshold and maximum load threshold value, and arranges monitor task; Also comprise:
Receive the metadata of application, and trigger cloud Platform Manager, according to the metadata of described application, the virtual machine template comprising agent apparatus is set;
Control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, at least one virtual machine is set up in described application;
Send described monitor task to the agent apparatus in described at least one virtual machine;
Receive the early warning information corresponding with described monitor task, when described early warning information be the load of the first virtual machine in described at least one virtual machine lower than described minimal load threshold time, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies; When described early warning information be the load of any virtual machine in described at least one virtual machine higher than described maximum load threshold value time, control described cloud Platform Manager, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application.
2. method according to claim 1, is characterized in that,
Comprise further: monitoring alarm server is set, and described application management end is connected with described monitoring alarm server;
Described minimal load threshold and maximum load threshold value are sent to described monitoring alarm server;
After described transmission monitor task is to the agent apparatus in described at least one virtual machine, before the early warning information that described reception is corresponding with described monitor task, comprise further: control the monitor data that described monitoring alarm server receives the transmission of described agent apparatus, and analysis monitoring data, described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send described early warning information;
The early warning information that described reception is corresponding with described monitor task, comprising: receive the described early warning information that described monitoring alarm server sends.
3. method according to claim 1, is characterized in that, comprises further:
When described early warning information is when in described at least one virtual machine, the 3rd virtual machine is in abnormality, for the resource that described application application is new, and trigger described cloud Platform Manager, set up the 4th virtual machine, described application is redeployed in described 4th virtual machine, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described in be applied as web application, comprise further:
For Reverse Proxy is set up in described web application; And associating between described Reverse Proxy arranges address that reference address and described web that described web applies apply place virtual machine, when described web application place virtual machine changes, described association is revised accordingly.
5. an application management end, is characterized in that, comprising:
Setting unit, for arranging minimal load threshold and maximum load threshold value, and arranges monitor task;
First control unit, for receiving the metadata of application, and triggers the cloud Platform Manager of peripheral hardware, according to the metadata of described application, arranges the virtual machine template comprising agent apparatus;
Second control unit, for controlling the cloud Platform Manager of described peripheral hardware, controls the virtual machine template comprising agent apparatus arranged, at least one virtual machine of peripheral hardware is set up in described application according to described first control unit; When receiving the triggering of receiving element, when the minimal load threshold that the load that described early warning information is the first virtual machine in described at least one virtual machine is arranged lower than described setting unit, control described cloud Platform Manager and close described first virtual machine, and discharge the resource that described first virtual machine takies; When the maximum load threshold value that the load that described early warning information is any virtual machine in described at least one virtual machine is arranged higher than described setting unit, control the cloud Platform Manager of described peripheral hardware, according to the described virtual machine template comprising agent apparatus, for the second virtual machine is set up in described application;
First transmitting element, for sending the monitor task of described setting unit setting to the agent apparatus at least one virtual machine of peripheral hardware;
Receiving element, for receiving the early warning information corresponding with described monitor task, and triggers described second control unit.
6. application management end according to claim 5, is characterized in that,
Be connected with the monitoring alarm server of peripheral hardware; Comprise further: the second transmitting element and the 3rd control unit, wherein,
Described second transmitting element, sends to the monitoring alarm server of described peripheral hardware for the minimal load threshold that arranged by described setting unit and maximum load threshold value;
3rd control unit, monitoring alarm server for controlling described peripheral hardware performs, obtain and analysis monitoring data from the agent apparatus of described peripheral hardware, and described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generate and send early warning information;
Described receiving element, the described early warning information that the monitoring alarm server controlling described peripheral hardware for receiving described 3rd control unit sends;
And/or,
Comprise further: drift cells, for when the early warning information that described receiving element receives be described peripheral hardware at least one virtual machine in the 3rd virtual machine be in abnormality time, for the resource that described application application is new, and the cloud Platform Manager triggering described peripheral hardware sets up the 4th virtual machine, described application is redeployed in described 4th virtual machine, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
7. the application management end according to claim 5 or 6, is characterized in that, described in be applied as web application, comprise further:
Build associative cell, associating between the address that the reference address and the described web that apply for building described web apply place virtual machine, and described association is sent to the Reverse Proxy of peripheral hardware, when described web application place virtual machine changes, described association is revised accordingly.
8. a cloud application telescopic system, is characterized in that, comprising: the arbitrary described application management end of claim 5 to 7 and cloud platform; Wherein,
In described cloud platform, cloud Platform Server, for the metadata according to the application in described application management end, arranges the virtual machine template comprising agent apparatus, and according to the described virtual machine template comprising agent apparatus, at least one virtual machine is set up in described application;
In described cloud platform, the agent apparatus in each virtual machine, for receiving the monitor task that described application management end sends, and sends monitor data.
9. system according to claim 8, is characterized in that, comprises further:
Monitoring alarm server, for receiving minimal load threshold and the maximum load threshold value of the transmission of described application management end, and receive the monitor data of the agent apparatus transmission in each virtual machine described, and analysis monitoring data, described monitor data and described minimal load threshold and maximum load threshold value are contrasted, generate early warning information, and send described early warning information to described application management end;
And/or,
Described cloud Platform Server, be further used for when the early warning information that described application management termination receives is when in described at least one virtual machine, the 3rd virtual machine is in abnormality, receive the triggering that described application management end is described application application new resources, set up the 4th virtual machine, described application is redeployed in described 4th virtual machine, derive the log information in described 3rd virtual machine, and discharge the resource that described 3rd virtual machine takies.
10. the system according to claim 7 or 8, is characterized in that, described in be applied as web application, comprise further:
Reverse Proxy, associating between the address that the reference address and the described web that apply for storing described web applys place virtual machine, when described web application place virtual machine changes, revises accordingly to described association.
CN201510938475.XA 2015-12-15 2015-12-15 Cloud application stretching method, application management side and system Pending CN105553721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510938475.XA CN105553721A (en) 2015-12-15 2015-12-15 Cloud application stretching method, application management side and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510938475.XA CN105553721A (en) 2015-12-15 2015-12-15 Cloud application stretching method, application management side and system

Publications (1)

Publication Number Publication Date
CN105553721A true CN105553721A (en) 2016-05-04

Family

ID=55832661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510938475.XA Pending CN105553721A (en) 2015-12-15 2015-12-15 Cloud application stretching method, application management side and system

Country Status (1)

Country Link
CN (1) CN105553721A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453641A (en) * 2016-11-24 2017-02-22 深圳市小满科技有限公司 Dynamic enterprise cloud service platform expansion method, device and system
CN106909432A (en) * 2017-02-15 2017-06-30 南京赛宁信息技术有限公司 The online ambient intelligence deployment system and method for a kind of online competition platforms of CTF
CN113949638A (en) * 2021-08-26 2022-01-18 中铁第四勘察设计院集团有限公司 Railway communication system capacity expansion and reduction method and system based on cloud platform
WO2022062981A1 (en) * 2020-09-22 2022-03-31 中兴通讯股份有限公司 Resource scheduling method and system, electronic device, and computer-readable storage medium
CN115460106A (en) * 2022-08-30 2022-12-09 南京赛宁信息技术有限公司 Virtual machine monitoring method and system for improving resource utilization rate in network target range

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325192A (en) * 2011-09-30 2012-01-18 上海宝信软件股份有限公司 Cloud computing implementation method and system
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource
CN103581039A (en) * 2013-11-08 2014-02-12 西安电子科技大学宁波信息技术研究院 Dynamic load balancing structure of server cluster and application method thereof
CN103701920A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Method for configuring virtual application server under cloud environment
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN103916396A (en) * 2014-04-10 2014-07-09 电子科技大学 Method for automatic expansion of application examples of cloud platform based on load self-adaption
CN103957237A (en) * 2014-04-03 2014-07-30 华南理工大学 Architecture of elastic cloud
CN104184604A (en) * 2013-05-24 2014-12-03 北京天地超云科技有限公司 Cloud platform basic framework supervision system
CN104243537A (en) * 2013-06-24 2014-12-24 中国银联股份有限公司 Automatic retractable method and system used under cloud computing environment
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
CN104954478A (en) * 2015-06-23 2015-09-30 普元信息技术股份有限公司 System and method for realizing automatic longitudinal scaling of server in cloud computing platform

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325192A (en) * 2011-09-30 2012-01-18 上海宝信软件股份有限公司 Cloud computing implementation method and system
CN104184604A (en) * 2013-05-24 2014-12-03 北京天地超云科技有限公司 Cloud platform basic framework supervision system
CN104243537A (en) * 2013-06-24 2014-12-24 中国银联股份有限公司 Automatic retractable method and system used under cloud computing environment
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource
CN103581039A (en) * 2013-11-08 2014-02-12 西安电子科技大学宁波信息技术研究院 Dynamic load balancing structure of server cluster and application method thereof
CN103701920A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Method for configuring virtual application server under cloud environment
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN103957237A (en) * 2014-04-03 2014-07-30 华南理工大学 Architecture of elastic cloud
CN103916396A (en) * 2014-04-10 2014-07-09 电子科技大学 Method for automatic expansion of application examples of cloud platform based on load self-adaption
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
CN104954478A (en) * 2015-06-23 2015-09-30 普元信息技术股份有限公司 System and method for realizing automatic longitudinal scaling of server in cloud computing platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453641A (en) * 2016-11-24 2017-02-22 深圳市小满科技有限公司 Dynamic enterprise cloud service platform expansion method, device and system
CN106453641B (en) * 2016-11-24 2018-05-22 深圳市小满科技有限公司 Enterprise's cloud service platform dynamic capacity-expanding method, apparatus and system
CN106909432A (en) * 2017-02-15 2017-06-30 南京赛宁信息技术有限公司 The online ambient intelligence deployment system and method for a kind of online competition platforms of CTF
CN106909432B (en) * 2017-02-15 2020-01-10 南京赛宁信息技术有限公司 Online environment intelligent deployment system and method for CTF online competition platform
WO2022062981A1 (en) * 2020-09-22 2022-03-31 中兴通讯股份有限公司 Resource scheduling method and system, electronic device, and computer-readable storage medium
CN113949638A (en) * 2021-08-26 2022-01-18 中铁第四勘察设计院集团有限公司 Railway communication system capacity expansion and reduction method and system based on cloud platform
CN115460106A (en) * 2022-08-30 2022-12-09 南京赛宁信息技术有限公司 Virtual machine monitoring method and system for improving resource utilization rate in network target range
CN115460106B (en) * 2022-08-30 2023-06-30 南京赛宁信息技术有限公司 Virtual machine monitoring method and system for improving resource utilization rate in network target range

Similar Documents

Publication Publication Date Title
CN105553721A (en) Cloud application stretching method, application management side and system
WO2021129367A1 (en) Method and apparatus for monitoring distributed storage system
DE112011100392B4 (en) RESOURCE AFFINITY BY ADDING OR REMOVING QUEEN CARD PAIRS FOR NET ADAPTER WITH SOFTWARE FOR RECEIPT SCALE (RSS)
US10135725B2 (en) Data packet forwarding method, apparatus, and system
CN108256118B (en) Data processing method, device, system, computing equipment and storage medium
CN104836819A (en) Dynamic load balancing method and system, and monitoring and dispatching device
CN105024842A (en) Method and device for capacity expansion of server
CN104486445A (en) Distributed extendable resource monitoring system and method based on cloud platform
CN104883264A (en) Method and system of virtualizing network cards on network processing platform
CN104168310A (en) Method and apparatus for scheduling cloud end vertual server
CN106506269B (en) It executes the method for test assignment, system, calculate equipment and test macro
CN106452966A (en) Multi-gateway management realization method for OpenStack cloud desktop
CN104477776A (en) A role-based crane remote graded monitoring system
CN105262634A (en) Monitoring threshold generation method, device and system
CN103902310A (en) Scheduling system and method for starting of virtual machines
CN102238571B (en) Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof
US20160246270A1 (en) Method of controlling a data center architecture equipment
CN108154343B (en) Emergency processing method and system for enterprise-level information system
CN106878117A (en) A kind of data processing method and device
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user
CN103064740A (en) Guest operating system predict migration system and method
CN102868594B (en) Method and device for message processing
CN105490846A (en) Server virtualization management system and method
CN102890554A (en) Power supply management system and method
CN105511952A (en) Resource self-migration method and system based on cloud computing platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504