This technique relates to a technique for confirming setting information for apparatuses.
In a large-scale system such as cloud systems, there are a lot of cases where setting information such as host name and gateway is registered and/or changed. Therefore, a lot of troubles such as system failures, which are caused by setting errors, may occur, however, it is limited to reduce the setting errors by human confirmation or the like.
On the other hand, there is a method to extract a rule, which is applicable to almost all setting parameters, and mechanically detect setting parameters as error candidates, which violate the extracted rule. For example, data as illustrated in
However, when the rule is changed by an incorrect setting change, it is impossible to point out the error of the setting change, and it is impossible to detect the setting mistake from the rule after change. Although other various related techniques exist, there is no technique to solve such a problem.
Patent Document 1: Japanese Laid-open Patent Publication No. 2007-87232
Patent Document 2: Japanese Laid-open Patent Publication No. 2007-304759
Patent Document 3: Japanese Laid-open Patent Publication No. 2006-58938
Patent Document 4: Japanese Laid-open Patent Publication No. 2004-282662
Patent Document 5: Japanese Laid-open Patent Publication No. 2009-199321
Patent Document 6: Japanese Laid-open Patent Publication No. 2009-25167
Non-Patent Document 1: Filho, J. C. R., Affonso, C. M., Oliveira, R. C. L., “Pricing analysis in the Brazilian energy market: A decision tree approach”, PowerTech, 2009 IEEE Bucharest
In other words, there is no technique for appropriately extracting mistakes of setting changes.
An information processing method relating to this technique includes (A) first generating a first rule for each of plural parameters from first data including a parameter value of each of the plural parameters for each of plural setting targets; (B) second generating a second rule for each of the plural parameters from second data that is data after at least one parameter value included in the first data was changed; (C) third generating, for each group including one or plural parameters among the plural parameters, a pair of the first rule and the second rule, which include a parameter of the group; (D) calculating, for each pair of plural generated pairs, a first consistency ratio by applying the first rule included in the pair to the second data and a second consistency ratio by applying the second rule included in the pair to the first data; (E) with respect to a first pair whose second consistency ratio exceeds the first consistency ratio, first presenting a parameter value of a parameter, which contradicts the second rule included in the pair, in the second data to a user; and (F) with respect to a second pair whose first consistency ratio exceeds the second consistency ratio, second presenting a changed parameter value among parameter values of parameters relating to the pair to the user.
The object and advantages of the embodiment will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the embodiment, as claimed.
The setting data obtaining unit 101 obtains present setting data (also called setting data before change) from the management target system 200, and stores the obtained setting data into the first data storage unit 102. The present setting data may be obtained from a computer such as the operation administrator terminal 300. The change processing unit 103 generates setting data after change according to an instruction from the operation administrator terminal 300, and stores the generated setting data into the second data storage unit 104. The first rule extractor 105 extracts a first rule from the present setting data that is stored in the first data storage unit 102, and stores the extracted first rule into the first rule storage unit 107. Moreover, the second rule extractor 106 extracts a second rule from the setting data after change, which is stored in the second data storage unit 104, and stores the extracted second rule into the second rule storage unit 108.
The consistency ratio processing unit 109 performs a processing by using data stored in the first data storage unit 102, second data storage unit 104, first rule storage unit 107 and second rule storage unit 108, and stores data during the processing and processing results into the third data storage unit 110. Moreover, the consistency ratio processing unit 109 has a rule pair generator 1091, a consistency ratio calculation unit 1092 and an application rule determination unit 1093. The rule pair generator 1091 associates the first rule with the second rule to perform a processing. The consistency ratio calculation unit 1092 calculates a consistency ratio (which may be called “matching ratio”) when the first rule is applied to the setting data after change, and a consistency ratio when the second rule is applied to the present setting data. The application rule determination unit 1093 identifies a rule to be anteceded, from the magnitude correlation of the consistency ratios.
The output processing unit 111 uses data stored in the third data storage unit 110 to generate data to be outputted to the operation administrator terminal 300, and outputs the generated data to the operation administrator terminal 300. The final setting data is outputted and set to the management target system 200 from the change processing unit 103, for example.
Next, processing contents of the system illustrated in
For example, the present setting data is assumed to be data as illustrated in
The operation administrator operates the operation administrator terminal 300 to make a change for the setting data, and the operation administrator terminal 300 outputs the setting data after change to the change processing unit 103. The change processing unit 103 obtains the setting data after change from the operation administrator terminal 300, and stores the obtained setting data after change into the second data storage unit 104 (
For example, the operation administrator made changes for the server 1 in order to change the setting parameter “LANG” for all servers to “en”, however, at the same time, the operation administrator wrongly changed the value of the name server to “192.168.3.1”. Furthermore, it is assumed that the operation administrator copied and pasted the parameter values of the setting parameters other than “Region” for the server 1 to the server 2. In such a case, the setting data as illustrated in
Next, the first rule extractor 105 extracts the first rules from the present setting data, which is stored in the first data storage unit 102, and stores data of the extracted first rules into the first rule storage unit 107 (step S3).
Moreover, the second rule extractor 106 extracts the second rules from the setting data after change, which is stored in the second data storage unit 104, and stores data of the extracted second rules into the second rule storage unit 108 (step S5).
In this embodiment, one or plural rules are generated for each setting parameter. A method for generating a rule is similar to a conventional art, and the method itself is not a main portion of this embodiment. Therefore, the detailed explanation is omitted. For example, a decision tree like C4.5, which is described in Filho, J. C. R., Affonso, C. M., Oliveira, R. C. L., “Pricinganalysis in the Brazilian energy market: A decision tree approach”, PowerTech, 2009 IEEE Bucharest, or the like may be used. Moreover, the steps S3 and S5 may be executed in parallel, or may be executed in reversed order.
For example, the first rule, which was generated from the present setting data illustrated in
On the other hand, the second rule, which was generated from the setting data after change, which was illustrated in
Then, the rule pair generator 1091 of the consistency ratio processing unit 109 generates a comparison rule pair of the first rule stored in the first rule storage unit 107 and the second rule stored in the second rule storage unit 108, and stores data of the comparison rule pair into the third data storage unit 110 (step S7). Here, as one example, for each setting parameter, a pair including one first rule and one second rule is generated. However, when the first rule is the same as the second rule, the pair is excluded. This is because it is impossible to identify a setting mistake in the following processing. Moreover, a rule that one of the first rule and second rule contains the other is also excluded. For example, where there are a rule “dhcp if LANG represents jp” and a rule “dhcp for all”, “dhcp for all” contains a condition part of “LANG represents jp”, because the condition part of “dhcp for all” represents any condition part. Therefore, such a pair of these rules is excluded. Also in such a case, this is because it is impossible to compare the first rule with the second rule in the following processing, appropriately.
Moreover, when the comparison rule pair is generated, rules having the same conclusion part are paired, fundamentally. When the aforementioned excluded pair is obtained, rules having the different conclusion part are also paired.
In case of the first rule illustrated in
After that, the consistency ratio calculation unit 1092 of the consistency ratio processing unit 109 identifies one unprocessed comparison rule pair among the comparison rule pairs that were generated at the step S7 (step S9). Then, the consistency ratio calculation unit 1092 applies the first rule included in the identified comparison rule pair to the setting data after change, which is stored in the second data storage unit 104, counts the number of times that the setting data after change conforms to the first rule, calculates a first consistency ratio by dividing the counted number of times by the number of times that the condition part of the first rule is satisfied, and stores the calculated first consistency ratio into the third data storage unit 110 (step S11).
In an example of
Furthermore, the consistency ratio calculation unit 1092 applies the second rule included in the identified comparison rule pair to the present setting data (i.e. setting data before change) stored in the first data storage unit 102, counts the number of times that the present setting data conforms to the second rule, calculates the second consistency ratio by dividing the counted number of times by the number of times that the condition part of the second rule is satisfied, and stores the calculated second consistency ratio into the third data storage unit 110 (step S13). Then, the processing shifts to a processing in
In an example of
When the aforementioned processing results are summarized, the result as illustrated in
Shifting to the explanation of the processing in
Thus, when the condition like the step S17 is satisfied, it is possible to determine, based on the intention that the rule up to now is changed, that the change was made. Therefore, the second rule is applied.
According to the example in
If there is a portion that contradicts the second rule, data concerning a combination of the setting parameter name and server name in the pertinent portion is stored in the third data storage unit 110. Thus, assuming that the rule is changed by the correct setting change, the second rule is anteceded at the step S17.
On the other hand, when the second consistency ratio is less than the first consistency ratio, it is possible to determine that the rule is changed by the wrong setting change. Then, the first rule is applied. When the second consistency ratio is equal to the first consistency ratio, it is impossible to determine whether any of them is correct. Because of the safety, it is assumed that the wrong setting change was made. Therefore, the first rule is applied. In other words, when the second consistency ratio is equal to the first consistency ratio or when the second consistency ratio is less than the first consistency ratio, the application rule determination unit 1093 identifies a modified portion in the setting parameter that is a target of the first rule by comparing the setting data stored in the first data storage unit 102 with the setting data stored in the second data storage unit 104, and stores data to identify the modified portion into the third data storage unit 110 (step S19). Then, the processing shifts to the step S21.
In an example of
After that, the consistency ratio calculation unit 1092 determines whether or not there is an unprocessed comparison rule pair among the comparison rule pairs illustrated in
In this example, LANG of the server 1 is intentionally modified, however, is not identified at the steps S17 and S19. In other words, the wrong change is appropriately identified, and it is possible to warn the operation administrator of it.
When the operation administrator terminal 300 receives the output data from the output processing unit 111 of the information processing apparatus 100, the operation administrator terminal 300 outputs it to the display apparatus. When data as illustrated in
Thus, a case where the setting rule was changed because of the setting mistake can be identified, and the setting mistake can be detected. Furthermore, in such a case, it is possible to present the setting mistake in descending order of the possibility of the setting mistake to the operation administrator. Therefore, it is possible to perform a test before the actual setting change, and it is also possible to prevent troubles of the management target system beforehand. Furthermore, when this processing is performed for each setting change, it is possible to follow not only the setting mistake but also the rule change, and it is possible to continuously perform appropriate setting changes.
The output data in
Furthermore, as for the method for generating the comparison rule pair, there are variations. In the aforementioned example, a pair is generated for each setting parameter and further per a rule. However, as schematically illustrated in
As a further variation, a pair may be generated for plural setting parameters. In the example of
Although the embodiments of this technique were explained, this technique is not limited to these. For example, as for the processing flow, as long as the processing results do not change, the processing turns may be exchanged, or plural steps may be executed in parallel. Furthermore, the functional block diagram in
Moreover, in the aforementioned example, when the first consistency ratio is equal to the second consistency ratio, the step S19 is performed, however, the step S17 may be performed. Furthermore, instead of the steps S17 and S19, display representing no rule of the first and second rules is applicable may be made. Furthermore, when there is no rule that conforms to the condition part for any of the first and second rules, the processing result may be presented further in another way.
Furthermore, the operation administrator terminal 300 may have all or parts of functions in the information processing apparatus 100.
In addition, the aforementioned information processing apparatus 100 is a computer device as illustrated in
The aforementioned embodiments are outlined as follows:
An information processing method relating to the embodiments includes
(A) first generating a first rule for each of plural parameters from first data including a parameter value of each of the plural parameters for each of plural setting targets; (B) second generating a second rule for each of the plural parameters from second data that is data after at least one parameter value included in the first data was changed; (C) third generating, for each group including one or plural parameters among the plural parameters, a pair of the first rule and the second rule, which include a parameter of the group; (D) calculating, for each pair of plural generated pairs, a first consistency ratio by applying the first rule included in the pair to the second data and a second consistency ratio by applying the second rule included in the pair to the first data; (E) with respect to a first pair whose second consistency ratio exceeds the first consistency ratio, first presenting a parameter value of a parameter, which contradicts the second rule included in the pair, in the second data to a user; and (F) with respect to a second pair whose first consistency ratio exceeds the second consistency ratio, second presenting a changed parameter value among parameter values of parameters relating to the pair to the user.
By doing so, even when the change was erroneously made, it becomes possible to perform warning for the user, appropriately. The first rule relating to the pair may include plural rules, and the second rule relating to the pair may include plural rules.
Furthermore, in the aforementioned first or second presenting, the changed parameter value may be displayed so as to be distinguished according to a difference or a ratio between the first consistency ratio and the second consistency ratio. With this configuration, it becomes possible to distinguish and confirm the parameter value whose possibility of the error is high.
Moreover, the method may further include: upon detecting that the first consistency ratio is equal to the second consistency ratio, presenting the changed parameter value to the user. This presumes that the parameter value before change is used as the standard, however, other methods may be employed.
Furthermore, the third generating may include excluding, in the group, a pair whose first rule is identical with the second rule and a pair that one of the first rule and the second rule includes the other. In order to perform appropriate comparison, this is performed.
Furthermore, the aforementioned first consistency ratio may be calculated by counting the first number of setting targets including a parameter value that satisfies a condition of the first rule, counting the second number of times that a parameter value of a parameter that is included in the setting targets counted for the first number and is a target of the first rule is identical to a parameter value in a conclusion part included in the first rule, and dividing the second number of times by the first number of setting targets. The aforementioned second consistency ratio may be calculated by counting the third number of setting targets including a parameter value that satisfies a condition of the second rule, counting the fourth number of times that a parameter value of a parameter that is included in the setting targets counted for the third number and is a target of the second rule is identical to a parameter value in a conclusion part included in the second rule, and dividing the fourth number of times by the third number of setting targets.
Incidentally, it is possible to create a program causing a computer to execute the aforementioned processing, and such a program is stored in a computer readable storage medium or storage device such as a flexible disk, CD-ROM, DVD-ROM, magneto-optic disk, a semiconductor memory, and hard disk. In addition, the intermediate processing result is temporarily stored in a storage device such as a main memory or the like.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present inventions have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
This application is a continuing application, filed under 35 U.S.C. section 111(a), of International Application PCT/JP2012/051794, filed on Jan. 27, 2012, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2012/051794 | Jan 2012 | US |
Child | 14246717 | US |