This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2013-209499, filed on Oct. 4, 2013, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a control program, a control device, and a control method.
In recent years, cloud systems have been available that leverage a virtualization technology in servers and networks, and allow a plurality of computing resources in a network to be used as a computing resource of a user. Such a cloud system is getting large-scaled and complicated, and changes in the system are made on a daily basis. For example, devices are added, and parameters concerning the design of the system are added or changed.
Following a request to change the system, designing of the system is conducted. In designing the system, a designer creates design rules. The design rules here are the rules to design parameters concerning the designing, and a design procedure is a collection of design rules arranged in the order of execution. Then, a device that automatically generates parameters generates, based on the design rules and the design procedure created, the parameters concerning the system to which the changes are made.
Furthermore, when changes in system configuration are made following the change request of the system, it is preferable to change the design rules. When the system configuration is complicated, however, it is difficult for the designer to change the design rules.
Consequently, known is a technology in which, following the changes in the device configuration in a domain, a rule managing device that can automatically change the design rules, for example (see Japanese Laid-open Patent Publication No. 2000-156712, for example). In such a technology, the rule managing device stores domain-independent rules, in which elements indicative of individual devices are isolated from rule information, in a database. The rule managing device then automatically changes the design rules from the device configuration information changed and the domain-independent rules stored in advance, in response to a device configuration change of each domain from a domain administrator.
In a large-scale system such as a cloud system, however, there may be situations in which the design rules are not changed automatically. For example, in a data center in the system, there may be situations in which the environment of usage is changed, or in which devices are replaced or added following a specification change. The specification change includes changes concerning the performance, as one example. In such a case, although it is preferable to change the design rules, the design rules are not changed automatically. More specifically, there are situations in which the design rules that correspond to the environmental changes and specification changes are not changed automatically.
According to an aspect of an embodiment, a non-transitory computer-readable recording medium stores therein a control program that causes a computer to execute a process. The process includes extracting, from specification-item change information indicative of change information concerning specification items of hardware changed in past and parameter change information indicative of change information concerning parameters set to the hardware, combinations of the specification-item change information and the parameter change information being in correlation. The process includes calculating a relational expression of the specification-item change information and the parameter change information for each of the combinations extracted at the extracting. The process includes generating a change pattern of the parameter change information corresponding to the specification-item change information by the relational expression calculated at the calculating.
The object and advantages of the invention 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 invention, as claimed.
Preferred embodiments of the present invention will be explained with reference to accompanying drawings. The present invention, however, is not intended to be limited by the embodiment.
Configuration of Control Device
When the design unit is a unit of data center, on the data center, the control device 1 extracts the specifications and parameters that are in correlation by using the change information on changed specifications and the change information on values set to the parameters at the time the specifications were changed in the past. The control device 1 then generates the tendency of change in the extracted specifications and parameters as a change pattern. Furthermore, when the design unit is a unit of server, on a server installed in a data center, the control device 1 extracts the specifications and parameters that are in correlation by using the change information on changed specifications and the change information on values set to the parameters at the time the specifications were changed in the past. The control device 1 then generates the tendency of change in the extracted specifications and parameters as a change pattern. The following describes in detail the control device 1 when the design unit is a unit of data center 2, as one example.
As illustrated in
The storage module 11 corresponds to a storage device such as a non-volatile semiconductor memory device of a flash memory and a ferroelectric random access memory (FRAM, registered trademark), for example. The storage module 11 includes specification information 111, parameter information 112, design rules 113 before the change, and design rules 114 after the change.
The specification information 111 is, for example, the information concerning the performance of a data center, which includes the information on a network interface card (NIC), the information on the memory installed on a physical server, and the number of virtual machines (VMs) deployed in a physical server, as one example. The specification information 111 further includes the number of physical servers deployed in the data center, the total number of VMs deployed in the data center, the information on CPU, and the information on HDD. While the specification information 111 includes the information represented by a string of characters such as the information on the architecture of the CPU and the information on the model, it is assumed that the information represented by a string of characters is not handled here. More specifically, it is assumed that the specification information 111 handles the information represented by numerical values.
Now, the data structure of the specification information 111 will be described with reference to
Referring back to
Now, the data structure of the parameter information 112 will be described with reference to
Returning to
The design rules 113 and 114 are the rules to set the values of the parameters concerning the designing to the data center. The design rules 113 are the design rules recorded at the timing of a trigger, and are referred to as before-change design rules. The design rules 114 are the design rules in which the before-change design rules were changed by a later-described design-rule change module 124, and are referred to as after-change design rules.
Now, an example of the design rules 113 and 114 will be described with reference to
The controller 12 includes an internal memory to store therein programs that define procedures of various processes and control data, and executes the various processes with the foregoing. The controller 12 corresponds to an electronic circuit of an integrated circuit such as an application specific integrated circuit (ASIC) and a field programmable gate array (FPGA), for example. Alternatively, the controller 12 corresponds to an electronic circuit such as a central processing unit (CPU) and a micro processing unit (MPU). The controller 12 further includes a relationship extracting module 121, a change-pattern generator 122, a change-rule generator 123, the design-rule change module 124, and a design-rule applying module 125.
The relationship extracting module 121 extracts combinations of change information, in which specification items and parameters are in correlation, from the change information concerning the specification items of the data center changed in the past and the change information concerning the parameters set to the data center. The change information concerning the specification items here is referred to as “specification-item change information”, and the “specification-item change information” is present for each specification item. The “specification-item change information” includes a change scale of a value of a specification item. The change information concerning the parameters is referred to as “parameter change information”, and the “parameter change information” is present for each parameter. The “parameter change information” includes a change scale of a value of a parameter.
For example, the relationship extracting module 121 calculates, for each change, a change scale between the same specification items in two pieces of the specification information 111 before and after the change, for each specification item. The relationship extracting module 121 then generates, for each specification item, the specification-item change information between the two pieces of the specification information 111. Furthermore, the relationship extracting module 121 calculates, for each change, a change scale between the same parameters in two pieces of the parameter information 112 before and after the change, for each parameter. The relationship extracting module 121 then generates, for each parameter, the parameter change information between the two pieces of the parameter information 112.
The relationship extracting module 121 then extracts combinations of the parameter change information and the specification-item change information that are in correlation, from the specification-item change information and the parameter change information in the change information on a plurality of changes. As one example, the relationship extracting module 121 extracts round robin combinations of the specification-item change information and the parameter change information for the change information on each change. The relationship extracting module 121 then extracts, out of the extracted combinations, the combinations in which neither one of the change scales is one as “related”. The relationship extracting module 121 further extracts, out of the extracted combinations, the combinations in which either one of the change scales is one as “not related”. Then, the relationship extracting module 121 extracts, out of the extracted combinations, the combination in which “not related” is not present in the change information on any of the changes, as a combination of “related”. Furthermore, the relationship extracting module 121 excludes, out of the extracted combinations, the combination in which the “not related” is present in the change information on any of the changes as a combination of “not related”. The relationship extracting module 121 ignores the combination in which both change scales are one, as a combination of “unknown” for which whether the relationship is present is indeterminable.
The change-pattern generator 122 calculates a relational expression of the specification-item change information and the parameter change information for each combination extracted by the relationship extracting module 121. In other words, the change-pattern generator 122 generates a tendency that is common to each change, as a change pattern, for each combination extracted by the relationship extracting module 121. Now, the tendency of changes in parameters that follows a change in specification item will be described with reference to
Referring back to
If the change ratios for the respective changes of the selected combination are not the same, the change-pattern generator 122 then generates a change rule which will be described later.
The change-rule generator 123 generates a change rule for the selected combination. More specifically, the change-rule generator 123 generates, for the selected combination, a rule (change rule) in which, when the value of the specification item is changed, the value of the parameter also needs to be changed. That is, in the combination in which the tendency of change is not constant, a change pattern is not generated although it is the combination of “related”. Thus, the change-rule generator 123 generates a change rule for the combination of “related” for which a change pattern is not generated.
For example, it is assumed that there is a tendency of being changed at the same time among the specification items. Under this assumption, the change-rule generator 123 extracts, by using the specification-item change information on each change, two specification items in which neither one of the change scales is one. More specifically, the change-rule generator 123 extracts two specification items that have the tendency of being changed at the same time among the specification items. Then, if the combination of one specification item, out of the two specification items extracted, and one parameter is the combination that has a change pattern, the change-rule generator 123 generates a change rule by using the parameter and the other specification item. The change rule is used for checking whether a design rule has been changed by the relation of the parameter and the other specification item.
The design-rule change module 124 changes the design rule that sets the value of the parameter corresponding to the change pattern by using the change pattern generated by the change-pattern generator 122 and the specification-item change information on the specification item to be changed this time. For example, the design-rule change module 124 reads out the design rule 113 that sets the value of the parameter corresponding to the change pattern generated by the change-pattern generator 122 from the storage module 11. The design-rule change module 124 then changes the read-out design rule 113 by using the change pattern generated by the change-pattern generator 122 and the specification-item change information on the specification item to be changed this time, and records the after-change design rule 114 in the storage module 11.
The design-rule change module 124 further checks, by using the change rule generated by the change-rule generator 123, whether the after-change design rule 114 was changed by the relation of the specification item and the parameter which correspond to the change rule.
The design-rule applying module 125 applies the after-change design rule 114, and based on the design rule 114, automatically designs the parameter.
Next, the relationship extracting module 121 in the embodiment will be described with reference to
As illustrated on the left side in
The relationship extracting module 121 then extracts, out of the extracted combinations, the combinations in which neither one of the change scales is one as “related”. Here, the combination of “NIC” and “parameter1”, the combination of “NIC” and “parameter2”, and the combination of “NIC” and “Parameter4” are extracted as “related”, as one example.
The relationship extracting module 121 then extracts, out of the extracted combinations, the combinations in which either one of the change scales is one as “not related”. Here, the combination of “NIC” and “parameter3”, the combination of “NIC” and “parameter5”, and the combination of “NIC” and “PARAMETER6” are extracted as “not related”, as one example.
As illustrated in
The combination in the lower row is the combination of the specification item of “CPU” and the parameter of “parameter5”. In the combination of the lower row, the change scales are one-and-a-half-fold each in the change 2, and the combination is of “related”. In the change 4, the change scale of the specification item is twofold and the change scale of the parameter is one-fold, and thus the combination is of “not related”. In the other changes 1, 3, and 5, the change scales are one-fold each, and thus the combinations are of “unknown”. In this combination, because the “not related” is present in the change information on the change 4, the relationship extracting module 121 excludes it as a combination of “not related”.
Next, the change-pattern generator 122 in the embodiment will be described with reference to
The combination illustrated in
The combination illustrated in
The combination illustrated in
Next, the change-rule generator 123 in the embodiment will be described with reference to
Under such a condition, the change-rule generator 123 extracts, by using the specification-item change information on each change, two specification items in which neither one of the change scales is one. More specifically, the change-rule generator 123 extracts two specification items that have the tendency of being changed at the same time among the specification items. It is assumed here that two specification items of “Memory (GB)/S” and “deployed number of VMs” are extracted.
Then, if the combination of one specification item, out of the two specification items extracted, and one parameter is the combination that has a change pattern, the change-rule generator 123 generates a change rule by using the parameter and the other specification item. It is assumed here that the combination of “Memory (GB)/S” as the specification item and “parameter3” as the parameter is the combination that has a change pattern.
Then, the change-rule generator 123 generates a change rule by using the parameter of “parameter3” and the other specification item of “deployed number of VMs”. Generated here is the change rule in which, when the specification item of “deployed number of VMs” is changed, the parameter of “parameter3” is changed. Furthermore, when the specification item of “deployed number of VMs” is changed one-and-a-half-fold, or in the positive direction, the parameter of “parameter3” is changed twofold, or in the positive direction. Thus, the change rule is generated as “IF deployed number of VMs=change (+) THEN parameter3=change (+)”.
Next, the design-rule change module 124 in the embodiment will be described with reference to
In
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
Procedure for Design-Rule Change Process
The following describes a procedure for a design-rule change process with reference to
The relationship extracting module 121 first determines whether there was a change request for a design rule (Step S11). If there is no change request for a design rule (No at Step S11), the relationship extracting module 121 repeats the determining process until there is a change request for a design rule.
In contrast, if there was a change request for a design rule (Yes at Step S11), the relationship extracting module 121 calculates change scales of all of the specification items and the parameters between the respective changes (Step S12). For example, the relationship extracting module 121 calculates, for the respective changes, a change scale between the same specification items in two pieces of the specification information 111 before and after the change, for each specification item. The specification-item change information is generated for each change and for each specification item. The relationship extracting module 121 then calculates, for the respective changes, a change scale between the same parameters in two pieces of the parameter information 112 before and after the change, for each parameter. The parameter change information is generated for each change and for each parameter.
The relationship extracting module 121 then extracts the combinations in which the change scales of the specification item and the parameter are other than one-fold as “related” (Step S13). For example, the relationship extracting module 121 extracts round robin combinations of the specification-item change information and the parameter change information for the change information on each change. The relationship extracting module 121 then extracts, out of the round robin combinations, the combinations in which neither one of the change scales is one as “related”.
The relationship extracting module 121 then extracts the combinations in which the change scales of the specification item and the parameter include one-fold as “not related” (Step S14). For example, the relationship extracting module 121 extracts, out of the round robin combinations, the combinations in which either one of the change scales of the specification-item change information and the parameter change information is one as “not related”.
Subsequently, the relationship extracting module 121 selects one combination out of the extracted combinations (Step S15).
The relationship extracting module 121 then determines whether the “not related” is present in any of the change information on the selected combination (Step S16). If the “not related” is present in any of the change information on the selected combination (Yes at Step S16), the relationship extracting module 121 excludes the selected combination as “not related” (Step S17).
In contrast, if the “not related” is not present in any of the change information on the selected combination (No at Step S16), the change-pattern generator 122 determines whether the change ratios in the respective change information on the selected combination are the same (Step S18). If the change ratios in the respective change information on the selected combination are not the same (No at Step S18), the change-rule generator 123 generates a change rule that the parameter is also changed if the specification item is changed (Step S19). The procedure is then moved on to Step S23 in order for the change-rule generator 123 to select a subsequent combination.
In contrast, if the change ratios in the respective change information on the selected combination are the same (Yes at Step S18), the change-pattern generator 122 calculates, based on the change ratio, a linear function of the specification-item change information and the parameter change information (Step S20). The change-pattern generator 122 then generates, by the linear function, a change pattern of the parameter change information corresponding to the specification-item change information (Step S21).
Subsequently, the design-rule change module 124 changes the before-change design rule 113, based on the generated change pattern and the specification-item change information on the specification item to be changed this time (Step S22). The design-rule change module 124 then records the changed design rule in the storage module 11 as the after-change design rule 114.
The relationship extracting module 121 then determines whether all of the extracted combinations were selected (Step S23). If all of the extracted combinations were not selected (No at Step S23), the procedure is moved on to Step S15 in order for the relationship extracting module 121 to select a subsequent combination.
In contrast, if all of the extracted combinations have been selected (Yes at Step S23), the design-rule change module 124 determines whether parameters expected to be changed have been changed in the design rules (Step S24). For example, the design-rule change module 124 checks, by using the change rule generated by the change-rule generator 123, whether the after-change design rule 114 has been changed by the relation of the specification item and the parameter which correspond to the change rule.
If the parameters expected to be changed have been changed in the design rules (Yes at Step S24), the design-rule change module 124 ends the design-rule change process.
In contrast, if the parameters expected to be changed have not been changed in the design rules (No at Step S24), the design-rule change module 124 outputs change requests to the administrator (Step S25). The design-rule change module 124 then ends the design-rule change process.
In accordance with the foregoing embodiment, the control device 1 extracts, from the change information concerning the specification items of hardware changed in the past and the change information on the parameters set to the hardware, the combinations of the specification-item change information and the parameter change information that are in correlation. The control device 1 calculates a relational expression of the specification-item change information and the parameter change information for each of the extracted combinations. The control device 1 then generates a change pattern of the parameter change information corresponding to the specification-item change information by the calculated relational expression. According to such a configuration, even if there is a change concerning the specification item of the hardware, the use of the generated change pattern enables the control device 1 to automatically change the value of the parameter related to the specification item.
Furthermore, in accordance with the embodiment, the control device 1 extracts, from the specification-item change information and the parameter change information at a plurality of time points of change, the combinations of the specification-item change information and the parameter change information that are in correlation. The control device 1 then calculates, by using the specification-item change information and the parameter change information at each time point of change, a relational expression of the specification-item change information and the parameter change information for each of the extracted combinations. According to such a configuration, calculating a relational expression of the specification-item change information and parameter change information by using the specification-item change information and parameter change information at the time points of change enables an accurate change pattern to be generated.
In accordance with the embodiment, the control device 1 excludes, from the specification-item change information indicative of change scales concerning the specification items and parameter change information indicative of the change scales concerning the parameters at a plurality of time points of change, the combinations in which either one of the change scales is one as having no correlation. According to such a configuration, excluding the combinations in which either one of the change scales is one as having no correlation enables the control device 1 to generate a change pattern promptly.
In accordance with the embodiment, the control device 1 calculates relational expressions for the extracted combinations when the change ratios obtainable from the change scales of the specification-item change information and the change scales of the parameter change information are the same at a plurality of time points of change. According to such a configuration, the control device 1 can reliably calculate the relational expression of the specification-item change information and the parameter change information.
In accordance with the embodiment, the control device 1 executes the following process for the extracted combinations when the change ratios obtainable from the change scales of the specification-item change information and the change scales of the parameter change information are not the same at a plurality of time points of change. That is, the control device 1 requests that, if the value of the specification item concerning the specification-item change information is changed, the value of the parameter concerning the parameter change information is to be changed. According to such a configuration, the control device 1 can function as a check function when the value of the parameter was not changed.
In accordance with the embodiment, the control device 1 changes, by using the generated change patterns and the specification-item change information on the specification items to be changed this time, design rules indicative of the conditions and definitions used for setting the parameters. According to such a configuration, the control device 1 can automatically change the design rules that set the values of the parameters related to the specification items to be changed this time.
Others
In the embodiment, it has been described that, at the time there is a specification change in the newly structured data center 2, for example, the relationship extracting module 121 extracts the combinations of the change information on the specification items and parameters that are in correlation. Then, the change-pattern generator 122 generates a change pattern for each of the combinations extracted by the relationship extracting module 121. The relationship extracting module 121, however, is not limited to this. The relationship extracting module 121 may in advance, before the specification change is made, extract the combinations of the change information on the specification items and parameters that are in correlation, and the change-pattern generator 122 may generate a change pattern for each of the combinations extracted by the relationship extracting module 121.
Furthermore, in the embodiment, it has been described that the change pattern generator 122 calculates, for each of the combinations extracted by the relationship extracting module 121, the change ratios for the change scales of the specification items and the parameters included in the change information on each change. Then, the change-pattern generator 122 selects the combinations one by one, and if the change ratios of the respective changes are the same for the selected combination, calculates a linear function of the specification-item change information and parameter change information based on the change ratio. The change-pattern generator 122, however, is not limited to this. The change-pattern generator 122 may calculate, by using the change information on a single change without using the change information on a plurality of changes, the change ratios for the change scales of the specification items and parameters included in the change. Then, the change-pattern generator 122 only needs to select the combinations one by one and, if the change ratios of the change are the same for the selected combination, calculate a linear function of the specification-item change information and parameter change information based on the change ratio.
Furthermore, the control device 1 can be implemented by installing the functions of the various modules in the foregoing such as the relationship extracting module 121, the change-pattern generator 122, and the change-rule generator 123 on a known information processing apparatus such as a personal computer and a workstation.
The respective constituent elements of the device illustrated in the drawings are not necessarily physically configured as illustrated in the drawings. In other words, the specific embodiments of distribution or integration of the device are not limited to those illustrated, and the whole or a part thereof can be configured by being functionally or physically distributed or integrated in any unit according to various types of loads and usage. For example, the change-pattern generator 122 and the change-rule generator 123 may be integrated as a single module. Meanwhile, the design-rule change module 124 may be distributed to a change module that changes a design rule by using a change pattern, and a checking module that checks whether a design rule has been changed by using a change rule. Moreover, the storage module 11 may be configured to be stored in an external device of the control device 1, or an external device in which the storage module 11 is stored may be connected to the control device 1 via a network.
The various processes described in the foregoing embodiment can be implemented by executing a program prepared in advance on a computer such as a personal computer and a workstation. In the following description, explained is an example of a computer that executes a control program which renders the same functions as those of the control device 1 illustrated in
As illustrated in
The drive device 213 is a device for a removable disk 211, for example. The HDD 205 stores therein a control program 205a and control-related information 205b.
The CPU 203 reads out the control program 205a, loads it onto the memory 201, and executes it as a process. Such a process corresponds to the various function modules of the control device 1. The control-related information 205b corresponds to the specification information 111, the parameter information 112, and the design rules 113 and 114. The removable disk 211 stores therein the respective information such as the specification information 111, for example.
Note that the control program 205a is not necessarily stored in the HDD 205 from the beginning. For example, the program may be stored in a “transportable physical medium” that is inserted to the computer 200 such as a flexible disk (FD), a CD-ROM, a DVD disc, a magneto-optical disk, and an IC card. Then, the computer 200 may be configured to read out the control program 205a from the foregoing and execute it.
In accordance with one aspect of the embodiment, the design rules can be changed automatically even when environmental changes and specification changes are made.
All examples and conditional language recited herein are intended for pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations 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 embodiment of the present invention has 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.
Number | Date | Country | Kind |
---|---|---|---|
2013-209499 | Oct 2013 | JP | national |