The present invention relates to an apparatus for managing a system capacity, a method of managing the system capacity, and a program therefor.
The utilization form of the computer system, which is called cloud computing such as Infrastructure as a Service (IaaS) or Software as a Service (SaaS) has begun to spread widely. Accordingly, more and more users prefer the flexible operation of the system such as dynamically changing the system structure on demand.
Further, in the case of dynamically changing a computer resource such as a Central Processing Unit (CPU) or a storage device constituting a system, it is necessary for a system provider to guarantee performance, which is required by a user, to be achieved by the system after the change. Accordingly, the system provider needs to perform capacity management for predicting whether the system has a sufficient processing capacity relative to an expected load. For example, it is necessary for the system provider to know information such as which level of a specification is needed for a CPU or a memory relative to an assumed load or by how much the level of the current specification is insufficient for processing of the assumed load.
Patent Document 1 discloses an example of the capacity prediction system.
For example, in the capacity prediction system of Patent Document 1, first, logs of transactions and resource usages are acquired from a computer, and a resource usage rate is calculated by using multiple regression analysis for each transaction. Next, on the basis of the logs of the transactions, a prospective throughput is predicted for each transaction. On the basis of the resource usage rates and the throughputs, the transitions of the resource usage rates of the computer are predicted.
In the capacity management, in order to analyze how much resource is required to be secured to process the load, the logs of the loads and the logs of the resource usages, which were recorded in the monitoring target system in the past, are used. For example, on the basis of the logs, relationships between the loads and the resource usages are derived, whereby it is possible to calculate an amount of resources capable of processing the assumed loads.
However, when the relationships between the loads and the resource usages are derived on the basis of the logs, due to loss in the measured logs, errors based on characteristics of the middleware for measuring the logs, or the like, the distribution of the measured logs is not always likely to coincide with the actual distribution based on the relationships between the loads and the resource usages.
The capacity prediction system of Patent Document 1 derives the relationships between the transactions and resource usages by directly using the logs acquired from the computer. Hence, the loss or errors in the logs may cause errors in deriving the relationships between the transactions and resource usages.
An object of the present invention is to provide a capacity management support apparatus, a capacity management method, and a capacity management program for calculating highly accurate predicted values when predicting the relationships between the loads and the resource usages.
According to an aspect of the present invention, there is provided a capacity management support apparatus including:
storage unit that stores a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition which defines assumed load values as values of the loads that are assumed for a monitoring target system;
input unit that acquires input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
log acquisition unit that determines log types to be acquired on the basis of the input information and the type definition, and acquires first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
log distribution estimation unit that acquires second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimates a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selects a range, which satisfies a specific condition, from the distribution density function, and acquires third log data, which is data belonging to the range, in the second log data; and
resource usage rate prediction unit that calculates a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculates predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
According to another aspect of the present invention, there is provided a capacity management method performed by a computer, including:
reading a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition, which defines assumed load values as values of the loads that are assumed for a monitoring target system, from storage unit;
acquiring input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
determining log types to be acquired on the basis of the input information and the type definition, and acquiring first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
acquiring second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimating a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selecting a range, which satisfies a specific condition, from the distribution density function, and acquiring third log data, which is data belonging to the range, in the second log data; and
calculating a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculating predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
According to still another aspect of the present invention, there is provided a program for causing a computer to execute functions of:
storing a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition which defines assumed load values as values of the loads that are assumed for a monitoring target system;
acquiring input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
determining log types to be acquired on the basis of the input information and the type definition, and acquiring first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
acquiring second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimating a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selecting a range, which satisfies a specific condition, from the distribution density function, and acquiring third log data, which is data belonging to the range, in the second log data; and
calculating a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculating predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
According to the aspects of the present invention, it is possible to predict the relationships between the loads and the resource usages with high accuracy.
The above-mentioned object, other objects, features, and advantages are further clarified by the preferred embodiments to be described later and the following accompanying drawings.
Hereinafter, the embodiments of the present invention will be described with reference to the drawings. In addition, in all drawings, the same components will be represented by the same reference numerals, and description will not be repeated.
The storage unit 102 stores a type definition 112 and a load definition 114.
The type definition 112 defines correspondence between the logs for the loads and the logs for the resources acquired from the monitoring target system by the capacity management support apparatus 10.
The load definition 114 defines the values of the loads (hereinafter referred to as assumed load values), which are assumed for the monitoring target system, in accordance with the types of the loads.
The input unit 104 acquires input information from a different apparatus which is positioned outside the capacity management support apparatus 10, a storage region of the capacity management support apparatus 10, or the like.
The log acquisition unit 106 determines the types of the logs to be extracted, on the basis of the input information and the type definition 112. In addition, the log acquisition unit 106 extracts information on the determined log types among the logs of the monitoring target system, thereby creating first log data.
The log distribution estimation unit 108 extracts information on the specific resources and loads from the first log data on the basis of the groups of the log types which are defined by the type definition 112, thereby creating second log data. Next, the log distribution estimation unit 108 estimates a distribution density function, which indicates actual distribution of the second log data, on the basis of the second log data. Then, the log distribution estimation unit 108 selects a range, which satisfies a specific condition, in the distribution density function, and extracts the second log data which is present in the range, thereby creating third log data.
The resource usage rate prediction unit 110 calculates a prediction expression, which indicates a relationship of groups defined by the type definition 112, on the basis of the third log data of a certain threshold value or more. Then, the resource usage rate prediction unit 110 substitutes the assumed load values, which are defined by the load definition 114, into the prediction expression, thereby calculating predicted values of the resource usage rates.
It should be noted that the components of the capacity management support apparatus 10 shown in the drawings do not indicate hardware unit structures, but indicate function unit blocks. The components of the capacity management support apparatus 10 are implemented by arbitrary combinations between hardware and software. The hardware and software mainly include a CPU of an arbitrary computer, a memory, programs that implement the components loaded in the memory in the drawing, a storage medium such as a hard disk storing the programs, and an interface for network connection. In addition, there are various modified examples of the implementation method and apparatus.
The processing flow in the present embodiment will be described with reference to
The log acquisition unit 106 extracts information, which is based on the information received from the input unit 104 and the type definition 112, among the logs in which the loads and the resource usages of the monitoring target system are recorded, as shown in
The log distribution estimation unit 108 extracts information, which is specified by the groups defined by the type definition 112, from the first log data which is received from the log acquisition unit 106. The log distribution estimation unit 108 is able to determine that, for example, the logs of the “CPU_Usage” recorded as “WEB001” correspond to the logs of the “Web Request” recorded as “LB001”, from the type definition shown in
The resource usage rate prediction unit 110 calculates the prediction expression for the resource usage rates from the third log data which is received from the log distribution estimation unit 108 (S112). First, the resource usage rate prediction unit 110 selects the data of a certain threshold value or more among the third log data as data used in deriving the prediction expression. For example, the resource usage rate prediction unit 110 selects data, which has values equal to or greater than the certain value, on the basis of not only the values of the third log data but also the average value or the median value of the third log data and the distribution of and distance between the data pieces included in the third log data. Further, the resource usage rate prediction unit 110 may select data, which has values equal to or greater than the certain value, on the basis of the distance or the inclination of the lines connecting the data pieces and the origin point when the resource usage and the load value are represented as 2-dimensional coordinate axes. For example, the resource usage rate prediction unit 110 selects data, which corresponds to the top 50% of the “CPU_Usage”, in the third log data. Next, the resource usage rate prediction unit 110 derives equations, which represent relationships between the resource usages and the loads as shown in
Expression 1 is an expression for calculating the determination factor that indicates how appropriate the approximate function is for the selected data. Further, in Expression 1, R is the determination factor, yi is a value of the data, fi is a solution of the approximate function, and ya is an average value of the data. In addition, the data, which corresponds to yi, in the data, which is input to the resource usage rate prediction unit 110, indicates the resource usages such as “CPU_Usage (WEB001)”. Furthermore, the solution fi of the approximate function is calculated by substituting the data, indicating the loads such as “Web Request (LB001)” in the data which is input to the resource usage rate prediction unit 110, into the approximate function. The resource usage rate prediction unit 110 selects the approximate function, in which the largest determination factor is set, as the prediction expression.
Next, the resource usage rate prediction unit 110 calculates the predicted values of the resource usage rates, as shown in
In addition, the capacity management support apparatus 10 may provide a user with the prediction expression and the predicted values calculated by the resource usage rate prediction unit 110 by using a display unit which is not shown. For example, the capacity management support apparatus 10 may display the prediction expression and the predicted values on a display device. Further, the capacity management support apparatus 10 may print a ledger sheet on which the prediction expression and the predicted values are printed by using a printer or the like.
As described above, in the present embodiment, the actual distribution of the logs of the monitoring target system is calculated. Then, the resource usages are predicted on the basis of the actual distribution. Thereby, it is possible to correct errors and loss in the actual measured values of the logs in the monitoring target system. Consequently, according to the configuration, the accuracy in prediction of the resource usages are more improved than that in the method of directly using the actual measured logs.
The present embodiment is the same as the first embodiment except for the following points.
The sorting definition 204 defines a method of sorting data pieces included in the third log data.
By using the third log data which is output by the log distribution estimation unit 108 as an input, the log sorting unit 202 sorts the data pieces included in the third log data into a plurality of sets on the basis of the sorting definition 204.
The processing flow in the present embodiment will be described with reference to
The log sorting unit 202 receives the third log data from the log distribution estimation unit 108. Then, on the basis of the sorting method which is defined by the sorting definition 204, the data pieces, which are included in the third log data, are sorted into a plurality of fourth log data pieces (S202). In the present embodiment, each fourth log data piece is formed by clustering the data pieces, which are similar in the relationship between the resource usage and the load, among the data pieces which are included in the third log data. For example, when the resource usages and the loads are represented as the 2-dimensional coordinate axes, the indicator for sorting the logs may be set as a distance between the origin point and each of the data pieces included in the third log data, an inclination of the line connecting the origin point and each of the data pieces of the third log data, or the like. It should be noted that, when the distance is set as the indicator, the Euclid square distance, the Minkowski distance, the Mahalanobis' generalized distance, or the like may be used. Here, the log sorting unit 202 may set, for example, a method for sorting the third log data, in advance, for each log type. The log sorting unit 202 transmits all the sorted fourth log data pieces to the resource usage rate prediction unit 110.
The resource usage rate prediction unit 110 uses, for example, the fourth log data, of which the median value is at the maximum, among the plurality of fourth log data pieces, which are sorted by the log sorting unit 202, in order to derive the prediction expression. The subsequent processing is the same as that of the first embodiment except that the fourth log data is used in place of the third log data, and thus the description thereof is not repeated.
As described above, in the present embodiment, it is also possible to obtain the same effect as the first embodiment. In the present embodiment, the log sorting unit 202 sorts the data pieces, which are included in the third log data, into the respective plurality of fourth log data pieces, on the basis of the sorting definition 204. Thereby, when the third log data is created, although the logs for various processes with different tendencies are mixed, the logs for processes having the same tendency are sorted as the fourth log data. Hence, by reducing the variation in data pieces which are used to calculate the prediction expression, the accuracy in prediction of the resource usages is further improved.
The present embodiment is the same as the second embodiment except for the following points.
The correlation definition 302 defines the log types (hereinafter referred to as main log types), which are acquired by the input unit 104, and the log types (hereinafter referred to as sub-log types) which have correlations. Further, the correlation definition 302 defines patterns to which the fourth log data pieces belong, on the basis of the resource usages of the main log types and the resource usages of the sub-log types.
The processing flow in the present embodiment will be described with reference to
The log acquisition unit 106 acquires the logs of the sub-log types corresponding to the main log types, which are acquired by the input unit 104, on the basis of the correlation definition 302, and assigns the logs to the first log data which is acquired in the first embodiment (S302). In the first embodiment, the logs of the “Web Request” and “LB001” are extracted from the “CPU_Usage” and the “WEB001”, and the logs of the “Throughput” and the “LB001” are extracted from the “MEM_Usage” and the “WEB001”. Further, at this time, the logs of the “CPU_Usage” and the “WEB001” and the logs of the “MEM_Usage” and the “WEB001” as the input information are additionally extracted. In the present embodiment, the log acquisition unit 106 further extracts the logs of the “CPU_Usage” and the “DB001” as the logs of the sub-log types corresponding to the “CPU_Usage” and the “WEB001” which are the main log types, on the basis of the correlation definition 302. Furthermore, the log acquisition unit 106 further extracts the logs of the “MEM_Usage” and the “AP001” as the logs of the sub-log types corresponding to the “MEM_Usage” and the “WEB001” which are the main log types, on the basis of the correlation definition 302.
Next, the log distribution estimation unit 108 extracts the sub-log type data from the first log data in addition to the data of the loads and the main log types, thereby creating the second log data (S304). Focusing on the “CPU_Usage” and the “WEB001”, for example as shown in
Next, the log sorting unit 202 applies the sorting method of the sorting definition 204 to the data for the sub-log types and the data for the main log types included in the third log data. Then, by performing clustering on the basis of the result, the third log data is sorted into the fourth log data pieces (S304).
Further, the log sorting unit 202 determines the tendencies of the processes, which are indicated by the fourth log data sorted in S304, on the basis of the threshold values and the indicators which are defined in the correlation definition 302, and assigns the pattern information, which indicates the tendencies, to the fourth log data (S306). Here, it is assumed that the log sorting unit 202 uses the correlation definition shown in
The resource usage rate prediction unit 110 targets the fourth log data, which has the largest number of patterns, among the sorted fourth log data pieces, and calculates the predicted values and the prediction expression of the resource usage rates, in a similar manner to the second embodiment. For example, when the sorting is performed using the Ward method shown in the sorting definition 204, the sorting may be performed such that the number of the pattern A is 3, the number of the pattern B is 1, and the number of the pattern C is 1. In this case, the resource usage rate prediction unit 110 applies the processes, which are the same as those of the second embodiment, to the three sets of the pattern A. In addition, the resource usage rate prediction unit 110 may calculate the predicted values and the prediction expression of the resource usage rates, for each pattern information, with reference to the pattern information. For example, the resource usage rate prediction unit 110 may calculate the prediction expression and the predicted values, relative to the assumed load values defined in the load definition 114, in each case of the pattern A, the pattern B, and the pattern C.
As described above, in the present embodiment, it is also possible to obtain the same effect as the first and second embodiments. Further, in the present embodiment, by using the correlation definition 302, the pattern information, which indicates the tendencies of the processes performed by the monitoring target system, is provided. Then, the predicted values and the prediction expression of the resource usage rates are calculated from the logs which are sorted for each pattern information. Thereby, in accordance with the patterns of the processes performed by the monitoring target system, that is, in accordance with the characteristics of the processes performed by the monitoring target system, it is possible to predict the resource usages.
The present embodiment is the same as the first embodiment except for the following points.
The processing flow in the present embodiment will be described with reference to
First, after calculating the predicted values in a similar manner as the first to third embodiments, the resource usage rate prediction unit 110 reads the safety factor definition 402, and acquires the safety factors corresponding to the calculated resource types (S402).
Next, the resource usage rate prediction unit 110 corrects the predicted values on the basis of the calculated resource type and the safety factors which are acquired in S402 (S404). For example, it is assumed that the storage unit 102 stores the safety factor definition 402 shown in
As described above, in the present embodiment, it is also possible to obtain the same effect as the first embodiment. In the present embodiment, by using the safety factor definition 402, the predicted value, which is calculated by the resource usage rate prediction unit 110, is corrected. Thereby, the resource usage rate prediction unit 110 is able to predict the resource usage for the assumed load value with a sufficient capacity. Hence, compared with the case where the safety factor definition 402 is not used, it is possible to detect early that the capacity of the monitoring target system is insufficient. Accordingly, it is possible to more stably activate the monitoring target system. In addition, the present embodiment may be applied to the second and third embodiments.
The present embodiment is the same as the first embodiment except for the following points.
The storage unit 102 stores the service level definition 504 that indicates a performance value which is required for each load type.
The service level determination unit 502 determines whether or not the current structure of the monitoring target system satisfies the required service level, on the basis of the required value of the service level definition 504 and the prediction expression of the resource usage rate predicted by the resource usage rate prediction unit 110.
The processing flow in the present embodiment will be described with reference to
First, the service level determination unit 502 acquires the prediction expression of the resource usage rates from the resource usage rate prediction unit 110 (S502).
Next, the service level determination unit 502 calculates the amount of resource, which is necessary to achieve the service level, on the basis of the required value of the service level definition 504 and the prediction expression of the resource usage rate acquired in S502 (S504). Then, the service level determination unit 502 determines whether or not the current structure of the monitoring target system satisfies the service level, on the basis of the amount of resource calculated in S504. As a result of the determination, if the current structure of the system satisfies the required value (YES in S506), the service level determination unit 502 determines that the current system structure has no problem, and terminates the process. For example, it is assumed that the prediction expression, which is acquired in S502, relates to the load “Throughput” and the resource “CPU_Usage”, and is “(predicted value)=3.0E−04×(assumed load value)+7.0”. The service level determination unit 502 reads the required value “200,000” of the “Throughput” from the service level definition 504. Then, the service level determination unit 502 substitutes the read required value for the assumed load value of the prediction expression. In the present example, the result of the substitution is “67”, and is thus not greater than “100”. In this case, the service level determination unit 502 is able to determine that the monitoring target system satisfies the service level.
In contrast, as a result of the determination, if the current system structure does not satisfy the required value (NO in S506), the service level determination unit 502 notifies a user that the current system structure does not satisfy the requirement, by using a display unit which is not shown (S508). For example, as a result of the substitution of the required value into the prediction expression which is acquired in S502, if the value is greater than “100”, the service level determination unit 502 is able to determine that the current system structure does not satisfy the service level.
It should be noted that, in the service level definition 504, the required values of the resource usages may be defined. By substituting the required value of the resource usage into the prediction expression, the service level determination unit 502 is able to calculate the maximum value of the load capable of maintaining the service level in the current system structure. Further, in S502, the service level determination unit 502 additionally acquires the predicted value which is calculated by the resource usage rate prediction unit 110, and is also able to determine a mismatch in the service level. For example, the service level determination unit 502 determines that the service level is not satisfied if the predicted value acquired in S502 is greater than the required value of the resource usage of the service level definition 504. In contrast, the service level determination unit 502 is able to determine that the service level is satisfied if the predicted value acquired in S502 is equal to or less than the required value of the resource usage of the service level definition 504.
As described above, in the present embodiment, it is also possible to obtain the same effect as the first embodiment. In the present embodiment, the amount of resource, which is necessary for the monitoring target system to maintain the set service level, is calculated from the predicted value which is predicted by the resource usage rate prediction unit 110. Further, it is determined whether or not the resource usage predicted for the assumed load value satisfies the set service level. Consequently, with such a configuration, a user is able to easily determine the timing for enhancing the structure of the monitoring target system.
It should be noted that the present embodiment may be applied to the second to fourth embodiments.
The present embodiment is the same as the first embodiment except for the following points.
The storage unit 102 stores the structure definition 604 which is information on the structure.
The structure determination unit 602 determines whether or not to change the system structure, on the basis of the applied values of the structure definition 604 and the predicted values and the prediction expression of the resource usage rates predicted by the resource usage rate prediction unit 110.
The processing flow in the present embodiment will be described with reference to
First, the structure determination unit 602 acquires the predicted values and the prediction expression of the resource usage rates from the resource usage rate prediction unit 110 (S602).
Next, the structure determination unit 602 compares the predicted value of the resource usage rate, which is acquired in S602, with the applied value of the structure definition 604. As a result of the comparison, if the predicted value of the resource usage rate is greater than the applied value (YES in S604), the structure determination unit 602 determines that the performance of the resource currently mounted on the system is insufficient. For example, when the predicted value of the usage rate of the resource “CPU” of the node “WEB001” is greater than “100”, the structure determination unit 602 is able to determine that the performance of the resource “CPU” of the node “WEB001” currently mounted on the system is insufficient.
Next, the structure determination unit 602 determines by how much the amount of the resource is insufficient, thereby calculating the performance value of the system recommended on the basis of the additional value of the structure definition 604 (S606). For example, it is assumed that the predicted value of the “CPU” of the “WEB001” acquired in S602 is “106”. This means that, at the assumed load value, it is predicted that the resource usage rate of the “CPU” of the “WEB001” becomes 106%. Here, when the applied value and the additional value are as shown in
The display unit provides the received information to a user (S608). The display unit displays the received information on, for example, a display device. Further, the display unit may provide the received information to a user in a way such as outputting the information to a ledger sheet by using a printer or the like.
As described above, in the present embodiment, it is also possible to obtain the same effect as the first to fifth embodiments. Further, in the present embodiment, it is possible to determine whether or not the current system structure is capable of dealing with the predicted load, on the basis of the performance value of the current system, the prediction expression, and the predicted value. Here, the performance value is determined by the structure definition 604, and the prediction expression and the predicted value are calculated by the resource usage rate prediction unit 110. Thereby, it is possible to notify a user whether or not the current system performance is sufficient. Further, if the system performance is insufficient for the load applied to the system, it is possible to provide a user with recommendation as to how much the amount of resource added should be.
It should be noted that the present embodiment may be applied to the second to fifth embodiments.
In addition, according to the above-mentioned embodiments, the following invention is disclosed.
There is a capacity management support apparatus including:
storage unit that stores a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition which defines assumed load values as values of the loads that are assumed for a monitoring target system;
input unit that acquires input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
log acquisition unit that determines log types to be acquired on the basis of the input information and the type definition, and acquiring first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
log distribution estimation unit that acquires second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimating a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selecting a range, which satisfies a specific condition, from the distribution density function, and acquiring third log data, which is data belonging to the range, in the second log data; and
resource usage rate prediction unit that calculates a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculating predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
In the capacity management support apparatus according to Appendix 1,
the storage unit further stores a sorting definition that defines a condition and a method for sorting data pieces included in the third log data,
the capacity management support apparatus further includes log sorting unit that sorts the data pieces, which are included in the third log data, on the basis of the sorting definition so as to set the sorted data pieces as a plurality of fourth log data pieces, and
the resource usage rate prediction unit calculates the prediction expression for the resource usages, on the basis of the fourth log data.
In the capacity management support apparatus according to Appendix 2,
the storage unit further stores a correlation definition that associates main log types, which are log types determined on the basis of the input information and the load definition, with sub-log types which are log types correlated with the main log types, and defines patterns of the fourth log data on the basis of the resource usages of the main log types and the resource usages of the sub-log types,
the log acquisition unit further adds information on the sub-log types to the first log data, on the basis of the correlation definition,
the log distribution estimation unit estimates the distribution density function, on the basis of data of the resources and data of the loads relating to the main log types in the second log data, and
the log sorting unit further determines which of the patterns the plurality of the fourth log data pieces belongs to, on the basis of the correlation definition.
In the capacity management support apparatus according to any one of Appendices 1 to 3,
the storage unit further stores a safety factor definition that includes safety factors corresponding to types of the resources, and
the resource usage rate prediction unit corrects the predicted values and the prediction expression for the resource usage rates, on the basis of the safety factors.
In the capacity management support apparatus according to any one of Appendices 1 to 4,
the storage unit further stores a service level definition that includes a required value as the value of the load corresponding to a service level which is required for the monitoring target system, and
the capacity management support apparatus further includes service level determination unit that determines whether or not the monitoring target system satisfies the service level on the basis of the service level definition and the predicted values or the prediction expression calculated by the resource usage rate prediction unit.
In the capacity management support apparatus according to any one of Appendices 1 to 5,
the storage unit further stores a structure definition that stores an applied value, which indicates current performance of the monitoring target system, and an additional value which indicates a unit of an increase in the resources, and
the capacity management support apparatus further includes structure determination unit that determines whether or not it is necessary to enhance the performance of the monitoring target system on the basis of the structure definition and the predicted values and the prediction expression calculated by the resource usage rate prediction unit.
There is provided a capacity management method performed by a computer, including:
reading a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition, which defines assumed load values as values of the loads that are assumed for a monitoring target system, from storage unit;
acquiring input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
determining log types to be acquired on the basis of the input information and the type definition, and acquiring first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
acquiring second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimating a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selecting a range, which satisfies a specific condition, from the distribution density function, and acquiring third log data, which is data belonging to the range, in the second log data; and
calculating a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculating predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
There is provided a program for causing a computer to execute functions of:
storing a type definition, which associates logs for resources with logs for loads corresponding to the logs for the resources, and a load definition which defines assumed load values as values of the loads that are assumed for a monitoring target system;
acquiring input information which specifies association between the logs for the resources and the logs for the loads from among the type definition;
determining log types to be acquired on the basis of the input information and the type definition, and acquiring first log data which is obtained by extracting data on the determined log type from the logs held by the monitoring target system;
acquiring second log data, which is data of correspondence relationships between the specific resources and the specific loads extracted from the first log data, on the basis of the type definition, estimating a distribution density function, which indicates actual distribution of load values and resource usages, on the basis of the second log data, selecting a range, which satisfies a specific condition, from the distribution density function, and acquiring third log data, which is data belonging to the range, in the second log data; and
calculating a prediction expression for resource usage rates on the basis of data of a certain threshold value or more in the third log data, and calculating predicted values of the resource usage rates, on the basis of the prediction expression and the load definition.
In the capacity management method according to Appendix 7,
the storage unit further stores a sorting definition that defines a condition and a method for sorting data pieces included in the third log data, and
the computer
sorts the data pieces, which are included in the third log data, into a plurality of fourth log data pieces, on the basis of the sorting definition, and
calculates the prediction expression for the resource usages, on the basis of the fourth log data.
In the capacity management method according to Appendix 9,
the storage unit further stores a correlation definition that associates main log types, which are log types determined on the basis of the input information and the load definition, with sub-log types which are log types correlated with the main log types, and defines patterns of the fourth log data on the basis of the resource usages of the main log types and the resource usages of the sub-log types, and
the computer
further adds information on the sub-log types to the first log data, on the basis of the correlation definition,
estimates the distribution density function, on the basis of data of the resources and data of the loads relating to the main log types in the second log data, and
further determines which of the patterns the plurality of the fourth log data pieces belongs to, on the basis of the correlation definition.
In the capacity management method according to any one of Appendices 7, 9, and 10,
the storage unit further stores a safety factor definition that includes safety factors corresponding to types of the resources, and
the computer
corrects the predicted values and the prediction expression for the resource usage rates, on the basis of the safety factors.
In the capacity management method according to any one of Appendices 7 and 9 to 11,
the storage unit further stores a service level definition that includes a required value as the value of the load corresponding to a service level which is required for the monitoring target system, and
the computer
determines whether or not the monitoring target system satisfies the service level on the basis of the service level definition and the predicted values or the prediction expression calculated by the resource usage rate prediction unit.
In the capacity management method according to any one of Appendices 7, 9 to 12,
the storage unit further stores a structure definition that stores an applied value, which indicates current performance of the monitoring target system, and an additional value which indicates a unit of an increase in the resources, and
the computer
determines whether or not it is necessary to enhance the performance of the monitoring target system on the basis of the structure definition and the predicted values and the prediction expression calculated by the resource usage rate prediction unit.
In the program according to Appendix 8, the program further causes the computer to execute
further storing a sorting definition that defines a condition and a program for sorting data pieces included in the third log data,
sorting the data pieces, which are included in the third log data, into a plurality of fourth log data pieces, on the basis of the sorting definition, and
calculating a prediction expression for the resource usages, on the basis of the fourth log data.
In the program according to Appendix 14, the program further causes the computer to execute
further storing a correlation definition that associates main log types, which are log types determined on the basis of the input information and the load definition, with sub-log types which are log types correlated with the main log types, and defines patterns of the fourth log data on the basis of the resource usages of the main log types and the resource usages of the sub-log types,
further adding information on the sub-log types to the first log data, on the basis of the correlation definition,
estimating the distribution density function, on the basis of data of the resources and data of the loads relating to the main log types in the second log data, and
further determining which of the patterns the plurality of the fourth log data pieces belongs to, on the basis of the correlation definition.
In the program according to any one of Appendices 8, 14, and 15, the program further causes the computer to execute
further storing a safety factor definition that includes safety factors corresponding to types of the resources, and
correcting the predicted values and the prediction expression for the resource usage rates, on the basis of the safety factors.
In the program according to any one of Appendices 8 and 14 to 16, the program further causes the computer further to execute
further storing a service level definition that includes a required value as the value of the load corresponding to a service level which is required for the monitoring target system, and
determining whether or not the monitoring target system satisfies the service level on the basis of the service level definition and the predicted values or the prediction expression for the resource usage rates.
In the program according to any one of Appendices 8, 14 to 17, the program further causes the computer to execute
further storing a structure definition that stores an applied value, which indicates current performance of the monitoring target system, and an additional value which indicates a unit of an increase in the resources, and
determining whether or not it is necessary to enhance the performance of the monitoring target system on the basis of the structure definition and the predicted values and the prediction expression for the resource usage rates.
As described above, the embodiments of the present invention was described with reference to the drawings. However, the embodiments are just examples of the present invention, and may employ various configurations other than the above-mentioned configurations.
Further, in the description of each embodiment described above, the plurality of operations was sequentially described in the form of the flowchart. However, the order of the description does not limit the order of execution of the plurality of operations. Hence, in the case of carrying out each embodiment, the order of the plurality of operations may be changed in a range in which no trouble is caused on a content basis.
Furthermore, in each embodiment described above, the plurality of operations is not limited to executing the individual operations at different timings. For example, during execution of a certain operation, another operation may be executed, or the execution timings of a certain operation and another operation may be partially or fully overlapped with each other.
Moreover, in the description of each embodiment described above, a certain operation functions as a trigger of another operation. However, the description does not limit all the relationships between the certain operation and other operations. Hence, in the case of carrying out each embodiment, the relationships of the plurality of operations may be changed in a range in which no trouble is caused on a content basis. In addition, the detailed description of each operation of each component does not limit each operation of each component. Therefore, each specific operation of each component may be changed in a range in which no trouble is caused in functional, performance, and other characteristics when carrying out each embodiment.
This application claims the benefit of priority from Japanese Patent Application No. 2012-47305 filed on Mar. 2, 2012, and the content of which is incorporated herein by reference in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2012-047305 | Mar 2012 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2013/000188 | 1/17/2013 | WO | 00 | 8/30/2013 |