Applicant's invention relates to an apparatus and method to write information to two geographically separated virtual tape servers.
In hierarchical computer storage systems, intensively used and fast storage are paired with arrays of slower and less frequently accessed data devices. One example of high-speed, expensive memory is a direct access storage device file buffer (DASD). Slower storage devices include tape drives and disk drive arrays, which are less expensive than a DASD.
One such hierarchical storage system is a virtual tape storage system. Such a virtual tape storage system may include, for example, one or more virtual tape servers (“VTS”) in combination with one or more data storage and retrieval systems, such as the IBM TotalStorage® 3494 Enterprise Tape Library. During operation, the virtual tape storage system is writing data from a host to the numerous data storage devices disposed in the one or more data storage and retrieval systems.
More recently introduced data disaster recovery solutions include “remote dual copy,” where data is backed-up not only remotely, but also continuously (either synchronously or asynchronously). In order to communicate duplexed data from one host processor to another host processor, or from one storage controller to another storage controller, or some combination thereof, a substantial amount of control data is required for realizing the process. A high overhead, however, can interfere with a secondary site's ability to keep up with a primary site's processing, thus threatening the ability of the secondary site to be able to recover the primary in the event a disaster occurs.
Disaster recovery protection for the typical data processing system requires that primary data stored on primary DASDs be backed-up at a secondary or remote location. The physical distance separating the primary and secondary locations can be set depending upon the level of risk acceptable to the user, and can vary from several kilometers to thousands of kilometers.
The secondary site must not only be sufficiently remote from the primary site, but must also be able to backup primary data in real time. The secondary site needs to backup primary data in real time as the primary data is updated, with some minimal delay.
What is needed is an apparatus and method to autonomically optimize the rate of transmission of information between geographically separated virtual tape servers.
Applicants' invention includes a method and apparatus to write information to two geographically separated information virtual tape servers, where a first virtual server includes one or more first virtual host devices comprising a first adjustable aggregate bandwidth, where that first virtual tape server is capable of communicating with one or more host computers via a virtual tape controller and the one or more first virtual host devices, and where a second virtual tape server includes one or more second virtual host devices comprising a second adjustable aggregate bandwidth, where that second virtual tape server is capable of communicating with the one or more host computers via the virtual tape controller and the one or more second virtual host devices, and where the first virtual tape server and the second virtual tape server exchange information via the virtual tape controller and at least two channel extenders.
Applicants' method provides a file to the virtual tape controller from the one or more host computers, writes that file to the first virtual tape server, and queues in a copy queue disposed in the virtual tape controller a copy job to copy the file to the second virtual tape server. Subsequently, the method provides the file to the second virtual tape server. The method sets a throughput threshold and an age threshold. The method determines the actual VTC throughput and the age of the queued copy job, and determines if the actual VTC throughput is greater than the throughput threshold. If the actual VTC throughput is greater than the throughput threshold, then the method determines if the age of the queued file is less than the age threshold. If the actual VTC throughput is greater than the throughput threshold and if the age of the queued file is not less than the age threshold, then the method decreases the first adjustable aggregate bandwidth and/or the second adjustable aggregate bandwidth, otherwise the method restores the adjustable bandwidth to a nominal value.
The invention will be better understood from a reading of the following detailed description taken in conjunction with the drawings in which like reference designators are used to designate like elements, and in which:
Referring to the illustrations, like numerals correspond to like parts depicted in the figures. The invention will be described as embodied in a plurality of virtual tape servers in combination with a virtual tape controller for use in a data processing environment. The following description of Applicant's apparatus and method is not meant, however, to limit Applicant's invention to either data storage and retrieval systems, or to data processing applications, as the invention herein can be applied to data storage in general.
Referring now to
Virtual tape controller 120 comprises a plurality of individual virtual devices, such as virtual devices 122, 124, and 126. Each of these virtual devices is configured as either a virtual host device or a virtual copy device.
Host computer 110 comprises a computer system, such as a mainframe, personal computer, workstation, etc., including an operating system such as Windows, AIX, Unix, MVS, LINUX, etc. (Windows is a registered trademark of Microsoft Corporation; AIX is a registered trademark of IBM Corporation, and MVS is a trademark of IBM Corporation; and UNIX is a registered trademark in the United States and other countries licensed exclusively through The Open Group.) In certain embodiments, host computer 110 includes a storage management program 114. The storage management program 114 in the host computer 110 may include the functionality of storage management type programs known in the art that manage the transfer of data to a data storage and retrieval system, such as the IBM DFSMS implemented in the IBM MVS operating system.
The IBM DFSMS software is described in “z/OS V1R3 DFSMS Introduction,” IBM document no. SC26-7397-01, which document is incorporated herein by reference in its entirety. Storage management program 114 may include known storage management program functions, such as recall and migration. The storage management program 114 may be implemented within the operating system of the host computer 112 or as a separate, installed application program. Alternatively, storage management program 114 may include device drivers, backup software, and the like.
In the illustrated embodiment of
In the illustrated embodiment of
Communication links 170b, 172b, 174a, and 176a, are each selected from the group consisting of a serial interconnection, such as an RS-232 cable or an RS-422 cable, an ethernet interconnection, a SCSI interconnection, a Fibre Channel interconnection, an ESCON interconnection, a FICON interconnection, a Local Area Network (LAN), a private Wide Area Network (WAN), a public wide area network, Storage Area Network (SAN), Transmission Control Protocol/Internet Protocol (TCP/IP), the Internet, and combinations thereof.
Virtual tape server 130 communicates with virtual tape server 140 via virtual copy device 134, communication link 172c, virtual copy device 124, communication link 172d, channel extender 182, communication link 174b, channel extender 186, communication link 176b, and virtual copy device 142, where virtual copy devices 134 and 142 each comprise a memory and an adjustable bandwidth.
In certain embodiments, communication links 172c, 172d, 174b, and 176b, are each selected from the group consisting of a serial interconnection, such as an RS-232 cable or an RS-422 cable, an ethernet interconnection, a SCSI interconnection, a Fibre Channel interconnection, an ESCON interconnection, a FICON interconnection, a Local Area Network (LAN), a private Wide Area Network (WAN), a public wide area network, Storage Area Network (SAN), Transmission Control Protocol/Internet Protocol (TCP/IP), the Internet, and combinations thereof.
In the illustrated embodiment of
In the illustrated embodiment of
In the illustrated embodiment of
Referring now to
Each virtual device includes one or more memory devices, such as memory 218, 228, 238, 248, 258, 268, 278, and 288. Memory devices 218, 228, 238, 248, 258, 268, 278, and 288, are each selected from the group consisting of RAM memory, one or more DASDs, one or more hard disks, one or more electronic storage devices, and combinations thereof. By electronic storage device, Applicants mean a device such as a PROM, EPROM, EEPROM, Flash PROM, compactflash, smartmedia, and the like.
Each of the eight virtual device disposed in virtual tape controller 200 is configured as either a virtual host device, or a virtual copy device. A virtual host device, such as for example device 122 (
In certain embodiments, the VTC virtual devices do not contain their own adapters, processors, and/or memory. Instead, the VTC contains the adapters, processors and memory which are shared between the VTC virtual devices.
Referring now to
VTS 300 also communicates with direct access storage device (DASD) 310, a plurality of data storage devices 330 and 340. In certain embodiments, data storage devices 330 and 340 are disposed within one or more data storage and retrieval systems. In certain embodiments, DASD 310 is integral with host 110 (
VTS 300 further includes storage manager 320, such as the IBM Adstar® Distributed Storage Manager. Storage manager 320 controls the movement of data from DASD 310 to information storage media mounted in data storage devices 330 and 340. In certain embodiments, storage manager 320 includes an ADSM server 322 and an ADSM hierarchical storage manager client 324. Alternatively, server 322 and client 324 could each comprise an ADSM system. Information from DASD 310 is provided to data storage devices 330 and 340 via ADSM server 322 and SCSI adapter 385.
VTS 300 further includes autonomic controller 350. Autonomic controller 350 controls the operations of DASD 310 through the hierarchical storage manager (HSM) client 324, and the transfer of data between DASD 310 and data storage devices 330 and 340.
Applicants' invention includes a method to write information to two geographically separated information storage media. By “geographically separated.” Applicants mean two information storage media that are located more than about 50 kilometers apart.
In step 405 the method creates a file. The file of step 405 comprises information. In certain embodiments, the information of step 405 comprises one or more data packets or records. In certain embodiments, the information of step 405 comprises one or more logical volumes. In certain embodiments, the information of step 405 comprises all or portions of one or more database files. In certain embodiments, the information of step 405 comprises one or more updates for one or more database files. In certain embodiments, the information of step 405 comprises one or more log files, wherein those one or more log file comprise information relating to one or more database files. In certain embodiments, the information of step 405 comprises updates for one or more log files.
In certain embodiments, step 405 is performed by a host computer, such as host computer 110 (
In step 410, Applicants' method opens a virtual host device disposed in a VTC, such as virtual host device 122 (
In step 420, Applicants' method opens a virtual host device disposed in a first VTS, such as virtual host device 132 (
In step 430, Applicants' method writes the file of step 405 to a virtual host device, such as virtual host device 132 disposed in a first VTS, such as VTS 130. In certain embodiments, step 430 is performed by first writing the file of step 405 to a virtual host device 122 disposed in VTC 120. In certain embodiments, step 430 is performed by the virtual tape controller, such as VTC 120. In certain embodiments, step 430 is performed by a virtual host device, such as virtual host device 122. In certain embodiments, step 430 is performed by a controller, such as controller 122c, disposed in a virtual host device, such as virtual host device 122.
In step 440, Applicants' method queues in a VTC Copy Queue, such as VTC Copy Queue 129, a job to make a copy of the file of step 405 for transmission to a second VTS, such as VTS 140 (
In step 450, Applicants' method provides a signal that the file of step 405 has been written to the second VTS, such as VTS 140. In certain embodiments, step 450 is performed by a virtual host device, such as virtual host device 122. In certain embodiments, step 450 is performed by a virtual tape controller, such as VTC 120. In certain embodiments, step 450 is performed by a controller, such as controller 122c, disposed in a virtual host device, such as virtual host device 122. Applicants' method transitions from step 450 to step 460 wherein the method closes the virtual host devices of step 410 and 420. In certain embodiments, step 460 is performed by the virtual tape controller, such as VTC 120. In certain embodiments, step 460 is performed by a virtual host device, such as virtual host device 122. In certain embodiments, step 460 is performed by a controller, such as controller 122c, disposed in a virtual host device, such as virtual host device 122. In certain embodiments, step 460 is performed by a host computer, such as host computer 110 (
Applicants' method transitions from step 510 to step 515 wherein the method determines if there are one or more copy jobs queued in the VTC Copy Queue, such as Copy Queue 129. In certain embodiments, step 510 is performed by a controller disposed in the VTC, such as controller 128. In certain embodiments, step 510 is performed by a virtual host device, such as virtual host device 122. In certain embodiments, step 510 is performed by a controller, such as controller 122c, disposed in a virtual host device, such as virtual host device 122.
If Applicants' method determines in step 515 that no copy jobs are queued, then Applicants' method transitions from step 515 to step 520 wherein the method provides a status signal to each interconnected VTS, where that status signal comprises a timestamp and the VTC throughput of 510. In certain embodiments, step 520 is performed by a virtual tape controller, such as VTC 120. In certain embodiments, step 520 is performed by a controller, such as controller 128, disposed in the VTC. In certain embodiments, step 520 is performed by a virtual copy device, such as virtual copy device 124. In certain embodiments, step 520 is performed by a controller, such as controller 124c, disposed in a virtual copy device, such as virtual copy device 124. Applicants' method transitions from step 520 to step 505 and continues.
If Applicants' method determines in step 515 that one or more copy jobs are queued, then the method transitions from step 515 to step 525 wherein the VTC provides a signal to each interconnected VTS, where that signal comprises a timestamp, the VTC throughput of step 510, and the age of the oldest copy job queued.
Referring now to
In step 540, the VTC writes the file of step 530 to a virtual copy device, such as device 142 (
In step 550, the VTC receives a signal from the second VTS that the file has been written to a virtual copy device disposed in that VTS. In certain embodiments, step 550 is performed by a controller disposed in the second VTS, such as controller 145 (
Referring now to
In certain embodiments, the status signal time interval of step 610 is set in firmware disposed in a memory, such as memory 218 (
In step 620, Applicants' method sets an age threshold. The age threshold of step 620 comprises the maximum acceptable time a copy job remains queued before completing the copy. In certain embodiments, the age threshold of step 620 is set in firmware disposed in a memory, such as memory 218, disposed in a virtual device, such as virtual device 210. In certain embodiments, the age threshold of step 620 is provided by a host computer, such as host computer 110. In certain embodiments, the age threshold of step 620 is set in firmware disposed in a controller, such as controller 135, disposed in a VTS, such as VTS 130. In certain embodiments, the age threshold of step 620 is set in firmware disposed in a controller, such as controller 128, disposed in a VTC, such as VTC 120.
In step 630, Applicants' method sets a VTC throughput threshold. The VTC throughput threshold of step 630 comprises the minimum acceptable rate of data transmission from the VTC to each attached VTS. In certain embodiments, the VTC throughput threshold of step 630 is set in firmware disposed in a memory, such as memory 218, disposed in a virtual device, such as virtual device 210. In certain embodiments, the VTC throughput threshold of step 630 is provided by a host computer, such as host computer 110. In certain embodiments, the VTC throughput threshold of step 630 is set in firmware disposed in a controller, such as controller 135, disposed in a VTS, such as VTS 130. In certain embodiments, the VTC throughput threshold of step 620 is set in firmware disposed in a controller, such as controller 128, disposed in a VTC, such as VTC 120.
In step 640, each VTS determines if it is time to check incoming signals. Each VTS checks incoming signals at a regular polling interval, such as for example every minute. In certain embodiments, the polling interval of step 640 is provided by a host computer, such as host computer 110 (
In step 650, each VTS in the system determines if a VTC status signal is waiting. In certain embodiments, step 650 is performed by a controller disposed in a VTS, such as controller 135 (FIG. 1)/145 (
Applicants' method transitions from step 660 to step 670 wherein each VTS determines if the actual VTC throughput determined by the VTC in step 510 (
If Applicants' method determines in step 670 that the actual VTC throughput exceeds the VTC throughput threshold, then the method transitions from step 670 to step 680 wherein each VTS stores the oldest age value reported in the VTC message of step 660. In certain embodiments, step 680 is performed by a controller disposed in a VTS, such as controller 135/145. Applicants' method transitions from step 680 to step 650 and continues.
If Applicants' method determines in step 650 that a VTC status signal is not waiting, then the method transitions from step 650 to step 690 wherein each VTS independently determines if the age of oldest copy job queued exceeds the age threshold of step 620. In certain embodiments, step 690 is performed by a controller disposed in a VTS, such as controller 135/145.
If Applicants' method determines in step 690 that the age of the oldest copy job queued is less than the age threshold of step 620, then the method transitions from step 690 to step 685 wherein the VTS sets its aggregate adjustable bandwidth, i.e. its VTS/host bandwidth, to a pre-determined nominal value. In certain embodiments, the nominal aggregate adjustable bandwidth is provided by a host computer, such as host computer 110. In certain embodiments, the nominal aggregate adjustable bandwidth is set in firmware disposed in a controller, such as controller 135, disposed in a VTS, such as VTS 130.
If a VTS determines in step 690 that the age of a copy job queued is not less than the age threshold of step 620, then Applicants' method transitions from step 690 to step 695 wherein the VTS decreases its aggregate adjustable bandwidth, i.e. its VTS/host bandwidth.
A VTS, such as VTS 130/140, has an inherent bandwidth limited by its internal components, including for example CPU, memory, bus architecture and adapters. This bandwidth is shared by all the virtual devices on the VTS. Reducing the bandwidth allocated to one or more of virtual host devices, such as for example virtual host device 132, necessarily makes additional bandwidth available for copy device 134. Increasing the bandwidth allocated to copy device 134 increases the VTS/VTS bandwidth.
Increasing the VTS/VTS bandwidth increases VTC throughput, i.e. the rate at which files can be copied from VTS 130 to VTS 140 and vice versa.
In certain embodiments, VTS 130 (
Applicants' invention further includes an article of manufacture comprising a computer useable medium, such as computer useable media 137 (
Applicants' invention further includes a computer program product, such as for example computer program product 139 (
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 |
---|---|---|---|
5627970 | Keshav | May 1997 | A |
5799002 | Krishnan | Aug 1998 | A |
5909561 | Arimillil et al. | Jun 1999 | A |
5926834 | Carlson et al. | Jul 1999 | A |
6292834 | Ravi et al. | Sep 2001 | B1 |
6349354 | Garney | Feb 2002 | B1 |
7206280 | Khan et al. | Apr 2007 | B1 |
20020147774 | Lisiecki et al. | Oct 2002 | A1 |
20030018794 | Zhang et al. | Jan 2003 | A1 |
Number | Date | Country |
---|---|---|
WO9828679 | Jul 1998 | WO |
Number | Date | Country | |
---|---|---|---|
20050055396 A1 | Mar 2005 | US |