Commonly assigned U.S. application Ser. No. 11/734,059 filed on even date herewith relates to data storage systems configured to maintain owning application information of data for a data storage system.
Commonly assigned U.S. Pat. No. 5,734,818 is incorporated for its showing of a data storage system configured to provide self describing record sets having prefix headers including time stamps of write I/O operations for data storage, for example, for time based sequence ordering of record updates of the data between primary and secondary data storage sites.
This invention relates to data storage systems, and more particularly to data storage systems configured to write data supplied from a host to data storage in accordance with write I/O of an owning application.
Data storage systems provide storage of data from a host that is sufficiently reliable that the data may be deleted from the host. The reliability of the data storage is typically enhanced through replication of the data at primary storage and secondary storage. For example, the IBM® DS8000 supports an asynchronous data replication function such as that discussed in the incorporated '818 patent, which includes the data transfer required to provide the data for both the primary and secondary data storage. The data transfer may be journaled to effectively recreate data with I/O consistency from a known point in time of the data forward. The journals may be backed up to provide the ability to restore some or all data to any point in time covered by the backup versions.
It may be desirable for the customer to perform forensic analysis of data corruption events or perform security audits on which application updated what data when.
Methods and computer program products provide journaled information, for example, that may be employed for performing forensic analysis of data corruption events or to perform security audits, etc. The data storage systems may comprise one or more data storage control systems and devices, arranged as primary and/or secondary data storage.
In one embodiment, a data storage system is configured to write data supplied from a host to data storage in accordance with write I/O of an owning application, and comprises a workload manager configured to direct the processing of the supplied data in accordance with the write I/O of an owning application, configured to provide service workload identification for describing the write I/O, comprises at least one storage subsystem configured to add the service workload identification to record set information for the data, and comprises a journal management system configured to store information from the record set information in a journal, including the service workload identification.
In another embodiment, the storage subsystem is configured to add the service workload identification into a Read Record Set prefix, and the journal management system is configured to provide the information from the Read Record Set prefix to the journal.
In a further embodiment, the workload manager is configured to provide the service workload identification for a defined extent CCW which provides the service workload identification for the Read Record Set prefix.
In another embodiment, the workload manger is configured to provide the service workload identification for a prefix CCW which provides the service workload identification for the Read Record Set prefix.
In another embodiment, the service workload identification comprises a class of service defined for the owning application by the host.
In a further embodiment, the class of service comprises I/O priority information, and wherein the workload manager is configured to select the I/O priority information of the class of service.
For a fuller understanding of the present invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings.
This invention is described in preferred embodiments in the following description with reference to the Figures, in which like numbers represent the same or similar elements. While this invention is described in terms of the best mode for achieving this invention's objectives, it will be appreciated by those skilled in the art that variations may be accomplished in view of these teachings without deviating from the spirit or scope of the invention.
Referring to
The storage system 10 incorporates a workload manager (WLM) 20, 20A configured to direct the processing of supplied data for storage. The workload manager 20, 20A may reside in the storage control system 15 or in a host system 12, or both. The storage system 10 comprises cache 21 for intermediate storage of data and of information employed in the operation of the storage system. The cache may also comprise disk storage, or may comprise a portion of the storage subsystem 16. In one embodiment, the workload manager 20A comprises a component of an operating system (O/S) 23 of the host system 12 along with an I/O subsystem (IOS) component 24. In an alternative embodiment, the workload manager 20 comprises a component of an operating system 43 of at least one processor of the storage control system 15 along with an I/O subsystem component 44.
The workload manager 20 and storage control system subsystem control 18, separately or together, may comprise program code and any suitable logic, microprocessor, and associated memory and/or data storage for responding to program code, and the associated memory and/or data storage may comprise fixed or rewritable memory or data storage devices. The workload manager 20 may comprise program code within the program code of the storage system 10, or may comprise an application employed by the storage system 10. The program code may be supplied to the storage system directly as from a data storage device or memory, for example by an input from an optical disk or floppy disk, for example at an operator panel 22 or drive of the storage system 10, or by being read from a magnetic tape cartridge, for example at a drive device 17, or from a network, for example via host system 12, or by any other suitable means. The workload manager 20 may be physically located at the host system 12, the storage control system 15 or any point in the data storage system 10, or spread across the data storage system.
The data storage system 10 may comprise primary and secondary sites, for example, with host system 12, storage control system 15 with drive devices 16 comprising the primary site, and storage control system 25 with subsystem control 28 and drive devices 26 comprising a secondary site. The data storage system may thus provide data storage at the primary site and shadow the data at the secondary site, transferring the data asynchronously, employing a storage data mover 29 to form consistency groups, as described in the incorporated '818 patent.
In the incorporated '818 patent, application 30 at the primary site generate record updates, and a secondary site, for example, remote from the primary site, shadows the record updates. The data storage system 10 comprises a sysplex timer for synchronizing time dependent processes in the primary site. The primary storage control system 15 responds to write I/O operations for the record updates, and conducts write I/O operations to the primary storage subsystem 16 for each record update, the write I/O operations being synchronized to the sysplex timer. The primary storage subsystem 16 accordingly receives the write I/O operations and stores the data.
The primary subsystem control 18 sees that a write I/O operation is directed to a volume also stored at the secondary site, and builds a Read Record Set prefix with the specific storage information in its cache 21. The subsystem control thus collects record set information for each record update and appends a prefix header to a predetermined group of record set information. The prefix header and the predetermined group of record set information form self describing record sets, including the data updates.
The record set information includes, inter alia, a record update sequence number and a record update time. The prefix header includes, inter alia, an operational time stamp, a time interval group number, and a record read time.
The storage data mover 29 reads the RRS's from the subsystem control(s) 18 and forms consistency groups which are written to a journal, for example, stored in cache 21. The consistency groups are all I/Os of a small period of time. It is important that cross volume and cross storage control system data consistency is maintained. The record sets are transmitted over communication link 35 to a secondary storage control system 25 which orders the record updates from each consistency group for writing to the secondary storage control system 25 in an order consistent with a sequence that the record updates were written to the primary storage control system 15.
In one embodiment of the incorporated '818 patent, the storage data mover 29 creates a journal record for each self describing record, including the prefix header. The journal record may be transmitted to the secondary storage control system 25 and the information employed to form the consistency groups and to control the writing of the record updates to the secondary storage subsystem 26.
Referring to
The present invention comprises data storage systems, methods and computer program products for providing journaled information, for example, that may be employed for performing forensic analysis of data corruption events or to perform security audits, etc., in which the owning applications of the I/O's are identified.
A workload manager 20 is configured to direct the processing of the supplied data with respect to the data storage system in accordance with the write I/O of an owning application 30. The workload manager 20 may be resident in the storage control system 15, the host 12 (illustrated as 20A), or both, and herein is considered to comprise an element of the data storage system 10. Herein, references to workload manager 20 also or alternatively refer to 20A. The storage control system 15 is configured to store data with respect to storage devices 16, and the storage control system 25 is configured to store data with respect to storage devices 26. The present invention can take the form of an entirely hardware embodiment, or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention includes but is not limited to resident software, firmware, microcode, etc. Furthermore, the invention can take the form of a computer program product accessible from a computer usable or computer readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer usable or computer readable medium can be any apparatus that can contain or store the program for use by or in connection with the instruction execution system, apparatus or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk—read only memory (CD-ROM), compact disk—read/write (CD-R/W) and DVD.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution. Network adapters may be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote devices through intervening private or public networks. Modems, cable modems and Ethernet cards are just a few of the currently available types of network adapters.
The customer, via the host 12, defines what applications (workloads) 30 to assign to which class of service. A class of service designation may include or comprise an I/O priority. For example, an IBM® zOS computer operating system allows customers to initially define class of service for each application which is assigned to workload by the workload manager 20. There are currently some 100 unique classes available on each managed system. Defined in the class of service is an I/O priority which is given to each I/O operation for that class of service. The class of service may reflect the customer defined relative business priorities on a workload by workload basis. Herein, class of service or I/O priority, or any similar designation is called “service workload identification”.
The workload manager 20 comprises an infrastructure to track and manage workloads via the class of service that the I/O chain is on behalf of, and as a result it can provide the information in the write chain in a manner similar to its providing I/O priority for the workload. The resultant unit of work information is preserved through the operating system function/middleware such that when the I/O is executed, the I/O priority that the customer has previously defined for that workload is sent with the I/O.
The workload manager 20 is configured to provide the service workload identification describing the write I/O for use by the I/O subsystem 24, 44. The workload manager is configured to provide the service workload identification for all I/O on behalf of a unit of work that is to be directed to the data storage system.
The I/O subsystem 24, 44 accesses the service workload identification from the workload manager (along with other information) and provides the service workload identification to the storage subsystem control 18 via a Channel Command Word (CCW) or equivalent. Examples of a CCW are the define extent CCW or prefix CCW. For example, the define extent CCW created is modified to provide some additional information including the service workload identification, and is added to a write I/O chain. Alternatively, a prefix CCW is generated and includes the service workload identification, and is added to a write I/O chain. Herein, the CCW's are termed “provided” by the workload manager without regard to the initial source of the CCW.
Referring to
Referring to
The remainder of the record set information 600 is explained by the incorporated '818 patent and is related to the format for each self describing record set. Update specific information 601-610 includes a primary device unit address 601 of each record indicating the actual data storage device or set of devices (which may be virtual) that the record update occurred on. A cylinder number/head number (which may be virtual) indicates a location on the data storage device or set of devices. A primary storage controller session identifier (SSID) 603 is the same as the primary SSID 505. Status flags 604 provide status information, and sequence numbers 605 and 630 assign a number to each record for indicating whether the entire record set has been read from the host application. Write I/O type 606 is an indicator of the type of write operation performed on each record. Search argument 607 indicates initial positioning information for the first read record set data record 620. A sector number 608 identifies the sector that the record was updated at, and count field 609 describes a number of specific record data fields 620 that follow. A host application time when the write update occurred is recorded in time of updates 610. Specific record data 620 provides a count/key/data (CKD) field of each record update.
The collected information is journaled by a journal management system which may comprise part of the storage data mover 29 or of the workload manager, or which may be implemented as a separate application 30 of the host system 12. The journal management system is configured to store the record set information in a journal. In one embodiment, the journal is initially stored in cache 21. The journal forms a basis for forming consistency groups by the storage system 10 and operating the storage control system 25 to store the data of the consistency groups at storage drives 26. To this end, the journal may be transferred to the cache 41 of the secondary storage control system 25. The journal may be employed for continuous data protection operations during data shadowing operations. The journal continues to grow, for example for a shift or a days worth of data, and the journal management system maintains the information by offloading the journal to storage such as tape 17, employing the data storage system, and the journal provides the information to cover the specific time period of the shift or day. The data management system may alternatively or additionally offload the journal to storage such as tape 47. Thus, an existing journal entry is journaled together with all the information for all write I/O's that make up a specific point in time consistency group. That is, the information is for all write I/O's across all volumes on all storage subsystems defined in the particular logical session, and the journal is a collection of consistency groups based on time.
Referring to
In accordance with the present invention, the workload manager 300 may be resident at the data mover 404. The workload manager 300 is configured to provide the service workload identification 100 of
Referring to
Still referring to
In step 730, the workload manager 20, 300 provides the service workload identification for adding the service workload identification to the define extent CCW or prefix CCW or equivalent, and the data storage system generates the CCW. The CCW's are discussed above. The CCW provides the service workload identification to the storage subsystem for each XRC I/O.
In step 740, the storage subsystem sees that the I/O is directed to an XRC volume and builds the Read Record Set prefix with the storage information in its cache, and includes the service workload identification 100 of
In step 750 of
Thus, the journal entries are journaled together by consistency group and form the information for all write I/O's for the time period of the shift or day, and each has the service workload identification, which identifies the application that originated the I/O. The journaled information may be employed for performing forensic analysis of data corruption events or to perform security audits, etc., for example, by an operator at an operator panel 22 at the primary site, or at an operator panel 770 at the secondary site, or through the host system 12 of
The service workload identification identifies the owning application that provided the I/O, and allows a determination of which application updated what data when. The journal entries also show, via the consistency group, all other write I/Os to that or related volumes at that specific time as well as times previous to the specific time in question. This information can be used to determine which application did a write I/O that corrupted what data and at what specific time. Further, using this information with previous journal entries can allow determination of a write sequence by one application or others that may have led to the data corruption. In addition, subsequent journal entries may also indicate other data corruptions that may have occurred as the result of the first corruption event. The tape may also be archived for future analysis if needed. In one example, a continuous data protection application may provide the application interface to the journal, either in cache or from tape.
Those of skill in the art will understand that changes may be made with respect to the methods discussed above, including changes to the ordering of the steps. Further, those of skill in the art will understand that differing specific component arrangements may be employed than those illustrated herein.
While the preferred embodiments of the present invention have been illustrated in detail, it should be apparent that modifications and adaptations to those embodiments may occur to one skilled in the art without departing from the scope of the present invention as set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5504861 | Crockett et al. | Apr 1996 | A |
5557742 | Smaha et al. | Sep 1996 | A |
5734818 | Kern et al. | Mar 1998 | A |
6044444 | Ofek | Mar 2000 | A |
6173377 | Yanai et al. | Jan 2001 | B1 |
6631480 | Zeigler et al. | Oct 2003 | B2 |
6874104 | Josten et al. | Mar 2005 | B1 |
7096392 | Sim-Tang | Aug 2006 | B2 |
7467168 | Kern et al. | Dec 2008 | B2 |
20050086529 | Buchsbaum | Apr 2005 | A1 |
20050203881 | Sakamoto et al. | Sep 2005 | A1 |
20070073519 | Long | Mar 2007 | A1 |
20080016300 | Yim et al. | Jan 2008 | A1 |
Number | Date | Country |
---|---|---|
2004066082 | May 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20080256310 A1 | Oct 2008 | US |