CN107977266A - Cloud application dynamic retractility system and method - Google Patents

Cloud application dynamic retractility system and method Download PDF

Info

Publication number
CN107977266A
CN107977266A CN201610940914.5A CN201610940914A CN107977266A CN 107977266 A CN107977266 A CN 107977266A CN 201610940914 A CN201610940914 A CN 201610940914A CN 107977266 A CN107977266 A CN 107977266A
Authority
CN
China
Prior art keywords
application
cluster
machine
application server
application cluster
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
CN201610940914.5A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610940914.5A priority Critical patent/CN107977266A/en
Publication of CN107977266A publication Critical patent/CN107977266A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Factory Administration (AREA)

Abstract

The invention discloses a kind of cloud application dynamic retractility system and method, the system comprises:Data acquisition module, for monitoring the performance parameter of application cluster;Flexible processing module, if the performance parameter for the application cluster reaches default elongation strategy, activate the application server void machine that is pre-equipped with, and in the application server void machine for judging to be pre-equipped with without available, create the new application server void machine being pre-equipped with of default lengthening or shortening the step length;If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one or more activated application server void machine.The present invention achieves the effect for the quick dynamic retractility applied under cloud environment, improves reliabilty and availability of application etc. resource is taken unobvious under conditions of more.

Description

Cloud application dynamic retractility system and method
Technical field
The present invention relates to field of cloud calculation, more particularly to a kind of cloud application dynamic retractility system and method.
Background technology
With the promotion and application of cloud computing, more and more applications are deployed under cloud environment.There is dynamic to adjust for cloud computing The characteristics of whole resource, such as, support the web class applications of dynamic retractility, can be according to the loading condition of application, dynamic adjusts cluster In application server, with improve application reliabilty and availability.
In dynamic adjusts cluster, the time of dynamic retractility is a very crucial performance indicator.In the prior art, dynamic Flexible implementation there are processing time it is longer the defects of, or exist take too many hardware resource the defects of.
The content of the invention
The defects of in order to overcome the above-mentioned prior art, the technical problem to be solved in the present invention is to provide a kind of cloud application dynamic Telescopic system and method, to realize in the case where taking less resource, reduce dynamic retractility processing time.
In order to solve the above technical problems, a kind of cloud application dynamic retractility system in the present invention, including:
Data acquisition module, for monitoring the performance parameter of application cluster;
Flexible processing module, if the performance parameter for the application cluster reaches default elongation strategy, activation is matched somebody with somebody in advance Standby application server void machine, and in the application server void machine for judging to be pre-equipped with without available, create default flexible The new application server void machine being pre-equipped with of step-length;
If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one Platform or more activated application server void machines;Described one or more activated application server void for removing and destroying Machine is different from the application server void machine being pre-equipped with.
Alternatively, the system also includes:
Creation module, for creating the new empty machine of default lengthening or shortening the step length, the application deployment on the new empty machine;
Application is arranged to the operating system self-starting with the new empty machine;
The new empty machine being provided with is added in the application cluster, as the new application being pre-equipped with Server void machine.
Specifically, the creation module, is additionally operable to the new application server void machine being pre-equipped with being set to off Machine state.
Alternatively, the data acquisition module, specifically for monitoring activated each application service in the application cluster The performance parameter of device void machine;
Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
Alternatively, the system also includes:
Configuration module, for the highest application cluster capacity for setting the application cluster and minimum application cluster capacity;
The flexible processing module, be additionally operable to the current application cluster capacity when the application cluster have reached it is described most During high application cluster capacity, stop creating the new application server void machine being pre-equipped with of default lengthening or shortening the step length;
When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application When the preceding application cluster capacity of cluster is less than the default lengthening or shortening the step length with the difference of the highest application cluster capacity, institute is created State the new application server void machine being pre-equipped with of difference;
When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, stop from institute State and one or more activated application server void machine is removed and destroyed in application cluster.
In order to solve the above technical problems, a kind of cloud application dynamic retractility method in the present invention, including step:
Monitor the performance parameter of application cluster;
If the performance parameter of the application cluster reaches default elongation strategy, it is empty to activate the application server being pre-equipped with Machine, and in the application server void machine for judging to be pre-equipped with without available, create the new of default lengthening or shortening the step length and match somebody with somebody in advance Standby application server void machine;
If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one Platform or more activated application server void machines;Described one or more activated application server void for removing and destroying Machine is different from the application server void machine being pre-equipped with.
Alternatively, described the step of creating the new application server void machine being pre-equipped with for presetting lengthening or shortening the step length, including:
The new empty machine of default lengthening or shortening the step length is created, the application deployment on the new empty machine;
Application is arranged to the operating system self-starting with the new empty machine;
The new empty machine being provided with is added in the application cluster, as the new application being pre-equipped with Server void machine.
Specifically, it is described to add the new empty machine being provided with the application cluster, as described new pre- After the step of application server void machine being first equipped with, further include:
The new application server void machine being pre-equipped with is arranged to off-mode.
Alternatively, the step of performance parameter of the monitoring application cluster, including:
Monitor the performance parameter of activated each application server void machine in the application cluster;
Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
Alternatively, the method further includes:
The highest application cluster capacity of the application cluster and minimum application cluster capacity are set;
It is described in the application server void machine for judging to be pre-equipped with without available, create the new of default lengthening or shortening the step length The step of application server void machine being pre-equipped with, further include:
When the current application cluster capacity of the application cluster has reached the highest application cluster capacity, stop wound Build the new application server void machine being pre-equipped with of default lengthening or shortening the step length;
When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application When the preceding application cluster capacity of cluster is less than the default lengthening or shortening the step length with the difference of the highest application cluster capacity, institute is created State the new application server void machine being pre-equipped with of difference;
Described the step of being removed from the application cluster and destroying one or more activated application server void machine, Further include:
When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, answered from described With being removed in cluster and destroy one or more activated application server void machine.
The present invention has the beneficial effect that:
System and method in the embodiment of the present invention, passes through what is be pre-equipped with according to the activation of default elastic telescopic strategy elasticity Application server void machine removes the activated application server void machine of destruction, effectively reduces dynamic retractility processing time; The embodiment of the present invention need not be pre-equipped with application server void machine according to maximum application cluster capacity at the same time, be created by dynamic The new application server void machine being pre-equipped with of default lengthening or shortening the step length is built, effectively reduces the consumption of resource.I.e. in unobvious Under conditions of more occupancy resources, the effect for the quick dynamic retractility applied under cloud environment is achieved, improves the reliability of application With availability etc..
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of cloud application dynamic retractility system in the embodiment of the present invention;
Fig. 2 is application cluster schematic layout pattern when increasing empty machine in the embodiment of the present invention;
Fig. 3 is application cluster schematic layout pattern when empty machine is reduced in the embodiment of the present invention;
Fig. 4 is the flexible process chart of cloud application dynamic retractility system in the embodiment of the present invention;
Fig. 5 is a kind of flow chart of cloud application dynamic retractility method in the embodiment of the present invention.
Embodiment
In order to realize in the case where taking less resource, dynamic retractility processing time is reduced, should the present invention provides a kind of cloud With dynamic retractility system and method, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should manage Solution, specific embodiment described herein do not limit the present invention only to explain the present invention.
As shown in Figure 1, first embodiment of the invention provides a kind of cloud application dynamic retractility system, the system comprises:
Data acquisition module 110, for monitoring the performance parameter of application cluster;
Flexible processing module 120, if the performance parameter for the application cluster reaches default elongation strategy, activation is advance The application server void machine of outfit, and in the application server void machine for judging to be pre-equipped with without available, create default stretches The new application server void machine being pre-equipped with of contracting step-length;
If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one Platform or more activated application server void machines;Described one or more activated application server void for removing and destroying Machine is different from the application server void machine being pre-equipped with.
Specifically, processing module 120 of stretching is in the application server void machine that activation is pre-equipped with, specifically for from advance In the application server void machine for the default lengthening or shortening the step length being equipped with, an application server void machine being pre-equipped with is activated.Wherein, in advance If lengthening or shortening the step length can be 1,2,3 etc., can be set according to practical situations.
System passes through according to default elastic telescopic strategy (including elongation is tactful and shortens strategy) bullet in the embodiment of the present invention Property the application server void machine that is pre-equipped with of activation or remove activated application server void machine of destroying, effectively reduce Dynamic retractility processing time;The embodiment of the present invention need not be pre-equipped with application service according to maximum application cluster capacity at the same time Device void machine, the new application server void machine being pre-equipped with of lengthening or shortening the step length is preset by dynamic creation, effectively reduces resource Consumption.I.e. under conditions of resource is taken unobvious more, the effect for the quick dynamic retractility applied under cloud environment is achieved, is carried High reliabilty and availability of application etc..
That is, on the basis of application server initial cluster, each application cluster in advance more creates one (with bullet Property lengthening or shortening the step length to illustrate exemplified by 1, it is if lengthening or shortening the step length is 2, to create two empty machines in advance, the same below more) empty machine, portion The good application of administration, and application is arranged to, with operating system self-starting, add application cluster, the void machine then is set to shutdown shape State, it is to reduce power consumption and save resource, i.e., stand-by as pre-prepd application server.
The performance data of each application server in acquisition applications cluster, and should according to application dynamic retractility strategy monitoring With performance data, if performance monitoring starts preprepared application server to when needing to increase an application server Empty machine.Start this process duration of empty machine less than 1 minute, significantly shorten the processing time of dynamic retractility, processing time effect Rate improves more than 2 times.And then an empty machine newly is created, good application is disposed, and will apply and be arranged to open certainly with operating system Dynamic, application cluster is added, which is set to off-mode, it is stand-by as pre-prepd application server.
If performance monitoring selects an activation to one application server of reduction is needed from application server cluster Application server void machine, first removed from application server cluster, then destroy this application server void machine.That is in advance The ready application server void machine in off-mode still retains stand-by.
On the basis of above-described embodiment, it is further proposed that the variant embodiment of above-described embodiment, needs what is illustrated herein It is, in order to make description brief, the only description and the difference of above-described embodiment in each variant embodiment.
In one embodiment of the invention, the system can also include:
Creation module, for creating the new empty machine of default lengthening or shortening the step length, the application deployment on the new empty machine;
Application is arranged to the operating system self-starting with the new empty machine;
The new empty machine being provided with is added in the application cluster, as the new application being pre-equipped with Server void machine.
Specifically, the creation module, is additionally operable to the new application server void machine being pre-equipped with being set to off Machine state.
In another embodiment of the present invention, the data acquisition module, specifically for monitoring in the application cluster The performance parameter of activated each application server void machine;
Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
Such as the performance parameter of each application server void machine is subjected to the average performance parameter as application cluster.
In yet another embodiment of the present invention, the system can also include:
Configuration module, for the highest application cluster capacity for setting the application cluster and minimum application cluster capacity;
The flexible processing module, be additionally operable to the current application cluster capacity when the application cluster have reached it is described most During high application cluster capacity, stop creating the new application server void machine being pre-equipped with of default lengthening or shortening the step length;
When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application When the preceding application cluster capacity of cluster is less than the default lengthening or shortening the step length with the difference of the highest application cluster capacity, institute is created State the new application server void machine being pre-equipped with of difference;
When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, stop from institute State and one or more activated application server void machine is removed and destroyed in application cluster.
Specifically, the elastic telescopic strategy of configuration module configuration application, such as configuration monitoring cycle, performance parameter, application Cluster capacity, performance threshold.Wherein, performance parameter includes CPU, memory and the load of storage of application server void machine, application Concurrent user's quantity of system, tcp connections quantity, http request quantity, database connect quantity etc..Wherein application cluster holds Amount, including application cluster minimum application server void machine quantity, maximum application server void machine quantity.
That is, if the performance parameter of application cluster is more than predetermined increase threshold value, the dynamic retractility plan applied Slightly it is set to the quantity of increased virtual application server;
If the performance parameter of application cluster is less than predetermined reduction threshold value, the dynamic retractility strategy applied is set to The quantity of the virtual application server of reduction, i.e. elastic telescopic step-length.
The performance parameter of each application server void machine of data collecting module collected, and the performance parameter gathered is sent To flexible processing module.
The performance data of flexible processing module analysis application, and be compared with dynamic retractility strategy to determine whether meeting Dynamic retractility condition.
If the situation of increase application server, start prepare stand-by application server void machine in advance first, then An empty machine newly is created, disposes good application, and application is arranged to operating system self-starting, addition application cluster, will The void machine is set to off-mode, stand-by as pre-prepd application server.Swash as shown in Fig. 2, application cluster is initially 2 Application server living, while create an application server void machine more, i.e., empty machine 3, disposes good application, adds application cluster, Then off-mode is set to, is prepared in advance stand-by.When performance monitoring meets dynamic retractility increase void machine condition, start first pre- First prepare stand-by empty machine 3, then create a new empty machine again, i.e., empty machine 4, disposes good application, add application cluster, then Off-mode is set to, is prepared in advance stand-by.
If reducing by an empty machine, then the application server void machine of wherein one activation is selected, first from application server Removed in cluster, then destroy this application server void machine.That preprepared application service in off-mode Device void machine still retains stand-by.As shown in figure 3, application cluster is initially the application server of 3 activation, while more establishments one Application server void machine, i.e., empty machine 4, disposes good application, adds application cluster, be then set to off-mode, prepare in advance stand-by. When performance monitoring meets that dynamic retractility reduces empty machine condition, the empty machine of an activation is selected, i.e., empty machine 3, then closes empty machine 3 Machine is simultaneously destroyed.So then there was only two empty machine (empty machine 1 and empty machine 2) activation, empty machine (empty machine 4) shutdown is stand-by.
Flow of the system when dynamic retractility is handled in the embodiment of the present invention is sketched, as shown in figure 4, including following processing:
Step 1, on the basis of application server initial cluster, it is in advance to create an empty machines more, dispose good application, and will Using being arranged to operating system self-starting, application cluster is added, the void machine is then set to off-mode, prepares in advance and treats With.
Step 2, the performance data of each application of collection are into application performance database.
Step 3, configure the dynamic retractility strategy applied, including cluster capacity, performance parameter, performance threshold, once stretches Empty machine quantity of contracting etc..
Step 4, the performance monitoring applied according to the dynamic retractility strategy of application.
If step 5, the threshold value for reaching dynamic retractility, judge it is upper limit threshold, or offline threshold value.If the upper limit Threshold value, then be to need to increase empty machine, is otherwise to need to reduce empty machine.If the empty machine of increase, into next step, otherwise enters step Rapid 8.
Step 6, judge whether current application server cluster reaches application cluster maximum capacity, if had reached most Large capacity, then do not start empty machine.If being also not reaching to maximum capacity, stand-by empty machine is prepared in startup in advance, subsequently into In next step.
Step 7, judge whether current application server cluster reaches application cluster maximum capacity, should if had reached With cluster maximum capacity, then new empty machine is not increased.If being also not reaching to maximum capacity, a new empty machine, portion are created The good application of administration, and application is arranged to, with operating system self-starting, add application cluster, which is set to off-mode, It is stand-by as pre-prepd application server.
Step 8, judge whether current application server cluster reaches application cluster capacity minimum value, should if had reached With cluster minimum capacity, then empty machine is no longer reduced.If being also not reaching to application cluster minimum capacity, from application server collection The application server void machine of one activation of selection, first removes from cluster, then destroys the void machine, prepared in advance and treat originally in group Application server void machine still retains stand-by.
Based on the system of the various embodiments described above of the present invention, the present invention further provides a kind of cloud application dynamic retractility method, The method includes the steps:
S501, monitors the performance parameter of application cluster;
S502, if the performance parameter of the application cluster reaches default elongation strategy, activates the application service being pre-equipped with Device void machine, and in the application server void machine for judging to be pre-equipped with without available, creates the new pre- of default lengthening or shortening the step length The application server void machine being first equipped with;
If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one Platform or more activated application server void machines;Described one or more activated application server void for removing and destroying Machine is different from the application server void machine being pre-equipped with.
Method passes through according to default elastic telescopic strategy (including elongation is tactful and shortens strategy) bullet in the embodiment of the present invention Property the application server void machine that is pre-equipped with of activation or remove activated application server void machine of destroying, effectively reduce Dynamic retractility processing time;The embodiment of the present invention need not be pre-equipped with application service according to maximum application cluster capacity at the same time Device void machine, the new application server void machine being pre-equipped with of lengthening or shortening the step length is preset by dynamic creation, effectively reduces resource Consumption.I.e. under conditions of resource is taken unobvious more, the effect for the quick dynamic retractility applied under cloud environment is achieved, is carried High reliabilty and availability of application etc..
In one embodiment of the invention, the new application server being pre-equipped with for creating default lengthening or shortening the step length The step of empty machine, including:
The new empty machine of default lengthening or shortening the step length is created, the application deployment on the new empty machine;
Application is arranged to the operating system self-starting with the new empty machine;
The new empty machine being provided with is added in the application cluster, as the new application being pre-equipped with Server void machine.
Furtherly, it is described to add the new empty machine being provided with the application cluster, as described new After the step of application server void machine being pre-equipped with, further include:
The new application server void machine being pre-equipped with is arranged to off-mode.
In another embodiment of the present invention, the step of performance parameter of the monitoring application cluster, including:
Monitor the performance parameter of activated each application server void machine in the application cluster;
Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
In yet another embodiment of the present invention, the method further includes:
The highest application cluster capacity of the application cluster and minimum application cluster capacity are set;
It is described in the application server void machine for judging to be pre-equipped with without available, create the new of default lengthening or shortening the step length The step of application server void machine being pre-equipped with, further include:
When the current application cluster capacity of the application cluster has reached the highest application cluster capacity, stop wound Build the new application server void machine being pre-equipped with of default lengthening or shortening the step length;
When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application When the preceding application cluster capacity of cluster is less than the default lengthening or shortening the step length with the difference of the highest application cluster capacity, institute is created State the new application server void machine being pre-equipped with of difference;
Described the step of being removed from the application cluster and destroying one or more activated application server void machine, Further include:
When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, answered from described With being removed in cluster and destroy one or more activated application server void machine.
The cloud application dynamic retractility method described with reference to example disclosed herein, can be embodied directly in hardware, by handling The software module or the two combination that device performs.For example, one or more of functional block diagram functional block diagram shown in Fig. 1 and/ Or one of functional block diagram and/or multiple combinations (for example, flexible processing module), it both can correspond to computer program flow Each software module, can also correspond to each hardware module.These software modules, can correspond respectively to shown in Fig. 4 and Fig. 5 Each step.These hardware modules for example cure these software modules and reality using field programmable gate array (FPGA) It is existing.
Software module can be located at RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, post Storage, hard disk, mobile hard disk, the storage medium of CD-ROM or any other form known in the art.One kind can be deposited Storage media lotus root is connected to processor, so as to enable a processor to from the read information, and can be write to the storage medium Information;Or the storage medium can be the part of processor.Pocessor and storage media can be located at special integrated electricity Lu Zhong.The software module can store the storage that can also be stored in pluggable mobile terminal in a memory in the mobile terminal In card.For example, if mobile terminal is using the MEGA-SIM cards of larger capacity or the flash memory device of large capacity, the software Module is storable in the flash memory device of the MEGA-SIM cards or large capacity.
One or more combination (examples of one or more of functional block diagram for Fig. 1 descriptions and/or functional block diagram Such as, flexible processing module), it is possible to achieve it is general processor, the Digital Signal Processing for performing function described herein It is device (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components or it is any appropriately combined.The functional block diagram described for Fig. 1 and Fig. 3 One or more of and/or functional block diagram one or more combinations, be also implemented as the combination of computer equipment, example Such as, the combination of DSP and microprocessor, multi-microprocessor, communicate with DSP the one or more microprocessors or any combined Other this configurations.
Although This application describes the particular example of the present invention, those skilled in the art can not depart from the present invention generally Variant of the invention is designed on the basis of thought.
Those skilled in the art are under the inspiration that the technology of the present invention is conceived, on the basis of present invention is not departed from, also Various improvement can be made to the method for the present invention, this still falls within the scope and spirit of the invention.

Claims (10)

  1. A kind of 1. cloud application dynamic retractility system, it is characterised in that the system comprises:
    Data acquisition module, for monitoring the performance parameter of application cluster;
    Flexible processing module, if the performance parameter for the application cluster reaches default elongation strategy, activates what is be pre-equipped with Application server void machine, and in the application server void machine for judging to be pre-equipped with without available, create default lengthening or shortening the step length The new application server void machine being pre-equipped with;
    If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one or More activated application server void machines;It is described remove and one or more activated application server void machine for destroying with The application server void machine being pre-equipped with is different.
  2. 2. the system as claimed in claim 1, it is characterised in that the system also includes:
    Creation module, for creating the new empty machine of default lengthening or shortening the step length, the application deployment on the new empty machine;
    Application is arranged to the operating system self-starting with the new empty machine;
    The new empty machine being provided with is added in the application cluster, as the new application service being pre-equipped with Device void machine.
  3. 3. system as claimed in claim 2, it is characterised in that the creation module, is additionally operable to described new being pre-equipped with Application server void machine be arranged to off-mode.
  4. 4. the system as claimed in claim 1, it is characterised in that the data acquisition module, specifically for monitoring the application The performance parameter of activated each application server void machine in cluster;
    Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
  5. 5. the system as described in any one in claim 1-4, it is characterised in that the system also includes:
    Configuration module, for the highest application cluster capacity for setting the application cluster and minimum application cluster capacity;
    The flexible processing module, is additionally operable to answer when the current application cluster capacity of the application cluster has reached the highest During with cluster capacity, stop creating the new application server void machine being pre-equipped with of default lengthening or shortening the step length;
    When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application cluster The difference of preceding application cluster capacity and highest application cluster capacity when being less than the default lengthening or shortening the step length, create the difference The new application server void machine being pre-equipped with of value;
    When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, stop answering from described With being removed in cluster and destroy one or more activated application server void machine.
  6. A kind of 6. cloud application dynamic retractility method, it is characterised in that the method includes the steps:
    Monitor the performance parameter of application cluster;
    If the performance parameter of the application cluster reaches default elongation strategy, the application server void machine being pre-equipped with is activated, and In the application server void machine for judging to be pre-equipped with without available, create default lengthening or shortening the step length it is new be pre-equipped with should With server void machine;
    If the performance parameter of the application cluster, which reaches default, shortens strategy, removed from the application cluster and destroy one or More activated application server void machines;It is described remove and one or more activated application server void machine for destroying with The application server void machine being pre-equipped with is different.
  7. 7. method as claimed in claim 6, it is characterised in that it is described create default lengthening or shortening the step length it is new be pre-equipped with should The step of with server void machine, including:
    The new empty machine of default lengthening or shortening the step length is created, the application deployment on the new empty machine;
    Application is arranged to the operating system self-starting with the new empty machine;
    The new empty machine being provided with is added in the application cluster, as the new application service being pre-equipped with Device void machine.
  8. 8. the method for claim 7, it is characterised in that described that the new empty machine being provided with is added into described answer With in cluster, after the step of new application server void machine being pre-equipped with, further include:
    The new application server void machine being pre-equipped with is arranged to off-mode.
  9. 9. method as claimed in claim 6, it is characterised in that it is described monitoring application cluster performance parameter the step of, including:
    Monitor the performance parameter of activated each application server void machine in the application cluster;
    Based on the performance parameter of each application server void machine, the performance parameter of the application cluster is determined.
  10. 10. the method as described in any one in claim 6-9, it is characterised in that the method further includes:
    The highest application cluster capacity of the application cluster and minimum application cluster capacity are set;
    It is described in the application server void machine for judging to be pre-equipped with without available, create the new advance of default lengthening or shortening the step length The step of application server void machine of outfit, further include:
    When the current application cluster capacity of the application cluster has reached the highest application cluster capacity, stop creating pre- If the new application server void machine being pre-equipped with of lengthening or shortening the step length;
    When the current application cluster capacity of the application cluster is not up to the highest application cluster capacity, and the application cluster The difference of preceding application cluster capacity and highest application cluster capacity when being less than the default lengthening or shortening the step length, create the difference The new application server void machine being pre-equipped with of value;
    Described the step of being removed from the application cluster and destroying one or more activated application server void machine, also wrap Include:
    When the current application cluster capacity of the application cluster has reached the minimum application cluster capacity, from the application collection Removed in group and destroy one or more activated application server void machine.
CN201610940914.5A 2016-10-25 2016-10-25 Cloud application dynamic retractility system and method Pending CN107977266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610940914.5A CN107977266A (en) 2016-10-25 2016-10-25 Cloud application dynamic retractility system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610940914.5A CN107977266A (en) 2016-10-25 2016-10-25 Cloud application dynamic retractility system and method

Publications (1)

Publication Number Publication Date
CN107977266A true CN107977266A (en) 2018-05-01

Family

ID=62004059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610940914.5A Pending CN107977266A (en) 2016-10-25 2016-10-25 Cloud application dynamic retractility system and method

Country Status (1)

Country Link
CN (1) CN107977266A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160133A1 (en) * 2004-01-16 2005-07-21 Greenlee Gordan G. Virtual clustering and load balancing servers
CN102868763A (en) * 2012-10-08 2013-01-09 山东省计算中心 Energy-saving dynamic adjustment method of virtual web application cluster in cloud computing environment
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN104639361A (en) * 2013-11-15 2015-05-20 中兴通讯股份有限公司 Network service template management method and device
CN104796349A (en) * 2015-04-29 2015-07-22 云南电网有限责任公司 Automatic transverse load and longitudinal load balancing method based on virtualization technology
CN104836819A (en) * 2014-02-10 2015-08-12 阿里巴巴集团控股有限公司 Dynamic load balancing method and system, and monitoring and dispatching device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160133A1 (en) * 2004-01-16 2005-07-21 Greenlee Gordan G. Virtual clustering and load balancing servers
CN102868763A (en) * 2012-10-08 2013-01-09 山东省计算中心 Energy-saving dynamic adjustment method of virtual web application cluster in cloud computing environment
CN104639361A (en) * 2013-11-15 2015-05-20 中兴通讯股份有限公司 Network service template management method and device
CN104836819A (en) * 2014-02-10 2015-08-12 阿里巴巴集团控股有限公司 Dynamic load balancing method and system, and monitoring and dispatching device
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN104796349A (en) * 2015-04-29 2015-07-22 云南电网有限责任公司 Automatic transverse load and longitudinal load balancing method based on virtualization technology

Similar Documents

Publication Publication Date Title
CN103810020B (en) Virtual machine elastic telescopic method and device
CN106250139B (en) Starting method, system and intelligent self-service system based on lucidification disposal intelligent terminal
CN106603618A (en) Cloud platform-based application auto scaling method
CN108804232B (en) Method, host server and system for supporting cloud FPGA deployment
CN107273182A (en) A kind of resources of virtual machine dynamic expanding method and system
CN106354537A (en) Accelerated start method for desktop starter and system thereof
CN108259522A (en) A kind of bullet contracting method and device of PaaS platform containerization application
CN111289873A (en) Chip testing method, chip parameter setting method and chip
CN106708927A (en) Duplicate removal processing method and duplicate removal processing device for files
CN106557404B (en) Application control method and mobile terminal
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN104991866A (en) Debugging method and device of JS program
CN107977266A (en) Cloud application dynamic retractility system and method
CN101145121A (en) Computer test method
CN111130834A (en) Method and device for processing network elasticity strategy
CN113778650A (en) Task scheduling method and device, electronic equipment and storage medium
WO2014062157A1 (en) Computing systems and methods for controlling a computing system
CN107239543A (en) Application icon processing method and processing device
CN114401204B (en) Link pool management method, device, computer equipment and storage medium
CN114610446B (en) Method, device and system for automatically injecting probe
CN110287182A (en) A kind of data comparison method, apparatus, equipment and the terminal of big data
CN112749304B (en) Method for limiting computing power of server, server and storage medium
CN114116275A (en) Terminal abnormity repairing method and device, storage medium and electronic equipment
CN107611509A (en) A kind of intelligent terminal and its charging method and the device with store function
CN107168804A (en) A kind of memory source management method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20180501