CN110209497A - A kind of method and system of the scalable appearance of host resource dynamic - Google Patents

A kind of method and system of the scalable appearance of host resource dynamic Download PDF

Info

Publication number
CN110209497A
CN110209497A CN201910426003.4A CN201910426003A CN110209497A CN 110209497 A CN110209497 A CN 110209497A CN 201910426003 A CN201910426003 A CN 201910426003A CN 110209497 A CN110209497 A CN 110209497A
Authority
CN
China
Prior art keywords
destination host
plan
resource
host
capacity reducing
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.)
Granted
Application number
CN201910426003.4A
Other languages
Chinese (zh)
Other versions
CN110209497B (en
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.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN201910426003.4A priority Critical patent/CN110209497B/en
Publication of CN110209497A publication Critical patent/CN110209497A/en
Application granted granted Critical
Publication of CN110209497B publication Critical patent/CN110209497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method of the scalable appearance of host resource dynamic, the real-time service condition of resource including detecting destination host;When the resource service condition for detecting destination host has met preset dilatation condition or capacity reducing condition, then resource service condition is sent to target person with the formation of message and notifies to formulate corresponding expansion plan or capacity reducing plan;After the application service to be checked for measuring destination host is suspended and gets the corresponding expansion plan of formulation or capacity reducing plan, system backup is carried out to destination host;After the completion of work to be determined to target host systems backup, expansion plan or capacity reducing plan are executed to destination host, and after the completion of pending expansion plan or capacity reducing plan, the application service and inspection that notice target person starting destination host is suspended.Implement the present invention, can overcome existing host resource uses un-reasonable phenomenon, being adjusted flexibly and saving for host resource is realized, to reduce enterprise IT resource purchasing cost.

Description

A kind of method and system of the scalable appearance of host resource dynamic
Technical field
The present invention relates to the method for computer O&M technical field more particularly to a kind of scalable appearance of host resource dynamic and it is System.
Background technique
The use of virtual platform host resource always exists un-reasonable phenomenon, can not be provided according to actual use demand The reasonable distribution in source, this result in host resource using waste and it is not flexible, cause enterprise IT resource purchasing increased costs etc. to ask Topic.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that provide a kind of scalable appearance of host resource dynamic method and System, can overcome existing host resource uses un-reasonable phenomenon, being adjusted flexibly and saving for host resource is realized, to subtract Few enterprise IT resource purchasing cost.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of method of the scalable appearance of host resource dynamic, It the described method comprises the following steps:
Detect the real-time service condition of resource of destination host;
When the resource service condition for detecting the destination host has met preset dilatation condition or capacity reducing condition, then The resource service condition for having met preset dilatation condition or capacity reducing condition in the destination host is sent with the formation of message To target person, and the target person is notified to formulate corresponding expansion plan or capacity reducing plan;
The application service to be checked for measuring the destination host is suspended by the target person, and gets the target person After member formulates corresponding expansion plan or capacity reducing plan, system backup is carried out to the destination host;
After the completion of the work to be determined for carrying out system backup to the destination host, to acquired in destination host execution The expansion plan arrived or capacity reducing plan, and after the completion of the work of performed expansion plan or capacity reducing plan to be determined, notify institute It states target person and starts the application service and inspection that the destination host is suspended.
Wherein, the method further includes:
It detects the destination host and has executed the application service situation started after expansion plan or capacity reducing plan, if it is detected that The application service situation of destination host be normal, it is determined that the destination host executes expansion plan or capacity reducing plan pay; Conversely, if it is detected that destination host application service situation be it is abnormal, it is standby to obtain the completed system of the destination host Part simultaneously executes Backup and Restore, and the destination host is made to be restored back to the state before expansion plan or capacity reducing plan execution.
Wherein, the method further includes:
The destination host is shown by chart or text the resource of expansion plan or capacity reducing plan has been executed use feelings Condition.
Wherein, the resource service condition of the destination host is to corresponding by calling in preset IT service management ITSM After title of the api interface to obtain the destination host, according to the title of accessed destination host, get including CPU Utilization rate, memory usage, the relevant information of disk space size and business processing quantity;
The target person is to obtain the mesh by calling corresponding api interface in preset IT service management ITSM After the title for marking host, according to the title of accessed destination host, obtained from preset configuration management database CMDB To the relevant information for carrying name, operating right, mailbox and phone personnel;
The preset dilatation condition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than second Upper limit threshold;The preset capacity reducing condition includes CPU usage less than the first lower threshold, and memory usage is less than second Lower threshold.
Wherein, the expansion plan or capacity reducing plan include: performance objective, execute time and CPU usage, is interior Deposit adjusted value one or more among occupancy, disk space size and business processing quantity.
It is wherein, described that carry out system backup to the destination host be to realize the standby of system data by way of snapshot Part.
The embodiment of the invention also provides a kind of systems of the scalable appearance of host resource dynamic, comprising:
Resources measurement unit, the real-time service condition of resource for detecting destination host;
The scalable appearance preparatory unit of resource, for that ought detect that it is preset that the resource service condition of the destination host has met When dilatation condition or capacity reducing condition, then the resource for having met preset dilatation condition or capacity reducing condition in the destination host is made Target person is sent to the formation of message with situation, and the target person is notified to formulate corresponding expansion plan or capacity reducing meter It draws;
System backup unit is suspended for the application service to be checked for measuring the destination host by the target person, with And get after the target person formulates corresponding expansion plan or capacity reducing plan, it is standby that system is carried out to the destination host Part;
The scalable appearance of resource executes and Inspection Notices member, for the work to be determined for carrying out system backup to the destination host After the completion of work, accessed expansion plan or capacity reducing plan, and performed dilatation to be determined are executed to the destination host After the completion of the work of plan or capacity reducing plan, the target person is notified to start application service that the destination host is suspended simultaneously It checks.
Wherein, further includes:
Service inspection unit after the scalable appearance of resource executes, has executed expansion plan or capacity reducing for detecting the destination host The application service situation started after plan, if it is detected that the application service situation of destination host be normal, it is determined that the mesh It marks host and executes expansion plan or capacity reducing plan pay;Conversely, if it is detected that destination host application service situation be it is abnormal, It then obtains the completed system backup of the destination host and executes Backup and Restore, the destination host is made to be restored back to expansion plan Or the state before capacity reducing plan execution.
Wherein, further includes:
The scalable appearance unit of showing resource has executed expansion plan for showing the destination host by chart or text Or the resource service condition of capacity reducing plan.
Wherein, the resource service condition of the destination host is to corresponding by calling in preset IT service management ITSM After title of the api interface to obtain the destination host, according to the title of accessed destination host, get including CPU Utilization rate, memory usage, the relevant information of disk space size and business processing quantity;
The target person is to obtain the mesh by calling corresponding api interface in preset IT service management ITSM After the title for marking host, according to the title of accessed destination host, obtained from preset configuration management database CMDB To the relevant information for carrying name, operating right, mailbox and phone personnel;
The preset dilatation condition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than second Upper limit threshold;The preset capacity reducing condition includes CPU usage less than the first lower threshold, and memory usage is less than second Lower threshold.
The implementation of the embodiments of the present invention has the following beneficial effects:
In the embodiment of the present invention, by the resource service condition (such as CPU, memory, the disk space that obtain destination host in real time Size and business processing quantity etc.) and matched with default rule (such as dilatation condition or capacity reducing condition), by what is matched As a result target person is notified to formulate corresponding expansion plan or capacity reducing plan with the formation of message, realizes and is carried out in the designated time The adjustment of resource simultaneously checks verifying, it is ensured that the dynamic reasonable employment of resource, to overcome the use of existing host resource not Reasonable phenomenon realizes being adjusted flexibly and saving for host resource, reduces enterprise IT resource purchasing cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without any creative labor, according to These attached drawings obtain other attached drawings and still fall within scope of the invention.
Fig. 1 is a kind of flow chart of the method for the scalable appearance of host resource dynamic provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the system of the scalable appearance of host resource dynamic provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing Step ground detailed description.
As shown in Figure 1, in the embodiment of the present invention, a kind of method of the scalable appearance of host resource dynamic provided, the side Method the following steps are included:
Step S1, the real-time service condition of resource of destination host is detected;
Detailed process is that the resource service condition of destination host is to first pass through in preset IT service management ITSM to call phase Api interface is answered further according to the title of accessed destination host, to get including CPU after obtaining the title of destination host Utilization rate, memory usage, the relevant information of disk space size and business processing quantity.I.e., it is possible to pass through virtual platform The synchronizing information for realizing destination host, obtains the real-time service condition of the corresponding resource of destination host, which includes But it is not limited to the relevant informations such as CPU usage, memory usage, disk space size and business processing quantity.
Step S2, when the resource service condition for detecting the destination host has met preset dilatation condition or capacity reducing item When part, then the resource service condition of preset dilatation condition or capacity reducing condition will be met in the destination host with the shape of message At being sent to target person, and the target person is notified to formulate corresponding expansion plan or capacity reducing plan;
Detailed process be can customize multiple rule condition (including regular duration, the peak value of CPU usage, average value, Peak value, the average value of memory usage, two class resources with or relationship etc.), the parameter which is included can be with CMDB matching management platform intergration, Different Rule condition can carry be applied to different business systems (use topology exhibits, can be divided into Application system, subsystem, environment, module etc.) or particular host, regulation management support, which increases, deletes, changing, looking into etc., to be operated.Here, CPU usage and memory usage can be only provided with by needing the parameter of matched rule condition.Therefore, in one example, in advance The dilatation condition of definition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than the second upper limit threshold;In advance The capacity reducing condition of definition includes CPU usage less than the first lower threshold, and memory usage is less than the second lower threshold.That is mesh It marks CPU usage in the resource service condition of host and is greater than the first upper limit threshold, and memory usage is greater than the second upper limit threshold, Trigger dilatation task;CPU usage is less than the first lower threshold in the resource service condition of destination host, and memory usage is small In the second lower threshold, capacity reducing task is triggered.
The resource service condition for having met preset dilatation condition or capacity reducing condition in destination host is extracted with message Formation is sent to target person, and target person is notified to formulate corresponding expansion plan or capacity reducing plan.It should be noted that mesh Mark personnel be also after calling title of the corresponding api interface to obtain destination host in by preset IT service management ITSM, According to the title of accessed destination host, got from preset configuration management database CMDB.The target person Also carry the relevant informations such as name, operating right, mailbox and phone, so as to ensure message can by mail and/or Short message notifies.Certainly, message content should not be limited only to meet preset dilatation condition or capacity reducing item in destination host The resource service condition of part can also include answering in the rule, destination host place cluster, destination host of destination host carry The task dispatching etc. generated with a key on systematic name, the purposes of destination host, destination host.
If target person obtains dilatation it is understood that the resource service condition of destination host triggers dilatation condition The notice of task, and formulate expansion plan;Likewise, if the resource service condition of destination host triggers capacity reducing condition, target Personnel obtain the notice of capacity reducing task, and formulate capacity reducing plan.Wherein, expansion plan or capacity reducing plan include performance objective, It executes one or more among time and CPU usage, memory usage, disk space size and business processing quantity Adjusted value.Certainly, expansion plan or capacity reducing plan can divide a script or multiple scripts to be write and periodically executed, to expire Foot difference running environment and work requirements.
Step S3, the application service to be checked for measuring the destination host is suspended by the target person, and gets institute It states after target person formulates corresponding expansion plan or capacity reducing plan, system backup is carried out to the destination host;
Detailed process is that before expansion plan or capacity reducing plan execute, the application service of destination host should be by target person Member or other personnel pause, while system backup is carried out to destination host, to ensure that safety is extensive after the scalable appearance failure of destination host It is multiple.In one example, carrying out system backup to mark host is the backup by way of snapshot to realize system data.Snapshot As the necessary condition of dilatation or capacity reducing failure rollback, snapshot can restore in time target master in the case where dilatation or capacity reducing failure The system application of machine avoids destination host because change causes to paralyse.
Step S4, after the completion of the work to be determined for carrying out system backup to the destination host, the destination host is held The accessed expansion plan of row or capacity reducing plan, and the work of performed expansion plan or capacity reducing plan to be determined is completed Afterwards, the target person is notified to start the application service that the destination host is suspended and inspection.
Detailed process is, after the completion of the work of system backup, according to expansion plan or capacity reducing performance objective in the works, holds One or more tune among row time and CPU usage, memory usage, disk space size and business processing quantity Whole value realizes the scalable appearance of destination host.Certainly, if expansion plan or capacity reducing plan execute failure, it can obtain and push in time To target person.
After the completion of the work of pending expansion plan or capacity reducing plan, notice target person starting destination host is suspended Application service simultaneously checks, to ensure that destination host can reach scalable appearance task execution effect.Therefore, scalable appearance task is held The inspection of row effect, the specific steps of this method include: to start after detection destination host has executed expansion plan or capacity reducing plan Application service situation, if it is detected that the application service situation of destination host be normal, it is determined that destination host executes dilatation Plan or capacity reducing plan pay;Conversely, if it is detected that destination host application service situation be it is abnormal, obtain destination host Completed system backup simultaneously executes Backup and Restore, and destination host is made to be restored back to the shape before expansion plan or capacity reducing plan execution State, the state to restore destination host as former state, i.e., before recovery destination host snapshot.
In embodiments of the present invention, in order to the resource service condition of real time inspection destination host (including scalable appearance before and Later), therefore the resource use that destination host has executed expansion plan or capacity reducing plan can be shown by chart or text Situation;Wherein, chart includes but is not limited to table, histogram, pie chart etc..
The application scenarios of the method for the scalable appearance of one of embodiment of the present invention host resource dynamic are described further:
CPU usage, EMS memory occupation of the corresponding api interface to destination host are called in certain virtual platform combination ITSM monitoring The information such as rate are monitored in real time, while the dilatation condition by pre-defining or the matching of capacity reducing condition real-time perfoming.At this point, Once destination host when running large-scale service application, CPU usage hourly is greater than 90% (the first upper limit threshold), and interior Occupancy is deposited greater than 16G (the second upper limit threshold), then destination host triggers dilatation task, i.e. the resource service condition of destination host Preset dilatation condition is met.
Title of the virtual platform according to destination host, the target got from preset configuration management database CMDB Personnel, which carries the relevant informations such as name, operating right, mailbox and phone, so that having met in destination host The resource service condition of preset dilatation condition is handed down to target person by mail and/or short message, and notice target person is carried out Dilatation prepares.
The target person being notified formulates expansion plan, specifically: it determines that evening 12:00 is changed, changes disk Space size target value is to increase disk space 100G.Once it is determined that virtual platform can notify destination host to be related to automatically All affected members include internal control person, database administrator, supplier technician etc..
Before executing expansion plan, target person manually or automatically stops the application service on destination host.It needs to do Snapshot.Therefore, the virtual platform application service to be checked for measuring destination host is suspended by target person, and gets mesh After mark personnel formulate corresponding expansion plan, snapshot is carried out to destination host.
After the completion of the snapshot work of destination host to be determined, the dilatation meter of disk space 100G is executed to destination host It draws, and after the completion of the work of the expansion plan to be determined for executing disk space 100G, notice target person starts destination host quilt The application service and inspection of pause.If the application service situation of destination host is normal, it is determined that destination host dilatation success;Instead It executes Backup and Restore to snapshot, is restored back to destination host fastly if the application service situation of destination host is exception According to the state before backup.Certainly, after destination host dilatation success, the resource service condition of destination host can be written back into It is saved in CMDB, so as to subsequent query.In entire dilation process, target master can be shown by chart or text The resource service condition of machine.
As shown in Fig. 2, in the embodiment of the present invention, a kind of system of the scalable appearance of host resource dynamic provided, comprising:
Resources measurement unit 10, the real-time service condition of resource for detecting destination host;
The scalable appearance preparatory unit 20 of resource, for that ought detect that it is default that the resource service condition of the destination host has met Dilatation condition or capacity reducing condition when, then will meet the resource of preset dilatation condition or capacity reducing condition in the destination host Service condition is sent to target person with the formation of message, and the target person is notified to formulate corresponding expansion plan or capacity reducing Plan;
System backup unit 30 is suspended for the application service to be checked for measuring the destination host by the target person, And get after the target person formulates corresponding expansion plan or capacity reducing plan, system is carried out to the destination host Backup;
The scalable appearance of resource executes and Inspection Notices member 40, carries out system backup to the destination host for be determined After the completion of work, accessed expansion plan or capacity reducing plan, and performed expansion to be determined are executed to the destination host After the completion of the work for holding plan or capacity reducing plan, the target person is notified to start the application service that the destination host is suspended And it checks.
Wherein, further includes:
Service inspection unit 50 after the scalable appearance of resource executes, has executed expansion plan or contracting for detecting the destination host The application service situation started after appearance plan, if it is detected that the application service situation of destination host be normal, it is determined that it is described Destination host executes expansion plan or capacity reducing plan pay;Conversely, if it is detected that destination host application service situation be it is different Often, then it obtains the completed system backup of the destination host and executes Backup and Restore, the destination host is made to be restored back to dilatation State before plan or capacity reducing plan execution.
Wherein, further includes:
The scalable appearance unit 60 of showing resource, has executed based on dilatation by showing the destination host by chart or text Draw or capacity reducing plan resource service condition.
Wherein, the resource service condition of the destination host is to corresponding by calling in preset IT service management ITSM After title of the api interface to obtain the destination host, according to the title of accessed destination host, get including CPU Utilization rate, memory usage, the relevant information of disk space size and business processing quantity;
The target person is to obtain the mesh by calling corresponding api interface in preset IT service management ITSM After the title for marking host, according to the title of accessed destination host, obtained from preset configuration management database CMDB To the relevant information for carrying name, operating right, mailbox and phone personnel;
The preset dilatation condition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than second Upper limit threshold;The preset capacity reducing condition includes CPU usage less than the first lower threshold, and memory usage is less than second Lower threshold.
The implementation of the embodiments of the present invention has the following beneficial effects:
In the embodiment of the present invention, by the resource service condition (such as CPU, memory, the disk space that obtain destination host in real time Size and business processing quantity etc.) and matched with default rule (such as dilatation condition or capacity reducing condition), by what is matched As a result target person is notified to formulate corresponding expansion plan or capacity reducing plan with the formation of message, realizes and is carried out in the designated time The adjustment of resource simultaneously checks verifying, it is ensured that the dynamic reasonable employment of resource, to overcome the use of existing host resource not Reasonable phenomenon realizes being adjusted flexibly and saving for host resource, reduces enterprise IT resource purchasing cost.
It is worth noting that, included each unit is only drawn according to function logic in the above system embodiment Point, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each functional unit is specific Title is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can be stored in a computer readable storage medium, The storage medium, such as ROM/RAM, disk, CD.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of method of the scalable appearance of host resource dynamic, which is characterized in that the described method comprises the following steps:
Detect the real-time service condition of resource of destination host;
When the resource service condition for detecting the destination host has met preset dilatation condition or capacity reducing condition, then by institute It states and has met the resource service condition of preset dilatation condition or capacity reducing condition in destination host mesh is sent to the formation of message Mark personnel, and the target person is notified to formulate corresponding expansion plan or capacity reducing plan;
The application service to be checked for measuring the destination host is suspended by the target person, and gets the target person institute After formulating corresponding expansion plan or capacity reducing plan, system backup is carried out to the destination host;
After the completion of the work to be determined for carrying out system backup to the destination host, accessed to destination host execution Expansion plan or capacity reducing plan, and after the completion of the work of performed expansion plan or capacity reducing plan to be determined, notify the mesh Mark personnel start the application service that the destination host is suspended and inspection.
2. the method for the scalable appearance of host resource dynamic as described in claim 1, which is characterized in that the method is further wrapped It includes:
Detect the destination host and executed the application service situation started after expansion plan or capacity reducing plan, if it is detected that mesh It is normal for marking the application service situation of host, it is determined that the destination host executes expansion plan or capacity reducing plan pay;Conversely, If it is detected that destination host application service situation be it is abnormal, obtain the completed system backup of the destination host and hold Row Backup and Restore makes the destination host be restored back to the state before expansion plan or capacity reducing plan execution.
3. the method for the scalable appearance of host resource dynamic as described in claim 1, which is characterized in that the method is further wrapped It includes:
The resource service condition that the destination host has executed expansion plan or capacity reducing plan is shown by chart or text.
4. the method for the scalable appearance of host resource dynamic as claimed in claim 1 or 3, which is characterized in that the destination host Resource service condition is to obtain the destination host by calling corresponding api interface in preset IT service management ITSM After title, according to the title of accessed destination host, get big including CPU usage, memory usage, disk space Small and business processing quantity relevant information;
The target person is to obtain the target master by calling corresponding api interface in preset IT service management ITSM After the title of machine, according to the title of accessed destination host, got from preset configuration management database CMDB Carry the personnel of the relevant information of name, operating right, mailbox and phone;
The preset dilatation condition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than second upper limit Threshold value;The preset capacity reducing condition includes CPU usage less than the first lower threshold, and memory usage is less than the second lower limit Threshold value.
5. the method for the scalable appearance of host resource dynamic as claimed in claim 4, which is characterized in that the expansion plan or capacity reducing Plan includes: performance objective, executes time and CPU usage, memory usage, disk space size and business processing One or more adjusted value among quantity.
6. the method for the scalable appearance of host resource dynamic as described in claim 1, which is characterized in that described to the destination host Carrying out system backup is the backup by way of snapshot to realize system data.
7. a kind of system of the scalable appearance of host resource dynamic characterized by comprising
Resources measurement unit, the real-time service condition of resource for detecting destination host;
The scalable appearance preparatory unit of resource, for having met preset dilatation when the resource service condition for detecting the destination host When condition or capacity reducing condition, then the resource for having met preset dilatation condition or capacity reducing condition in the destination host is used into feelings Condition is sent to target person with the formation of message, and the target person is notified to formulate corresponding expansion plan or capacity reducing plan;
System backup unit is suspended by the target person for the application service to be checked for measuring the destination host, and obtains It gets after the target person formulates corresponding expansion plan or capacity reducing plan, system backup is carried out to the destination host;
The scalable appearance of resource executes and Inspection Notices member, complete for the work to be determined for carrying out system backup to the destination host Cheng Hou executes accessed expansion plan or capacity reducing plan, and performed expansion plan to be determined to the destination host Or after the completion of the work of capacity reducing plan, the target person is notified to start the application service that the destination host is suspended and inspection It looks into.
8. the system of the scalable appearance of host resource dynamic as claimed in claim 7, which is characterized in that further include:
Service inspection unit after the scalable appearance of resource executes, has executed expansion plan or capacity reducing plan for detecting the destination host The application service situation started afterwards, if it is detected that the application service situation of destination host be normal, it is determined that the target master Machine executes expansion plan or capacity reducing plan pay;Conversely, if it is detected that destination host application service situation be it is abnormal, obtain It takes the completed system backup of the destination host and executes Backup and Restore, the destination host is made to be restored back to expansion plan or contracting Hold the state before plan executes.
9. the system of the scalable appearance of host resource dynamic as claimed in claim 7, which is characterized in that further include:
The scalable appearance unit of showing resource has executed expansion plan or contracting for showing the destination host by chart or text Hold the resource service condition of plan.
10. the system of the scalable appearance of host resource dynamic as described in claim 7 or 9, which is characterized in that the destination host Resource service condition is to obtain the destination host by calling corresponding api interface in preset IT service management ITSM After title, according to the title of accessed destination host, get big including CPU usage, memory usage, disk space Small and business processing quantity relevant information;
The target person is to obtain the target master by calling corresponding api interface in preset IT service management ITSM After the title of machine, according to the title of accessed destination host, got from preset configuration management database CMDB Carry the personnel of the relevant information of name, operating right, mailbox and phone;
The preset dilatation condition includes that CPU usage is greater than the first upper limit threshold, and memory usage is greater than second upper limit Threshold value;The preset capacity reducing condition includes CPU usage less than the first lower threshold, and memory usage is less than the second lower limit Threshold value.
CN201910426003.4A 2019-05-21 2019-05-21 Method and system for dynamically expanding and shrinking host resource Active CN110209497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910426003.4A CN110209497B (en) 2019-05-21 2019-05-21 Method and system for dynamically expanding and shrinking host resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910426003.4A CN110209497B (en) 2019-05-21 2019-05-21 Method and system for dynamically expanding and shrinking host resource

Publications (2)

Publication Number Publication Date
CN110209497A true CN110209497A (en) 2019-09-06
CN110209497B CN110209497B (en) 2024-03-19

Family

ID=67788043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910426003.4A Active CN110209497B (en) 2019-05-21 2019-05-21 Method and system for dynamically expanding and shrinking host resource

Country Status (1)

Country Link
CN (1) CN110209497B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309476A (en) * 2020-01-22 2020-06-19 福建天泉教育科技有限公司 Method for automatically adjusting resources of push system and storage medium
CN111930562A (en) * 2020-07-10 2020-11-13 苏州浪潮智能科技有限公司 Real-time snapshot capacity expansion method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323111A (en) * 2015-11-17 2016-02-10 南京南瑞集团公司 Operation and maintenance automation system and method
CN106484540A (en) * 2016-10-20 2017-03-08 腾讯科技(深圳)有限公司 A kind of resource allocation method and device
WO2017128979A1 (en) * 2016-01-30 2017-08-03 华为技术有限公司 Resource management method and device
CN109766182A (en) * 2018-12-18 2019-05-17 平安科技(深圳)有限公司 The scalable appearance method, apparatus of system resource dynamic, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323111A (en) * 2015-11-17 2016-02-10 南京南瑞集团公司 Operation and maintenance automation system and method
WO2017128979A1 (en) * 2016-01-30 2017-08-03 华为技术有限公司 Resource management method and device
CN106484540A (en) * 2016-10-20 2017-03-08 腾讯科技(深圳)有限公司 A kind of resource allocation method and device
CN109766182A (en) * 2018-12-18 2019-05-17 平安科技(深圳)有限公司 The scalable appearance method, apparatus of system resource dynamic, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309476A (en) * 2020-01-22 2020-06-19 福建天泉教育科技有限公司 Method for automatically adjusting resources of push system and storage medium
CN111309476B (en) * 2020-01-22 2023-11-03 福建天泉教育科技有限公司 Method for pushing system to automatically adjust resources and storage medium
CN111930562A (en) * 2020-07-10 2020-11-13 苏州浪潮智能科技有限公司 Real-time snapshot capacity expansion method and system

Also Published As

Publication number Publication date
CN110209497B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN105357038B (en) Monitor the method and system of cluster virtual machine
US8060782B2 (en) Root cause problem identification through event correlation
CN109857558A (en) A kind of data flow processing method and system
CN106406993A (en) Timed task management method and system
WO2016188100A1 (en) Information system fault scenario information collection method and system
CN111552556B (en) GPU cluster service management system and method
CN103176892B (en) A kind of page monitoring method and system
CN112667362B (en) Method and system for deploying Kubernetes virtual machine cluster on Kubernetes
CN107783829B (en) Task processing method and device, storage medium and computer equipment
CN111274052A (en) Data distribution method, server, and computer-readable storage medium
CN111400139B (en) Management, control and scheduling system, method and storage medium for batch jobs of multiple data centers
CN110727508A (en) Task scheduling system and scheduling method
WO2020015116A1 (en) Database monitoring method and terminal device
CN111857998A (en) Configurable timing task scheduling method and system
US20190012087A1 (en) Method, apparatus, and system for preventing loss of memory data
CN104216763A (en) Method and system for solving incidents occurring in managed infrastructure
CN110209497A (en) A kind of method and system of the scalable appearance of host resource dynamic
CN110532105A (en) A kind of control method, system and the device of message queue consumer process
CN108154343B (en) Emergency processing method and system for enterprise-level information system
CN103326880B (en) Genesys calling system high availability cloud computing monitoring system and method
CN105025179A (en) Method and system for monitoring service agents of call center
CN110990145A (en) Background task processing mechanism and method for distributed system
CN115712521A (en) Cluster node fault processing method, system and medium
CN113746676B (en) Network card management method, device, equipment, medium and product based on container cluster
CN115858499A (en) Database partition processing method and device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant