1. Field of the Invention
The present invention relates to a computer system and a method for controlling interface commands of a disk apparatus for online data migration technology of the disk apparatus and, more particularly, to migration technology for the contents of the disk apparatus for storing task process data while a host computer continues to process task data.
2. Description of the Related Art
Conventionally, in the case of updating a newly connected disk apparatus (new disk apparatus) from a disk apparatus (old disk apparatus or migration source disk apparatus) functioning as an outside storage device, in order to utilize continuously data that are processed up to now, data of the old disk apparatus shall be moved to the new disk apparatus (migration). In such a case, as a conventional general method, a method of storing the contents of the current disk apparatus once in a backup file of a tape unit or the like and then restoring after the disk apparatus was exchanged has been employed. Otherwise, there has been known a method for connecting the new disk apparatus, as well as a conventional old disk, to a host computer and then storing copy data of the old disk apparatus in the new disk apparatus by the host computer. Here, these methods stop the tasks of the host computer for a long period of time. Operation for stopping tasks for such a long period of time cannot be accepted as the tasks of the most modern data center characterizing non-stop operation.
For a method for improving such a condition, a patent document 1 (Japanese published unexamined patent application No. 2001-249853) discloses a method for executing data migration from the old disk apparatus to the new disk apparatus by connecting the new disk apparatus to a switch provided between the host computer and the old disk apparatus. According to this data migration method, a unit for copying data from the old disk apparatus to the new disk apparatus while the disk apparatus of the host computer is continuously accessed is provided in the switch (or a storage system). However, in this data migration method, the old disk apparatus and the host computer that is used are necessarily disconnected for a while and then the switch having the above cited online data migration function shall be provided. Here, if the number of access paths between the host computer and the old disk apparatus is one, the computer system shall be halted.
For another method, a patent document 2 (Japanese published unexamined patent application No. 11-184641) discloses a method for executing data migration without stopping while plural access paths are included between the host computer and the disk apparatus and at least one access path is continuously maintained. This data migration method is made and used by a changing-over path function provided on the host computer, i.e., a method for changing-over access paths dynamically by managing two or more access paths between the host computer and the disk apparatus on the host computer. The changing-over path function of the host computer, however, may not work properly for a disk apparatus having different interface specification as a process task of a specified disk apparatus. The reason is because a SCSI response of the disk apparatus is utilized inherently in order to identify automatically plural access paths for the disk apparatus (referred to a logical unit in the SCSI code). Namely, for such a response, there may be caused a problem in which access is denied if consistency is not recognized in disk inherent information for an interface command.
[Patent document 1]
[Patent document 2]
In the above cited conventional technology, at the time of changing-over an old disk apparatus to a new disk apparatus, since consistency between old disk (apparatus) inherent information maintained by a host computer as configuration information and new disk (apparatus) inherent information is not firmly assured, the host computer closes an access path by judging that the new disk apparatus fails due to this inconsistency, thus a problem in which the computer system goes down is caused as a result.
The object of the present invention is to provide interface command control technology (control system and computer system) of data migration of the disk apparatus capable of executing non-stop data migration without requiring stop operation of accessing the disk apparatus by the host computer due to the above cited inconsistency in accordance with data migration procedures from old disk apparatus to the new disk apparatus.
Another object of the present invention is to provide interface command control technology for data migration capable of updating (exchanging) a differently specified disk apparatus by avoiding causing failure due to a disk inherent information change in accordance with migration from the old disk apparatus to the new disk apparatus.
Another object of the present invention is to provide interface command control technology for data migration of a computer system having high availability and maintaining redundancy of the access path by performing correctly an alternate path function during and after data migration.
Still another object of the present invention is to provide interface command control technology for data migration of the disk apparatus capable of executing data migration smoothly without stopping migration for the disk apparatus shared by plural host computers.
Still another object of the present invention is to provide the computer system adapting the interface command control method of the above cited disk apparatus.
In order to solve the above cited objects, the present invention, in a method for controlling an interface command of a magnetic disk apparatus of a computer system including one or more host computers, a disk apparatus (old disk apparatus) connected prior to the host computers, and a disk apparatus (new disk apparatus) newly connected to the host computers via a switch, includes the steps of changing-over and connecting the old disk apparatus to the host computers via the switch being connected to the new disk apparatus, executing data migration from the old disk apparatus to the new disk apparatus via the switch, identifying a command for inquiring disk identification as an interface command from the host computers and a command for inputting and outputting data, and sending the command for inquiring the disk identification to the old disk apparatus.
Further, data migration from the old disk apparatus to the new disk apparatus is executed by an online data migration function of the switch.
Furthermore, the old disk apparatus and the new disk apparatus operate by a SCSI command from one or more host computers, and a SCSI command utilized by the host computers for identifying the disk apparatus exchanges data so as to utilize as the same disk apparatus before and after data migration.
Furthermore, one or more host computers share at least one old disk apparatus, and the old disk apparatus is reused for storing data after data migration.
The present invention will become more apparent from the detailed description taken in conjunction with the accompanying drawings and thus are not limited to the present invention in which:
In the following part, a computer system and an interface command control method of a disk apparatus of the present invention are explained with reference to the embodiments of the present invention of
(1) Computer System Diagram
Further, the switch 5 is connected to a new disk apparatus 6 via access paths 7 and 8. The access paths 7 and 8 are fiber channels or the parallel SCSI based on the SCSI standard. Here, the number of host computers shall not be limited by the present invention, when this invention is made and used, since the present invention is data migration from the old disk apparatus 2 to the new disk apparatus 6.
A host interface control part 9 is connected to the access paths 3a and 4a via ports 15 and 16 and controls SCSI command transmitting to and receiving from the host computer 1. Further, the host interface control part 9 is connected to disk interface control parts 13 and 14 and a reserve emulation part 10 via internal paths 21, 29, and 22 respectively.
A disk interface control part 13 is connected to the access paths 3b and 4b via ports 17 and 18, and controls SCSI command transmitting to and receiving from the old disk apparatus 2. Further, a disk interface control part 13 is connected to the reserve emulation part 10, a SCSI command control part 11, and an online data migration part 12 via internal paths 23, 25, and 27 respectively.
A disk interface control part 14 is connected to the access paths 7 and 8 via ports 19 and 20 and controls SCSI command transmitting to and receiving from the new disk apparatus 6. Further, the disk interface control part 14 is connected to the SCSI command control part 11 and the online data migration part 12 via internal paths 26 and 28 respectively.
The reserve emulation part 10 receives SCSI commands, which are issued by the host computer 1, from the host interface control part 9 via an internal path 22 and executes exclusive access control to access from the host computer in accordance with the SCSI commands with regard to reserve and release (the number of host computers to be connected is not limited, although one host computer 1 is indicated in
The SCSI command control part 11 receives the SCSI commands from the host computer 1 via the host interface control part 9 and the reserve emulation part 10, and gives the SCSI commands to the old disk apparatus 2 and the new disk apparatus 6 via the disk interface control part 13 and the disk interface control part 14. Further, response information from the old disk apparatus 2 and the new disk apparatus 6 is given to the host computer 1 via the paths in reverse. The SCSI command control part 11 has the function of classifying the SCSI commands from the host computer 1 and giving them to the old disk apparatus 2 or the new disk apparatus 6. The operation therefor is explained hereinafter with reference to
The online data migration part 12 of
(2) Interface Command Control Procedure for Data Migration
An example of data migration process of the computer system of
Before starting data migration, as shown in
Next, in order to connect the old disk apparatus 2 to the switch 5, the system is operated in accordance with the procedures 61 to 64 of
Next, in step 53 of
Next, the online data migration part 12 copies data from the old disk apparatus 2 to the new disk apparatus 6 (step 54). Here, with reference to
Next, when online data migration process is completed, the SCSI command control part 11 changes-over SCSI commands, with regard to disk read and write, issued by the host computer 1 to the new disk apparatus 6 (step 55). Here, with reference to
The SCSI command control part 11 identifies SCSI commands for identifying the disk apparatuses issued by the host computer 1, i.e., inquiry commands and SCSI commands in relation to mode sense series not specified in the SCSI standard specification, and issues them continuously to the old disk apparatus 2 (SCSI data path 32 of
If suchlike data migration is executed by plural host computers, the old magnetic disk apparatus is shared by plural host computers. Further, if plural old magnetic disk apparatuses are connected, plural magnetic disk apparatuses are shared.
In the above mentioned example, the case of utilizing the switch 5 for data migration is explained. The present invention is not limited to this case, but it is also applicable to execute data migration by utilizing the disk apparatus or disk controller (generic term of portions including a disk control part 205, CPU 204, a port control part 203, a memory 202, and inherent information 201 of the old disk apparatus of
As explained in the above cited, the present invention does not need an access stop to the disk apparatus from the host computer for data migration procedures from the old disk apparatus to the new disk apparatus, and thus non-stop data migration can be made.
Further, fault condition caused by disk apparatus inherent information change when data migration is executed from the old disk apparatus to the new disk apparatus can be avoided and thus the disk apparatus having inconsistent specification can be exchanged without any stopping.
Further, redundancy of access paths among the host computer, the switch, and the disk apparatus can be maintained and thus highly available computer system data migration and operational availability after data migration can be made.
Further, complete non-stop system migration can be made by including the function of simulating reserve process even for the disk apparatus shared by plural host computers.
In this way, the invention is explained concretely based on the embodiments invented by the inventor. The present invention is not limited to the above cited embodiments, but it goes without saying that various modifications can be applied within the scope of the gist of the present invention.
Although data migration has been exemplified as the function of the switch, for example, this data migration can also be applied widely to a disk array (RAID) subsystem including the equivalent function. Further, the old disk apparatus after data migration can be diverted to data storage used by the switch and the disk array sub system.
According to the data migration method of the disk apparatus of the present invention, since the host computer recognizes that the old disk has been connected even during or after executing data migration to the new disk apparatus from the old disk apparatus, effects, in which the host computer does not need to change the definition of the disk apparatus and then tasks on the host computer can be performed continuously, are obtained.
Further, in a system in which the host computer is connected to the old disk apparatus via plural redundant access paths, since the host computer can access the disk apparatus without stopping when data migrate and the host computer can also utilize plural access paths continuously after data migration, effects, in which data migration can be executed without stopping access and protection against the fault of access paths can be maintained, are obtained.
Furthermore, in a cluster system in which plural hosts share the old disk, the effect in which non-stop data can migrate smoothly while the cluster is maintained since exclusion information of the disk apparatus also migrates is obtained.
Furthermore, after data migration, the effect in which the old disk can be diverted to the device for storing other data is obtained.
Number | Date | Country | Kind |
---|---|---|---|
2003-178976 | Jun 2003 | JP | national |
The present application is a continuation of application Ser. No. 10/661,574, filed Sep. 15, 2003 now U.S. Pat. No. 7,130,941; which claims priority of Japanese Patent Application Serial Number 2003-178976, the contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3771137 | Barner et al. | Nov 1973 | A |
4025904 | Adney et al. | May 1977 | A |
4710868 | Cocke et al. | Dec 1987 | A |
5155845 | Beal et al. | Oct 1992 | A |
5408465 | Gusella et al. | Apr 1995 | A |
5459857 | Ludlam et al. | Oct 1995 | A |
5504882 | Chai et al. | Apr 1996 | A |
5548712 | Larson et al. | Aug 1996 | A |
5680580 | Beardsley et al. | Oct 1997 | A |
5680640 | Ofek et al. | Oct 1997 | A |
5758118 | Choy et al. | May 1998 | A |
5835954 | Duyanovich et al. | Nov 1998 | A |
5870537 | Kern et al. | Feb 1999 | A |
5895485 | Loechel et al. | Apr 1999 | A |
5917723 | Binford | Jun 1999 | A |
5956750 | Yamamoto et al. | Sep 1999 | A |
5978890 | Ozawa et al. | Nov 1999 | A |
6012123 | Pecone et al. | Jan 2000 | A |
6098129 | Fukuzawa et al. | Aug 2000 | A |
6108748 | Ofek et al. | Aug 2000 | A |
6173374 | Heil et al. | Jan 2001 | B1 |
6195730 | West | Feb 2001 | B1 |
6219753 | Richardson | Apr 2001 | B1 |
6230239 | Sakaki et al. | May 2001 | B1 |
6240486 | Ofek et al. | May 2001 | B1 |
6240494 | Nagasawa et al. | May 2001 | B1 |
6247099 | Skazinski et al. | Jun 2001 | B1 |
6247103 | Kern et al. | Jun 2001 | B1 |
RE37305 | Chang et al. | Jul 2001 | E |
6341329 | LeCrone et al. | Jan 2002 | B1 |
6356977 | Ofek et al. | Mar 2002 | B2 |
6374327 | Sakaki et al. | Apr 2002 | B2 |
6389459 | McDowell | May 2002 | B1 |
6446141 | Nolan et al. | Sep 2002 | B1 |
6446175 | West et al. | Sep 2002 | B1 |
6453392 | Flynn, Jr. | Sep 2002 | B1 |
6457139 | D'Errico et al. | Sep 2002 | B1 |
6484173 | O'Hare et al. | Nov 2002 | B1 |
6490659 | McKean et al. | Dec 2002 | B1 |
6523096 | Sanada et al. | Feb 2003 | B2 |
6529976 | Fukuzawa et al. | Mar 2003 | B1 |
6553408 | Merrell et al. | Apr 2003 | B1 |
6598134 | Ofek et al. | Jul 2003 | B2 |
6622220 | Yoshida et al. | Sep 2003 | B2 |
6640278 | Nolan et al. | Oct 2003 | B1 |
6640291 | Fujibayashi et al. | Oct 2003 | B2 |
6647387 | McKean et al. | Nov 2003 | B1 |
6647474 | Yanai et al. | Nov 2003 | B2 |
6647476 | Nagasawa et al. | Nov 2003 | B2 |
6654830 | Taylor et al. | Nov 2003 | B1 |
6654831 | Otterness et al. | Nov 2003 | B1 |
6675258 | Bramhall et al. | Jan 2004 | B1 |
6681303 | Watabe et al. | Jan 2004 | B1 |
6681339 | McKean et al. | Jan 2004 | B2 |
6684310 | Anzai et al. | Jan 2004 | B2 |
6687758 | Craft et al. | Feb 2004 | B2 |
6708232 | Obara | Mar 2004 | B2 |
6718404 | Reuter et al. | Apr 2004 | B2 |
6745281 | Saegusa | Jun 2004 | B1 |
6772315 | Perego | Aug 2004 | B1 |
6799255 | Blumenau et al. | Sep 2004 | B1 |
6816948 | Kitamura et al. | Nov 2004 | B2 |
6826778 | Bopardikar et al. | Nov 2004 | B2 |
6851020 | Matsumoto et al. | Feb 2005 | B2 |
6857057 | Nelson et al. | Feb 2005 | B2 |
6883064 | Yoshida et al. | Apr 2005 | B2 |
6973549 | Testardi | Dec 2005 | B1 |
6976103 | Watanabe et al. | Dec 2005 | B1 |
6976134 | Lolayekar et al. | Dec 2005 | B1 |
7051121 | Ohno et al. | May 2006 | B2 |
20010000818 | Nagasawa et al. | May 2001 | A1 |
20010050915 | O'Hare et al. | Dec 2001 | A1 |
20010052018 | Yokokura | Dec 2001 | A1 |
20010054133 | Murotani et al. | Dec 2001 | A1 |
20020003022 | Csida et al. | Jan 2002 | A1 |
20020004857 | Arakawa et al. | Jan 2002 | A1 |
20020004890 | Ofek et al. | Jan 2002 | A1 |
20020019908 | Reuter et al. | Feb 2002 | A1 |
20020019920 | Reuter et al. | Feb 2002 | A1 |
20020019922 | Reuter et al. | Feb 2002 | A1 |
20020019923 | Reuter et al. | Feb 2002 | A1 |
20020026558 | Reuter et al. | Feb 2002 | A1 |
20020029326 | Reuter et al. | Mar 2002 | A1 |
20020065864 | Hartsell et al. | May 2002 | A1 |
20020087544 | Selkirk et al. | Jul 2002 | A1 |
20020103889 | Markson et al. | Aug 2002 | A1 |
20020112113 | Karpoff et al. | Aug 2002 | A1 |
20020124108 | Terrell et al. | Sep 2002 | A1 |
20020133735 | McKean et al. | Sep 2002 | A1 |
20020156887 | Hashimoto | Oct 2002 | A1 |
20020156984 | Padovano | Oct 2002 | A1 |
20020156987 | Gajjar et al. | Oct 2002 | A1 |
20020178335 | Selkirk et al. | Nov 2002 | A1 |
20020188592 | Leonhardlt et al. | Dec 2002 | A1 |
20020194523 | Ulrich et al. | Dec 2002 | A1 |
20030037071 | Harris et al. | Feb 2003 | A1 |
20030051109 | Cochran | Mar 2003 | A1 |
20030056038 | Cochran | Mar 2003 | A1 |
20030079018 | Lolayekar et al. | Apr 2003 | A1 |
20030079019 | Lolayekar et al. | Apr 2003 | A1 |
20030093541 | Lolayekar et al. | May 2003 | A1 |
20030093567 | Lolayekar et al. | May 2003 | A1 |
20030097607 | Bessire | May 2003 | A1 |
20030101228 | Busser et al. | May 2003 | A1 |
20030115218 | Bobbit et al. | Jun 2003 | A1 |
20030115432 | Blessener et al. | Jun 2003 | A1 |
20030126327 | Pesola et al. | Jul 2003 | A1 |
20030130833 | Brownell et al. | Jul 2003 | A1 |
20030145168 | LeCrone et al. | Jul 2003 | A1 |
20030145169 | Nagasawa et al. | Jul 2003 | A1 |
20030158999 | Hauck et al. | Aug 2003 | A1 |
20030167419 | Yanai et al. | Sep 2003 | A1 |
20030182525 | O'Connell et al. | Sep 2003 | A1 |
20030188233 | Lubbers et al. | Oct 2003 | A1 |
20030200387 | Urabe et al. | Oct 2003 | A1 |
20030204597 | Arakawa et al. | Oct 2003 | A1 |
20030204700 | Biessener et al. | Oct 2003 | A1 |
20030212854 | Kitamura et al. | Nov 2003 | A1 |
20030212860 | Jiang et al. | Nov 2003 | A1 |
20030221077 | Ohno et al. | Nov 2003 | A1 |
20030229645 | Nelson et al. | Dec 2003 | A1 |
20030237019 | Kleiman et al. | Dec 2003 | A1 |
20040003022 | Garrison et al. | Jan 2004 | A1 |
20040028043 | Maveli et al. | Feb 2004 | A1 |
20040049553 | Iwamura et al. | Mar 2004 | A1 |
20040054850 | Fisk | Mar 2004 | A1 |
20040054866 | Blumenau et al. | Mar 2004 | A1 |
20040064610 | Fukuzawa et al. | Apr 2004 | A1 |
20040064641 | Kodama | Apr 2004 | A1 |
20040068637 | Nelson et al. | Apr 2004 | A1 |
20040088417 | Bober et al. | May 2004 | A1 |
20040111485 | Mimatsu et al. | Jun 2004 | A1 |
20040123180 | Soejima et al. | Jun 2004 | A1 |
20040139237 | Pangal et al. | Jul 2004 | A1 |
20040143832 | Yamamoto et al. | Jul 2004 | A1 |
20040148443 | Achiwa et al. | Jul 2004 | A1 |
20040172510 | Nagashima et al. | Sep 2004 | A1 |
20040230980 | Koyama et al. | Nov 2004 | A1 |
20040260875 | Murotani et al. | Dec 2004 | A1 |
20040260899 | Kern et al. | Dec 2004 | A1 |
20040260966 | Kaiya et al. | Dec 2004 | A1 |
20050010734 | Soejima et al. | Jan 2005 | A1 |
20050010743 | Tremblay et al. | Jan 2005 | A1 |
20050033878 | Mogi et al. | Feb 2005 | A1 |
20050081009 | Williams et al. | Apr 2005 | A1 |
20050138184 | Amir | Jun 2005 | A1 |
20050240741 | Nagasawa et al. | Oct 2005 | A1 |
Number | Date | Country |
---|---|---|
1130514 | Sep 2001 | EP |
09288547 | Nov 1997 | JP |
10508967 | Sep 1998 | JP |
10283272 | Oct 1998 | JP |
11184641 | Jul 1999 | JP |
2000293317 | Oct 2000 | JP |
2001067187 | Mar 2001 | JP |
2001249853 | Sep 2001 | JP |
2001331355 | Nov 2001 | JP |
2002157091 | May 2002 | JP |
2002230246 | Aug 2002 | JP |
9709676 | Mar 1997 | WO |
03023640 | Mar 2003 | WO |
03027886 | Apr 2003 | WO |
03030431 | Apr 2003 | WO |
03030449 | Apr 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20060236006 A1 | Oct 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10661574 | Sep 2003 | US |
Child | 11452974 | US |