A kind of cloud data center traffic supervisory system based on Resource Dependence relation and method
Technical field
The present invention discloses a kind of cloud data center traffic supervisory system and method, belongs to data center traffic administrative skill field, specifically a kind of cloud data center traffic supervisory system based on Resource Dependence relation and method.
Background technology
Along with the development of cloud data center and internet, the service application run in cloud data center gets more and more, increasing service application required for modern society, be such as used for inquiry traffic, handle government affairs, communication exchanges and shopping logistics etc.Bring huge challenge to the supervision of the business in cloud data center, cloud data center even runs ten hundreds of, huge bouquet.But only monitor the cloud data center that has been run 100,000 service application, cannot meet far away by existing business monitoring mode, even if the running status of the Report service that existing business monitoring mode can be real-time, but the packets of information reported contains a lot of mistake, false information, alarm is often caused to be overflowed, accuracy has no way of ensureing, usually cannot report out real fault and reason, have a strong impact on keeper, make keeper cannot complete management and the O&M of business in cloud data center, also business is caused cannot to ensure uninterruptedly, reliable operation.The development of serious obstruction cloud data center, also have impact on the development that cloud data center can run business scale.The invention provides a kind of cloud data center traffic supervisory system based on Resource Dependence relation and method for this reason, by Resource Dependence relational application in business monitoring, the feature of the definition of layering is from top to bottom carried out by its support relation, mark off 4 layers of resource hierarchy, and each level resource is carried out dependence association, business configuration administration module generates business object in conjunction with the dependence between resource hierarchy attribute and resource, monitor data processing module is according to the successively discriminatory analysis from top to bottom of resource hierarchy in business, draw the monitor state of business and the detailed monitoring situation of business, thus substantially increase business monitoring accuracy and the validity of cloud data center.
Summary of the invention
The present invention is directed to the demand that existing business monitoring mode cannot meet the monitoring of cloud data center traffic, affect management and the O&M of keeper, also the problem that business can not be run reliably is caused, a kind of cloud data center traffic supervisory system based on Resource Dependence relation and method are provided, by Resource Dependence relational application in business monitoring, the feature of the definition of layering is from top to bottom carried out by its support relation, divide resource hierarchy, draw the monitor state of business and the detailed monitoring situation of business, thus substantially increase business monitoring accuracy and the validity of cloud data center.
The concrete scheme that the present invention proposes is:
Based on a cloud data center traffic supervisory system for Resource Dependence relation, comprise resource hierarchy administration module, business configuration administration module, service data acquisition module, monitor data processing module;
Resource hierarchy administration module is responsible for running according to resource needing to arrange resource hierarchy from top to bottom, is in the Resource Dependence on upper strata and the restricted resource on relative lower floor, and the resource of resources bank is carried out respectively the correspondence of resource hierarchy;
Business configuration administration module is responsible for the generation carrying out business object in conjunction with the dependence belonging to resource between level and resource, and the business object of generation is supplied to service data acquisition module as business monitoring example carries out data acquisition, then by the treatment and analysis of monitor data processing module finishing service monitor state;
Service data acquisition module in charge calls business configuration administration module and obtains business monitoring instance data, and transfers to the treatment and analysis of monitor data processing module finishing service monitor state;
Monitor data processing module is responsible for the dependence belonging to resource between level and resource, the business monitoring instance data successively obtained service data acquisition module by resource hierarchy order from top to bottom carries out the treatment and analysis of business monitoring data, and feeds back monitor message to cloud data center.The resource layer that wherein resource hierarchy administration module divides can represent as Web application layer, database layer, operating system layer, virtual machine layer, physical server layer, network layer etc.
The mutual restriction of resource required for service operation of dependence between described resource is determined with the relation associated.
Dissimilar, the resource being in different disposal layer in business is set to belong to different resource hierarchies.
Described resource hierarchy administration module carries out the correspondence of resource hierarchy according to the resource of resources bank, arrange the tables of data of resources bank resource and resource hierarchy.
Business monitoring state comprises normally, slight, moderate and serious 4 grades.
A kind of cloud data center traffic method for supervising based on Resource Dependence relation, system described in utilization, use resource hierarchy administration module to run according to resource to need to arrange resource hierarchy from top to bottom, be in the Resource Dependence on upper strata and the restricted resource on relative lower floor, and the resource of resources bank carried out respectively the correspondence of resource hierarchy;
Carry out the generation of business object again in conjunction with the dependence belonging to resource between level and resource with business configuration administration module, and the business object of generation is supplied to service data acquisition module as business monitoring example carries out data acquisition, the dependence belonging to resource between level and resource is responsible for again by monitor data processing module, successively business monitoring instance data is carried out to the treatment and analysis of business monitoring state by resource hierarchy order from top to bottom, and feed back monitor message to cloud data center.
The mutual restriction of resource required for service operation of dependence between described resource is determined with the relation associated.
Described resource hierarchy administration module carries out the correspondence of resource hierarchy according to the resource of resources bank, arrange the tables of data of resources bank resource and resource hierarchy.
Described business configuration administration module reads the resource in resource hierarchy, selects the resource collection of composition business, and set up the dependence between the corresponding resource hierarchy of resource respectively, finishing service object generates.
The dependence of described monitor data processing module belonging to resource between level and resource, successively business monitoring instance data is carried out to the treatment and analysis of business monitoring state by resource hierarchy order from top to bottom, monitor state is judged from the resource of the bottom, if normal, then continue to judge to upper strata, if abnormal, then directly carry out processing and by result feedback to cloud data center.
Usefulness of the present invention is: give full play to Resource Dependence and close the effect tied up in business monitoring, consider that resource can carry out the feature of the definition of layering from top to bottom by its support relation, adopt resource hierarchy way to manage, mark off resource hierarchy, and between each level resource, carry out the method for designing relying on association, realize resource hierarchy administration module and carry out resource hierarchy division and definition, business configuration administration module generates business object in conjunction with the dependence between resource hierarchy attribute and resource, then, coordinated by service data acquisition module again, monitor data processing module is according to the successively discriminatory analysis from top to bottom of resource hierarchy in business, draw the monitor state of business and the detailed monitoring situation of business, thus substantially increase the business monitoring accuracy of cloud data center, avoid the business monitoring wrong report caused because service definition is fuzzy, indiscriminate report, efficiently solve difficulty during business monitoring, reduce the complicacy of business monitoring.
Accompanying drawing explanation
The business monitoring principle schematic that Fig. 1 is traditional;
Fig. 2 business configuration administration module of the present invention operating diagram;
Fig. 3 monitor data processing module of the present invention operating diagram;
Fig. 4 present system operating diagram.
Embodiment
Based on a cloud data center traffic supervisory system for Resource Dependence relation, comprise resource hierarchy administration module, business configuration administration module, service data acquisition module, monitor data processing module;
Resource hierarchy administration module is responsible for running according to resource needing to arrange resource hierarchy from top to bottom, is in the Resource Dependence on upper strata and the restricted resource on relative lower floor, and the resource of resources bank is carried out respectively the correspondence of resource hierarchy;
Business configuration administration module is responsible for the generation carrying out business object in conjunction with the dependence belonging to resource between level and resource, and the business object of generation is supplied to service data acquisition module as business monitoring example carries out data acquisition, then by the treatment and analysis of monitor data processing module finishing service monitor state;
Service data acquisition module in charge calls business configuration administration module and obtains business monitoring instance data, and transfers to the treatment and analysis of monitor data processing module finishing service monitor state;
Monitor data processing module is responsible for the dependence belonging to resource between level and resource, the business monitoring instance data successively obtained service data acquisition module by resource hierarchy order from top to bottom carries out the treatment and analysis of business monitoring data, and feeds back monitor message to cloud data center.
On the basis of said system, by reference to the accompanying drawings, specific embodiment of the invention is described further.
Based on a cloud data center traffic supervisory system for Resource Dependence relation, comprise resource hierarchy administration module, business configuration administration module, service data acquisition module, monitor data processing module;
Resource hierarchy administration module is responsible for running according to resource needing to arrange resource hierarchy from top to bottom, is in the Resource Dependence on upper strata and the restricted resource on relative lower floor, and the resource of resources bank is carried out respectively the correspondence of resource hierarchy; The mutual restriction of resource required for service operation of dependence between described resource is determined with the relation associated, as database to run on an operating system, operating system operates on physical server or virtual machine again, physical server needs again network support, virtual machine also to need underlying virtualization to support etc.; Described resource hierarchy administration module carries out the correspondence of resource hierarchy according to the resource of resources bank, arrange the tables of data of resources bank resource and resource hierarchy;
Business configuration administration module is responsible for the generation carrying out business object in conjunction with the dependence belonging to resource between level and resource, and the business object of generation is supplied to service data acquisition module as business monitoring example carries out data acquisition, then by the treatment and analysis of monitor data processing module finishing service monitor state;
Service data acquisition module in charge calls business configuration administration module and obtains business monitoring instance data, and transfers to the treatment and analysis of monitor data processing module finishing service monitor state;
Monitor data processing module is responsible for the dependence belonging to resource between level and resource, the business monitoring instance data successively obtained service data acquisition module by resource hierarchy order from top to bottom carries out the treatment and analysis of business monitoring data, and feeds back monitor message to cloud data center.
With reference to accompanying drawing, for 4 kinds of resource hierarchies, 13 resources, a business monitoring example is formed to content of the present invention, cloud data center traffic method for supervising based on Resource Dependence relation: cloud data center traffic monitoring module, resource hierarchy administration module, business configuration administration module, service data acquisition module and monitor data processing module, as shown in Figure 4, resource in resources bank is carried out the definition of resource hierarchy attribute by its medium cloud data center traffic monitoring module scheduling resource layer management module respectively, resource hierarchy comprises the 1st layer, 2nd layer, 3rd layer and the 4th layer, dissimilar, the resource being in different levels in business belongs to different resource hierarchies respectively.Business configuration administration module reads the resource imparting resource hierarchy attribute, selects the resource collection of composition business 1, comprises resource 1 altogether, belong to the 1st layer; Resource 2, resource 3, resource n belong to the 2nd layer; Resource 4, resource 5, resource 6, resource 7 belong to the 3rd layer; Resource 8, resource 9, resource a, resource b, resource c belong to the 4th layer.And then respectively dependence is set up to the resource of each interlayer according to the dependence incidence relation between resource, as resource 1 depends on resource 2, resource 3, resource n, resource 2 depends on resource 4, resource 5, and resource 3 depends on resource 6, and resource n depends on resource 7; Resource 4 depends on resource 8, and resource 5 depends on resource 9 and resource a, and resource 7 depends on resource b and resource c; So far business configuration administration module completes business object generation.Service data acquisition module then starts to carry out monitoring data collection to business object business 1, and will be processed by monitor data processing module by the monitor data collected.Finally, monitor data processing module is by Resource Dependence relation and resource hierarchy order from bottom to top in business, progressively carry out service condition judgement step by step, when the 4th layer of resource exists abnormal, namely when resource 8, resource 9, resource a, resource b, resource c exist abnormal, then the different conditions of business is directly drawn according to concrete abnormal resource situation; Otherwise, go judgement the 3rd layer; Until complete this data handling procedure, finally draw service condition; Wherein service condition comprise normally, slight, moderate and serious four kinds, service condition is fed back to cloud data center, finishing service monitor procedure.