Method and device for evaluating health degree of application system
1. A method for assessing application system health, the method comprising:
determining at least one abnormal infrastructure according to alarm information for indicating that the infrastructure of the data center is abnormal;
determining at least one first IT device associated with the at least one abnormal infrastructure by utilizing a preset first association relationship between all infrastructures and all IT devices in the data center;
determining at least one application system to be evaluated associated with the at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center;
for each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated;
and for each application system to be evaluated, evaluating the health degree of the application system to be evaluated based on the at least one second IT device and the high availability corresponding to the application system to be evaluated and in combination with the at least one first IT device.
2. The method of claim 1, wherein the evaluating the health of each application system to be evaluated based on the at least one second IT device and the high availability corresponding to the application system to be evaluated in combination with the at least one first IT device comprises:
for each application system to be evaluated, determining the IT equipment overlap ratio between the at least one second IT equipment and the at least one first IT equipment corresponding to the application system to be evaluated;
and aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact ratio and the high availability degree of the application system to be evaluated.
3. The method of claim 1, wherein determining at least one abnormal infrastructure according to the alarm information indicating the abnormality of the infrastructure of the data center comprises:
analyzing alarm information for indicating that an infrastructure of a data center is abnormal to obtain at least one piece of position information contained in the alarm information;
determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure.
4. The method of claim 1, wherein after evaluating the health of the application system under evaluation, further comprising:
for each application system to be evaluated, if the health degree of the application system to be evaluated is lower than a health degree threshold value, sending first prompt information for indicating that the application system to be evaluated is abnormal to a specified object.
5. The method of claim 2, wherein after evaluating the health of the application system under evaluation, further comprising:
and aiming at each application system to be evaluated, determining the attention priority according to the IT equipment contact ratio corresponding to the application system to be evaluated, and sending second prompt information containing the attention priority to a specified object.
6. The method of claim 1, wherein before determining at least one abnormal infrastructure according to the alarm information indicating the abnormal infrastructure of the data center, further comprising:
and periodically acquiring alarm information for indicating that the infrastructure of the data center is abnormal.
7. An apparatus for assessing health of an application, the apparatus comprising:
a first determination unit, configured to determine at least one abnormal infrastructure according to alarm information indicating that an infrastructure of the data center is abnormal;
the second determining unit is used for determining at least one first IT device associated with the at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center;
the third determining unit is used for determining at least one application system to be evaluated, which is associated with the at least one first IT device, by utilizing a preset second association relationship between all IT devices and all application systems in the data center;
the processing unit is used for determining at least one second IT device associated with each application system to be evaluated based on the second association relation and acquiring the high availability of the application system to be evaluated;
and the evaluation unit is used for evaluating the health degree of each application system to be evaluated based on the at least one second IT device and the high availability degree corresponding to the application system to be evaluated and combined with the at least one first IT device.
8. The apparatus according to claim 7, wherein the evaluation unit is specifically configured to: for each application system to be evaluated, determining the IT equipment overlap ratio between the at least one second IT equipment and the at least one first IT equipment corresponding to the application system to be evaluated; and aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact ratio and the high availability degree of the application system to be evaluated.
9. The apparatus according to claim 7, wherein the first determining unit is specifically configured to: analyzing alarm information for indicating that an infrastructure of a data center is abnormal to obtain at least one piece of position information contained in the alarm information; determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure.
10. The apparatus of claim 7, further comprising:
and the prompting unit is used for sending first prompting information for indicating that the application system to be evaluated is abnormal to a specified object if the health degree of the application system to be evaluated is lower than a health degree threshold value for each application system to be evaluated.
Background
With the development of information technology, more and more services are provided for users by application systems of a data center, and the safe and stable operation of the application systems is a precondition for providing high-quality services for the users, so that the health degree of the application systems needs to be evaluated.
The current methods for evaluating the health degree of an application system mainly comprise: and evaluating the health degree of the application system based on data on software levels such as network situation, computing resources and storage resources. However, stable operation of the application system is affected by many factors, and the health degree of the application system is evaluated only unilaterally from a software level, so that the health degree of the application system cannot be evaluated accurately, and further, the application system has a large potential safety hazard.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for evaluating a health degree of an application system, so as to solve the problem that the health degree of the application system cannot be accurately evaluated in the existing method for evaluating the health degree of the application system.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the embodiment of the invention discloses a method for evaluating the health degree of an application system, which comprises the following steps:
determining at least one abnormal infrastructure according to alarm information for indicating that the infrastructure of the data center is abnormal;
determining at least one first IT device associated with the at least one abnormal infrastructure by utilizing a preset first association relationship between all infrastructures and all IT devices in the data center;
determining at least one application system to be evaluated associated with the at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center;
for each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated;
and for each application system to be evaluated, evaluating the health degree of the application system to be evaluated based on the at least one second IT device and the high availability corresponding to the application system to be evaluated and in combination with the at least one first IT device.
Preferably, for each application system to be evaluated, evaluating the health degree of the application system to be evaluated based on the at least one second IT device and the high availability corresponding to the application system to be evaluated, in combination with the at least one first IT device, includes:
for each application system to be evaluated, determining the IT equipment overlap ratio between the at least one second IT equipment and the at least one first IT equipment corresponding to the application system to be evaluated;
and aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact ratio and the high availability degree of the application system to be evaluated.
Preferably, the determining at least one abnormal infrastructure according to the alarm information indicating the abnormality of the infrastructure of the data center includes:
analyzing alarm information for indicating that an infrastructure of a data center is abnormal to obtain at least one piece of position information contained in the alarm information;
determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure.
Preferably, after the evaluation of the health degree of the application system to be evaluated, the method further includes:
for each application system to be evaluated, if the health degree of the application system to be evaluated is lower than a health degree threshold value, sending first prompt information for indicating that the application system to be evaluated is abnormal to a specified object.
Preferably, after the evaluation of the health degree of the application system to be evaluated, the method further includes:
and aiming at each application system to be evaluated, determining the attention priority according to the IT equipment contact ratio corresponding to the application system to be evaluated, and sending second prompt information containing the attention priority to a specified object.
Preferably, before determining at least one abnormal infrastructure according to the alarm information indicating the abnormality of the infrastructure of the data center, the method further includes:
and periodically acquiring alarm information for indicating that the infrastructure of the data center is abnormal.
The second aspect of the embodiments of the present invention discloses a device for evaluating the health degree of an application system, the device comprising:
a first determination unit, configured to determine at least one abnormal infrastructure according to alarm information indicating that an infrastructure of the data center is abnormal;
the second determining unit is used for determining at least one first IT device associated with the at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center;
the third determining unit is used for determining at least one application system to be evaluated, which is associated with the at least one first IT device, by utilizing a preset second association relationship between all IT devices and all application systems in the data center;
the processing unit is used for determining at least one second IT device associated with each application system to be evaluated based on the second association relation and acquiring the high availability of the application system to be evaluated;
and the evaluation unit is used for evaluating the health degree of each application system to be evaluated based on the at least one second IT device and the high availability degree corresponding to the application system to be evaluated and combined with the at least one first IT device.
Preferably, the evaluation unit is specifically configured to: for each application system to be evaluated, determining the IT equipment overlap ratio between the at least one second IT equipment and the at least one first IT equipment corresponding to the application system to be evaluated; and aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact ratio and the high availability degree of the application system to be evaluated.
Preferably, the first determining unit is specifically configured to: analyzing alarm information for indicating that an infrastructure of a data center is abnormal to obtain at least one piece of position information contained in the alarm information; determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure.
Preferably, the apparatus further comprises:
and the prompting unit is used for sending first prompting information for indicating that the application system to be evaluated is abnormal to a specified object if the health degree of the application system to be evaluated is lower than a health degree threshold value for each application system to be evaluated.
Based on the method and the device for evaluating the health degree of the application system provided by the embodiment of the invention, the method comprises the following steps: determining at least one abnormal infrastructure according to alarm information for indicating that the infrastructure of the data center is abnormal; determining at least one first IT device associated with at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center; determining at least one application system to be evaluated associated with at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center; for each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated; and for each application system to be evaluated, evaluating the health degree of the application system to be evaluated by combining at least one first IT device based on at least one second IT device and high availability corresponding to the application system to be evaluated. When the infrastructure of the data center breaks down, the affected application system is determined according to the abnormal infrastructure, the abnormal infrastructure is used as one of bases for evaluating the health degree of the application system, the health degree of the application system is evaluated from multiple dimensions, and evaluation accuracy is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for evaluating health of an application system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a power supply and distribution structure of a data center according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an association relationship between a rack and IT equipment provided in an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an association relationship between an IT device and an application system according to an embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for evaluating health of an application system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It can be known from the background art that, at present, when evaluating the health degree of an application system, the health degree of the application system is evaluated on a software level in a single way, and because the stable operation of the application system can be influenced by various factors, the accuracy of the existing method for evaluating the health degree of the application system is low, and further, the application system has great potential safety hazards.
Therefore, embodiments of the present invention provide a method and an apparatus for evaluating health of an application system, when an infrastructure of a data center fails, an affected application system is determined according to an abnormal infrastructure, and the abnormal infrastructure is used as one of bases for evaluating the health of the application system, so as to evaluate the health of the application system from multiple dimensions, so as to improve accuracy of evaluation of the health.
The inventor has found that most data center infrastructures achieve high availability, such as a power supply and distribution system which adopts a duplex commercial power and a diesel generator set for power distribution, and a refrigeration system which adopts an N +1 redundancy design. Therefore, when the infrastructure of the data center is abnormal and does not directly influence the normal operation of the IT equipment, the abnormality of the infrastructure is not sensed from the application system level, and although the abnormality of the infrastructure does not directly influence the IT equipment, the abnormality of the infrastructure can cause the IT equipment and the application system to have potential safety hazards. Therefore, the embodiment of the present invention provides a method and an apparatus for evaluating the health degree of an application system, which use infrastructure as one of the bases for evaluating the health degree of an application system, so as to improve the evaluation accuracy of the health degree and solve the aforementioned potential safety hazard.
The data center comprises IT equipment and infrastructure, wherein the IT equipment of the data center is a series of equipment for providing data services, such as server equipment, network equipment, storage equipment and security equipment; the infrastructure of a data center is a Power Supply and distribution system, an Uninterruptible Power Supply (UPS) system, a terminal Power distribution system, an air conditioning system, and the like, for example: the system comprises a diesel generating set, a storage battery pack, a precision power distribution cabinet, a Power Distribution Unit (PDU) and a precision air conditioner.
Referring to fig. 1, a flowchart of a method for evaluating health of an application system according to an embodiment of the present invention is shown, where the method includes:
step S101: at least one abnormal infrastructure is determined according to alarm information used for indicating that the infrastructure of the data center is abnormal.
Preferably, before step S101 is executed, alarm information for indicating that an infrastructure of the data center is abnormal is periodically obtained, and in a specific implementation, the alarm information is obtained from the monitoring system according to a preset period by using a preset collection script.
It should be noted that, the monitoring system is used to monitor the infrastructure of the data center, and when it is monitored that the infrastructure is abnormal, the monitoring system generates corresponding alarm information, where the alarm information at least includes the attribute, the location information, and the like of the abnormal infrastructure.
In the process of implementing the step S101 specifically, the alarm information for indicating that the infrastructure of the data center is abnormal is analyzed to obtain at least one piece of location information included in the alarm information; determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure. That is, analyzing the alarm information can obtain the location information corresponding to the infrastructure in which the abnormality occurs, and can identify which infrastructure is in which the abnormality occurs based on the location information, thereby identifying the infrastructure in which the abnormality occurs as the abnormal infrastructure, which corresponds to locating the infrastructure in which the abnormality occurs.
In the above manner, at least one abnormal infrastructure in the data center is determined using the alarm information.
Step S102: and determining at least one first IT device associated with at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center.
IT should be noted that, the Configuration Management Database (CMDB) may cover Configuration information of all infrastructures, IT devices, application systems (deployed in the IT devices), and the like of the data center, for example: the configuration information of the infrastructure includes information such as the type, brand, and location of the infrastructure, the configuration information of the IT device includes information such as the manufacturer and location of the IT device, and the configuration information of the application system includes information such as the master-slave relationship of the application system.
IT should be noted that the CMDB also contains information such as the precise power distribution cabinet number, PDU number, cabinet number, IT equipment serial number, application system name, application manager and application manager contact information.
According to configuration information of all infrastructure and IT equipment of the data center acquired from the CMDB, a first association relationship between the infrastructure and the IT equipment is constructed in advance, for example: the method includes the steps of constructing a first association relationship by using the position relationship between the basic facilities and the IT equipment, wherein the first association relationship indicates which basic facilities and which IT equipment have association relationships, as shown in a schematic diagram of a power supply and distribution structure of a data center shown in fig. 2, and fig. 2 shows the association relationships among a UPS system, a precision power distribution cabinet, a PDU and the IT equipment of the data center.
IT should be noted that the above-mentioned building of the first association relationship between the infrastructure and the IT device according to the position relationship is only used for illustration, and other information, such as a number, which can represent the association relationship between the infrastructure and the IT device, may also be used as a basis for building the first association relationship, and is not limited specifically herein.
In the specific implementation process of step S102, according to a preset first association relationship between all infrastructure and all IT devices in the pre-constructed data center, for each abnormal infrastructure, at least one first IT device associated with the abnormal infrastructure is determined. All the determined first IT devices are the IT devices affected by the abnormal infrastructure, and the affected IT device range (formed by all the first IT devices) can be located.
For example: if IT is determined that a certain precision air conditioner in the machine room a of the data center fails according to the warning information, the failed precision air conditioner is an abnormal infrastructure, and since the failed precision air conditioner has a first association relationship with all the IT devices in the machine room a, all the IT devices in the machine room a are the first IT device associated with the failed precision air conditioner, that is, all the IT devices in the machine room a are affected (at this time, the IT devices in other machine rooms are not affected by the failed precision air conditioner).
Another example is: assuming that the PDU of the cabinet A fails according to the alarm information, all IT devices in the cabinet A are the first IT device associated with the failed PDU (at this time, the IT devices in other cabinets are not affected by the failed PDU). To better illustrate this example, the relationship between the racks and the IT equipment is illustrated by the schematic diagram shown in FIG. 3.
As shown in fig. 3, the cabinet 01 includes an IT device a (where the application system X and the application system Y are deployed), an IT device B (where the application system Z is deployed), and an IT device C (where the application system W is deployed), and the cabinet 02 includes an IT device D (where the application system X and the application system Y are deployed), an IT device E (where the application system Z is deployed), and an IT device F (where the application system U and the application system V are deployed). When PDU02 in cabinet 01 fails, IT device A, IT, device B and IT device C in cabinet 01 are the first IT devices associated with PDU 02.
Step S103: and determining at least one application system to be evaluated associated with at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center.
IT should be noted that, the application system is deployed in the IT device, and since the application system has a plurality of deployment manners (such as stand-alone deployment, cluster deployment, distributed deployment, and the like), a plurality of application systems may be deployed in one IT device, and one application system may also be deployed in a plurality of devices.
According to configuration information of all IT equipment and application systems of the data center acquired by the CMDB, a second incidence relation between the IT equipment and the application systems is constructed in advance, and the second incidence relation indicates that: which application systems are deployed in the IT devices and in which IT devices the application systems are deployed.
In the process of implementing step S103 specifically, at least one application system (referred to as an application system to be evaluated in this case) associated with each first IT device is determined for each first IT device by using a preset second association relationship between all IT devices and all application systems in the data center; each first IT device may determine at least one application system. That is, the first IT device is an IT device affected by the abnormal infrastructure, and the application system to be evaluated is an application system affected by the abnormal infrastructure determined according to the first IT device, so that the affected application system range (formed by the application system to be evaluated) can be located.
For example: as shown in the schematic diagram of the association relationship between the IT device and the application system shown in fig. 4, if the first IT device (i.e., the affected IT device) is an IT device A, IT device B and an IT device C, an application system X and an application system Y are deployed in the IT device a, an application system Z is deployed in the IT device B, and an application system W is deployed in the IT device C, the application system to be evaluated determined according to the IT device a is the application system X and the application system Y, the application system to be evaluated determined according to the IT device B is the application system Z, and the application system to be evaluated is determined according to the IT device C is the application system W.
Another example is: with reference to the content shown in fig. 2, if the UPS of a certain computer room in fig. 2 fails, the first IT device is all IT devices in the computer room, and the application system to be evaluated is an application system deployed in all IT devices in the computer room.
Step S104: and aiming at each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated.
IT should be noted that, as can be seen from the foregoing, one application system may be deployed in a plurality of IT devices, and in the process of implementing step S104 specifically, for each application system to be evaluated, based on a second association relationship (association relationship between the IT device and the application system), at least one second IT device having an association relationship with the application system to be evaluated is determined, so as to obtain an IT device list of the application system to be evaluated (including all the second IT devices having an association relationship with the application system to be evaluated).
For example: with reference to the content shown in fig. 4, according to the fact that the application systems to be evaluated determined by the IT device a are the application system X and the application system Y, the application system X is also deployed in the IT device D, and then the IT device list corresponding to the application system X includes the IT device a and the IT device D.
For each application system to be evaluated, when determining at least one second IT device associated with the application system to be evaluated, a high availability (also referred to as application system redundancy) of the application system to be evaluated is also obtained.
In some specific embodiments, the high availability of the application system to be evaluated may be determined according to the deployment mode and the high availability condition (e.g., high availability conditions such as multi-active, dual-active, and active/standby) of the application system to be evaluated.
Step S105: and for each application system to be evaluated, evaluating the health degree of the application system to be evaluated by combining at least one first IT device based on at least one second IT device and high availability corresponding to the application system to be evaluated.
In the process of specifically implementing step S105, for each to-be-evaluated application system, an IT device overlap ratio M between at least one second IT device and at least one first IT device corresponding to the to-be-evaluated application system is determined by using formula (1).
M=X/Y (1)
In formula (1), X is the same number of second IT devices as the first IT device (which second IT devices of the application system to be evaluated are the first IT devices), and Y is the total number of second IT devices of the evaluation application system.
IT can be understood that, for each application system to be evaluated, the degree of overlap of the IT devices corresponding to the application system to be evaluated may indicate that all the second IT devices corresponding to the application system to be evaluated are the first IT devices or a part of the second IT devices are the first IT devices, which is equivalent to indicate that: the IT equipment list corresponding to the application system to be evaluated is completely in the range of the influenced IT equipment or partially in the range of the influenced IT equipment.
And aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact degree and the high availability degree corresponding to the application system to be evaluated.
Preferably, when the health degree of the application system to be evaluated is evaluated, the health degree of the application system to be evaluated can be evaluated by combining the type of the abnormal infrastructure, the IT equipment contact ratio and the high availability degree corresponding to the application system to be evaluated.
Preferably, for each application system to be evaluated, if the health degree of the application system to be evaluated is lower than a health degree threshold, sending first prompt information for indicating that the application system to be evaluated is abnormal to a specified object (such as an operation and maintenance worker), where the first prompt information may also carry the health degree of the application system to be evaluated, and the health degree may be displayed in a preset form, for example: the health degree may be presented in the form of a score, or may be presented in the form of evaluation words such as "health", "good", and "general", and the form of presenting the health degree is not particularly limited herein.
Preferably, for each application system to be evaluated, the attention priority is determined according to the IT device contact ratio corresponding to the application system to be evaluated (the higher the contact ratio of the IT device is, the higher the attention priority is), and the second prompt information containing the attention priority is sent to the designated object. And the operation and maintenance personnel can view the application systems to be evaluated with high attention priority preferentially according to the attention priority of each application system to be evaluated, namely, a processing suggestion is given, and which application system to be evaluated is suggested to be processed preferentially.
In the embodiment of the invention, at least one abnormal infrastructure is determined according to the alarm information used for indicating the abnormality of the infrastructure of the data center. And determining at least one first IT device associated with at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center. And determining at least one application system to be evaluated associated with at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center. And aiming at each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated. And for each application system to be evaluated, evaluating the health degree of the application system to be evaluated by combining at least one first IT device based on at least one second IT device and high availability corresponding to the application system to be evaluated. The abnormal infrastructure is used as one of bases for evaluating the health degree of the application system, the health degree of the application system is evaluated from multiple dimensions, and evaluation accuracy is improved.
Corresponding to the method for evaluating the health degree of the application system provided by the embodiment of the present invention, referring to fig. 5, an embodiment of the present invention further provides a structural block diagram of an apparatus for evaluating the health degree of the application system, where the apparatus includes: a first determination unit 501, a second determination unit 502, a third determination unit 503, a processing unit 504, and an evaluation unit 505;
a first determining unit 501, configured to determine at least one abnormal infrastructure according to alarm information indicating that an infrastructure of the data center is abnormal.
In a specific implementation, the first determining unit 501 is specifically configured to: analyzing alarm information for indicating that the infrastructure of the data center is abnormal to obtain at least one piece of position information contained in the alarm information; determining an infrastructure corresponding to the at least one piece of location information as an abnormal infrastructure.
A second determining unit 502, configured to determine at least one first IT device associated with at least one abnormal infrastructure by using a preset first association relationship between all infrastructures and all IT devices in the data center.
A third determining unit 503, configured to determine at least one application system to be evaluated associated with at least one first IT device by using a preset second association relationship between all IT devices and all application systems in the data center.
The processing unit 504 is configured to, for each to-be-evaluated application system, determine, based on the second association relationship, at least one second IT device associated with the to-be-evaluated application system, and obtain a high availability of the to-be-evaluated application system.
And the evaluation unit 505 is configured to evaluate, for each to-be-evaluated application system, the health degree of the to-be-evaluated application system based on the at least one second IT device corresponding to the to-be-evaluated application system and the high availability degree, in combination with the at least one first IT device.
In a specific implementation, the evaluation unit 505 is specifically configured to: determining the IT equipment overlap ratio between at least one second IT equipment and at least one first IT equipment corresponding to each application system to be evaluated; and aiming at each application system to be evaluated, evaluating the health degree of the application system to be evaluated by utilizing the IT equipment contact degree and the high availability degree of the application system to be evaluated.
In the embodiment of the invention, at least one abnormal infrastructure is determined according to the alarm information used for indicating the abnormality of the infrastructure of the data center. And determining at least one first IT device associated with at least one abnormal infrastructure by utilizing a preset first association relation between all infrastructures and all IT devices in the data center. And determining at least one application system to be evaluated associated with at least one first IT device by utilizing a preset second association relationship between all IT devices and all application systems in the data center. And aiming at each application system to be evaluated, determining at least one second IT device associated with the application system to be evaluated based on the second association relation, and acquiring the high availability of the application system to be evaluated. And for each application system to be evaluated, evaluating the health degree of the application system to be evaluated by combining at least one first IT device based on at least one second IT device and high availability corresponding to the application system to be evaluated. The abnormal infrastructure is used as one of bases for evaluating the health degree of the application system, the health degree of the application system is evaluated from multiple dimensions, and evaluation accuracy is improved.
Preferably, in conjunction with what is shown in fig. 5, the apparatus further comprises:
and the prompting unit is used for sending first prompting information for indicating that the application system to be evaluated is abnormal to the specified object if the health degree of the application system to be evaluated is lower than a health degree threshold value for each application system to be evaluated.
Preferably, in conjunction with what is shown in fig. 5, the apparatus further comprises:
and the fourth determining unit is used for determining the attention priority of each application system to be evaluated according to the IT equipment contact ratio corresponding to the application system to be evaluated, and sending second prompt information containing the attention priority to the specified object.
Preferably, in conjunction with what is shown in fig. 5, the apparatus further comprises:
the acquisition unit is used for periodically acquiring alarm information used for indicating that the infrastructure of the data center is abnormal.
In summary, embodiments of the present invention provide a method and an apparatus for evaluating health of an application system, when an infrastructure of a data center fails, an affected application system is determined according to an abnormal infrastructure, and the abnormal infrastructure is used as one of bases for evaluating the health of the application system, so as to evaluate the health of the application system from multiple dimensions, and improve accuracy of evaluation of the health.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种电设备显示处理方法