CN108023930A - A kind of resource dynamic dispatching method and system based on SLA - Google Patents

A kind of resource dynamic dispatching method and system based on SLA Download PDF

Info

Publication number
CN108023930A
CN108023930A CN201711009984.XA CN201711009984A CN108023930A CN 108023930 A CN108023930 A CN 108023930A CN 201711009984 A CN201711009984 A CN 201711009984A CN 108023930 A CN108023930 A CN 108023930A
Authority
CN
China
Prior art keywords
sla
resource
scheduling
result
requests
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
CN201711009984.XA
Other languages
Chinese (zh)
Inventor
邱鹏
丁星
武静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CLP SECTION HUAYUN INFORMATION TECHNOLOGY 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 CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd filed Critical CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201711009984.XA priority Critical patent/CN108023930A/en
Publication of CN108023930A publication Critical patent/CN108023930A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The present invention provides a kind of resource dynamic dispatching method and system based on SLA, including:Collect the resource information of each calculate node, asked to carry out SLA scheduling according to the SLA of user, whether contain predetermined SLA attribute informations in assessment SLA requests, carry out SLA if being to be if result according to corresponding SLA attributes dispatches to obtain SLA scheduling results, SLA scheduling results are then directly obtained if the result is negative, select corresponding calculate node to return to resource to user according to SLA scheduling results.The present invention solves not being inconsistent between resource requirement and resource provisioning and a little, reduces the violation rate of agreement and avoid host node from failing.

Description

A kind of resource dynamic dispatching method and system based on SLA
Technical field
The present invention relates to field of cloud calculation, and in particular, to a kind of resource dynamic dispatching method and system based on SLA.
Background technology
Cloud computing technology is a field technology revolution of IT (InformationTechnology, Information technology) industrial circle, Through the direction for becoming IT industry future developments.OpenStack supports almost all kinds of cloud environment, and project objective is to provide Implementation is simple, can on a large scale extend, enrich, the cloud computing management platform that standard is unified.
Instantly, with the rapid development of science and technology, OpenStack needs a kind of new computing model, with virtualization technology The resource such as unified management and scheduling storage, software, bandwidth and calculating, realizes and uses resource on demand and extend at any time.Cloud computing pipe Platform faces complicated dynamic resource requirement, and existing cloud computing management platform allocation efficiency of resource is not high, resource requirement and money Source supply between exist be not inconsistent point, agreement violation rate and avoid host node from failing.How an efficient resource pipe is established Reason mechanism, is current technological difficulties.
The content of the invention
For in the prior art the defects of, the object of the present invention is to provide a kind of resource dynamic dispatching method based on SLA And system.
A kind of resource dynamic dispatching method based on SLA provided according to the present invention, including:
Resource information classification report is received resource information by step S1, each calculate node to control node, control node And store into database;
Step S2, control node receives the SLA requests of user's triggering, is transmitted to Resource Scheduler;
Step S3, Resource Scheduler performs SLA scheduling;
Step S4, Resource Scheduler selects corresponding calculate node according to SLA scheduling results, and to the calculating selected Node carries out resource bid;
Step S5, the calculate node selected receives SLA requests, and establishing resource simultaneously returns to control node;
Step S6, control node returns to resource to user;
Wherein, the Resource Scheduler described in step S3 performs SLA scheduling and includes:
S301, Resource Scheduler perform the scheduling of SLA resource pools:
Whether containing available domain information is specified in assessment SLA requests, it is available to specifying that SLA requests are dispatched if being to be if result Domain simultaneously performs step S302, then directly performs step S302 if the result is negative;
Step S302, Resource Scheduler performs the scheduling of SLA surpluses:
Whether contain predetermined SLA attribute informations in assessment SLA requests, according to corresponding SLA attributes if being to be if result It is scheduled and performs step S4, then directly performs step S4 if the result is negative.
Preferably, SLA attribute informations include described in step S302:CPU filter information, memory filter information, DISK filter information and self-defined filter information.
Preferably, the step S302 includes:
Step a, assess in SLA requests and whether contain CPU filter information, if then being adjusted according to CPU filter Spend and perform step b, then directly perform step b if the result is negative;
Step b, assess in SLA requests and whether contain memory filter information, if then being adjusted according to memory filter Spend and perform step c, then directly perform step c if the result is negative;
Step c, assess in SLA requests and whether contain DISK filter information, if then being carried out according to DISK filter Dispatch and perform step d, then directly perform step d if the result is negative;
Step d, SLA assessment request in whether contain self-defined filter information, if then according to self-defined filter into Row is dispatched and performs S4, then directly performs step S4 if the result is negative.
A kind of resource dynamic scheduling system based on SLA provided according to the present invention, including:Some calculate nodes, control Node and Resource Scheduler;
The calculate node gives the control node resource information classification report;
The control node receives resource information and stores into database, and the control node is touched according to user is received The SLA requests of hair, are transmitted to the Resource Scheduler;
The Resource Scheduler performs SLA scheduling according to the SLA requests received, is selected pair according to SLA scheduling results The calculate node answered, and resource bid is carried out to the calculate node selected, the calculate node selected receives SLA requests, wound Build resource and return to the control node, the control node returns to resource to user;
Wherein, the Resource Scheduler performs SLA scheduling and includes:
Resource Scheduler performs the scheduling of SLA resource pools:Assess whether containing available domain information is specified in SLA requests, if knot For fruit to be, scheduling SLA requests to specified available domain simultaneously perform Resource Scheduler execution SLA surplus scheduling, then straight if the result is negative Connect and perform Resource Scheduler execution SLA surplus scheduling;
Resource Scheduler performs the scheduling of SLA surpluses:Whether contain predetermined SLA attribute informations in assessment SLA requests, if knot Fruit is to be, is scheduled to obtain SLA scheduling results according to corresponding SLA attributes, then directly obtains SLA scheduling if the result is negative As a result.
Preferably, the SLA attribute informations include:CPU filter information, memory filter information, DISK filter Information and self-defined filter information.
Preferably, the Resource Scheduler performs the scheduling of SLA surpluses and includes:
Step a, assess in SLA requests and whether contain CPU filter information, if then being adjusted according to CPU filter Spend and perform step b, then directly perform step b if the result is negative;
Step b, assess in SLA requests and whether contain memory filter information, if then being adjusted according to memory filter Spend and perform step c, then directly perform step c if the result is negative;
Step c, assess in SLA requests and whether contain DISK filter information, if then being carried out according to DISK filter Dispatch and perform step d, then directly perform step d if the result is negative;
Step d, SLA assessment request in whether contain self-defined filter information, if then according to self-defined filter into Row scheduling obtains SLA scheduling results, then directly obtains SLA scheduling results if the result is negative.
Compared with prior art, the present invention has following beneficial effect:
The present invention realizes SLA resource dynamic dispatchings based on Openstack, and control node dynamically obtains whole cloud platform Predetermined SLA attribute informations, ask according to the SLA of user, select the request that suitable resource meets user, solve resource requirement with Not being inconsistent between resource provisioning a little, reduces the violation rate of agreement and avoids host node from failing.
Brief description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, further feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of present invention assessment SLA requests.
Embodiment
With reference to specific embodiment, the present invention is described in detail.Following embodiments will be helpful to the technology of this area Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill to this area For personnel, without departing from the inventive concept of the premise, some changes and improvements can also be made.These belong to the present invention Protection domain.
As shown in Figure 1, a kind of resource dynamic dispatching method based on SLA provided by the invention, including step:
Resource information classification report is received resource information by step S1, each calculate node to control node, control node And store into database;
Step S2, control node receives the SLA requests of user's triggering, is transmitted to Resource Scheduler;
Step S3, Resource Scheduler performs SLA scheduling;
Step S4, Resource Scheduler selects corresponding calculate node according to SLA scheduling results, and to the calculating selected Node carries out resource bid;
Step S5, the calculate node selected receives SLA requests, and establishing resource simultaneously returns to control node;
Step S6, control node returns to resource to user;
Wherein, the Resource Scheduler described in step S3 performs SLA scheduling and includes:
S301, Resource Scheduler perform the scheduling of SLA resource pools:
Whether containing available domain information is specified in assessment SLA requests, it is available to specifying that SLA requests are dispatched if being to be if result Domain simultaneously performs step S302, then directly performs step S302 if the result is negative;
Step S302, Resource Scheduler performs the scheduling of SLA surpluses:
Whether contain predetermined SLA attribute informations in assessment SLA requests, according to corresponding SLA attributes if being to be if result It is scheduled and performs step S4, then directly performs step S4 if the result is negative.
SLA attribute informations include described in step S302:CPU filter information, memory filter information, DISKfilter information and self-defined filter information, according to different weights, call improved intelligent algorithm to carry out resource point Match somebody with somebody.At the same time user can also self-defined SLA attributes be scheduled, during above-mentioned resource impact, to realize that resource is most closed Reason distribution, scheduling most resource to most rational node.
Step S302 includes:
Step a, assess in SLA requests and whether contain CPU filter information, if then being adjusted according to CPU filter Spend and perform step b, then directly perform step b if the result is negative;
Step b, assess in SLA requests and whether contain memory filter information, if then being adjusted according to memory filter Spend and perform step c, then directly perform step c if the result is negative;
Step c, assess in SLA requests and whether contain DISK filter information, if then being carried out according to DISK filter Dispatch and perform step d, then directly perform step d if the result is negative;
Step d, SLA assessment request in whether contain self-defined filter information, if then according to self-defined filter into Row is dispatched and performs S4, then directly performs step S4 if the result is negative.
Based on the above-mentioned resource dynamic dispatching method based on SLA, present invention also offers a kind of resource dynamic based on SLA Scheduling system, including:Some calculate nodes, control node and Resource Scheduler;
The calculate node gives the control node resource information classification report;
The control node receives resource information and stores into database, and the control node is touched according to user is received The SLA requests of hair, are transmitted to the Resource Scheduler;
The Resource Scheduler performs SLA scheduling according to the SLA requests received, is selected pair according to SLA scheduling results The calculate node answered, and resource bid is carried out to the calculate node selected, the calculate node selected receives SLA requests, wound Build resource and return to the control node, the control node returns to resource to user;
Wherein, the Resource Scheduler performs SLA scheduling and includes:
Resource Scheduler performs the scheduling of SLA resource pools:Assess whether containing available domain information is specified in SLA requests, if knot For fruit to be, scheduling SLA requests to specified available domain simultaneously perform Resource Scheduler execution SLA surplus scheduling, then straight if the result is negative Connect and perform Resource Scheduler execution SLA surplus scheduling;
Resource Scheduler performs the scheduling of SLA surpluses:Whether contain predetermined SLA attribute informations in assessment SLA requests, if knot Fruit is to be, is scheduled to obtain SLA scheduling results according to corresponding SLA attributes, then directly obtains SLA scheduling if the result is negative As a result.
SLA attribute informations include:CPU filter information, memory filter information, DISK filter information and make by oneself Adopted filter information, according to different weights, calls improved intelligent algorithm to carry out resource allocation.User can also be self-defined at the same time SLA attributes are scheduled, and during above-mentioned resource impact, to realize resource most reasonable distribution, scheduling most resource is to most closing The node of reason.
Resource Scheduler, which performs the scheduling of SLA surpluses, to be included:
Step a, assess in SLA requests and whether contain CPU filter information, if then being adjusted according to CPU filter Spend and perform step b, then directly perform step b if the result is negative;
Step b, assess in SLA requests and whether contain memory filter information, if then being adjusted according to memory filter Spend and perform step c, then directly perform step c if the result is negative;
Step c, assess in SLA requests and whether contain DISK filter information, if then being carried out according to DISK filter Dispatch and perform step d, then directly perform step d if the result is negative;
Step d, SLA assessment request in whether contain self-defined filter information, if then according to self-defined filter into Row scheduling obtains SLA scheduling results, then directly obtains SLA scheduling results if the result is negative.
One skilled in the art will appreciate that except realizing system provided by the invention in a manner of pure computer readable program code And its beyond calculate node, control node and Resource Scheduler, completely can by by method and step carry out programming in logic come So that system provided by the invention and its calculate node, control node and Resource Scheduler and embedded microcontroller etc. Form realizes identical function.So system provided by the invention and its calculate node, control node and Resource Scheduler can To be considered as a kind of hardware component;It can also will be used for realization the calculate node, control node and resource tune of various functions Degree device is considered as either the software module of implementation method can be the structure in hardware component again.
The specific embodiment of the present invention is described above.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, those skilled in the art can make a variety of changes or change within the scope of the claims, this not shadow Ring the substantive content of the present invention.In the case where there is no conflict, the feature in embodiments herein and embodiment can any phase Mutually combination.

Claims (6)

  1. A kind of 1. resource dynamic dispatching method based on SLA, it is characterised in that including:
    Step S1, resource information classification report to control node, control node receives resource information and deposits each calculate node Storage is into database;
    Step S2, control node receives the SLA requests of user's triggering, is transmitted to Resource Scheduler;
    Step S3, Resource Scheduler performs SLA scheduling;
    Step S4, Resource Scheduler selects corresponding calculate node according to SLA scheduling results, and to the calculate node selected Carry out resource bid;
    Step S5, the calculate node selected receives SLA requests, and establishing resource simultaneously returns to control node;
    Step S6, control node returns to resource to user;
    Wherein, the Resource Scheduler described in step S3 performs SLA scheduling and includes:
    S301, Resource Scheduler perform the scheduling of SLA resource pools:
    Whether contain in assessment SLA requests and specify available domain information, dispatch SLA if being to be if result and ask to specified available domain simultaneously Step S302 is performed, then directly performs step S302 if the result is negative;
    Step S302, Resource Scheduler performs the scheduling of SLA surpluses:
    Whether contain predetermined SLA attribute informations in assessment SLA requests, the progress if being to be if result according to corresponding SLA attributes Dispatch and perform step S4, then directly perform step S4 if the result is negative.
  2. 2. the resource dynamic dispatching method according to claim 1 based on SLA, it is characterised in that described in step S302 SLA attribute informations include:CPU filter information, memory filter information, DISK filter information and self-defined filter Information.
  3. 3. the resource dynamic dispatching method according to claim 2 based on SLA, it is characterised in that the step S302 bags Include:
    Step a, assess in SLA requests and whether contain CPU filter information, if being then scheduled simultaneously according to CPU filter Step b is performed, then directly performs step b if the result is negative;
    Step b, assess in SLA requests and whether contain memory filter information, if being then scheduled simultaneously according to memory filter Step c is performed, then directly performs step c if the result is negative;
    Step c, assess in SLA requests and whether contain DISK filter information, if being then scheduled according to DISK filter And step d is performed, step d is then directly performed if the result is negative;
    Step d, whether self-defined filter information is contained in SLA assessments request, if then being adjusted according to self-defined filter Spend and perform S4, then directly perform step S4 if the result is negative.
  4. A kind of 4. resource dynamic scheduling system based on SLA, it is characterised in that including:Some calculate nodes, control node and Resource Scheduler;
    The calculate node gives the control node resource information classification report;
    The control node receives resource information and stores into database, and the control node is triggered according to reception user SLA is asked, and is transmitted to the Resource Scheduler;
    The Resource Scheduler performs SLA scheduling according to the SLA requests received, is selected according to SLA scheduling results corresponding Calculate node, and resource bid is carried out to the calculate node selected, the calculate node selected receives SLA requests, creates money Source simultaneously returns to the control node, and the control node returns to resource to user;
    Wherein, the Resource Scheduler performs SLA scheduling and includes:
    Resource Scheduler performs the scheduling of SLA resource pools:Assess whether containing available domain information is specified in SLA requests, if result is It is that scheduling SLA requests to specified available domain simultaneously perform Resource Scheduler execution SLA surplus scheduling, then directly hold if the result is negative Row Resource Scheduler performs the scheduling of SLA surpluses;
    Resource Scheduler performs the scheduling of SLA surpluses:Whether contain predetermined SLA attribute informations in assessment SLA requests, if result is It is to be scheduled to obtain SLA scheduling results according to corresponding SLA attributes, then directly obtain SLA scheduling results if the result is negative.
  5. 5. the resource dynamic scheduling system according to claim 4 based on SLA, it is characterised in that the SLA attribute informations Including:CPU filter information, memory filter information, DISK filter information and self-defined filter information.
  6. 6. the resource dynamic scheduling system according to claim 5 based on SLA, it is characterised in that the Resource Scheduler Performing the scheduling of SLA surpluses includes:
    Step a, assess in SLA requests and whether contain CPU filter information, if being then scheduled simultaneously according to CPU filter Step b is performed, then directly performs step b if the result is negative;
    Step b, assess in SLA requests and whether contain memory filter information, if being then scheduled simultaneously according to memory filter Step c is performed, then directly performs step c if the result is negative;
    Step c, assess in SLA requests and whether contain DISK filter information, if being then scheduled according to DISK filter And step d is performed, step d is then directly performed if the result is negative;
    Step d, whether self-defined filter information is contained in SLA assessments request, if then being adjusted according to self-defined filter Degree obtains SLA scheduling results, then directly obtains SLA scheduling results if the result is negative.
CN201711009984.XA 2017-10-25 2017-10-25 A kind of resource dynamic dispatching method and system based on SLA Pending CN108023930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711009984.XA CN108023930A (en) 2017-10-25 2017-10-25 A kind of resource dynamic dispatching method and system based on SLA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711009984.XA CN108023930A (en) 2017-10-25 2017-10-25 A kind of resource dynamic dispatching method and system based on SLA

Publications (1)

Publication Number Publication Date
CN108023930A true CN108023930A (en) 2018-05-11

Family

ID=62080181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711009984.XA Pending CN108023930A (en) 2017-10-25 2017-10-25 A kind of resource dynamic dispatching method and system based on SLA

Country Status (1)

Country Link
CN (1) CN108023930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358965A (en) * 2018-09-25 2019-02-19 杭州朗和科技有限公司 Cloud computing cluster resource dispatching method, medium, device and calculating equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8127291B2 (en) * 2007-11-02 2012-02-28 Dell Products, L.P. Virtual machine manager for managing multiple virtual machine configurations in the scalable enterprise
CN102891773A (en) * 2011-07-18 2013-01-23 北京邮电大学 Cloud computing SLA management framework based on resource credibility evaluation
CN103338241A (en) * 2013-06-19 2013-10-02 合肥工业大学 Novel public cloud architecture and virtualized resource self-adaption configuration method thereof
CN105049516A (en) * 2015-08-06 2015-11-11 浪潮电子信息产业股份有限公司 Service management system based on cloud computing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8127291B2 (en) * 2007-11-02 2012-02-28 Dell Products, L.P. Virtual machine manager for managing multiple virtual machine configurations in the scalable enterprise
CN102891773A (en) * 2011-07-18 2013-01-23 北京邮电大学 Cloud computing SLA management framework based on resource credibility evaluation
CN103338241A (en) * 2013-06-19 2013-10-02 合肥工业大学 Novel public cloud architecture and virtualized resource self-adaption configuration method thereof
CN105049516A (en) * 2015-08-06 2015-11-11 浪潮电子信息产业股份有限公司 Service management system based on cloud computing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358965A (en) * 2018-09-25 2019-02-19 杭州朗和科技有限公司 Cloud computing cluster resource dispatching method, medium, device and calculating equipment

Similar Documents

Publication Publication Date Title
US20220124005A1 (en) Systems and methods for reactive intent-driven end-to-end orchestration
CN106055395B (en) Deadline constrains workflow schedule method in a kind of cloud environment based on ant colony optimization algorithm
Higashino et al. CEPSim: Modelling and simulation of Complex Event Processing systems in cloud environments
US10999216B2 (en) Resource allocation and provisioning in a multi-tier edge-cloud virtualization environment
US8806003B2 (en) Forecasting capacity available for processing workloads in a networked computing environment
CN107395665A (en) A kind of block chain service handling and business common recognition method and device
CN107450972A (en) A kind of dispatching method, device and electronic equipment
CN107479990A (en) Distributed software service system
US20190272189A1 (en) Scheduling framework for tightly coupled jobs
CN109067890A (en) A kind of CDN node edge calculations system based on docker container
CN105808341B (en) A kind of methods, devices and systems of scheduling of resource
CN105404549B (en) Scheduling virtual machine system based on yarn framework
CN109146381A (en) Logistics data monitoring method, device, electronic equipment and computer storage medium
CN107463434A (en) Distributed task processing method and device
WO2023116067A1 (en) Power service decomposition method and system for 5g cloud-edge-end collaboration
CN108958729A (en) A kind of data processing method, device and storage medium
Shojafar et al. An efficient scheduling method for grid systems based on a hierarchical stochastic Petri net
Razzaq et al. Hybrid auto-scaled service-cloud-based predictive workload modeling and analysis for smart campus system
CN108701132A (en) Resource management system and method
Lim et al. A constraint programming-based resource management technique for processing mapreduce jobs with slas on clouds
CN107133103B (en) The internal storage management system and its method calculated for data stream type
Compagnin et al. Putting RUN into practice: implementation and evaluation
CN109739627A (en) Dispatching method, electronic equipment and the medium of task
Kiss et al. A cloud-agnostic queuing system to support the implementation of deadline-based application execution policies
CN108874520A (en) Calculation method and device

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

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication