1. Field of the Invention
The present invention relates to a library apparatus having a plurality of replaceable storage media housed therein and allowing reading or recording to be executed in response to requests from a host computer.
2. Description of the Related Arts
A library apparatus is an apparatus which is connected to a host computer for the purpose of backing up a large amount of data used in the host computer and in which a plurality of replaceable storage media are housed. The library apparatus includes a housing unit for installing a plurality of storage media, a drive for writing data into the storage media and for reading data recorded in the storage media and a robot for conveying the storage media. As the scale of the library apparatus becomes larger, the number of the storage media housed in the housing unit becomes increased and some library apparatuses have a plurality of drives and robots.
As a conventional technique concerning the library apparatus, a technique is known, in which a housing unit is logically divided into a plurality of its portions and one (1) library apparatus is used as if it were a plurality of library apparatuses respectively connected to a plurality of host computers (see, e.g., Japanese Patent Application Laid-open Pub. No. 1998-228352). In this case, each of the plurality of logically-divided portions of the housing units is respectively assigned to each of the plurality of host computers connected to the library apparatus. Each of the host computers respectively issues instruction orders (such as an instruction to convey a medium) for each of the logically-divided portions of the housing unit and makes accesses to the housing unit. In response to the accesses made to the housing unit, the library apparatus, for example, conveys a storage medium to the drive, writes data into the storage medium and transmits to a host computer the data read out from the storage medium. In this manner, a storage medium housed in the housing unit is used by a host computer. When a process at the drive has been completed, the storage medium is again conveyed to the housing unit.
Utilizing this library apparatus connected to the plurality of host computers, data may be transferred between host computers. Among the plurality of logically-divided portions of the housing unit, the portion of the housing unit in which a storage medium storing the data to be transferred is housed will be hereinafter referred to as “transfer origin housing unit”, the host computer capable of making accesses to a transfer origin housing unit as “transfer origin host computer”, the host computer to be the destination of the transfer of the data as “transfer destination host computer” and the housing unit to which a transfer destination host computer can make accesses as “transfer destination housing unit”. When the housing unit is logically divided, a transfer destination host computer can not use directly a storage medium housed in a transfer origin housing unit. Therefore, in order to transfer data, it is necessary to house a storage medium storing the data to be transferred, into the transfer destination housing unit.
However, conventionally, for transferring a storage medium from a transfer origin housing unit to a transfer destination housing unit, ejecting once from the library apparatus the storage medium housed in the transfer origin housing unit and inserting again the storage medium into the library apparatus is executed. By doing this, the insertion of the storage medium is notified to the transfer destination host computer. Due to the notification, the transfer destination host computer can recognize the storage medium storing the data to be transferred. Furthermore, it is necessary to operate an apparatus called volume access station through a manual procedure in order to eject/insert a storage medium from/into the library apparatus and, therefore, there is a problem that the number of steps and labor charge are increased.
It is therefore the object of the present invention to provide a method for speeding up the procedure for data transfer between systems connected to a library apparatus and for reducing the work time necessary for data transfer.
In order to achieve the above object, according to a first aspect of the present invention there is provided a data transfer method effected in a library apparatus having a logically plurally divided housing unit, a turnout housing unit for housing temporarily a storage medium, and a robot for conveying the storage medium from the housing unit to the turnout housing unit or from the turnout housing unit to the housing unit, with a plurality of host computers being connected to the library apparatus, the plurality of host computers each making access to the logically plurally divided housing unit, the data transfer method enabling the storage medium housed in a first housing portion of the logically plurally divided housing unit to be used by the host computer making access to a second housing portion different from the first housing portion, the method comprising the steps of controlling the robot to convey the storage medium from the first housing portion to the turnout housing unit based on a medium conveyance instruction from a first host computer making access to the first housing portion; after completion of the conveyance to the turnout housing unit, notifying a second host computer making access to the second housing portion different from the first housing portion that the storage medium has been conveyed to the turnout housing unit; and controlling the robot to convey the storage medium that has been conveyed to the turnout housing unit, to the second housing portion based on a medium conveyance instruction from the second host computer.
The turnout housing unit may be a medium access station acting as an inlet for the storage medium inserted into the housing unit and acting as an outlet for the storage medium ejected from the housing unit. The turnout housing unit may be a common housing portion included in common in the first housing portion and the second housing portion. The housing unit may be physically divided so as to correspond to the logical dividing, and the turnout housing unit may be a medium delivering mechanism for mediating the delivering of the storage medium between the first housing portion and the second housing portion which are divided physically.
In order to achieve the above object, according to a second aspect of the present invention there is provided a library apparatus comprising a logically plurally divided housing unit; a turnout housing unit for housing temporarily a storage medium; a robot for conveying the storage medium from the housing unit to the turnout housing unit or from the turnout housing unit to the housing unit; a robot controlling unit for, based on a medium conveyance instruction from a first host computer making access to a first housing portion of the logically plurally divided housing unit, controlling the robot to convey the storage medium from the first housing portion to the turnout housing unit, and thereafter based on a medium conveyance instruction from a second host computer making access to a second housing portion different from the first housing portion of the logically plurally divided housing unit, controlling the robot to convey the storage medium that has been conveyed to the turnout housing unit to the second housing portion; and a completion notifying unit for notifying the second host computer that the storage medium has been conveyed to the turnout housing unit, after completion of the conveyance of the storage medium from the first housing portion to the turnout housing unit.
As a result, it is possible to considerably reduce the time, personnel, the number of steps and cost necessary for the data transfer work between a plurality of host computers connected to the least change made to a conventional library apparatus.
The above and other objects, aspects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
Embodiments of the present invention will now be described with reference to the accompanying drawings. It is however to be understood that the technical scope of the invention is not limited to such embodiments.
According to the invention, the work time necessary for data transfer between a plurality of host computers is reduced by automatically notifying a host computer to be the destination of the data transfer, of insertion of a storage medium after the storage medium has been conveyed from transfer origin housing unit to which the host computer to be the origin of the data transfer makes an access to a turnout housing unit for housing temporarily a storage medium.
Two (2) host computers (a host A, a host B) are connected to a library apparatus 1 and a housing unit (hereinafter referred to as “frame 9”) in which a plurality of storage media 7 are housed is logically divided into two (2) frames of frame A and frame B. The frame 9 is segmented into a plurality of rooms and each of the rooms is referred to as cell 6. Zero (0) or one (1) storage medium 7 is housed in the cell 6. The host A makes an access to the frame A assigned to the host A and uses storage media 7 housed in the cell 6 contained in the frame A. Similarly, the host computer B makes an access to the frame B and uses storage media 7 housed in the cell 6 contained in the frame B. The host A can not use the storage media housed in the frame B and vice versa.
In addition to the frame 9, the library apparatus 1 shown in
A transmission path connecting the host computer 10 and the host interface I/F2 is called “robot path 11” and instruction orders (such as instruction to convey a medium, etc.) from the host computer 10 are transmitted through it. When the controller 4 has received an instruction to convey a medium, the controller 4 instructs the robot 5 to house a predetermined storage medium 7 into the drive 3. Then, when the data read out from the storage medium 7 housed in the drive 3 by the robot 5 has been transmitted through a transmission path called a data path 12 connecting the host computer 10 and the drive 3, or when writing of the data transmitted from the host computer 10 through the data path 12 has been completed, the robot 5 returns the storage medium 7 in the drive 3 to its original cell 6 and the process is finished.
The processes of ejection and insertion of the storage medium housed in the library apparatus is executed through the VAS 8.
Conventionally, an operator opens and closes the VAS door 21 and, without waiting for these operations, the host computer to be the destination of data transfer can not issue any instruction to convey a storage medium to the transfer destination housing unit. The locations where the library apparatus, the transfer destination host computer and the transfer origin host computer are installed are rather often far away from each other and, therefore, the operator has to shuttle between the host computers and the library apparatus resulting in needing a long time for data transfer work.
Next, a data transfer process in a library apparatus of the first embodiment will be described. According to the first embodiment, the VAS 8 is utilized as a turnout housing unit. That is, when the controller 4 included in the library apparatus 1 has received an instruction to convey the storage medium to the VAS 8, the host computer to be the destination of data transfer can sense insertion of a new storage medium into the VAS without opening and closing the VAS door 21 by notifying the host computer from the controller 4 of the insertion of the storage medium immediately after the conveyance to the VAS 8, and the work time for the data transfer between a plurality of host computers connected to the library apparatus 1 is reduced. Therefore, it is necessary to determine whether the destination of the conveyance contained in the medium conveyance instruction is the VAS or not.
Therefore, an addressing (address system) for the case where the location of the destination of conveyance of a storage medium is designated in the library apparatus 1 will be briefly described first. The host computer 10 designates the address of the conveyance destination when it issues a medium conveyance instruction using a command etc. The addressing considerably differs between OSs (Operating Systems) of a main frame system and an open system. An example of each of them will be given.
A Z-plane identification code 42 is a code for which 0 denotes the drive/VAS side and 1 denotes the frame side. A frame code 44 is a code for specifying a frame. In the case of
In
Next, operation in a data transfer process will be described. In the library apparatus 1 in the first embodiment, either one of two (2) operation modes is selected in advance through such as a display apparatus having a touch panel or GUI displayed on a display apparatus of each host computer and the like. The two (2) operation modes are a normal mode in which the controller 4 executes ejection to the VAS 8 and waits for opening or closing of the VAS door 21 when the controller 4 has received an instruction for conveyance to the VAS 8, and a data transfer mode in which insertion of a new storage medium is notified to a host computer immediately after the ejection to the VAS 8.
Furthermore, as to the data transfer mode, from which host computer to which host computer among the plurality of host computers connected through the host I/F data transfer is executed is set as data transfer origin information and data transfer destination information. Setting information containing mode information indicating which mode is selected currently, transfer origin information and transfer destination information is stored in, for example, an RAM equipped to the controller. In order to maintain the information over a power source ON/OFF cycle, it is possible to store the setting information in a non-volatile memory such as a flash memory before turning off the power of the library apparatus, and reading out the setting information stored in the non-volatile memory and store it in a RAM etc. after turning on the power.
A medium conveyance instruction from the host A to the VAS 8 is issued (S72). In the library apparatus 1, the medium conveyance instruction is received and the robot 5 conveys a predetermined storage medium 7 from the frame A to the VAS 8 (S73). When the controller 4 has confirmed that the conveyance to the VAS 8 has been completed in the Step 73, the controller 4 notifies the host A of the completion of the conveyance (S74). The controller 4 also notifies the host B to be the data transfer destination of the completion of insertion of a new storage medium to the VAS 8 (S75). Conventionally, the host B can not instruct conveyance of a storage medium housed in the VAS 8 without waiting for a notice offered by opening or closing of the VAS door 21. However, in the embodiment of the invention, an instruction for conveyance from the VAS 8 to the frame B is issued by the host B in response to the receipt of the notice of Step S75 (S76).
In the library apparatus 1, in response to the receipt of the medium conveyance instruction, the robot 5 conveys the storage medium 7 conveyed in Step S73 from the VAS 8 to the frame B (S77). When the controller 4, has confirmed that the conveyance to the frame B has been completed in Step S77, the controller 4 notifies the host of the completion of the conveyance (S78). The controller 4 also notifies the host A being the data transfer origin of removal of the storage medium (S79). Due to Step S79, it is notified to the host A that the storage medium conveyed to the VAS has been removed and the VAS is in an EMPTY state. In the case where there are a plurality of storage media to/from which data is transferred, the processes of the above steps from Step S72 to Step S79 are repeated.
Next, the operation of the controller 4 included in the library apparatus 1 when it receives a medium conveyance instruction will be described.
First, the controller 4 determines whether the transfer destination is the VAS 8 or not (Si). Whether the transfer destination is the VAS or not can be determined by confirming whether the address set for the VAS is designated as that of the transfer destination. For example, as the addressing shown in
In the case where the conveyance destination is the VAS 8 in Step S1, next, the controller confirms the operation mode having been set (S2). When the operation mode confirmed in Step S2 is the data transfer mode, whether a medium conveyance instruction has been issued from the host A or not is determined (S3). This is because the data transfer from the host A to the host B is set and, if the instruction for conveyance to the VAS has been issued from another host, it is enough to execute the processes of the normal mode.
In the case where the medium conveyance instruction has been issued from the host A in Step S3, the controller 4 instructs the robot 5 to convey to the VAS 8 the storage medium 7 housed in a predetermined cell 6 in the frame A (S4). When the controller 4 has detected that the storage medium 7 has been conveyed to the VAS 8, the controller 4 notifies the host A of the completion of the conveyance to the VAS 8 (S5) and notifies the host B to be the data transfer destination of the insertion of a new storage medium (S6).
Thereafter, the controller 4 waits for an instruction for medium conveyance from the VAS 8 issued by the host to be the data transfer destination (in this case, the host B) (S7 and S8). Then, according to a medium conveyance instruction issued from the host B having received the notice in Step S5, the controller 4 instructs the robot to convey the storage medium 7 housed in the VAS 8 in Step S4 to a predetermined cell 6 in the frame B (S9). When the controller 4 has detected that the storage medium 7 has been conveyed to the predetermined cell 6 in the frame B, the controller 4 notifies the host B of the completion of the conveyance (S10) and notifies the host A of the removal of the storage medium (S11). In this manner, the processes for the data transfer mode have been finished and the controller 4 prepares for the next conveyance instruction. In the case where there are a plurality of storage media to/from which data is transferred, the processes of the above steps from Step S1 to Step S11 are repeated.
In the case where the conveyance destination is not the VAS 8 in Step S1, where the operation mode is the normal mode in Step S2 and where the conveyance instruction is not issued from the host to be the data transfer origin in Step S3, the processes for the normal mode are executed. First, the controller 4 instructs the robot 5 to convey the storage medium 7 housed in a predetermined cell to a predetermined conveyance destination (S12). In the case where the processes are proceeded from Step S2 and Step S3 to Step S12, the conveyance destination is the VAS 8 and, in other cases, the storage medium is conveyed to conveyance destination designated by the address contained in the medium conveyance instruction. Then, when the controller 4 has detected that the storage medium 7 has been conveyed to the predetermined conveyance destination, the controller 4 notifies the host computer having issued the medium conveyance instruction of the completion of the conveyance (S13). In this manner, the processes for the normal mode have been finished and the controller 4 prepares for the next conveyance instruction.
As described above, since it is not necessary to execute opening and closing operations of the VAS door 21 after ejecting to VAS 8 in the data transfer work, the time for data transfer work from the host A to the host B can be considerably reduced. It is also contemplated that the move of a storage medium from the frame A to the frame B is executed directly and not through the VAS 8 (direct conveyance). However, the following effects can be obtained by executing the above control through the VAS 8. First, for an existing library apparatus 1, the control of the library apparatus 1 for insertion and ejection processes using the VAS 8 is already established. Therefore, in the implementation of the invention, the existing system interface etc. can be appropriated and the implementation can be coped with by a change of firmware. That is, it is possible to minimize the portion to be changed.
Furthermore, measures against abnormal states such as a failure occurred to the robot during the conveyance can be easily taken and unnecessary timeout can be avoided by dividing the transfer process from the frame A to the frame B into two (2) sequences of one from the frame A to the VAS and the other from the VAS to the frame B. In the case of the processes shown, in
Next, a library apparatus of a second embodiment applied with a method of the invention will be described. In the first embodiment, the volume access station (VAS) is used as a turnout housing unit. However, in the second embodiment, a cell included commonly in a plurality of frames having different addressing (common cell) is used as a turnout housing unit. Therefore, the operation in the second embodiment can be described by reading the word “VAS 8” in the operation of the first embodiment as “common cell”.
Next, the operation of the host A, the host B and the library apparatus 1 in the case where data transfer from the host A to the host B shown in
A medium conveyance instruction from the host A to a common cell 91 is issued (S72). In the library apparatus 1, the medium conveyance instruction is received and the robots 5 conveys a predetermined storage medium 7 from the frame A to the common cell 91 (S73). Whether there is an empty area or not can be determined by the controller 4 and the storage medium 7 is conveyed to either of the common cells that is empty. When the controller 4 has confirmed that the conveyance to the common cell 91 has been completed in the Step 73, the controller 4 notifies the host A of the completion of the conveyance (S74). The controller 4 also notifies the host B to be the data transfer destination of the completion of insertion of a new medium to the common cell (S75).
An instruction for conveyance from the common cell 91 to the frame B is issued by the host B in response to the receipt of the notice of Step S75 (S76). In the library apparatus 1, in response to the receipt of the medium conveyance instruction, the robot 5 conveys the storage medium 7 conveyed in Step S73 from the common cell 91 to the frame B (S77). When the controller 4 has confirmed that the conveyance to the frame B has been completed in Step S77, the controller 4 notifies the host B of the completion of the conveyance (S78). The controller 4 also notifies the host A being the data transfer origin of the removal of the storage medium (S79). In the case where there are a plurality of storage media to/from which data is transferred, the processes of the above steps from Step S72 to Step S79 are repeated.
Next, the operation of the controller 4 in the second embodiment will be described. This will be described replacing the VAS with the common cell as necessary referring to
First, the controller 4 determines whether the transfer destination contained in a medium conveyance instruction is the common cell 91 or not (S1). Whether the transfer destination is the common cell or not can be determined by confirming whether the address of the common cell is designated as the transfer destination. In the case where the conveyance destination is not the common cell 91, the processes of the normal mode are executed.
In the case where the conveyance destination is the common cell 91 in Step S1, next, the controller confirms the operation mode having been set (S2). When the operation mode confirmed in Step S2 is the data transfer modes whether a medium conveyance instruction has been issued from the host A or not is determined (S3). This is because the data transfer from the host A to the host B is set and, if the instruction for conveyance to the common cell 91 has been issued from another host, it is enough to execute the processes of the normal mode.
In the case where the medium conveyance instruction has been issued from the host A in Step S3, the controller 4 instructs the robot 5 to convey to the common cell 91 the storage medium 7 housed in a predetermined cell 6 in the frame A (S4). When the controller 4 has detected that the storage medium 7 has been conveyed to the common cell 91, the controller 4 notifies the host A of the completion of the conveyance to the common cell 91 (S5) and notifies the host B to be the data transfer destination, of the insertion of a new storage medium (S6). Thereafter, the controller 4 waits for an instruction for medium conveyance from the common cell 91 issued by the host to be the data transfer destination (in this case, the host B) (S7 and S8).
Then, according to a medium conveyance instruction issued from the host B having received the notice of Step S6, the controller 4 instructs the robot to convey the storage medium 7 housed in the common cell 91 in Step S4 to a predetermined cell 6 in the frame B (S9). When the controller 4 has detected that the storage medium 7 has been conveyed to the predetermined cell 6 in the frame B, the controller 4 notifies the host B of the completion of the conveyance (S10) and notifies the host A of the removal of the storage medium (S11). In this manner, the processes for the data transfer mode have been finished and the controller 4 prepares for the next conveyance instruction. In the case, where there are a plurality of storage media to/from which data is transferred, the processes of the above steps from Step S1 to Step S11 are repeated.
In the case where the conveyance destination is not the common cell 91 in Step S1, where the operation mode is the normal mode in Step S2 and where the conveyance instruction is not issued from the host to be the data transfer origin in Step S3, the processes for the normal mode are executed. First, the controller 4 instructs the robot 5 to convey the storage medium 7 housed in a predetermined cell in the frame A to a predetermined conveyance destination (S12).
In the case where the processes are proceeded from Step S2 and Step S3 to Step S12, the conveyance destination is the common cell 91 and, in other cases, the storage medium is conveyed to a conveyance destination designated by the address contained in the medium conveyance instruction. Then, when the controller 4 has detected that the storage medium 7 has been conveyed to a predetermined conveyance destination, the controller 4 notifies the host computer having issued the medium conveyance instruction of the completion of the conveyance (S13). In this manner, the processes for the normal mode have been finished and the controller 4 prepares for the next conveyance instruction.
In the second embodiment, using the common cell as the turnout housing unit, the same effect can be obtained as that of the first embodiment using the VAS as the turnout housing unit.
Next, a library apparatus of a third embodiment applied with a method of the invention will be described. The library apparatus of the third embodiment of the invention is a library system in which the housing unit is also divided physically and the physically-divided portions of the housing unit are coupled by a medium delivering mechanism. A controller having received a conveyance instruction to the medium delivering mechanism notifies the insertion of a new storage medium immediately after the conveyance to the medium delivering mechanism. Thereby, the work time for data transfer between a plurality of host computers connected to the library apparatus is reduced. That is, the medium delivering mechanism is used as the turnout housing unit in the first or the second embodiments.
In the case the medium conveyance instruction is issued from the host A in Step S113, the controller 102 instructs a robot A to convey to the medium delivering mechanism 101 the storage medium 7 housed in a predetermined cell 6 in the frame A (S114). When the controller 4 has detected that the storage medium 7 has been conveyed to the medium delivering mechanism 101, the controller 4 notifies the host A of the completion of the conveyance to the medium delivering mechanism 101 (S115) and also notifies the host B being the data transfer destination of the insertion of the medium into the storage medium delivering mechanism (S116). Thereafter, the controller waits for an instruction for medium conveyance from the medium delivering mechanism 101 issued by the host B being the data transfer destination (S117 and S118).
Then, according to a medium conveyance instruction issued from the host B having received the notice in Step S116, the controller 4 instructs the robot B to convey the storage medium 7 housed in the medium delivering mechanism 101 in Step S114 to a predetermined cell 6 in the frame B (S119). When the controller 4 has detected that the storage medium 7 has been conveyed to the predetermined cell 6 in the frame B, the controller 4 notifies the host B of the completion of the conveyance (S120) and notifies the host A of the removal of the storage medium (S121). In this manner, the processes for the data transfer have been finished and the controller 4 prepares for the next conveyance instruction. In the case where there are a plurality of storage media to/from which data is transferred, the processes of the above steps from Step S111 to Step S121 are repeated.
In the case where the conveyance destination is not the medium delivering mechanism 101 in Step S111, the controller 4 instructs any of the robots 5 to convey the storage medium 7 housed in a predetermined cell 6 to a predetermined conveyance destination contained in the medium conveyance instruction (S12). Then, when the controller 4 has detected that the storage medium has been conveyed to the predetermined conveyance destination, the controller 4 notifies the host computer having issued the medium conveyance instruction of the completion of the conveyance (S123). In this manner, the controller 4 prepares for the next conveyance instruction.
In the case where the conveyance instruction has been not issued from the host A in Step S113, no process is executed and the conveyance instruction is cancelled.
According to the third embodiment, by only designating the medium delivering mechanism as the conveyance destination, data transfer can be executed properly and the work time etc. can be reduced because the conventional VAS door open/close operations are not necessary.
According to the embodiments described above, it is possible to considerably reduce the time, personnel, the number of steps and cost necessary for the data transfer work between a plurality of host computers connected to the library apparatus, with the least change made to a conventional library apparatus.
An RAM 63 is storage means in which the result of calculation by the CPU 61, written-in data from the host computer 10 etc. are stored. A peripheral equipment interface unit 64 executes mediation between the controller 4 and various equipment connected to the controller 4. The peripheral equipment interface unit 64 has a physical connection connector according to the peripheral equipment connected and transmits information. The peripheral equipment is, for example, the VAS 8, the robot 5, the hostI/F 2, an input device such as a button or a touch panel, a display apparatus for displaying the state of the library apparatus, etc.
The method of the invention can be also realized as a program executed by a controller shown in
While illustrative and presently preferred embodiments of the present invention have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed and that the appended claims are intended to be construed to include such variations except insofar as limited by the prior art.
Number | Date | Country | Kind |
---|---|---|---|
2003-358691 | Oct 2003 | JP | national |