This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2008-059528, filed on Mar. 10, 2008, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to an apparatus for managing attribute information on resources constituting a system, a medium recording an information processing program, and an information processing method.
A database called F-CMDB (Federated Configuration Management Database) is known. This is a database that manages all the information on the components on an information system by virtually integrating different kinds of databases that manage information on hardware and software constituting the information system.
As shown in
As shown in
Japanese Laid-open Patent Publication No. 2007-102300 discloses a product data management system that virtually integrates some pieces of product data used in a plurality of processes by a predetermined process flow to manage them.
However, in the above-described F-CMDB, when a CI on which F-CMDB information that is reconciled information is changed, it is necessary to reconcile all the CIs. For example, as shown in
According to an aspect of an embodiment of the invention, an apparatus for managing attribute information on a resource constituting a system includes a first reconciler that reconciles attribute information on the same resource based on a first determination criterion which is a predetermined criterion for reconciling the attribute information on the same resource; a first manager that manages, so as to be associated with one another, the attribute information on the same resource, the first determination criterion for reconciling the attribute information, and the reconciled attribute information of the attribute information; and a first updater that reconciles the attribute information on the same resource based on the first determination criterion associated with the attribute information when the attribute information, on the same resource, with which the reconciled attribute information is associated is updated.
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.
Hereinafter, the present embodiment will be described with reference to the drawings
First, the structure of an F-CMDB according to the present embodiment will be described.
The F-CMDB 10 has an operation executor 101, a reconciliation executor 102, an entity determiner 103 (the first reconciler, the first manager, and the first updater) a data manager 104 (the first manager and the second manager) and a property determiner 105 (the second reconciler, the second manager, and the second updater).
The F-CMDB 10 is connected to a plurality of non-illustrated databases that manage information on the resources constituting a system through a network, and integrates the information on the same resource managed with different local IDs by these databases.
A terminal 20 requests F-CMDB information 106 which is information on the system reconciled and configuration-managed by the F-CMDB 10.
The operation executor 101 receives a request to update the information on the resources from the connected databases, requests the reconciliation executor 102 to perform reconciliation, and requests the entity determiner 103 to perform reconciliation.
The entity determiner 103 identifies the CI (attribute information) based on the information to be updated, by an entity determination processing described later.
The data manager 104 manages the F-CMDB information 106, entity meta-information 107, and property meta-information 108.
The property determiner 105 identifies the properties (information and parameters constituting the CI such as HDD or Memory) of the CI based on the information to be updated, by a property determination processing described later.
Next, the entity meta-information and the property meta-information will be described.
The entity meta-information 107 is information referred to by the entity determiner 103 when it performs the entity determination processing. In the entity meta-information 107, as shown in
The F-CMDB information 106 includes the caches of the CIs updated by the connected databases, a plurality of CIs reconciled by the reconciliation function, and the relationship. In the description that follows, reconciled CIs will be referred to as global CIs, and the CIs in the databases will be referred to as local CIs.
The property meta-information 108 is information referred to by the property determiner 105 when it performs the property determination processing. In the property meta-information 108, as shown in
Now, the reconciliation policy will be described. The reconciliation policy is a rule for determining the information regarded as correct, from among a plurality of CIs when there is more than one CI that is to be referred to at the time of reconciliation. For example, in
While the number of reconciliation policies is one in the property meta-information 108 shown in
Next, the operation of the F-CMDB according to the present embodiment will be described.
As shown in
When in this processing, no reconciliation policy is set for the global CI to be updated, properties are determined based on the reconciliation policy set for each property of the global CI by the property determination processing described later.
When the local CI related to a new resource is registered, based on the registered local CI, the entity determiner 103 generates a global ID, registers the entity meta-information, and generates a global CI.
Hereinafter, the operation of the entity determination processing will be described with reference to the flowchart of
First, the entity determiner 103 determines whether Opr represents registration or not (S101).
When Opr represents registration (S101, YES), the entity determiner 103 checks D and d related to the same resource as that to which the registered local CI is related (S102), and determines whether there is even one d or not with reference to the entity meta-information 107 (S103).
When there is no d (S103, NO), since there is no D which is the global CI based on d, either, the entity determiner 103 newly generates the global ID (GID) of D (S104). Then, the entity determiner 103 registers the entity meta-information 107 of D based on the generated global ID, the registered local CI, and the reconciliation policy (S105, the first management step). Here, it is assumed that the reconciliation policy on which the entity meta-information 107 is based has been previously added to the local CI as required at the time of registration. Moreover, setting may be made at the entity determiner 103 so that a predetermined reconciliation policy is added by the registered local CI satisfying a predetermined condition. It is not essential that this reconciliation policy be added or set.
Then, the entity determiner 103 determines whether there is a reconciliation policy corresponding to D in the entity meta-information 107 or not (S106).
When there is a reconciliation policy corresponding to D (S106, YES, the reconciliation step), the entity determiner 103 registers D in the F-CMDB information 106 as a global CI (S107, the reconciliation step).
On the other hand, when there is no reconciliation policy in the registered entity meta-information 107 (S106, NO), the entity determiner 103 requests the property determiner 105 to perform reconciliation (S108).
At step S103, when there is even one d (S103, YES), since there is also D which is the global CI based on d, the entity determiner 103 performs not registration but change necessarily, and performs the processing of step S112 described later.
At step S101, when Opr does not represent registration (S101), the entity determiner 103 determines whether Opr represents change or not (S109).
When Opr represents change (S109, YES), with reference to the entity meta-information 107, with the local ID (LID) of the changed local CI as the argument, the entity determiner 103 checks d, which is the CI related to the same resource as that to which the local CI is related (S110), and determines whether there is even one d or not (S111).
When there is even one d (S111, YES), the entity determiner 103 changes, in the entity meta-information 107, the reconciliation policy of the entity meta-information corresponding to the global ID of D based on the changed local CI and the reconciliation policy added to the reconciliation request (S112, the first management step). It is not essential that the reconciliation policy be added to the reconciliation request. The reconciliation policy may be preset.
Then, the entity determiner 103 determines whether there is a reconciliation policy corresponding to the changed local CI or not (S113).
When there is a reconciliation policy corresponding to the changed local CI (S113, YES, the reconciliation step), the entity determiner 103 overwrites, of d prestored in the F-CMDB information 106 as caches, the changed local CI, reconciles D based on the changed d, and registers the result in the F-CMDB 106 (S114, the reconciliation step and the update step).
On the other hand, when there is no reconciliation policy corresponding to the changed local CI (S113, NO), the entity determiner 103 requests the property determiner 105 to perform reconciliation (S108).
At step S111, when there is no d (S111, NO), the entity determiner 103 ends the processing.
At step S109, when Opr does not represents change (S109, NO), that is, when Opr represents deletion, with reference to the entity meta-information 107, with the local ID (LID) of the deleted local CI as the argument, the entity determiner 103 checks d, which is the CI related to the same resource as that to which the local CI is related (S115), and determines whether there is even one d or not (S116).
When there is even one d (S116, YES), the entity determiner 103 deletes the information on the local ID (LID) of the deleted local CI from the entity meta-information 107 (S117, the management step), and determines whether there is a reconciliation policy corresponding to d or not (S118).
When there is a reconciliation policy corresponding to d (S118, YES, the reconciliation step), the entity determiner 103 reconciles D from d except the deleted local CI based on the reconciliation policy, and registers the reconciled D in the F-CMDB information 106 (S119, the reconciliation step and the update step).
On the other hand, when there is no reconciliation policy corresponding to d (S118, NO), the entity determiner 103 requests the property determiner 105 to perform reconciliation (S108).
At step S116, when there is no d (S116, NO), the entity determiner 103 ends the processing.
While registration, change, and deletion of the local CI are described in the flowchart of
Next, the property determination processing will be described.
As shown in
when the local CI based on the global CI has been registered, changed, or updated; and
when in the entity meta-information 107, no reconciliation policy is set for the global CI and the property changed in the updated local CI affects the global CI.
An example in which the local ID 11 is deleted as shown in
Of the properties of the local CI, HDD and CPU take the values of the global ID 1 according to the reconciliation policy. Therefore, HDD and CPU are to be updated, and the value of HDD of the global ID 1 is, as maximum value, 300 G, which is the value of HDD of the local ID21, and as for the value of CPU, since there is no other value based thereon, the value of CPU of the global ID 1 is deleted.
Hereinafter, the operation of the property determination processing will be described with reference to the flowchart of
First, the property determiner 105 determines whether Opr represents registration or not (S201).
When Opr represents registration (S201, YES), with reference to all the property meta-information 108, the property determiner 105 checks the property meta-information 108 corresponding to the global ID of D (S202), and determines whether there is property meta-information 108 corresponding to the global ID of D or not (S203).
When there is no property meta-information corresponding to the global ID of D (S203, NO), the property determiner 105 generates the global ID (GID) of D (S204) registers the property meta-information 108 of D (S205, the second management step), and registers D in the F-CMDB information 106 (S206, the second reconciliation step).
On the other hand, when there is property meta-information corresponding to the global ID of D (S203, YES), since there is also D, the property determiner 105 necessarily performs not registration but change, and performs the processing of step S210 described later.
At the determination of step S201, when Opr does not represent registration (S201, NO), the property determiner 105 determines whether Opr represents change or not (S207).
When Opr represents change (S207, YES), with reference to all the property meta-information 108, the property determiner 105 checks the property meta-information 108 corresponding to the global ID of D (S208), and determines whether there is property meta-information 108 corresponding to the global ID of D or not (S209).
When there is property meta-information 108 corresponding to the global ID of D (S209, YES), the property determiner 105 changes, in the property meta-information 108, the reconciliation policy of the property meta-information corresponding to each property of D based on the local ID of the changed local CI and the reconciliation policy added to the reconciliation request (S210, the management step). It is not essential that the reconciliation policy be added to the reconciliation request.
Then, the property determiner 105 narrows down the properties of D that need to be reconciled because of the change of the local CI (S211), performs reconciliation (S212, the reconciliation step and the update step), and registers the result of the reconciliation in the F-CMDB information 106 (S213).
At the determination of step S209, when there is no property meta-information 108 corresponding to the global ID of D (S209, NO), the property determiner 105 ends the processing.
At the determination of step S207, when Opr does not represent change (S207, NO), that is, when Opr represents deletion, with reference to all the property meta-information 108, the property determiner 105 checks the property meta-information 108 corresponding to the global ID of D (S214) and determines whether there is property meta-information 108 corresponding to the global ID of D or not (S215).
When there is property meta-information 108 corresponding to the global ID of D (S215, YES), the property determiner 105 deletes the information related to the local ID (LID) of the deleted local CI (S216, the management step) narrows down the properties that need to be reconciled because of the deletion of the information (S217), performs reconciliation (S218, the reconciliation step and the update step), and registers the result of the reconciliation in the F-CMDB information 106 (S213).
On the other hand, when there is no property meta-information 108 corresponding to the global ID of D (S215, NO), the property determiner 105 ends the processing.
As described above, when the local CI is updated, only the global CI that needs to be reconciled can be reconciled by the entity determination processing. Further, only the property of the global CI that needs to be reconciled can be reconciled by the property determination processing. Moreover, by using the reconciliation policy in the reconciliation, the reconciliation policy can be made a criterion for determining the global CI or the parameters of the global CI from a plurality of local CIs related to the same resource.
Next, the property determination processing shown in
First, the property determiner 105 determines whether the property of D is null or not, that is, whether the value of the property is temporarily deleted because of the update of the local CI on which D is based or not (S301).
When the property of D is null (S301, YES), the property determiner 105 determines whether the next value (including the next maximum value and the next minimum value) is recorded in the hint for the reconciliation of the property to be reconciled in the property meta-information 108 of D or not (S302).
When the next value is not recorded in the hint for the reconciliation of the property to be reconciled (S302, NO) the property determiner 105 determines whether the next master is recorded in the hint for the reconciliation of the property to be reconciled or not (S303).
When the next master is recorded in the hint for the reconciliation of the property to be reconciled (S302, YES) the property determiner 105 makes the value obtained from the next master the result of the reconciliation (S304).
On the other hand, when the next master is not recorded in the hint for the reconciliation of the property to be reconciled (S303, NO), the property determiner 105 performs reconciliation based on d (S305).
At the determination of step S302, when the next value is recorded in the hint for the reconciliation of the property to be reconciled (S302, YES), the property determiner 105 makes the next value the result of the reconciliation (S306).
At the determination of step S301, when D is not null (S301, NO), the property determiner 105 determines whether the next value is recorded in the hint for the reconciliation of the property to be reconciled or not (S307).
When the next value is not recorded in the hint for the reconciliation of the property to be reconciled (S307, NO) the property determiner 105 determines whether the next master is recorded in the hint for the reconciliation of the property to be reconciled or not (S308).
When the next master is not recorded in the hint for the reconciliation of the property to be reconciled (S308, NO) the property determiner 105 performs reconciliation based on d (S309).
On the other hand, when the next master is recorded in the hint for the reconciliation of the property to be reconciled (S308, YES), the property determiner 105 performs reconciliation with the next master and the property of the updated local CI (S310).
At the determination of step S307, when the next value is recorded in the hint for the reconciliation of the property to be reconciled (S307, YES), the property determiner 105 performs reconciliation with the next value and the property of the updated local CI (S311).
As described above, by using reconciliation hints whose values are predetermined, for reconciliation, when the property selected by the reconciliation policy is the property of the updated local CI, the reconciliation processing can be efficiently performed. For example, when the reconciliation policy is the maximum value and the property selected by the reconciliation policy is the property of the deleted local CI, the property determiner 105 can make the next maximum value the result of the reconciliation without performing reconciliation again. Even when the local CI is changed, the property of the global CI can be reconciled by comparing the property of the local CI with the next maximum value.
Further, a program to execute the above-described steps in a computer constituting an information processing apparatus can be provided as an information processing program. The above-mentioned program can be executed by the computer constituting the information processing apparatus by storing it in a computer-readable recording medium. Examples of the above-mentioned computer-readable recording medium include: internal storages incorporated in computers such as ROMs and RAMs and Hard Disk; portable storage media such as CD-ROMs, flexible disks, DVD disks, magneto-optical disks, and IC cards; databases holding computer programs.
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 embodiment(s) 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.
Number | Date | Country | Kind |
---|---|---|---|
2008-059528 | Mar 2008 | JP | national |