JP2007172646A - Data transfer control method, switch system and data control method - Google Patents

Data transfer control method, switch system and data control method Download PDF

Info

Publication number
JP2007172646A
JP2007172646A JP2007034342A JP2007034342A JP2007172646A JP 2007172646 A JP2007172646 A JP 2007172646A JP 2007034342 A JP2007034342 A JP 2007034342A JP 2007034342 A JP2007034342 A JP 2007034342A JP 2007172646 A JP2007172646 A JP 2007172646A
Authority
JP
Japan
Prior art keywords
data
disk device
initiator
control method
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007034342A
Other languages
Japanese (ja)
Inventor
Koichi Okada
広一 岡田
Akitake Tamura
彰偉 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007034342A priority Critical patent/JP2007172646A/en
Publication of JP2007172646A publication Critical patent/JP2007172646A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To transfer data between old and new disk apparatus without changing disk definitions of a host computer. <P>SOLUTION: Data are copied to a transfer target disk apparatus with continuing disk access from the host computer through a switch provided with on-line data transfer functions between the host computer and a data transfer source disk apparatus. After data transfer, if the host computer issues an SCSI command to identify a disk, the response of the transfer source disk apparatus is returned. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ディスク装置のオンラインデータ移行の技術、即ち、ホスト計算機の業務をほぼ継続したまま、その業務で処理するデータを格納したディスク装置の内容を他のディスク装置に移行する制御方法、ディスク装置のデータ制御方法およびスイッチシステムに関する。   The present invention relates to a disk device online data migration technique, that is, a control method for migrating the contents of a disk device storing data to be processed in the host computer to another disk device while the job of the host computer is substantially continued, a disk The present invention relates to a device data control method and a switch system.

計算機システムにおいて、外部記憶装置として機能しているディスク装置(旧ディスク装置あるいは移行元ディスク装置)を新たに接続したディスク装置(移行先ディスク装置)に更新する場合、それまでの処理で利用していたデータを継続して利用するために、旧ディスク装置内のデータを新ディスク装置内に移し替える(移行(マイグレーション))をおこなう必要がある。このような場合、従来の一般的な方法としては、既存のディスク装置の内容をテープ装置等に一旦バックアップして、ディスク装置の交換後にリストア(書き戻し)する方法が採用されている。あるいは、既存の旧ディスク装置に加えて新ディスク装置も同時にホスト計算機に接続し、ホスト計算機が旧ディスク装置から新ディスク装置へデータを複製する方法も知られている。ただし、これらの方法では、ホスト計算機の業務を長時間停止させることになる。このような長時間業務停止は、無停止運転を特徴とする最近のデータセンター業務では受け入れがたい。   In a computer system, when updating a disk device that functions as an external storage device (old disk device or migration source disk device) to a newly connected disk device (migration destination disk device), it is used in the processing up to that point. In order to continue using the data, it is necessary to transfer the data in the old disk device to the new disk device (migration). In such a case, as a conventional general method, a method of temporarily backing up the contents of an existing disk device to a tape device or the like and restoring (writing back) after replacing the disk device is employed. Alternatively, a method is also known in which a new disk device is simultaneously connected to a host computer in addition to an existing old disk device, and the host computer replicates data from the old disk device to the new disk device. However, with these methods, the operation of the host computer is stopped for a long time. Such long-term business interruptions are unacceptable in recent data center operations characterized by non-stop operation.

これを改善する手段として、ホスト計算機と旧ディスク装置の間に介在するスイッチに、新ディスク装置を接続して、旧ディスク装置から新ディスク装置にデータを移行する方法が、特許文献1(特開2001-249853)において開示されている。このデータ移行方法では、ホスト計算機のディスク装置のアクセスを継続しながら、移行元ディスクから移行先ディスクにデータを複製するユニットがスイッチ(又はストレージシステム)に備えられる。しかし、このデータ移行方法では、既存のホスト計算機と旧ディスク装置の接続を一旦切断し、上記オンラインデータ移行機能を有するスイッチを挿入する必要がある。この際、ホスト計算機と旧ディスク装置の間のアクセス経路が1つしかないと、計算機システムを停止する必要がある。   As a means for improving this, a method of transferring data from an old disk device to a new disk device by connecting the new disk device to a switch interposed between the host computer and the old disk device is disclosed in Japanese Patent Application Laid-Open No. 2005-228867. 2001-249853). In this data migration method, the switch (or storage system) is provided with a unit that replicates data from the migration source disk to the migration destination disk while continuing to access the disk device of the host computer. However, in this data migration method, it is necessary to once disconnect the connection between the existing host computer and the old disk device and insert the switch having the online data migration function. At this time, if there is only one access path between the host computer and the old disk device, it is necessary to stop the computer system.

これに対して、ホスト計算機とディスク装置との間に複数のアクセス経路を持ち、少なくとも1つのアクセス経路を維持しながら無停止でデータ移行を行う方式が、特許文献2(特開平11-184641)において開示されている。このデータ移行方法では、ホスト計算機上に備えられた交替パス機能、即ち、ホスト計算機とディスク装置との間の2つ以上のアクセス経路をホスト計算機上で管理してアクセス経路を動的に切り換える機能、によって実現される。しかし、ホスト計算機の交替パス機能には、特定のディスク装置を処理対象として、インタフェース仕様の異なるディスク装置には対応できないものがある。その理由は、交替パス機能が、ディスク装置(SCSI規約ではロジカルユニットと表す)に対する複数のアクセス経路を自動的に識別するために、ディスク装置固有のSCSI応答を利用している点にある。即ち、この応答において、インタフェースコマンドにおけるディスク固有情報に整合性が認められない場合はアクセスが拒否されてしまうという問題が生ずることになるためである。   On the other hand, Patent Document 2 (Japanese Patent Application Laid-Open No. 11-184641) is a method in which a plurality of access paths are provided between a host computer and a disk device and data is transferred without interruption while maintaining at least one access path. Is disclosed. In this data migration method, an alternate path function provided on the host computer, that is, a function for dynamically switching the access route by managing two or more access routes between the host computer and the disk device on the host computer. Realized by. However, there are some alternate path functions of the host computer that cannot handle disk devices with different interface specifications for a specific disk device. The reason is that the alternate path function uses a SCSI response unique to the disk device in order to automatically identify a plurality of access paths to the disk device (represented as a logical unit in the SCSI protocol). That is, in this response, if consistency is not recognized in the disk unique information in the interface command, there arises a problem that access is denied.

特開2001-249853JP2001-249853 特開平11-184641JP 11-184641

上述のような従来技術においては、移行元ディスク装置から移行先ディスク装置に切り換えた時に、ホスト計算機が構成情報として保持している移行元ディスク(装置)の固有情報と、移行先ディスク(装置)の固有情報との間の整合性が必ずしも保証されていないため、この不整合により、ホスト計算機が移行先ディスク装置に障害があると判断してアクセス経路を遮断し、結果として、計算機システムがダウンすることが懸念されるという問題がある。   In the prior art as described above, when switching from the migration source disk device to the migration destination disk device, the unique information of the migration source disk (device) held as configuration information by the host computer and the migration destination disk (device) Therefore, due to this inconsistency, the host computer determines that there is a failure in the migration destination disk device and blocks the access path. As a result, the computer system goes down. There is a problem that there are concerns.

本発明の目的は、移行元ディスク装置から移行先ディスク装置へのデータ移行手順に伴う上記不整合によるホスト計算機からディスク装置へのアクセスの停止が一切必要ない、無停止でのデータ移行制御方法、ディスク装置のデータ移行におけるインタフェースコマンド制御技術(制御方法および計算機システム)を提供することにある。   An object of the present invention is to provide a non-stop data migration control method that does not require any stop of access from the host computer to the disk device due to the inconsistency accompanying the data migration procedure from the migration source disk device to the migration destination disk device, An object of the present invention is to provide an interface command control technique (control method and computer system) in data migration of a disk device.

本発明の他の目的は、移行元ディスク装置から移行先ディスク装置への移行に伴うディスク装置固有情報などの変化に起因する障害の発生を回避して、仕様の異なるディスク装置の更新(交換)を可能にするデータ移行におけるインタフェースコマンド制御技術を提供することにある。   Another object of the present invention is to update (replace) a disk device having a different specification by avoiding the occurrence of a failure due to a change in disk device specific information associated with the migration from the migration source disk device to the migration destination disk device. It is an object to provide an interface command control technology in data migration that makes possible the above.

本発明の他の目的は、前述の交替パス機能をデータ移行中およびデータ移行後も正常に機能させる事により、アクセス経路の冗長性を維持し、可用性の高い計算機システムのデータ移行におけるインタフェースコマンド制御技術を提供することにある。
本発明の他の目的は、複数のホスト計算機から共有されるディスク装置の移行を、無停止状態で円滑に行うことが可能なディスク装置のデータ移行におけるインタフェースコマンド制御技術を提供することにある。
Another object of the present invention is to maintain the redundancy of the access path by allowing the above-mentioned alternate path function to function normally during and after data migration, and to control interface commands in data migration of a highly available computer system. To provide technology.
Another object of the present invention is to provide an interface command control technique in data migration of a disk device that can smoothly perform migration of a disk device shared by a plurality of host computers without stopping.

更なる本発明の目的は、上記磁気ディスク装置のインタフェースコマンド制御方法を適用した計算機システムを提供することにある。   A further object of the present invention is to provide a computer system to which the interface command control method of the magnetic disk device is applied.

上記目的を達成するために、本発明では、記憶領域に対してアクセスを行うイニシエータと、複数のディスクを各々に有する複数のディスク装置と、に接続されるスイッチシステムのデータ移行制御方法であって、イニシエータから記憶領域に関するデータ書き込み要求を受信するステップと、複数のディスク装置に含まれる第1のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第1のステップ群と、第1のディスク装置に格納されているデータを複数のディスク装置に含まれる第2のディスク装置へ移行する第2のステップと、イニシエータから記憶領域に関するデータ書き込み要求を受信するステップと、第2のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第3のステップ群と、記憶領域に対して他のイニシエータに関するリザーブ権限が設定されているか否かに応じて、記憶領域に対してイニシエータに関するリザーブ権限の設定又は不設定を制御する第4のステップと、を有し、第2のステップは、前記第1のステップ群と前記第3のステップ群との間に処理されるものであるようにした。
また、本発明では、記憶領域に対してアクセスを行うイニシエータと、複数のディスクを各々に有する複数のディスク装置と、に接続されるスイッチシステムのデータ移行制御方法であって、イニシエータから記憶領域に関するデータ書き込み要求を受信するステップと、複数のディスク装置に含まれる第1のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第1のステップ群と、第1のディスク装置に格納されているデータを複数のディスク装置に含まれる第2のディスク装置へ移行する第2のステップと、イニシエータから記憶領域に関するデータ書き込み要求を受信するステップと、第2のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第3のステップ群と、記憶領域に対してイニシエータに関するリザーブ権限が設定されている場合に、記憶領域に対して他のイニシエータに関するリザーブ権限を設定しないように制御する第4のステップと、を有し、第2のステップは、第1のステップ群と第3のステップ群との間に処理されるものであるようにした。
To achieve the above object, the present invention provides a data migration control method for a switch system connected to an initiator that accesses a storage area and a plurality of disk devices each having a plurality of disks. Receiving a data write request relating to the storage area from the initiator, and transmitting a data write request to a first disk device included in the plurality of disk devices; A second step of transferring data stored in the disk device to a second disk device included in the plurality of disk devices, a step of receiving a data write request regarding the storage area from the initiator, and a second disk device Transmitting a data write request to the third step group comprising: And a fourth step of controlling setting or non-setting of the reserve authority for the initiator for the storage area according to whether or not the reserve authority for the other initiator is set for the storage area, and The second step is processed between the first step group and the third step group.
The present invention also relates to a data migration control method for a switch system connected to an initiator that accesses a storage area and a plurality of disk devices each having a plurality of disks, and relates to the storage area from the initiator. A first step group comprising: a step of receiving a data write request; and a step of transmitting a data write request to a first disk device included in the plurality of disk devices; A second step of transferring the stored data to the second disk device included in the plurality of disk devices, a step of receiving a data write request regarding the storage area from the initiator, and a data write request to the second disk device And a third step group comprising: And a fourth step for controlling not to set a reserve authority for another initiator for the storage area when the reserve authority for the creator is set, and the second step is a first step. It was made to be processed between the group and the third step group.

さらに、スイッチシステムであって、複数のイニシエータに接続され、複数のイニシエータから送信されるリード要求及び/又はライト要求とリザーブ要求とを受信する複数の第1のポートと、複数のディスクと複数のディスクへのリード及び/又はライトを制御するディスク制御部とを有する複数のディスク装置に接続され、複数のディスク装置に対してリード要求及び/又はライト要求を送信する複数の第2のポートと、を有し、スイッチシステムは、複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御するとともに、複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して複数のイニシエータに含まれる第2のイニシエータからアクセスがある場合に第2のイニシエータからのアクセスを排他制御するものであるようにした。   Further, the switch system is connected to a plurality of initiators, receives a read request and / or a write request and a reserve request transmitted from the plurality of initiators, a plurality of first ports, a plurality of disks, and a plurality of disks A plurality of second ports connected to a plurality of disk devices having a disk controller for controlling reading and / or writing to the disk, and transmitting read requests and / or write requests to the plurality of disk devices; The switch system controls data transfer from the first disk device included in the plurality of disk devices to the second disk device, and is reserved by the first initiator included in the plurality of initiators. When there is access to a storage area from a second initiator included in multiple initiators In this case, the access from the second initiator is controlled exclusively.

また、複数のディスクと複数のディスクへのリード及び/又はライトを制御するディスク制御部とを有する複数のディスク装置と、複数のイニシエータと、に接続されるスイッチシステムにおけるデータ制御方法であって、複数のイニシエータに含まれるイニシエータから送信されるリード要求及び/又はライト要求を受信し、複数のディスク装置に含まれるディスク装置に対してリード要求及び/又はライト要求を送信し、複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御し、複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して、複数のイニシエータに含まれる第2のイニシエータから送信されるアクセスを受信し、第2のイニシエータから送信されるアクセスを排他制御するようにした。   A data control method in a switch system connected to a plurality of disk devices having a plurality of disks and a disk control unit that controls reading and / or writing to the plurality of disks, and a plurality of initiators, A read request and / or write request transmitted from an initiator included in a plurality of initiators is received, a read request and / or a write request is transmitted to a disk device included in a plurality of disk devices, and the plurality of disk devices are transmitted. The migration of data from the first disk device included to the second disk device is controlled, and the storage areas reserved by the first initiator included in the plurality of initiators are included in the plurality of initiators. Receive access sent from the second initiator, and from the second initiator The access to be signal was set to exclusive control.

さらにまた、複数のディスクと複数のディスクへのリードを制御するディスク制御部とを有する複数のディスク装置と、複数のイニシエータと、に接続されるスイッチシステムにおけるデータ制御方法であって、複数のイニシエータに含まれるイニシエータから送信されるリード要求を受信し、複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御し、第1のディスク装置から前記第2のディスク装置へのデータの移行前に、イニシエータからリード要求を受信する場合には、第1のディスク装置に対してリード要求を送信し、第1のディスク装置から第2のディスク装置へのデータの移行中に、イニシエータからリード要求を受信する場合には、第1のディスク装置に対してリード要求を送信し、第1のディスク装置から第2のディスク装置へのデータの移行の終了後に、イニシエータからリード要求を受信する場合には、第2のディスク装置に対してリード要求を送信し、複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して、複数のイニシエータに含まれる第2のイニシエータから送信されるアクセスを受信し、第2のイニシエータから送信されるアクセスを排他制御するようにした。   Furthermore, a data control method in a switch system connected to a plurality of disk devices having a plurality of disks and a disk control unit for controlling reading to the plurality of disks, and a plurality of initiators, Receiving a read request transmitted from the initiator included in the first disk device, controlling data migration from the first disk device to the second disk device included in the plurality of disk devices, and from the first disk device to the second disk device. When a read request is received from the initiator before the data is transferred to the disk device, the read request is transmitted to the first disk device, and the data from the first disk device to the second disk device is transmitted. If a read request is received from the initiator during migration, a read request is sent to the first disk device When a read request is received from the initiator after the data transfer from the first disk device to the second disk device is completed, the read request is transmitted to the second disk device and sent to a plurality of initiators. An access transmitted from the second initiator included in the plurality of initiators is received with respect to the storage area reserved by the included first initiator, and the access transmitted from the second initiator is exclusively controlled. I made it.

本発明のディスク装置のデータ移行方法によれば、旧ディスク装置から新ディスク装置へのデータ移行中および移行後も、ホストは旧ディスクが接続されていると認識するので、ホストのディスク定義の変更が不要であり、ホスト上の業務を継続できる、という効果が得られる。   According to the disk device data migration method of the present invention, the host recognizes that the old disk is connected during and after data migration from the old disk device to the new disk device. Is unnecessary, and the effect that the operation on the host can be continued is obtained.

また、ホストと旧ディスク装置を冗長性のある複数のアクセス経路で接続したシステムに於いては、データ移行手順に伴うホストからディスク装置へのアクセスの停止が一切必要なく、また、データ移行後もホストは複数のアクセス経路を継続的に使用できるので、アクセス無停止でデータ移行ができ、また、アクセス経路の耐障害性も維持される、という効果がある。   Also, in a system in which the host and the old disk unit are connected with multiple redundant access paths, there is no need to stop access to the disk unit from the host in the data migration procedure, and even after data migration Since the host can continuously use a plurality of access paths, data migration can be performed without stopping access, and the fault tolerance of the access path can be maintained.

また、複数のホストが旧ディスクを共用するクラスタシステムにおいては、ディスク装置の排他情報も移行するので、クラスタを維持したまま無停止で円滑なデータ移行ができる、という効果がある。   Further, in a cluster system in which a plurality of hosts share an old disk, the exclusive information of the disk device is also transferred, so that there is an effect that smooth data transfer can be performed without stopping while maintaining the cluster.

また、データ移行後は、旧ディスクは他のデータを格納するために転用できる、という効果がある。   In addition, after data migration, there is an effect that the old disk can be diverted to store other data.

以下、本発明に係わるディスク装置のインタフェースコマンド制御方法および計算機システムを、図1〜図9に示した発明の実施の形態を参照してさらに詳細に説明する。
(1)計算機システム構成
図1(a)に、データ移行を行う前の計算機システム構成例を示す。ホスト計算機1は、移行元ディスク装置2にアクセス経路3および4を用いて接続されている。アクセス経路3および4は、SCSI規格に基づくパラレルSCSIまたはファイバーチャネルである。
The disk device interface command control method and computer system according to the present invention will be described below in more detail with reference to the embodiments of the present invention shown in FIGS.
(1) Computer System Configuration FIG. 1 (a) shows a computer system configuration example before data migration. The host computer 1 is connected to the migration source disk device 2 using access paths 3 and 4. The access paths 3 and 4 are parallel SCSI or fiber channel based on the SCSI standard.

図1(b)は、データ移行中および移行後の計算機システム構成例である。スイッチ5は、ホスト計算機1とアクセス経路3aおよび4aを用いて接続され、移行元ディスク装置2とはアクセス経路3bおよび4bを用いて接続される。アクセス経路3aおよび4aならびに3bおよび4bはSCSI規格に基づくパラレルSCSIまたはファイバーチャネルである。この3aおよび4aならびに3bおよび4bが切替接続後のアクセス経路である。   FIG. 1B shows a computer system configuration example during and after data migration. The switch 5 is connected to the host computer 1 using the access paths 3a and 4a, and is connected to the migration source disk device 2 using the access paths 3b and 4b. The access paths 3a and 4a and 3b and 4b are parallel SCSI or fiber channel based on the SCSI standard. These 3a and 4a and 3b and 4b are access paths after switching connection.

また移行先ディスク装置6とスイッチ5とは、アクセス経路7および8で接続される。アクセス経路7および8は、SCSI規格に基づくパラレルSCSIまたはファイバーチャネルである。なお、本発明は、移行元ディスク装置2から移行先ディスク装置6へデータ移行するというものであるから、本発明を実施する上で、ホストの台数は制限されない。   The migration destination disk device 6 and the switch 5 are connected by access paths 7 and 8. The access paths 7 and 8 are parallel SCSI or fiber channel based on the SCSI standard. In the present invention, since data migration is performed from the migration source disk device 2 to the migration destination disk device 6, the number of hosts is not limited in carrying out the present invention.

ホストインタフェース制御部9は、ポート15および16を介して、アクセス経路3aおよび4aに接続されており、ホスト計算機1とのSCSIコマンドの受信と送信を制御する。またホストインタフェース制御部9は、ディスクインタフェース制御部13および14とReserve模擬部10に、それぞれ内部パス21,29,22で接続されている。   The host interface control unit 9 is connected to the access paths 3a and 4a via the ports 15 and 16, and controls the reception and transmission of the SCSI command with the host computer 1. The host interface control unit 9 is connected to the disk interface control units 13 and 14 and the reserve simulation unit 10 through internal paths 21, 29, and 22, respectively.

ディスクインタフェース制御部13は、ポート17および18を介して、アクセス経路3bおよび4bに接続されており、移行元ディスク2とのSCSIコマンドの受信と送信を制御する。またディスクインタフェース制御部13は、Reserve模擬部10とSCSIコマンド制御部11とオンラインデータ移行部12に、それぞれ内部パス23,25,27で接続されている。   The disk interface control unit 13 is connected to the access paths 3b and 4b via the ports 17 and 18, and controls the reception and transmission of the SCSI command with the migration source disk 2. The disk interface control unit 13 is connected to the reserve simulation unit 10, the SCSI command control unit 11, and the online data migration unit 12 through internal paths 23, 25, and 27, respectively.

ディスクインタフェース制御部14は、ポート19および20を介して、アクセス経路7および8に接続されており、移行先ディスク6とのSCSIコマンドの受信と送信を制御する。またディスクインタフェース制御部14は、SCSIコマンド制御部11とオンラインデータ移行部12に、それぞれ内部パス26,28で接続されている。   The disk interface control unit 14 is connected to the access paths 7 and 8 via the ports 19 and 20 and controls the reception and transmission of the SCSI command with the migration destination disk 6. The disk interface control unit 14 is connected to the SCSI command control unit 11 and the online data migration unit 12 through internal paths 26 and 28, respectively.

Reserve模擬部10は、ホスト計算機1が発行したSCSIコマンドを、ホストインタフェース制御部9から内部パス22を介して受け取り、リザーブおよびリリースに係わるSCSIコマンドに従って、ホスト計算機からのアクセスに対する排他制御を行う。(図1(b)の実施例では、1台のホスト計算機1を表しているが、本発明では接続するホスト計算機の台数に制限は無い。)
SCSIコマンド制御部11は、ホスト計算機1からのSCSIコマンドを、ホストインタフェース制御部9およびReserve模擬部10を介して受領し、ディスクインタフェース制御部13および14を介して、移行元ディスク装置2および移行先ディスク装置6にSCSIコマンドを受け渡す。また逆の経路で、移行元ディスク装置2および移行先ディスク装置6からの応答を、ホスト計算機1に受け渡す。SCSIコマンド制御部11は、ホスト計算機1からのSCSIコマンドを分別して、移行元ディスク装置2または移行先ディスク装置6に受け渡す機能を持っている。その動作は、図3および図4を用いて後述する。
The Reserve simulation unit 10 receives the SCSI command issued by the host computer 1 from the host interface control unit 9 via the internal path 22 and performs exclusive control on access from the host computer according to the SCSI command related to reserve and release. (In the embodiment of FIG. 1B, one host computer 1 is shown, but in the present invention, there is no limit to the number of host computers to be connected.)
The SCSI command control unit 11 receives the SCSI command from the host computer 1 via the host interface control unit 9 and the Reserve simulation unit 10, and the migration source disk device 2 and the migration via the disk interface control units 13 and 14. The SCSI command is transferred to the destination disk device 6. The responses from the migration source disk device 2 and the migration destination disk device 6 are transferred to the host computer 1 through the reverse path. The SCSI command control unit 11 has a function of classifying SCSI commands from the host computer 1 and transferring them to the migration source disk device 2 or the migration destination disk device 6. The operation will be described later with reference to FIGS.

図1(b)のオンラインデータ移行部12は、ディスク装置に格納されているデータを自律的に複製する機能を持っており、データ移行においては、移行元ディスク装置2からディスクインタフェース制御部13を介してデータを読み込み、移行先ディスク装置6にディスクインタフェース制御部14を介してデータを書き込む。   The online data migration unit 12 in FIG. 1B has a function of autonomously replicating data stored in the disk device. In the data migration, the disk interface control unit 13 is transferred from the migration source disk device 2. The data is read via the disk interface controller 14 via the disk interface controller 14.

(2) データ移行におけるインタフェースコマンド制御の手順
図1に例示された構成の計算機システムにおけるデータ移行処理の一例を、図5および図6のフローチャートを用いて説明する。図5は図1の実施の形態において、ステップ51、52、53、54、55の順にデータ移行の工程が進むことを示しており、後述の説明において(ステップ51)、(ステップ52)、..、(ステップ55)と付記している。また、図6は、図5のステップ52で実行する保守員の操作の手順61〜64を示している。
(2) Interface Command Control Procedure in Data Migration An example of data migration processing in the computer system having the configuration illustrated in FIG. 1 will be described with reference to the flowcharts in FIGS. FIG. 5 shows that the data migration process proceeds in the order of steps 51, 52, 53, 54, and 55 in the embodiment of FIG. 1, and in the following description (step 51), (step 52),. . (Step 55). FIG. 6 shows procedures 61 to 64 of maintenance personnel operations executed in step 52 of FIG.

データ移行の開始前は、図1(a)に示したように、ホスト計算機1はアクセス経路3および4を用いて移行元ディスク2をアクセスしている。
まず、保守員は、移行先ディスク装置6をスイッチ5に、アクセス経路7および8を用いて接続する(ステップ51)。
次に、保守員は、移行元ディスク装置2をスイッチ5に接続するために、図6に示した手順61〜64に従って操作する(ステップ52)。保守員は、アクセス経路4を新しいアクセス経路4aおよび4bに切替接続する(ステップ52の手順61)。この時ホスト計算機1は、アクセス経路4の切替を検出して、アクセス経路4をオフライン状態にして、アクセス経路3を用いて移行元ディスク装置2のアクセスを継続している。次に、ホスト計算機1を操作して、アクセス経路4aをオンライン状態にする(ステップ52の手順62)。
Before the start of data migration, the host computer 1 accesses the migration source disk 2 using the access paths 3 and 4 as shown in FIG.
First, the maintenance staff connects the migration destination disk device 6 to the switch 5 using the access paths 7 and 8 (step 51).
Next, the maintenance staff operates in accordance with the procedures 61 to 64 shown in FIG. 6 in order to connect the migration source disk device 2 to the switch 5 (step 52). The maintenance staff switches and connects the access path 4 to the new access paths 4a and 4b (step 61 in step 52). At this time, the host computer 1 detects the switching of the access path 4, places the access path 4 in an offline state, and continues to access the migration source disk device 2 using the access path 3. Next, the host computer 1 is operated to bring the access path 4a online (procedure 62 in step 52).

図2は、この時の状態を示しており、ホスト計算機1と移行元ディスク装置2とは、SCSIデータの経路30および31で論理的に接続されている。
次に、アクセス経路3を新しいアクセス経路3aおよび3bに切替接続する(ステップ52の手順63)。次に、ホスト計算機1を操作して、アクセス経路3aをオンライン状態にする(ステップ52の手順62)。
これで、ホスト計算機1とスイッチ5と移行元ディスク2は、図1bに示す結線状態となり、ホスト計算機1はスイッチ5を介して移行元ディスク装置2にアクセスする。
FIG. 2 shows the state at this time, and the host computer 1 and the migration source disk device 2 are logically connected by SCSI data paths 30 and 31.
Next, the access path 3 is switched and connected to the new access paths 3a and 3b (step 63 in step 52). Next, the host computer 1 is operated to bring the access path 3a online (procedure 62 in step 52).
As a result, the host computer 1, the switch 5, and the migration source disk 2 are connected as shown in FIG. 1b, and the host computer 1 accesses the migration source disk device 2 via the switch 5.

次に、図5のステップ53では、SCSIのReserveに係わる処理を、移行元ディスク装置2からReserve模擬部10に移行する。具体的には、Reserve模擬部10は内部パス23を通じて移行元ディスク装置2にアクセスし、移行元ディスク装置2のリザーブ状態を調べ、その状態をReserve模擬部10の初期状態とした後、移行元ディスク装置2のリザーブ状態を解除する。それ以降は、ホストから受領するReserveやReleaseなどのリザーブに係わるSCSIコマンドの処理、およびリザーブされているディスクに対する別のホスト計算機(別のイニシエータ)からのアクセスの排他処理を、Reserve模擬部10で行う。このステップ53の処理における移行元ディスク装置のリザーブ状態の解除は、オンラインデータ移行(ステップ54)を実行する前に行う必要がある。即ち、ホスト計算機からのReserveコマンドによって移行元ディスク装置2がリザーブされた状態では、オンラインデータ移行のために移行元ディスク装置2からデータを読み出す処理に支障が生じるからである。そこで、オンラインデータ移行部12の上位にReserve模擬部10を備えることにより、移行元ディスク装置をリザーブせずにアクセスすることができる。   Next, in step 53 of FIG. 5, the process related to SCSI reserve is transferred from the migration source disk device 2 to the reserve simulation unit 10. Specifically, the Reserve simulation unit 10 accesses the migration source disk device 2 through the internal path 23, checks the reserved state of the migration source disk device 2, sets that state as the initial state of the Reserve simulation unit 10, and then transfers the migration source disk device 2. The reserved state of the disk device 2 is released. After that, the Reserve simulation unit 10 performs processing of SCSI commands related to reserves such as Reserve and Release received from the host, and exclusive processing of access from other host computers (other initiators) to the reserved disk. Do. Release of the reserved state of the migration source disk device in the processing of step 53 must be performed before the online data migration (step 54) is executed. That is, in the state where the migration source disk device 2 is reserved by the Reserve command from the host computer, the process of reading data from the migration source disk device 2 for online data migration is hindered. Therefore, by providing the Reserve simulation unit 10 above the online data migration unit 12, the migration source disk device can be accessed without being reserved.

次に、オンラインデータ移行部12が移行元ディスク装置2から移行先ディスク装置6へのデータのコピーを実行する(ステップ54)。ここで、図3を用いて、データ移行中の主要なデータの流れについて説明する。ホスト計算機1と移行元ディスク装置2とは、SCSIデータの経路32により論理的に接続された状態にあり、ホスト計算機1からの移行元ディスク装置2のアクセスが継続されている。また、これと並行して、オンラインデータ移行部12は、SCSIデータの経路33で示すように、移行元ディスク装置2から移行先ディスク装置6へのデータのコピーを実行する。   Next, the online data migration unit 12 copies data from the migration source disk device 2 to the migration destination disk device 6 (step 54). Here, the main data flow during data migration will be described with reference to FIG. The host computer 1 and the migration source disk device 2 are logically connected by a SCSI data path 32, and the access to the migration source disk device 2 from the host computer 1 is continued. In parallel with this, the online data migration unit 12 executes data copying from the migration source disk device 2 to the migration destination disk device 6 as indicated by the SCSI data path 33.

次に、オンラインデータ移行の処理が終了すると、SCSIコマンド制御部11は、ホスト計算機1からのディスクのReadおよびWriteに係わるSCSIコマンドを、移行先ディスク6へ切り換える(ステップ55)。ここで、図4を用いて、データ移行後の主要なデータの流れについて説明する。ホスト計算機1が発行したReadおよびWriteに係わるSCSIコマンドは、図4のSCSIデータ経路35で示すように、SCSIコマンド制御部11から内部パス26およびディスクインタフェース制御部14を介して、移行先ディスク装置6に受け渡される。移行元ディスク装置2に対しては、ホスト計算機1からの ReadおよびWriteに係わるSCSIコマンドは発行されない。   Next, when the online data migration processing is completed, the SCSI command control unit 11 switches the SCSI command related to disk read and write from the host computer 1 to the migration destination disk 6 (step 55). Here, the main data flow after data migration will be described with reference to FIG. The SCSI commands related to Read and Write issued by the host computer 1 are transferred from the SCSI command control unit 11 through the internal path 26 and the disk interface control unit 14 as shown by the SCSI data path 35 in FIG. Passed to 6. The SCSI command related to Read and Write from the host computer 1 is not issued to the migration source disk device 2.

また、ホスト計算機1が発行するディスク装置を識別するためのSCSIコマンド、即ち、InquiryコマンドおよびSCSI標準仕様で規定されていないMode Sense系のSCSIコマンドについては、SCSIコマンド制御部11がこれを判別して、移行元ディスク装置2に引き続き発行する(図4のSCSIデータ経路34で示す)。これにより、実際のReadおよびWriteに係わる処理は移行先ディスク装置6で行われるが、ホスト計算機1は、移行元ディスク装置2が相変わらず接続されていると認識するので、無停止でデータ移行を完了することができる。   The SCSI command control unit 11 determines the SCSI command for identifying the disk device issued by the host computer 1, that is, the Inquiry command and the Mode Sense type SCSI command not defined by the SCSI standard specification. And subsequently issued to the migration source disk device 2 (indicated by the SCSI data path 34 in FIG. 4). As a result, the processing related to actual read and write is performed in the migration destination disk device 6, but the host computer 1 recognizes that the migration source disk device 2 is still connected, so the data migration is completed without stopping. can do.

かかるデータ移行が、複数のホスト計算機により実行された場合、移行元磁気ディスク装置は、複数のホスト計算機に共有されている。また、移行元磁気ディスク装置は複数になった場合は、共有される磁気ディスク装置も複数となる。   When such data migration is executed by a plurality of host computers, the migration source magnetic disk device is shared by the plurality of host computers. In addition, when there are a plurality of migration source magnetic disk devices, a plurality of magnetic disk devices are shared.

図7には、SCSIコマンド種別テーブルを示した。このテーブルでSCSIコマンド名「Inquiry」(オペレーションコード12H)およびSCSI標準仕様で規定されていない「Mode Sense」(オペレーションコード1AH系)のSCSIコマンドはディスク装置固有に設定されるコマンド種である。磁気ディスク装置間のデータ移行後のデータアクセスにおいて、かかるコマンド種の不一致がディスク交換情報の不整合性としてホスト計算機に認識され、移行後のデータへのアクセスが拒否される懸念があった。しかし、本発明のインタフェースコマンド制御方法および計算機システムによれば、かかる不整合性の認識は回避され、移行後のデータアクセスが円滑に行われることが確認された。 FIG. 7 shows a SCSI command type table. In this table, the SCSI command name “Inquiry” (operation code 12 H ) and the SCSI command of “Mode Sense” (operation code 1A H system) not defined in the SCSI standard specifications are command types set unique to the disk device. . In data access after data migration between magnetic disk devices, there is a concern that such a mismatch in command type is recognized by the host computer as inconsistency in disk exchange information, and access to the data after migration is denied. However, according to the interface command control method and computer system of the present invention, it has been confirmed that such inconsistency recognition is avoided and data access after migration is performed smoothly.

図8には、かかる不整合性認識を回避する本発明のインタフェースコマンド制御方法の具体的手順が示してある。   FIG. 8 shows a specific procedure of the interface command control method of the present invention for avoiding such inconsistency recognition.

図9には、本発明の計算機システムにおける磁気ディスク装置固有に設定されるコマンド種に対応する固有情報がメモリとして記憶されている状況を示した。   FIG. 9 shows a situation in which unique information corresponding to a command type set unique to a magnetic disk device in the computer system of the present invention is stored as a memory.

上記実施例では、データ移行に際してスイッチ5を用いる例を挙げたが、本発明は、この例に限らず、ディスク装置、またはディスクコントローラ(図9の移行元ディスク装置に固有な情報201、メモリ202、ポート制御部203、CPU204及びディスク制御部205からなる部分の総称)を用いてデータ移行を行うことも好ましい。   In the above embodiment, an example is described in which the switch 5 is used for data migration. However, the present invention is not limited to this example, and the disk device or disk controller (information 201, memory 202 unique to the migration source disk device in FIG. It is also preferable to perform data migration using a general name of a portion including the port control unit 203, the CPU 204, and the disk control unit 205.

以上説明したように、本発明では、移行元ディスク装置から移行先ディスク装置へのデータ移行手順においてホスト計算機からディスク装置へのアクセスの停止が一切必要なく、無停止でのデータ移行が可能となる。   As described above, according to the present invention, there is no need to stop access from the host computer to the disk device in the data migration procedure from the migration source disk device to the migration destination disk device, and data migration without interruption is possible. .

さらに、移行元ディスク装置から移行先ディスク装置への移行に伴うディスク装置固有情報などの変化に起因する障害の発生を回避できるので、仕様の異なるディスク装置への交換が完全無停止で可能となる。   In addition, it is possible to avoid the occurrence of failures due to changes in disk device specific information, etc. associated with the migration from the migration source disk device to the migration destination disk device. .

また、ホスト計算機とスイッチ、スイッチとディスク装置間のアクセス経路の冗長性を維持し、可用性の高い計算機システムのデータ移行とデータ移行後の運用が可能になる。   In addition, redundancy of the access path between the host computer and the switch and between the switch and the disk device is maintained, and the data migration of the highly available computer system and the operation after the data migration can be performed.

さらに、複数のホスト計算機から共有されるディスク装置の場合でも、リザーブの処理を模擬する機能を備えることで、完全無停止なシステム以降が可能となる。   Furthermore, even in the case of a disk device shared by a plurality of host computers, a completely non-stop system or later can be realized by providing a function for simulating reserve processing.

以上本発明者によって成された発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   Although the invention made by the present inventors has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.

たとえばスイッチの機能としてのデータ移行の例を説明したが、同等の機能を内包するディスクアレイ(RAID)サブシステムにも広く適用することができる。また、データ移行後の移行元ディスクを、スイッチあるいはディスクアレイサブシステムが使用するデータの格納に転用することも可能である。   For example, although an example of data migration as a switch function has been described, the present invention can be widely applied to a disk array (RAID) subsystem including an equivalent function. It is also possible to divert the migration source disk after data migration to store data used by the switch or disk array subsystem.

本発明に係わるデータ移行方法の実施の形態を説明するための計算機システムの構成図である。It is a block diagram of a computer system for explaining an embodiment of a data migration method according to the present invention. 本発明におけるスイッチをホスト計算機と移行元ディスク装置の間に挿入する過程を説明するための図である。It is a figure for demonstrating the process in which the switch in this invention is inserted between a host computer and a transfer source disk apparatus. 本発明におけるオンラインデータ移行処理中におけるデータの流れを説明するための図である。It is a figure for demonstrating the data flow in the online data transfer process in this invention. 本発明におけるオンラインデータ移行完了後のデータの流れを説明するための図である。It is a figure for demonstrating the flow of the data after completion of online data transfer in this invention. 本発明におけるデータ移行の手順を説明するためのフローチャート図である。It is a flowchart figure for demonstrating the procedure of the data transfer in this invention. 本発明における移行元ディスク装置をスイッチに接続する操作手順を説明するためのフローチャート図である。It is a flowchart for demonstrating the operation procedure which connects the migration source disk apparatus in this invention to a switch. SCSIコマンド種別テーブルを示す図である。It is a figure which shows a SCSI command classification table. 本発明におけるホスト計算機からのSCSIコマンドの種別が『ディスク固有』か否かを判定するためのフローチャート図である。It is a flowchart for determining whether the type of the SCSI command from the host computer in the present invention is “disk specific”. 本発明の計算機システムにおける磁気ディスク装置の構成例を示す図である。It is a figure which shows the structural example of the magnetic disc unit in the computer system of this invention.

符号の説明Explanation of symbols

1…ホスト計算機、2…移行元ディスク装置、3、4…移行元ディスク装置のアクセス経路、3a、4a…ホスト計算機とスイッチ間のアクセス経路、3b、4b…移行元ディスク装置とスイッチ間のアクセス経路、5…スイッチ、6…移行先ディスク装置、7、8…移行先ディスク装置のアクセス経路、9…ホストインタフェース制御部、10…Reserve模擬部、11…SCSIコマンド制御部、12…オンラインデータ移行部、13、14…ディスクインタフェース制御部、15〜20…ポート、21〜29…内部パス、30、31、32、34…ホスト計算機と移行元ディスク装置と間のSCSIデータ経路、33…オンラインデータ移行処理のSCSIデータ経路、35…ホスト計算機と移行先ディスク装置との間のSCSIデータ経路、70…SCSIコマンド種別テーブル、71…SCSIオペレーションコード、72…ページコード、73…コマンド名、74…SCSIコマンドの種別、201…移行元ディスク装置に固有な情報、202…メモリ、203…ポート制御部、204…CPU、205…ディスク制御部、210…ディスクユニット、211…ディスク、601…移行先ディスク装置に固有な情報、602…メモリ、603…ポート制御部、604…CPU、605…ディスク制御部、610…ディスクユニット、611…ディスク。 DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 ... Migration source disk unit, 3, 4 ... Access path of migration source disk unit, 3a, 4a ... Access path between host computer and switch, 3b, 4b ... Access between migration source disk unit and switch Path 5, switch 6, migration destination disk device 7, 8, access path of migration destination disk device 9, host interface control unit 10, reserve simulation unit 11, SCSI command control unit 12, online data migration , 13, 14 ... disk interface controller, 15 to 20 ... ports, 21 to 29 ... internal paths, 30, 31, 32, 34 ... SCSI data path between the host computer and the migration source disk device, 33 ... online data SCSI data path for migration processing, 35 ... SCSI data path between the host computer and the migration destination disk device, 70 ... SCSI command type Table: 71 ... SCSI operation code, 72 ... Page code, 73 ... Command name, 74 ... SCSI command type, 201 ... Information specific to the migration source disk device, 202 ... Memory, 203 ... Port control unit, 204 ... CPU, 205: Disk control unit, 210 ... Disk unit, 211 ... Disk, 601 ... Information specific to the migration destination disk device, 602 ... Memory, 603 ... Port control unit, 604 ... CPU, 605 ... Disk control unit, 610 ... Disk unit 611 disk.

Claims (30)

記憶領域に対してアクセスを行うイニシエータと、複数のディスクを各々に有する複数のディスク装置と、に接続されるスイッチシステムのデータ移行制御方法であって、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記複数のディスク装置に含まれる第1のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第1のステップ群と、
前記第1のディスク装置に格納されているデータを前記複数のディスク装置に含まれる第2のディスク装置へ移行する第2のステップと、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記第2のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第3のステップ群と、
前記記憶領域に対して他のイニシエータに関するリザーブ権限が設定されているか否かに応じて、前記記憶領域に対して前記イニシエータに関するリザーブ権限の設定又は不設定を制御する第4のステップと、を有し、
前記第2のステップは、前記第1のステップ群と前記第3のステップ群との間に処理されるものである、
ことを特徴とするデータ移行制御方法。
A data migration control method for a switch system connected to an initiator that accesses a storage area and a plurality of disk devices each having a plurality of disks,
Receiving a data write request related to the storage area from the initiator; and transmitting a data write request to a first disk device included in the plurality of disk devices;
A second step of migrating data stored in the first disk device to a second disk device included in the plurality of disk devices;
Receiving a data write request relating to the storage area from the initiator; and transmitting a data write request to the second disk device; a third step group comprising:
And a fourth step of controlling setting or non-setting of the reserve authority for the initiator for the storage area according to whether or not the reserve authority for the other initiator is set for the storage area. And
The second step is processed between the first step group and the third step group.
A data migration control method characterized by the above.
記憶領域に対してアクセスを行うイニシエータと、複数のディスクを各々に有する複数のディスク装置と、に接続されるスイッチシステムのデータ移行制御方法であって、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記複数のディスク装置に含まれる第1のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第1のステップ群と、
前記第1のディスク装置に格納されているデータを前記複数のディスク装置に含まれる第2のディスク装置へ移行する第2のステップと、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記第2のディスク装置に対してデータ書き込み要求を送信するステップと、を有する第3のステップ群と、
前記記憶領域に対して前記イニシエータに関するリザーブ権限が設定されている場合に、前記記憶領域に対して他のイニシエータに関するリザーブ権限を設定しないように制御する第4のステップと、を有し、
前記第2のステップは、前記第1のステップ群と前記第3のステップ群との間に処理されるものである、
ことを特徴とするデータ移行制御方法。
A data migration control method for a switch system connected to an initiator that accesses a storage area and a plurality of disk devices each having a plurality of disks,
Receiving a data write request related to the storage area from the initiator; and transmitting a data write request to a first disk device included in the plurality of disk devices;
A second step of migrating data stored in the first disk device to a second disk device included in the plurality of disk devices;
Receiving a data write request relating to the storage area from the initiator; and transmitting a data write request to the second disk device; a third step group comprising:
A fourth step of controlling not to set a reserve authority for another initiator for the storage area when a reserve authority for the initiator is set for the storage area; and
The second step is processed between the first step group and the third step group.
A data migration control method characterized by the above.
請求項1又は2に記載のデータ移行制御方法であって、
少なくとも前記第2のステップの処理中に、前記第4のステップが処理される、
ことを特徴とするデータ移行制御方法。
The data migration control method according to claim 1 or 2,
At least during the processing of the second step, the fourth step is processed;
A data migration control method characterized by the above.
請求項1又は3に記載のデータ移行制御方法であって、
前記第4のステップは、前記イニシエータから送信されるリザーブ要求に基づいて行われるものである、
ことを特徴とするデータ移行制御方法。
The data migration control method according to claim 1 or 3,
The fourth step is performed based on a reserve request transmitted from the initiator.
A data migration control method characterized by the above.
請求項2又は3に記載のデータ移行制御方法であって、
前記第4のステップは、前記他のイニシエータから送信されるリザーブ要求に基づいて行われるものである、
ことを特徴とするデータ移行制御方法。
A data migration control method according to claim 2 or 3,
The fourth step is performed based on a reserve request transmitted from the other initiator.
A data migration control method characterized by the above.
請求項1乃至5のいずれかに記載のデータ移行制御方法であって、
前記記憶領域に対して設定された前記イニシエータに関するリザーブ権限を解除する第5のステップを有する、
ことを特徴とするデータ移行制御方法。
A data migration control method according to any one of claims 1 to 5,
A fifth step of releasing reserve authority for the initiator set for the storage area;
A data migration control method characterized by the above.
請求項1乃至6のいずれかに記載のデータ移行制御方法であって、
前記第5のステップは、SCSI標準規格のリリース要求に基づいて行われるものである、
ことを特徴とするデータ移行制御方法。
A data migration control method according to any one of claims 1 to 6,
The fifth step is performed based on a release request of the SCSI standard.
A data migration control method characterized by the above.
請求項1乃至7のいずれかに記載のデータ移行制御方法であって、
前記第4のステップは、SCSI標準規格のリザーブ要求に基づいて行われるものである、
ことを特徴とするデータ移行制御方法。
A data migration control method according to any one of claims 1 to 7,
The fourth step is performed based on a reservation request of the SCSI standard.
A data migration control method characterized by the above.
スイッチシステムであって、
複数のイニシエータに接続され、前記複数のイニシエータから送信されるリード要求及び/又はライト要求とリザーブ要求とを受信する複数の第1のポートと、
複数のディスクと前記複数のディスクへのリード及び/又はライトを制御するディスク制御部とを有する複数のディスク装置に接続され、前記複数のディスク装置に対してリード要求及び/又はライト要求を送信する複数の第2のポートと、を有し、
前記スイッチシステムは、前記複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御するとともに、前記複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して前記複数のイニシエータに含まれる第2のイニシエータからアクセスがある場合に前記第2のイニシエータからの前記アクセスを排他制御するものである、
ことを特徴とするスイッチシステム。
A switch system,
A plurality of first ports connected to a plurality of initiators and receiving a read request and / or a write request and a reserve request transmitted from the plurality of initiators;
Connected to a plurality of disk devices having a plurality of disks and a disk control unit for controlling reading and / or writing to the plurality of disks, and transmits a read request and / or a write request to the plurality of disk devices. A plurality of second ports;
The switch system controls data migration from a first disk device included in the plurality of disk devices to a second disk device, and is reserved by a first initiator included in the plurality of initiators. The access from the second initiator is exclusively controlled when there is an access to the storage area from the second initiator included in the plurality of initiators.
A switch system characterized by that.
請求項9に記載のスイッチシステムであって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行と、前記第2のイニシエータからの前記アクセスの排他制御と、を制御する制御部と、を有する、
ことを特徴とするスイッチシステム。
The switch system according to claim 9, wherein
A controller that controls the migration of the data from the first disk device to the second disk device and the exclusive control of the access from the second initiator;
A switch system characterized by that.
請求項9又は10に記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のイニシエータから送信されるリザーブ要求に従って、前記第1のイニシエータによって記憶領域をリザーブさせるものである、
ことを特徴とするスイッチシステム。
The switch system according to claim 9 or 10, wherein
The switch system reserves a storage area by the first initiator in accordance with a reserve request transmitted from the first initiator.
A switch system characterized by that.
請求項9乃至11のいずれかに記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のイニシエータから送信されるリリース要求に従って、前記第1のイニシエータによってリザーブされている記憶領域をリリースするものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 11,
The switch system releases a storage area reserved by the first initiator according to a release request transmitted from the first initiator.
A switch system characterized by that.
請求項1乃至12のいずれかに記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行中に前記第1のイニシエータから受信されるリード要求に応じて、前記第1のディスク装置に対してリード要求を送信するものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 1 to 12,
In response to a read request received from the first initiator during the migration of the data from the first disk device to the second disk device, the switch system is responsive to the first disk device. To send a read request,
A switch system characterized by that.
請求項9乃至13のいずれかに記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行が終了した後に前記第1のイニシエータから受信されるリード要求に応じて、前記第2のディスク装置に対してリード要求を送信するものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 13,
In response to a read request received from the first initiator after the migration of the data from the first disk device to the second disk device is completed, the switch system sends the data to the second disk device. To send a read request to
A switch system characterized by that.
請求項9乃至14のいずれかに記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行が終了した後に前記第1のイニシエータから受信されるライト要求に応じて、前記第2のディスク装置に対してライト要求を送信するものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 14,
In response to a write request received from the first initiator after the migration of the data from the first disk device to the second disk device is completed, the switch system sends the data to the second disk device. Send a write request to the
A switch system characterized by that.
請求項9乃至15のいずれかに記載のスイッチシステムであって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行中及び移行後において、同一の記憶領域を前記第1のイニシエータに認識させるものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 15,
The switch system causes the first initiator to recognize the same storage area during and after the migration of the data from the first disk device to the second disk device.
A switch system characterized by that.
請求項9乃至16のいずれかに記載のスイッチシステムであって、
前記複数の第1のポートのうちの少なくとも1つの第1のポートは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行中に、前記データの移行に関係している記憶領域へのリード要求及び/又はライト要求を前記第1のイニシエータから受信するものである、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 16,
At least one first port of the plurality of first ports is involved in the data migration during the data migration from the first disk device to the second disk device. Receiving a read request and / or a write request to the storage area from the first initiator;
A switch system characterized by that.
請求項9乃至17のいずれかに記載のスイッチシステムであって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行を制御する第1の処理部と、前記第2のイニシエータからの前記アクセスの排他制御を行う第2の処理部と、を有する制御部を有する、
ことを特徴とするスイッチシステム。
The switch system according to any one of claims 9 to 17,
A first processing unit that controls migration of the data from the first disk device to the second disk device; a second processing unit that performs exclusive control of the access from the second initiator; Having a control unit having
A switch system characterized by that.
複数のディスクと前記複数のディスクへのリード及び/又はライトを制御するディスク制御部とを有する複数のディスク装置と、複数のイニシエータと、に接続されるスイッチシステムにおけるデータ制御方法であって、
前記複数のイニシエータに含まれるイニシエータから送信されるリード要求及び/又はライト要求を受信し、
前記複数のディスク装置に含まれるディスク装置に対してリード要求及び/又はライト要求を送信し、
前記複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御し、
前記複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して、前記複数のイニシエータに含まれる第2のイニシエータから送信されるアクセスを受信し、
前記第2のイニシエータから送信される前記アクセスを排他制御する、
ことを特徴とするデータ制御方法。
A data control method in a switch system connected to a plurality of disk devices having a plurality of disks and a disk control unit that controls reading and / or writing to the plurality of disks, and a plurality of initiators,
Receiving a read request and / or a write request transmitted from an initiator included in the plurality of initiators;
Transmitting a read request and / or a write request to a disk device included in the plurality of disk devices;
Controlling data migration from a first disk device to a second disk device included in the plurality of disk devices;
Receiving an access transmitted from a second initiator included in the plurality of initiators to a storage area reserved by a first initiator included in the plurality of initiators;
Exclusive control of the access transmitted from the second initiator;
A data control method characterized by the above.
複数のディスクと前記複数のディスクへのリードを制御するディスク制御部とを有する複数のディスク装置と、複数のイニシエータと、に接続されるスイッチシステムにおけるデータ制御方法であって、
前記複数のイニシエータに含まれるイニシエータから送信されるリード要求を受信し、
前記複数のディスク装置に含まれる第1のディスク装置から第2のディスク装置へのデータの移行を制御し、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行前に、前記イニシエータから前記リード要求を受信する場合には、前記第1のディスク装置に対してリード要求を送信し、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行中に、前記イニシエータから前記リード要求を受信する場合には、前記第1のディスク装置に対してリード要求を送信し、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行の終了後に、前記イニシエータから前記リード要求を受信する場合には、前記第2のディスク装置に対してリード要求を送信し、
前記複数のイニシエータに含まれる第1のイニシエータによってリザーブされている記憶領域に対して、前記複数のイニシエータに含まれる第2のイニシエータから送信されるアクセスを受信し、
前記第2のイニシエータから送信される前記アクセスを排他制御する、
ことを特徴とするデータ制御方法。
A data control method in a switch system connected to a plurality of disk devices having a plurality of disks and a disk control unit for controlling reading to the plurality of disks, and a plurality of initiators,
Receiving a read request transmitted from an initiator included in the plurality of initiators;
Controlling data migration from a first disk device to a second disk device included in the plurality of disk devices;
When the read request is received from the initiator before the data is transferred from the first disk device to the second disk device, the read request is transmitted to the first disk device;
When the read request is received from the initiator during the data transfer from the first disk device to the second disk device, the read request is transmitted to the first disk device;
When the read request is received from the initiator after the data migration from the first disk device to the second disk device is completed, the read request is transmitted to the second disk device. ,
Receiving an access transmitted from a second initiator included in the plurality of initiators to a storage area reserved by a first initiator included in the plurality of initiators;
Exclusive control of the access transmitted from the second initiator;
A data control method characterized by the above.
請求項19又は20に記載のデータ制御方法であって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行制御と、前記第2のイニシエータからの前記アクセスの排他制御と、は、前記スイッチシステムの制御部によって制御されるものである、
ことを特徴とするデータ制御方法。
The data control method according to claim 19 or 20,
The data migration control from the first disk device to the second disk device and the exclusive control of the access from the second initiator are controlled by the control unit of the switch system. is there,
A data control method characterized by the above.
請求項19乃至21に記載のデータ制御方法であって、
前記第1のイニシエータから送信されるリザーブ要求を受信し、
前記受信されるリザーブ要求に従って、前記第1のイニシエータによって記憶領域をリザーブさせる、
ことを特徴とするデータ制御方法。
The data control method according to claim 19 to 21, comprising:
Receiving a reserve request transmitted from the first initiator;
In accordance with the received reserve request, reserve the storage area by the first initiator.
A data control method characterized by the above.
請求項19乃至22のいずれかに記載のデータ制御方法であって、
前記第1のイニシエータから送信されるリリース要求を受信し、
前記受信されるリリース要求に従って、前記第1のイニシエータによってリザーブされている記憶領域をリリースする、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19 to 22,
Receiving a release request sent from the first initiator;
Releasing a storage area reserved by the first initiator according to the received release request;
A data control method characterized by the above.
請求項19、21乃至23のいずれかに記載のデータ制御方法であって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行中に、前記第1のイニシエータからリード要求を受信し、
前記第1のイニシエータから受信される前記リード要求に応じて、前記第1のディスク装置に対してリード要求を送信する、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19, 21 to 23, wherein
Receiving a read request from the first initiator during the data migration from the first disk device to the second disk device;
Transmitting a read request to the first disk device in response to the read request received from the first initiator;
A data control method characterized by the above.
請求項19、21乃至24のいずれかに記載のデータ制御方法であって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行が終了した後に、前記第1のイニシエータからリード要求を受信し、
前記第1のイニシエータから受信される前記リード要求に応じて、前記第2のディスク装置に対してリード要求を送信するものである、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19, 21 to 24,
After the data migration from the first disk device to the second disk device is completed, a read request is received from the first initiator,
In response to the read request received from the first initiator, a read request is transmitted to the second disk device.
A data control method characterized by the above.
請求項19乃至25のいずれかに記載のデータ制御方法であって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行が終了した後に、前記第1のイニシエータからライト要求を受信し、
前記第1のイニシエータから受信される前記ライト要求に応じて、前記第2のディスク装置に対してライト要求を送信する、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19 to 25,
After the migration of the data from the first disk device to the second disk device is completed, a write request is received from the first initiator;
Transmitting a write request to the second disk device in response to the write request received from the first initiator;
A data control method characterized by the above.
請求項19乃至26のいずれかに記載のデータ制御方法であって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行中及び移行後において、同一の記憶領域を前記第1のイニシエータに認識させるものである、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19 to 26, wherein:
The switch system causes the first initiator to recognize the same storage area during and after the migration of the data from the first disk device to the second disk device.
A data control method characterized by the above.
請求項19乃至27のいずれかに記載のデータ制御方法であって、
前記第1のディスク装置から前記第2のディスク装置への前記データの移行中に、前記データの移行に関係している記憶領域へのリード要求及び/又はライト要求を前記第1のイニシエータから受信する、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19 to 27,
During the data transfer from the first disk device to the second disk device, a read request and / or a write request to the storage area related to the data transfer is received from the first initiator. To
A data control method characterized by the above.
請求項19乃至28のいずれかに記載のデータ制御方法であって、
前記スイッチシステムは、前記第1のディスク装置から前記第2のディスク装置への前記データの移行を制御する第1の処理部と、前記第2のイニシエータからの前記アクセスの排他制御を行う第2の処理部と、を有する制御部を有するものである、
ことを特徴とするデータ制御方法。
A data control method according to any one of claims 19 to 28,
The switch system includes a first processing unit that controls the migration of the data from the first disk device to the second disk device, and a second that performs exclusive control of the access from the second initiator. And a processing unit having a control unit,
A data control method characterized by the above.
記憶領域に対してアクセスを行うイニシエータに接続され、
複数の記憶装置と、前記複数の記憶装置と対応付けられた前記記憶領域へのアクセスを制御する制御部と、を有するディスク装置における、前記制御部によるデータ移行制御方法であって、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記複数の記憶装置に含まれる第1の記憶装置に対してデータ書込み要求を送信するステップと、を有する第1のステップ群と、
前記第1の記憶装置に格納されているデータを前記複数の記憶装置に含まれる第2の記憶装置へ移行する第2のステップと、
前記イニシエータから前記記憶領域に関するデータ書き込み要求を受信するステップと、前記複数の記憶装置に含まれる第2の記憶装置に対してデータ書き込み要求を送信するステップと、を有する第3のステップ群と、
を有し、
前記第2のステップは、前記第1のステップ群と前記第3のステップ群との間に処理されるものである、
ことを特徴とするデータ移行制御方法。
Connected to the initiator accessing the storage area,
A data migration control method by the control unit in a disk device having a plurality of storage devices and a control unit that controls access to the storage area associated with the plurality of storage devices,
Receiving a data write request related to the storage area from the initiator; and transmitting a data write request to a first storage device included in the plurality of storage devices;
A second step of migrating data stored in the first storage device to a second storage device included in the plurality of storage devices;
Receiving a data write request related to the storage area from the initiator; and transmitting a data write request to a second storage device included in the plurality of storage devices;
Have
The second step is processed between the first step group and the third step group.
A data migration control method characterized by the above.
JP2007034342A 2007-02-15 2007-02-15 Data transfer control method, switch system and data control method Pending JP2007172646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007034342A JP2007172646A (en) 2007-02-15 2007-02-15 Data transfer control method, switch system and data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007034342A JP2007172646A (en) 2007-02-15 2007-02-15 Data transfer control method, switch system and data control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003178976A Division JP2005018193A (en) 2003-06-24 2003-06-24 Interface command control method for disk device, and computer system

Publications (1)

Publication Number Publication Date
JP2007172646A true JP2007172646A (en) 2007-07-05

Family

ID=38299032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007034342A Pending JP2007172646A (en) 2007-02-15 2007-02-15 Data transfer control method, switch system and data control method

Country Status (1)

Country Link
JP (1) JP2007172646A (en)

Similar Documents

Publication Publication Date Title
JP2005018193A (en) Interface command control method for disk device, and computer system
JP4041656B2 (en) Storage system and data transmission / reception method in storage system
CN102761566B (en) The method and apparatus of migration virtual machine
CN103793271B (en) Methods and systems for switching between mirrored volumes
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
JP5286212B2 (en) Remote copy control method and system in storage cluster environment
JP2007265403A (en) Remote mirroring method between tiered storage systems
US6892203B2 (en) Method, apparatus and system for remote file sharing
US8078809B2 (en) System for accessing an offline storage unit through an online storage unit
JP2005309550A (en) Remote copying method and system
JP5712713B2 (en) Control device, control method, and storage device
JPH10198607A (en) Data multiplexing system
JP2008112399A (en) Storage virtualization switch and computer system
JP2008269469A (en) Storage system and management method therefor
JP2005196490A (en) System and method for data duplication
US20090228672A1 (en) Remote copy system and check method
US20090177916A1 (en) Storage system, controller of storage system, control method of storage system
JP2004164047A (en) Memory system
JPH11242566A (en) Multiplex data storage system
US8996908B1 (en) Information system, host system and access control method
JP4531643B2 (en) Storage control method, system and program
JP2007193839A (en) Storage system, and method and system for data transmission and reception in storage system
JP2007172646A (en) Data transfer control method, switch system and data control method
JP2007128551A (en) Storage area network system
WO2016084156A1 (en) Storage system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Effective date: 20070724

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20070921

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081225