Abstract:
A method comprises retrieving a change history for each of one or more configuration items for a specified time period, retrieving requests for change identifiers utilized for each of the configuration items in the specified time period, generating an audit report for the configuration items in accordance with the retrieved change history and the retrieve request for change identifiers, determining if each attribute value change in the change history of each of the configuration items is authorized, and recording a marker in the change history through which a given configuration item has authorized changes. Determining if each value change is authorized comprises comparing changes in the retrieved change history to the retrieved request for change identifiers for each of the configuration items to distinguish value changes that occurred without a request for change from value changes that occurred with a request for change.

Description:
CROSS REFERENCE TO RELATED APPLICATION 
       [0001]    This application is a Continuation of U.S. patent application Ser. No. 11/679,996, filed on Feb. 28, 2007, the disclosure of which is fully incorporated herein by reference. 
     
    
     FIELD OF THE INVENTION 
       [0002]    The present invention relates to information technology (IT) systems and, more particularly, methods and apparatus for providing authentication of configuration items (CIs) in a configuration management database (CMDB) through an analysis of CI changes and associated requests for change (RFCs). 
       BACKGROUND OF THE INVENTION 
       [0003]    Large and complex IT service management environments that provide multiple services to a plurality of customers can create an unmanageable number of entities. It is best practice to make use of a logically centralized repository for the storage and access of the data, commonly referred to as a CMDB. The configuration data stored in this CMDB includes a representation of managed resources; such a representation is called a CI. CMDB CIs represent an extensive range of logical and physical entities and their complex relationships. A typical implementation of a CMDB may contain more than 800 abstract object classes, with implicit and explicit relationships between them that may be extended in an open-ended fashion. 
         [0004]    Organizing entities into dependency trees or graphs for a high-level view of the topology eases systems management. A CMDB is broad and semantically rich enough that it may apply to higher layers such as, for example, a business process or a distributed application. A CMDB is also granular enough to represent, for example, tables in a database or enterprise Java beans (EJBs) used in an enterprise application. In real-world enterprise systems, there may be tens of thousands or more entities with complex relationships between them. Compositions are ideally suited to multi-layered topologies. 
         [0005]    The CMDB records the existence, attributes, relationships, history and status of CIs. An attribute is a descriptive characteristic of a CI such as, for example, make, model, serial number, or location. A relationship describes associations, such as, for example, the dependency and/or connectivity between CIs. 
         [0006]    Changes to CIs may be reflected within the CMDB by maintaining a record of such changes called a change history. As changes are made to CIs, some changes may be authorized by reference to controlling documents such as Request for Changes (RFCs) in accordance with IT Infrastructure Library best practices. These authorized changes will be intermingled with unauthorized changes as part of the overall change history. Therefore in looking at the current state of a CI, the administrator, or user of the CMDB, will be unaware of the correct authorized state of the CMDB, and unable to understand it without analyzing all changes since the inception of the CI. 
       SUMMARY OF THE INVENTION 
       [0007]    In accordance with the aforementioned and other objectives, the embodiments of the present invention are directed towards methods and apparatus for CI lifecycle state management and authentication within a CMDB. 
         [0008]    For example, in one aspect of the invention, techniques for authenticating one or more configuration items in an information repository comprise retrieving a change history for each of one or more configuration items for a specified time period, retrieving requests for change identifiers utilized for each of the one or more configuration items in the specified time period, generating an audit report for the one or more configuration items in accordance with the retrieved change history and the retrieve request for change identifiers, determining if each attribute value change in the change history of each of the one or more configuration items is authorized, and recording a marker in the change history through which a given configuration item has authorized changes. Determining if each value change is authorized comprises the step of comparing changes in the retrieved change history to the retrieved request for change identifiers for each of the one or more configuration items to distinguish value changes that occurred without a request for change from value changes that occurred with a request for change. 
         [0009]    These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0010]      FIG. 1  shows a lifecycle state diagram illustrating available lifecycle states and transitions for a CI, according to an embodiment of the present invention; 
           [0011]      FIG. 2  shows a flow diagram illustrating a CI state transition authentication methodology, according to an embodiment of the present invention; 
           [0012]      FIG. 3  shows a user change history, according to an embodiment of the present invention; 
           [0013]      FIG. 4  shows a sample audit report, according to an embodiment of the present invention; and 
           [0014]      FIG. 5  is a diagram illustrating an illustrative hardware implementation of a computing system in accordance with which one or more components/methodologies of the present invention may be implemented, according to an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
       [0015]    As will be described in detail below, the embodiments of the present invention introduce techniques for authenticating lifecycle state transitions of CIs in a CMDB. A CI may be augmented with properties so that it is possible to review the change history from a marker position and identify the authorized variance report data generated from just this portion of the change history. A CI audit is the process of verifying changes made to a CI. Changes that are made to a CI as a result of a RFC are considered authorized changes in accordance with best practice. 
         [0016]    Referring initially to  FIG. 1 , a lifecycle state diagram illustrates available states for a CI and permissible lifecycle state transitions, according to an embodiment of the present invention. The lifecycle state of a CI is the span of time that begins when the CI is created and ends when it is no longer available for use. The lifecycle state of a CI is stored in the CMDB as a CI attribute and may be one of the following states: unknown, other, ordered, received, in-test, tested, installed, enabled, disabled, in-maintenance, retired, archived, accepted, draft, build, validate, production-ready, sunset, postproduction, inventory, development, and offline. 
         [0017]    In the specific embodiment of a CI lifecycle state diagram shown in  FIG. 1 , a draft state  102  is shown having transitions to a build state  104  and an inventory state  106 . Inventory state  106  has transitions to an archive state  108  as well as build state  104 . Build state  104  has transitions to a development state  110  and a tested state  112 . Development state  110  also has a transition to tested state  112 . Tested state  112  has a transition to a production-ready state  114  as well as draft state  102 . Production-ready state  114  has a transition to a production state  116 , a protected lifecycle state. Production state  116  has a transition to a sunset state  118 , another protected lifecycle state. Both production state  116  and sunset state  118  have transitions to postproduction state  120 . Post-production state  120  has a transition to inventory state  106  and archive state  108 . 
         [0018]    In accordance with an embodiment of the present invention, the lifecycle state attribute is read-only when viewed in the work with configuration items portlet. It can be modified in a change lifecycle state portlet or by calling a Web Services CTGPMCMControICIState process. 
         [0019]    A CI with its lifecycle state attribute in a protected state is considered to be under change control. A state should be designated as protected if changes to the CI would have a significant impact on the environment, with such changes accountable to an RFC. As shown the embodiment of the present invention in  FIG. 1 , protected lifecycle states include production state  116  and sunset state  118 . Therefore, changes to the lifecycle state either to or from protected states require association with an RFC. If a CI&#39;s lifecycle state transition does not involve protected states, an RFC is not required for the transition. A lifecycle state may be set as protected by modifying the protectedLifecycleStates property in the ciLifecycleMgmt.txt file. By default, production state  116  and sunset state  118  are protected. 
         [0020]    When a CI is transitioned into, from or between protected lifecycle states, the RFC relationship is updated to reflect this fact. For cases where the CMDB is used to store RFCproxies and maintain a refers relationships between CIs and RFCproxies, changes to the lifecycle state which involve protected states are reflected in updates to the AffectedTime property of an affects relationship. For cases where an RFC external to the CMDB is cited, such as, for example, useRFCProxiesOnly property described below, the association is recorded in an RFC_RECONCILATION table within the process database. 
         [0021]    An example of the importance of a protected lifecycle state would be the identification of a server as a CI in a managed environment. The server CI goes through the following unprotected lifecycle states: installed, testing and production-ready, respectively. When the server is put into production, the lifecycle state needs to be changed to production state, which is a protected lifecycle state. An RFC is required to change the lifecycle state of the server CI to production state, because putting the server into production is having a significant impact on the environment. 
         [0022]    A CI audit lists changes that have been made to a CI, shows the changed attributes, when the changes were made, and the values of the attributes before and after the changes. Audits may be run on specific CIs or on all CIs of a particular type. Audits may be created and run immediately or scheduled to run at specific times. When an audit is run, the results of the audit are saved as input to a report which is saved in the CMDB. 
         [0023]    Embodiments of the present invention introduce two properties into a CI, a LastAuditStatus and a LastAuditTime, and an AffectsTime property on the Affects relationship between the CI and the RFC. These properties, when used in the manner described below, provide a methodology by which the authorized state of a CI can be ascertained from reviewing only a limited amount of change history information, in accordance with one of the reports that can be created. 
         [0024]    The change history for a CI reflects all changes made to the CI, with values recorded with time stamps. Change history can be used along with RFCs by the user to determine if the change is authorized. The association between CIs and RFCs is made by relationships, such as, for example, an Affects relationship. The changes to the CI which are related to a RFC can be likewise reflected in an AffectedTime property on the Affects relationship, which is updated whenever an RFC related update is made. 
         [0025]    A reconcile “marker” can be used to indicate points in the change history when CI is deemed correct. This reconcile marker, LastAuditStatus, taken with the associated timestamp, LastAuditTime, provide the needed detail. 
         [0026]    If the reconcile marker is advanced by analysis of changes and RFC association, then subsequent analysis need only review changes and associated RFCs from the time last discovery was run back to reconcile marker when analyzing for new variances. A user may be responsible for analyzing change history and RFCs from a last reconcile marker point up to last discovery updates in order to determine if the last reconcile marker should be moved to that time. 
         [0027]    Referring now to  FIG. 2 , a flow diagram illustrates a CI state transition verification methodology, according to an embodiment of the present invention. The methodology begins in block  202  where the ChangeHistoryCI process retrieves all the change history records between a current time and a user-defined start time. In block  204 , the audit process also retrieves the RFCs between the current time and the user-defined start time. If any CI has no attribute changes since the LastAuditTime, the LastAuditTime is set to current time. A detailed description of the change history provided to the user is provided in  FIG. 3 . 
         [0028]    Within actual CIs, a user can traverse back through a change history log and “unwind” prior changes. In block  206 , prior changes are unwound back a user-defined start time, or a last reconciled marker, in order to provide the authorized view at that point. Changes that have taken place to CIs are reviewed as they are associated with RFCs. More specifically, the results of the retrieved change history are compared with the retrieved RFCs to distinguish changes that have occurred without an RFC from changes that have occurred with an RFC. 
         [0029]    In block  208 , all the above results are shown in the audit report. A detailed description of the audit report is provided in  FIG. 4 . A configuration librarian works on the audit report, for each CI having the change history record. In block  210 , for each CI, it is determined if all the attribute changes are “good” changes, more specifically, if the changes come from RFC implementation or system processes. If yes, the LastAuditTime is changed to current time and LastAuditResult to “OK” using the PMCMControICIStateProcess in block  212 . Thus, the user can advance a reconciled marker to a further time if they are satisfied with the state of the CI at that point. If not, the configuration librarian needs to understand the changes, create RFCs or other methods to correct the problem in block  214 . No change will be made to the above two fields. If the problem is fixed, the configuration librarian will see the change record at next audit time between that time and the LastAuditTime. The configuration librarian needs to check if the attribute values are back to the old value. 
         [0030]    It is assumed that all the above procedures work with current CIs data. The procedures work depends on a configuration librarian&#39;s experience or customer&#39;s process. It is also assumed that the procedure only goes through how to generate the variance for the existing CIs, not CIs existing in LastAuditTime but not existing in current audit time. 
         [0031]    Notice that if the relationship between the CI and the RFC, an Affected relationship, is augmented with a property LastAffectedTime, which is updated whenever an authorized change is made to the CI for this RFC, then it is possible to improve the quality of the remediation by analysis of the change history data associated with the Affects relationship. This occurs because the audit report can associate authorized changes in the change history with updates to the LastAffectedTime to get an exact on the timestamp for authorized changes. 
         [0032]    Referring now to  FIG. 3 , a change history is shown, according to an embodiment of the present invention. This may be considered a detailed description of the change history records and RFCs retrieved in blocks  202  and  204  of  FIG. 2 . Specifically, the change history of  FIG. 3  illustrates specific records between time t 0  and t 5 . Further, the change history provides a description of the type of event occurring at each time entry. Certain events, for example at time t 2  and t 5  are associated with an RFC identification number. The change history further describes the change that is occurring to the CI as well as the actual attributes of the CI for each time entry. 
         [0033]    Referring now to  FIG. 4 , a sample audit report is shown, according to an embodiment of the present invention. This may be considered a detailed description of block  208  of  FIG. 2 . The sample audit report describes the component type and an old and new value if known. Further, the sample audit report provides a change start time, a change type, a change time, a last authentication time, a last authentication status, any RFC identification numbers, and a user identification. 
         [0034]    Referring now to  FIG. 5 , a block diagram illustrates an exemplary hardware implementation of a computing system in accordance with which one or more components/methodologies of the invention (e.g., components/methodologies described in the context of  FIGS. 1-4 ) may be implemented, according to an embodiment of the present invention. 
         [0035]    As shown, the computer system may be implemented in accordance with a processor  510 , a memory  512 , I/O devices  514 , and a network interface  516 , coupled via a computer bus  518  or alternate connection arrangement. 
         [0036]    It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit) and/or other processing circuitry. It is also to be understood that the term “processor” may refer to more than one processing device and that various elements associated with a processing device may be shared by other processing devices. 
         [0037]    The term “memory” as used herein is intended to include memory associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), flash memory, etc. 
         [0038]    In addition, the phrase “input/output devices” or “I/O devices” as used herein is intended to include, for example, one or more input devices (e.g., keyboard, mouse, scanner, etc.) for entering data to the processing unit, and/or one or more output devices (e.g., speaker, display, printer, etc.) for presenting results associated with the processing unit. 
         [0039]    Still further, the phrase “network interface” as used herein is intended to include, for example, one or more transceivers to permit the computer system to communicate with another computer system via an appropriate communications protocol. 
         [0040]    Software components including instructions or code for performing the methodologies described herein may be stored in one or more of the associated memory devices (e.g., ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (e.g., into RAM) and executed by a CPU. 
         [0041]    Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made by one skilled in the art without departing from the scope or spirit of the invention.