The present invention relates to a system construction device and a system construction method.
System construction is a work of deploying (installing and setting) a program module (hereinafter, module) such as OS (Operating System), middleware (hereinafter, MW), an application (hereinafter, AP), which is a component required for operating a system, on a computer.
Recently, a virtual machine (VM) is used for the system construction. In the system construction using the virtual machine, by deploying a VM image which is a binary file generated in advance for constructing a virtual machine of a system having a specific configuration on a computer, the system having the specific configuration is constructed easily.
A method for constructing systems having different configurations by using the virtual machine mentioned above efficiently is disclosed in NPL 1, for example. According to the technology disclosed in NPL 1, each system is constructed by constructing a virtual machine, which includes a common OS among the systems as a component, using a VM image, and deploying MW modules and AP modules, which are different per the system, on the virtual machine.
Here, as a related technology, managing differential data of virtual images, which are used on a client, on a server is disclosed in PTL 1. Moreover, constructing an active system and a test system, each of which is constructed using a virtual machine, is disclosed in PTL 2.
In NPL 1 mentioned above, it is necessary for a manager or the like to generate a binary file of the virtual machine, which includes a common component, depending on configurations of the plural systems to be constructed. Here, in the case of constructing systems, which include various configurations different each other, in a data center or the like, there is a problem that a burden of the manager or the like for generating such the binary file becomes severe.
An object of the present invention is to solve the problem mentioned above. Specifically, the object is to provide a system construction device and a system construction method which, in the case of constructing systems having configurations different each other by using a virtual machine including a common component, are able to generate a binary file of the virtual machine depending on the configurations of the plural systems to be constructed, efficiently.
A system construction device according to an exemplary aspect of the invention includes: an acquisition means for acquiring a plurality of pieces of configuration information regarding respective systems each indicating a virtual machine and an additional module to be deployed on the virtual machine; and a generation means for generating, when a virtual machine is matched and at least one additional module is matched among the acquired pieces of configuration information, a binary file for operating the matched virtual machine and the matched additional module.
A system construction method according to an exemplary aspect of the invention includes: acquiring a plurality of pieces of configuration information regarding respective systems each indicating a virtual machine and an additional module to be deployed on the virtual machine; and generating, when a virtual machine is matched and at least one additional module is matched among the acquired pieces of configuration information, a binary file for operating the matched virtual machine and the matched additional module.
A computer readable storage medium according to an exemplary aspect of the invention, records thereon a program, causing a computer to perform a method comprising: acquiring a plurality of pieces of configuration information regarding respective systems each indicating a virtual machine and an additional module to be deployed on the virtual machine; and generating, when a virtual machine is matched and at least one additional module is matched among the acquired pieces of configuration information, a binary file for operating the matched virtual machine and the matched additional module.
An advantageous effect of the present invention is that, in the case of constructing systems having configurations different each other by using a virtual machine including a common component, it is possible to generate a binary file of the virtual machine depending on the plural systems to be constructed, efficiently.
Next, a first exemplary embodiment of the present invention will be explained.
Firstly, a configuration of the first exemplary embodiment of the present invention will be explained.
Referring to
In the first exemplary embodiment of the present invention, a configuration of a system is defined using a basic VM image and additional modules as a component. A virtual machine is constructed by deploying the basic VM image on the process device 200. The system is constructed by deploying the additional modules on the virtual machine which is constructed on the process device 200.
Here, the ‘deployment’ means to send identifiers of a VM image or a module to the process device 200, and to make the process device 200 construct a virtual machine by using the VM image or install the module on the virtual machine.
The VM image is a binary file (image file) for activating a virtual machine, which includes specific modules, on the process device 200. The VM image is generated, for example, on the basis of data of the virtual machine existing in a storage unit at a certain point of time, when the virtual machine has constructed by deploying the specific modules. The VM image includes binary data obtained by combining each of modules in a deployed (installed) state, and setting (configuration) to each of the modules. Moreover, the VM image may include information on a resource (resource information) required by the virtual machine, such as a number of CPUs (Central Processing Unit), a memory size, a disk size or the like. By deploying the VM image on the process device 200, it is possible to construct the virtual machine including the specific modules on the process device 200 without deploying each of the specific modules individually.
The basic VM image is a VM image of a virtual machine which is constructed firstly as a base when constructing a system. The basic VM image is, for example, a VM image of a virtual machine including a common OS among a plurality of systems, as a component.
The additional module is a module which is deployed on the virtual machine constructed with the basic VM image. The additional module is, for example, a module specific to a system, such as MW, AP or the like.
The system construction device 100 constructs a system on the process device 200 according to configuration information of the system (system configuration information) which is included in a system construction request inputted by a user or the like.
In the first exemplary embodiment of the present invention, the configuration information of the system and configuration information of the VM image described later are described with procedures (construction procedures) for constructing the system and the VM image respectively. The configuration information includes an identifier of a basic VM image (basic VM image ID), and a list of additional construction processes carried out on the virtual machine constructed by using the basic VM image. Here, an order from a top of the list of the additional construction processes indicates an order for carrying out each additional construction process. The additional construction process includes a command for carrying out an install program of the virtual machine or the like on OS, and an identifier of a module to be deployed (installed) by the install program.
In the system configuration information, as the basic VM image, a VM image (initial VM image) generated by a manager or the like, in advance, is designated. The initial VM image includes the common OS among a plurality of the systems and the resource information, for example. Moreover, as the additional construction process, a process for deploying the module which is specific to the system, such as MW, AP or the like, is designated.
In the system configuration information shown in
Note that the command designated in the additional construction process may be a command other than ‘Install’ as far as the command can install a module on the virtual machine. Moreover, a construction unit 150 or a predetermined program on the virtual machine may convert description on the additional construction process into a command which can be carried out on the virtual machine.
The system construction device 100 includes a VM image generation unit (or generation unit) 110, a system information acquisition unit (or acquisition unit) 120, a VM image deletion unit 130, a configuration information conversion unit 140, the construction unit 150, a system information storage unit 160, a VM image information storage unit 170, a VM image usage record storage unit 180, and an additional construction process record storage unit 190.
Here, the system information storage unit 160 stores system information 161 (161a, 161b, . . . ) which is information with respect to each system for which the system construction request is received.
The system information acquisition unit 120 acquires the system configuration information from the system information storage unit 160.
The VM image generation unit 110 generates a VM image, which can be used as a common basic VM image among the different systems, on the basis of the acquired plural pieces of the system configuration information
The VM image information storage unit 170 stores VM image information 171 (171a, 172b, . . . ) with respect to each VM image which has been generated already.
The configuration information conversion unit 140 converts the system configuration information, which is inputted by a user or the like, into system configuration information in which the VM image generated by the VM image generation unit 110 is set as a basic VM image.
The construction unit 150 constructs a system on the process device 200 according to the system configuration information converted by the configuration information conversion unit 140.
The VM image usage record storage unit 180 stores a VM image usage record 181 (181a, 182b, . . . ). The VM image usage record 181 for a VM image is a record indicating that the VM image has been used as a basic VM image in the system construction.
The additional construction process record storage unit 190 stores an additional construction process record 191 (191a, 191b, . . . ). The additional construction process record 191 for an additional construction process is a record indicating that the additional construction process has been carried out in the system construction.
The VM image deletion unit 130 deletes a VM image on the basis of the VM image usage record 181 and the additional construction process record 191.
The VM image generation unit 110, the system information acquisition unit 120, the VM image deletion unit 130, the configuration information conversion unit 140 and the construction unit 150 may be implemented on a program-controlled computer which includes CPU and a storage medium storing a program. The system information storage unit 160, the VM image information storage unit 170, the VM image usage record storage unit 180 and the additional construction process record storage unit 190 may be configured as a separate storage medium or configured as one storage medium.
Moreover, at least one of the system information storage unit 160, the VM image information storage unit 170, the VM image usage record storage unit 180 and the additional construction process record storage unit 190 may be included in another device which is communicatably connected with the system construction device 100.
The process device 200, which is a computer including a resource such as CPU, a memory, a disk and the like, includes a VM management unit 210, a VM image storage unit 230 and a module storage unit 240.
The VM management unit 210 is a program, which manages a virtual machine (VM 220), such as the hypervisor or the like. The VM management unit 210 obtains resources, which are required for constructing a virtual machine, according to resource information included in the VM image designated by the system construction device 100. Then, the VM management unit 210 constructs the VM 220 by using binary data included in the VM image. Moreover, the VM management unit 210 generates a VM image of a system constructed on the VM 220.
An install program on the VM 220 installs a module designated by the system construction device 100 on the VM 220.
The VM image storage unit 230 stores a real form (data file) of the initial VM image generated in advance by a manager or the like.
The module storage unit 240 stores a real form (data file) of each module to be deployed on the VM 220.
Next, an operation of the system construction device 100 in the first exemplary embodiment of the present invention will be explained.
(VM Image Generation Process)
Firstly, a process for generating a VM image (VM image generation process) will be explained.
Here, it is assumed that the pieces of system information 161a to 161c shown in
The system construction device 100 receives an input of a new system construction request, which includes the system configuration information, from a user (Step S101).
For example, the system construction device 100 receives an input of a new system construction request including the system configuration information shown in
The system construction device 100 stores the system information 161, which includes the system configuration information, included in the system construction request in the system information storage unit 160 (Step S102).
For example, the system construction device 100 stores system information 161d shown in
The VM image generation unit 110 acquires the system configuration information stored in the system information storage unit 160 through the system information acquisition unit 120, and judges whether a VM image generation condition is satisfied (Step S103).
Here, as the generation condition, ‘there is a set of pieces of system configuration information, in which a VM image is the same and at least one top additional construction process in sequential order of a list of additional construction processes is the same’ is used.
In the case that the generation condition is satisfied in Step S103 (Y in Step S103), the VM image generation unit 110 generates VM image configuration information for the set of pieces of system configuration information which satisfy the generation condition (Step S104).
Here, the VM image generation unit 110 sets an identifier of the basic VM image of the set of the pieces of system configuration information, which satisfy the generation condition, as an identifier of the basic VM image of the VM image configuration information. Then, the VM image generation unit 110 sets the same top additional construction process in sequential order of the list of additional construction processes of the set, as an additional construction process of the VM image configuration information.
In the case that there are a plurality of sets of pieces of system configuration information which satisfy the generation condition, the VM image generation unit 110 may generate the VM image configuration information for a set of pieces of system configuration information including the largest number of the same top additional construction processes in sequential order of a list of additional construction processes.
For example, in
Moreover, in
The VM image generation unit 110 generates VM image configuration information, to which basic VM image ‘VM001’ and additional construction processes ‘Install_A’, and ‘Install_C’ are set, regarding the set of the system configuration information of the system information 161d, and the system configuration information of the system information 161b which have the largest number of the same top additional construction processes.
The VM image generation unit 110 judges whether VM image information 171, which includes the generated VM image configuration information, exists in the VM image information storage unit 170 (Step S105).
In the case that the VM image information 171, which includes the generated VM image configuration information, does not exist (N in Step S105), the VM image generation unit 110 constructs a virtual machine based on the generated VM image configuration information and generates a VM image of the virtual machine, through the construction unit 150 (Step S106).
In this case, the VM image generation unit 110 sends the generated VM image configuration information to the construction unit 150. The construction unit 150 constructs the virtual machine based on the VM image configuration information by carrying out a process similar to a system construction process (Step S203 in
For example, the VM image generation unit 110 generates the VM image according to the VM image configuration information shown in
The VM image generation unit 110 stores the identifier of the generated VM image, the VM image configuration information and the data size in the VM image information storage unit 170 as the VM image information 171 (Step S107), and ends the process.
For example, the VM image generation unit 100 stores VM image information 171d with respect to VM image ‘VM103’ in the VM image information storage unit 170, as shown in
On the other hand, in the case that the generation condition is not satisfied in Step S103 (N in Step S103) or in the case that the VM image information 171 including the generated VM image configuration information has existed already in Step S105 (Y in Step S105), the VM image generation unit 110 ends the process.
(System Construction Process)
Next, a process for constructing a system (system construction process) according to a system construction request inputted by a user or the like will be explained.
The system construction process is carried out following the VM image generation process mentioned above in the case that the system construction device 100 receives a new system construction request from a user.
Here, it is assumed that, as a result of carrying out the VM image construction process in response to the new system construction request including the system configuration information shown in
The configuration information conversion unit 140 of the system construction device 100 acquires system configuration information, which is included in the new system construction request, from the system information storage unit 160 through the system information acquisition unit 120. The configuration information conversion unit 140 judges whether a VM image, which satisfies a conversion condition for the acquired system configuration information, exists in the system configuration information (Step S201).
Here, as the conversion condition, ‘a basic VM image is the same as the basic VM image of the system configuration information, all of additional construction processes are included in the additional construction processes of the system configuration information, and an order of each additional construction process is the same as the order of the same additional construction processes of the system configuration information’ is used. The configuration information conversion unit 140 judges whether a VM image, which has VM image configuration information satisfying the conversion condition, exists in the VM image information storage unit 170.
In the case that a VM image which satisfies the conversion condition exists in Step S201 (Y in Step S201), the configuration information conversion unit 140 converts the system configuration information by using the VM image configuration information of the VM image which satisfies the conversion condition.
Here, the configuration information conversion unit 140 sets an identifier of the VM image, which satisfies the conversion condition, as an identifier of a basic VM image of the system configuration information. Then, the configuration information conversion unit 140 sets differential additional construction processes as additional construction processes of the system configuration information. The differential additional construction processes are obtained by deleting additional construction processes of the VM image configuration information satisfying the conversion condition from additional construction processes of the system configuration information.
In the case that there are a plurality of VM images which satisfy the conversion condition, the configuration information conversion unit 140 may convert the system configuration information by using VM image configuration information of a VM image which has the largest number of additional construction processes (VM image configuration information of a VM image with which the smallest number of the differential additional construction processes are obtained).
For example, in
Moreover, regarding VM image ‘VM103’ of the VM image information 171d, basic VM image ‘VM001’ in the VM image configuration information is the same as the basic VM image of the system configuration information (before conversion), and additional construction processes ‘Install_A’ and ‘Install_C’ are included in the additional construction processes of the system configuration information, and an order of ‘Install_A’ and ‘Install_C’ is the same as that of the system configuration information. Accordingly, VM image ‘VM103’ satisfies the above-mentioned conversion condition.
The configuration information conversion unit 140 converts the system configuration information by using the VM image configuration information of VM image ‘VM103’ which has the largest number of additional construction processes.
As shown in
On the other hand, in the case that there is no VM image which satisfies the conversion condition (N in Step S201), the configuration information conversion unit 140 proceeds to Step S203.
Next, the construction unit 150 constructs the system on the process device 200 according to the system configuration information (Step 203).
Here, the construction unit 150 instructs the VM management unit 210 to construct VM 220 designating the identifier of the basic VM image which is designated in the system configuration information, to the VM management unit 210 of the process device 200. The VM management unit 210 acquires the designated basic VM image to construct the VM 220.
Then, the construction unit 150 carries out commands, which are designated in each additional construction process of the system configuration information, on the VM 220, from a top of the commands, sequentially. The install program on the VM 220 acquires a module, which is designated with the command, from the module storage unit 240, and deploys the module on the VM 220. Here, the construction unit 150 acquires a process time which has been consumed for carrying out each additional construction process.
For example, the construction unit 150 deploys basic VM image ‘VM103’ on the process device 200 according to the system configuration information (after conversion) shown in
By this, a system, which has the same configuration as the configuration of the system to be constructed according to the system configuration information (before conversion) shown in
The construction unit 150 stores the VM image usage record 181, which is related to the deployed VM image, in the VM image usage record storage unit 180 (Step S204). Here, the construction unit 150 sets and stores an identifier of the deployed VM image and a deployment (usage) time in the VM image usage record 181.
For example, the construction unit 150 stores a VM image usage record 181c regarding VM image ‘VM103’ shown in
The construction unit 150 stores the additional construction process record 191, which is related to each additional construction process, in the additional construction process record storage unit 190 (Step S205). Here, the construction unit 150 sets and stores the additional construction process which has been carried out, and a process time, which has been consumed for carrying out the additional construction process, in the additional construction process record 191.
For example, the construction unit 150 stores an additional construction process record 191g regarding additional construction process ‘Install_G’ shown in
(VM Image Deletion Process)
Next, a process for deleting a VM image (VM image deletion process) will be explained.
The VM deletion process is carried out periodically, for example. The VM image deletion process may be carried out in response to a user's request. The VM image deletion process may be carried out after receiving the system construction request (
The VM image deletion unit 130 judges whether a deletion condition of the VM image is satisfied (Step S301).
Here, as the deletion condition, ‘there is a VM image having usage frequency equal to or smaller than a predetermined threshold value’ is used. The usage frequency is calculated on the basis of the VM image usage record 181 of the VM image usage record storage unit 180, for example, on the basis of usage time for a predetermined period of time.
For example, it is assumed that VM image usage records 181a to 181e are stored in the VM image usage record storage unit 180, and the usage frequency is calculated on the basis of ‘usage time for the latest three months’. In this case, the usage frequency of each VM image is calculated as shown in
In the case that the deletion condition is satisfied in Step S301 (Y in Step S301), the VM image deletion unit 130 deletes the VM image which satisfies the deletion condition (Step S302).
Here, the VM image deletion unit 130 instructs the VM management unit 210 of the process device 200 to delete the VM image which satisfies the deletion condition. The VM management unit 210 deletes the designated VM image from the VM image storage unit 230.
For example, the VM image deletion unit 130 deletes VM image ‘VM101’.
The VM image deletion unit 130 deletes VM image information 171, which is related to the deleted VM image, from the VM image information storage unit 170.
For example, the VM image deletion unit 130 deletes the VM image information 171b shown in
Note that, in Step S301, the VM image deletion unit 130 may use a deletion condition that ‘there is a VM image having an improvement degree of process efficiency is equal to or lower than a predetermined threshold value’.
Here, as the improvement degree of process efficiency, a total value of process times of plural additional construction processes in the VM image configuration information, which is calculated on the basis of the additional construction process record 191 stored in the additional construction process record storage unit 190, can be used.
In the exemplary embodiment of the present invention, it is assumed that a difference between a time required for deploying a VM image in which additional modules have been deployed and a time required for deploying a VM image in which the additional modules have not been deployed is quite shorter than a time required for deploying the additional modules (additional construction processes). In this case, it is conceivable that, by carrying out the system construction using the VM image, a system construction time is shortened by the time indicated by the improvement degree of process efficiency, in comparison with a case of carrying out each additional construction process for the VM image.
For example, it is assumed that the additional construction process records 191a to 191g shown in
Then, in the case that the deletion condition is that ‘there is a VM image having an improvement degree of process efficiency is shorter than 10 minutes’, VM image ‘VM101’ and VM image ‘VM103’ satisfy the deletion condition. The VM image deletion unit 130 deletes VM image ‘VM101’ and VM image ‘VM103’.
Note that, in order to calculate the improvement degree of process efficiency, another value, which indicates a process load of each additional construction process, such as CPU usage rate, a memory usage rate or the like at a time when carrying out each additional construction process, may be used instead of the process time of each additional construction process.
Moreover, in Step S301, the VM image deletion unit 130 may use a deletion condition ‘a total of data sizes of the VM images is equal to or larger than a predetermined threshold value’.
In this case, a total of the data sizes of the VM images is calculated on the basis of the data size which is set in the VM image information 171 of each VM image.
For example, it is assumed that the pieces of the VM image information 171a to 171d shown in
Then, the VM image deletion unit 130 deletes, for example, a VM image which has the largest data size.
For example, the VM image deletion unit 130 deletes VM image ‘VM103’.
Here, instead of deleting the VM image which has the largest data size, the VM image deletion unit 130 may delete a VM image of which the usage frequency, the improvement degree of process efficiency, or both of them is equal to or smaller than a predetermined threshold value or smaller than that of another VM image.
On the other hand, in the case that the deletion condition is not satisfied in Step S301 (N in Step S301), the VM image deletion unit 130 ends the process.
As described above, the operation of the first exemplary embodiment of the present invention is completed.
Next, a characteristic configuration of the first exemplary embodiment of the present invention will be explained.
Referring to
The system information acquisition unit 120 acquires a plurality of pieces of configuration information regarding respective systems each indicating a virtual machine and an additional module to be deployed on the virtual machine.
The VM image generation unit 110 generates, when a virtual machine is matched and at least one additional module is matched among the acquired pieces of configuration information, a binary file for operating the matched virtual machine and the matched additional module.
According to the first exemplary embodiment of the present invention, in the case of constructing the systems having configurations different each other, by using a virtual machine including a common component, it is possible to generate a binary file of the virtual machine depending on the plurality of systems to be constructed, efficiently.
The reason is that, in the case that a virtual machine is matched and at least one additional module is matched among the pieces of configuration information, the VM image generation unit 110 generates the binary file (VM image) for operating the matched virtual machine and the matched additional module.
Moreover, according to the first exemplary embodiment of the present invention, in the case of constructing the systems having configurations different each other, by using a virtual machine including a common component, it is possible to carry out the system construction more efficiently in comparison with a case of using a VM image of a virtual machine having a specific module such as OS or the like as a component.
The reason is that the VM image generation unit 110 generates a VM image regarding a set of systems, which have the largest number of the same additional construction processes. By this, a number of the additional construction processes becomes small in the system configuration information which is converted by the system configuration information conversion unit 140 using the VM image, and therefore the time required for the system construction is shortened.
Moreover, according to the first exemplary embodiment of the present invention, even in the case that a configuration of the system to be constructed is not apparent in advance, or is changed, it is possible to generate a VM image which is adaptive to the configuration of the system to be constructed.
The reason is that, in the case that a new system construction request is inputted, the VM image generation unit 110 generates the VM image on the basis of a plurality of pieces of system configuration information including the piece of system configuration information of the new system construction request.
Moreover, according to the first exemplary embodiment of the present invention, it is possible to manage the VM image efficiently. The reason is that the VM image deletion unit 130 deletes the VM image on the basis of a predetermined condition regarding usage frequency, an improvement degree of process efficiency, or the data size of the VM image.
Next, a second exemplary embodiment of the present invention will be explained.
The second exemplary embodiment of the present invention is different from the first exemplary embodiment of the present invention in a point that, in the VM image generation process, in the case that there are a plurality of sets of pieces of system configuration information each of which satisfies the generation condition, a VM image is generated regarding a set which can generate VM image configuration information having the largest improvement degree of process efficiency.
A configuration of the second exemplary embodiment of the present invention is the same as the configuration of the first exemplary embodiment (
Next, an operation of the system construction device 100 in the second exemplary embodiment of the present invention will be explained.
In the second exemplary embodiment of the present invention, it is assumed that modules to be deployed by the additional construction processes are independent each other, and it is possible to change an order of each of the additional construction processes. In this case, it is not necessary to compare the order of the additional construction process when judging whether the generation condition of the VM image is satisfied and judging whether the conversion condition of the system configuration information is satisfied.
Firstly, the VM image generation process will be explained.
Here, it is assumed that pieces of system information 161e and 161f shown in
Furthermore, it is assumed that the system construction device 100 receives an input of a system construction request including system configuration information shown in
In Step S103 of the VM image generation process (
Next, in Step S104, the VM image generation unit 110 generates VM image configuration information regarding a set of pieces of system configuration information having the largest improvement degree of process efficiency.
For example, in
Moreover, in
The VM image generation unit 110 generates a configuration information candidate (#1) in which basic VM image ‘VM001’ and additional construction processes ‘Install_A’, ‘Install_B’ are set, and a configuration information candidate (#2) in which basic VM image ‘VM001’ and additional construction processes ‘Install_B’, ‘Install_C’ are set, as shown in
The VM image generation unit 110 calculates an improvement degree of process efficiency for each of the generated configuration information candidates by carrying out a way similar to Step S303 of the VM image deletion process (
For example, the VM image generation unit 110 calculates the improvement degree of process efficiency for each of the configuration information candidates as shown in
The VM image generation unit 110 selects a configuration information candidate having the largest improvement degree of process efficiency, as the VM image configuration information.
For example, the VM image generation unit 110 selects the configuration information candidate (#2) shown in
Next, in Step S106, the VM image generation unit 110 generates a VM image according to the selected VM image configuration information.
For example, the VM image generation unit 110 acquires an identifier ‘VM201’ of the VM image which is generated according to the configuration information candidate (#2) shown in
Next, the system construction process will be explained.
In Step 201 of the system construction process (
In Step 202, the configuration information conversion unit 140 converts the system configuration information by using the VM image configuration information which satisfies the conversion condition.
For example, in
Moreover, regarding VM image ‘VM 202’ of the VM image information 171g, basic VM image ‘VM001’ of the VM image configuration information is the same as the basic VM image of the system configuration information (before conversion), and additional construction processes ‘Install_B’, ‘Install_C’ are included in the additional construction processes of the system configuration information. Accordingly, VM image ‘VM202’ satisfies the conversion condition mentioned above.
The configuration information conversion unit 140 converts the system configuration information by using VM image configuration information of VM image ‘VM202’ which has the largest number of additional construction processes.
The configuration information conversion unit 140 converts the system configuration information (before conversion) into system configuration information (after conversion) in which ‘VM202’ is set as a basic VM image, and ‘Install_A, which is obtained by deleting the additional construction processes of the VM image configuration information of VM image ‘VM202’ from the additional construction processes of the system configuration information, is set as an additional construction process, as shown in
Next, in Step S203, the construction unit 150 constructs the system on the process device 200 according to the converted system configuration information.
For example, the construction unit 150 deploys basic VM image ‘VM202’ to the process device 200 according to the system configuration information (after conversion) shown in
As described above, the operation of the second exemplary embodiment of the present invention is completed.
Note that, according to the second exemplary embodiment of the present invention, in the VM image generation process, in the case that there are a plurality of sets of pieces of system configuration information each of which satisfies the generation condition, the VM image generation unit 110 selects the set which can generate VM image configuration information having the largest improvement degree of process efficiency, and generates the VM image. Similarly, in the system construction process, in the case that there are a plurality of VM images which satisfy the conversion condition, the configuration information conversion unit 140 may select the VM image having the largest improvement degree of process efficiency, and convert the system configuration information.
According to the second exemplary embodiment of the present invention, in the case of constructing the systems having the configurations different each other, by using a VM image of the virtual machine including a common component, it is possible to carry out the system construction more efficiently in comparison with the first exemplary embodiment.
The reason is that the VM image generation unit 110 generates a VM image regarding a set of pieces of system configuration information in which VM image configuration information having the largest improvement degree of process efficiency is set. Accordingly, it is possible to convert system configuration information by using the VM image which has the large improvement degree of process efficiency, and consequently the time required for the system construction is shortened furthermore.
Next, a third exemplary embodiment of the present invention will be explained.
The third exemplary embodiment of the present invention is different from the first exemplary embodiment of the present invention in a point that a VM image of another system, which has been constructed already in the system construction process, is used as a basic VM image of the system configuration information.
A configuration of the third exemplary embodiment of the present invention is the same as the configuration of the first exemplary embodiment (
Next, an operation of the system construction device 100 in the third exemplary embodiment of the present invention will be explained.
The VM image generation process in the third exemplary embodiment of the present invention is the same as one in the first exemplary embodiment (
Next, the system construction process will be explained.
Here, it is assumed that the VM image information storage unit 170 stores pieces of VM image information 171a to 171d and 171h shown in
The VM image information 171h is information related to VM image ‘VM301’ which is, after constructing a system by carrying out additional construction process ‘Install_G’ on basic VM image ‘VM103’, generated for the system as explained in the first exemplary embodiment of the present invention.
In Step S201 of the system construction process (
The second conversion condition is that ‘another VM image, which satisfies the first conversion condition, is set as a basic VM image, and all of additional construction processes are included in additional construction processes of the system configuration information’. The configuration information conversion unit 140 may repeat recursively the judgment whether there is a VM image which satisfies the second conversion condition.
For example, in
Moreover, regarding a VM image ‘VM301’ of VM image information 171h, basic VM image ‘VM103’ is a VM image which satisfies the conversion condition (first conversion condition), and additional construction process ‘Install_G’ is included in the additional construction processes of the system configuration information. Accordingly, the VM image ‘VM301’ satisfies the second conversion condition.
The configuration information conversion unit 140 converts the system configuration information (before conversion) into system configuration information (after conversion) in which ‘VM301’ is set as a basic VM image, and ‘Install_H, which is obtained by deleting the additional construction processes of the VM images ‘VM103’ and ‘VM301’ from the additional construction processes of the system configuration information, is set as an additional construction process, as shown in
Next, in Step 203, the construction unit 150 constructs a system on the process device 200 according to the system configuration information (after conversion).
For example, the construction unit 150 deploys basic VM image ‘VM301’ to the process device 200 according to the system configuration information (after conversion) shown in
As described above, the operation of the third exemplary embodiment of the present invention is completed.
According to the third exemplary embodiment of the present invention, it is possible to use a VM image of the system, which has been constructed by using the system configuration information converted in the system construction process, as a basic VM image in the other system construction process.
The reason is that the configuration information conversion unit 140 judges whether a VM image, in which the other VM image satisfying the conversion condition is set as its basic VM image, can be used as a basic VM image.
While the invention has been particularly shown and described with reference to exemplary embodiments thereof, the invention is not limited to these embodiments. It will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the claims.
This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2012-142899, filed on Jun. 26, 2012, the disclosure of which is incorporated herein in its entirety by reference.
Number | Date | Country | Kind |
---|---|---|---|
2012-142899 | Jun 2012 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/003758 | 6/17/2013 | WO | 00 |