A kind of cloud data center service monitoring system and method based on Resource Dependence relationship
Technical field
The present invention discloses a kind of cloud data center service monitoring system and method, belongs to data center traffic administrative skill neck
Domain, specifically a kind of cloud data center service monitoring system and method based on Resource Dependence relationship.
Background technique
With the development of cloud data center and internet, the service application run in cloud data center is more and more, more next
Required for the society that more service applications is modernized, for example it is used to inquire traffic, handles government affairs, communication exchanges and shopping object
Stream etc..Huge challenge is brought to the supervision of the business in cloud data center, cloud data center even runs ten hundreds of, huge
Business group.However the cloud data center for having run 100,000 service applications is only monitored, with existing business monitoring mode
It is much unable to satisfy, even if existing business monitoring mode is capable of the operating status of real-time Report service, but is reported
Information contain many mistakes, false information, often lead to that alarm is overflowed, accuracy has no way of ensureing, usually
It can not be reported out real failure and reason, seriously affect administrator, administrator is made to be unable to complete business in cloud data center
Management and O&M, also cause business not can guarantee uninterrupted, reliable operation.The development of cloud data center is seriously hindered, also shadow
The development of business scale can be run by having rung cloud data center.The present invention provides a kind of cloud data based on Resource Dependence relationship thus
Center service monitoring system and method, is applied to business monitoring for Resource Dependence relationship, relies on relationship to carry out from top to bottom by it
The characteristics of layering definition, 4 layers of resource hierarchy are marked off, and each level resource is subjected to dependence association, business configuration management module
Business object is generated in conjunction with the dependence between resource hierarchy attribute and resource, monitoring data processing module is according to resource in business
Level layer-by-layer discriminatory analysis from top to bottom, obtains the monitor state of business and the detailed monitoring situation of business, to greatly improve
The business monitoring accuracy and validity of cloud data center.
Summary of the invention
The present invention can no longer meet the demand of cloud data center business monitoring for existing business monitoring mode, influence
The management of administrator and O&M, the problem of also causing business that cannot reliably run, provide a kind of based on Resource Dependence relationship
Cloud data center service monitoring system and method, by Resource Dependence relationship be applied to business monitoring, by its rely on relationship progress from
The characteristics of top to bottm layering definition, resource hierarchy is divided, obtains the monitor state of business and the detailed monitoring situation of business, thus
Substantially increase the business monitoring accuracy and validity of cloud data center.
Concrete scheme proposed by the present invention is:
A kind of cloud data center service monitoring system based on Resource Dependence relationship, including resource hierarchy management module, industry
Business configuration management module, service data acquisition module, monitoring data processing module;
Resource hierarchy management module is responsible for according to resource operation needing that resource hierarchy is arranged from top to bottom, the money in upper layer
Source relies on and by restriction in the resource of opposite lower layer, and the resource of resources bank is carried out to the correspondence of resource hierarchy respectively;
Business configuration management module is responsible for combining the dependence between the affiliated level of resource and resource to carry out business object
It generates, and the business object of generation is supplied to service data acquisition module as business monitoring example and carries out data acquisition, then
By the analysis and processing of monitoring data processing module finishing service monitor state;
Service data acquisition module is responsible for that business configuration management module is called to obtain business monitoring instance data, and transfers to supervise
Control the analysis and processing of data processing module finishing service monitor state;
Monitoring data processing module is responsible for according to the dependence between the affiliated level of resource and resource, by resource hierarchy under
The analysis of business monitoring data is successively carried out to the business monitoring instance data that service data acquisition module obtains to upper sequence
And processing, and monitoring information is fed back to cloud data center.The resource layer that wherein resource hierarchy management module divides can represent such as
Web application layer, database layer, operating system layer, virtual machine layer, physical server layer, network layer etc..
The mutual restriction of dependence resource according to required for service operation between the resource and associated relationship determine.
Different type, the resource of different disposal layer is set as belonging to different resource hierarchies in business.
The resource hierarchy management module carries out the correspondence of resource hierarchy according to the resource of resources bank, and resource base resource is arranged
With the tables of data of resource hierarchy.
Business monitoring state includes normal, slight, moderate and serious 4 grades.
A kind of cloud data center business monitoring method based on Resource Dependence relationship uses resource using the system
Layer management module according to resource operation needs that resource hierarchy is arranged from top to bottom, the Resource Dependence in upper layer and by restrict in
The resource of opposite lower layer, and the resource of resources bank is carried out to the correspondence of resource hierarchy respectively;
Business object is carried out with the dependence between the affiliated level of business configuration management module combination resource and resource again
It generates, and the business object of generation is supplied to service data acquisition module as business monitoring example and carries out data acquisition, then
It is responsible for by monitoring data processing module according to the dependence between the affiliated level of resource and resource, from top to bottom by resource hierarchy
Sequence successively carries out the analysis and processing of business monitoring state to business monitoring instance data, and feeds back monitoring information and give cloud data
Center.
The mutual restriction of dependence resource according to required for service operation between the resource and associated relationship determine.
The resource hierarchy management module carries out the correspondence of resource hierarchy according to the resource of resources bank, and resource base resource is arranged
With the tables of data of resource hierarchy.
The business configuration management module reads the resource in resource hierarchy, selects the resource collection of composition business, respectively
The dependence between resource corresponding resource level is established, finishing service object generates.
The monitoring data processing module is according to the dependence between the affiliated level of resource and resource, by resource hierarchy under
The analysis and processing for successively carrying out business monitoring state to business monitoring instance data to upper sequence, are opened from the resource of the bottom
Beginning judges monitor state, if normal, then continues up layer judgement, if abnormal, directly carry out handling and result is fed back to cloud
Data center.
Usefulness of the present invention is: giving full play to effect of the Resource Dependence relationship in business monitoring, considers that resource can
The characteristics of to rely on relationship to carry out layering definition from top to bottom by it, using resource hierarchy way to manage, mark off resource layer
It carries out relying on associated design method between secondary and each level resource, realizes that resource hierarchy management module carries out resource hierarchy and draws
Divide and definition, the dependence between business configuration management module combination resource hierarchy attribute and resource generate business object, then,
With being carried out again from service data acquisition module, monitoring data processing module is successively sentenced from top to bottom according to resource hierarchy in business
Disconnected analysis, obtains the monitor state of business and the detailed monitoring situation of business, to substantially increase the business of cloud data center
Monitor accuracy, avoid because service definition it is fuzzy caused by business monitoring wrong report, indiscriminate report, when efficiently solving business monitoring
Difficulty reduces the complexity of business monitoring.
Detailed description of the invention
Fig. 1 traditional business monitoring schematic illustration;
Fig. 2 business configuration management module operation schematic diagram of the present invention;
Fig. 3 monitoring data processing module operation schematic diagram of the present invention;
Fig. 4 present system operation schematic diagram.
Specific embodiment
A kind of cloud data center service monitoring system based on Resource Dependence relationship, including resource hierarchy management module, industry
Business configuration management module, service data acquisition module, monitoring data processing module;
Resource hierarchy management module is responsible for according to resource operation needing that resource hierarchy is arranged from top to bottom, the money in upper layer
Source relies on and by restriction in the resource of opposite lower layer, and the resource of resources bank is carried out to the correspondence of resource hierarchy respectively;
Business configuration management module is responsible for combining the dependence between the affiliated level of resource and resource to carry out business object
It generates, and the business object of generation is supplied to service data acquisition module as business monitoring example and carries out data acquisition, then
By the analysis and processing of monitoring data processing module finishing service monitor state;
Service data acquisition module is responsible for that business configuration management module is called to obtain business monitoring instance data, and transfers to supervise
Control the analysis and processing of data processing module finishing service monitor state;
Monitoring data processing module is responsible for according to the dependence between the affiliated level of resource and resource, by resource hierarchy under
The analysis of business monitoring data is successively carried out to the business monitoring instance data that service data acquisition module obtains to upper sequence
And processing, and monitoring information is fed back to cloud data center.
On the basis of above system, in conjunction with attached drawing, specific implementation of the invention is described further.
A kind of cloud data center service monitoring system based on Resource Dependence relationship, including resource hierarchy management module, industry
Business configuration management module, service data acquisition module, monitoring data processing module;
Resource hierarchy management module is responsible for according to resource operation needing that resource hierarchy is arranged from top to bottom, the money in upper layer
Source relies on and by restriction in the resource of opposite lower layer, and the resource of resources bank is carried out to the correspondence of resource hierarchy respectively;The money
The mutual restriction of dependence resource according to required for service operation between source and associated relationship determine, as database will be run
On an operating system, operating system is operated in again on physical server or virtual machine, physical server needs network support again,
Virtual machine is also required to underlying virtualization support etc.;The resource hierarchy management module carries out resource layer according to the resource of resources bank
The tables of data of resource base resource and resource hierarchy is arranged in secondary correspondence;
Business configuration management module is responsible for combining the dependence between the affiliated level of resource and resource to carry out business object
It generates, and the business object of generation is supplied to service data acquisition module as business monitoring example and carries out data acquisition, then
By the analysis and processing of monitoring data processing module finishing service monitor state;
Service data acquisition module is responsible for that business configuration management module is called to obtain business monitoring instance data, and transfers to supervise
Control the analysis and processing of data processing module finishing service monitor state;
Monitoring data processing module is responsible for according to the dependence between the affiliated level of resource and resource, by resource hierarchy under
The analysis of business monitoring data is successively carried out to the business monitoring instance data that service data acquisition module obtains to upper sequence
And processing, and monitoring information is fed back to cloud data center.
Referring to attached drawing, to the contents of the present invention by taking 4 kinds of resource hierarchies, 13 resources form a business monitoring example as an example,
Cloud data center business monitoring method based on Resource Dependence relationship: cloud data center business monitoring module, resource hierarchy management
Module, business configuration management module, service data acquisition module and monitoring data processing module, as shown in figure 4, its medium cloud data
Center service monitoring module dispatches resource hierarchy management module and the resource in resources bank is carried out resource hierarchy attribute definition respectively,
Resource hierarchy includes the 1st layer, the 2nd layer, the 3rd layer and the 4th layer, different types of, the different levels in business resource difference
Belong to different resource hierarchies.Business configuration management module reads the resource for imparting resource hierarchy attribute, selects composition business 1
Resource collection, altogether include resource 1, belong to the 1st layer;Resource 2, resource 3, resource n belong to the 2nd layer;Resource 4, resource 5, resource
6, resource 7 belongs to the 3rd layer;Resource 8, resource 9, resource a, resource b, resource c belong to the 4th layer.Then further according between resource according to
Bad incidence relation establishes dependence to the resource of each interlayer respectively, as resource 1 depends on resource 2, resource 3, resource n, resource 2
Dependent on resource 4, resource 5, resource 3 depends on resource 6, and resource n depends on resource 7;Resource 4 depend on resource 8, resource 5 according to
Rely in resource 9 and resource a, resource 7 depends on resource b and resource c;So far it is raw to complete business object for business configuration management module
At.Service data acquisition module then starts to be monitored business object business 1 data acquisition, and by collected monitoring data
It will be handled by monitoring data processing module.Finally, monitoring data processing module is by Resource Dependence relationship and resource in business
The sequence of level from bottom to top gradually carries out service condition judgement step by step, when the 4th layer of resource is deposited when abnormal, i.e. resource 8, money
Source 9, resource a, resource b, resource c are deposited when abnormal, then the different shapes of business are immediately arrived at according to specific abnormal resource situation
State;Otherwise, it goes to judge the 3rd layer;Until completing this data handling procedure, service condition is finally obtained;Wherein service condition includes
Normally, slightly, moderate and four kinds serious, by service condition feedback to cloud data center, finishing service monitors process.