[go: up one dir, main page]

JP2002304331A - Device and method for controlling redundant pass - Google Patents

Device and method for controlling redundant pass

Info

Publication number
JP2002304331A
JP2002304331A JP2001106927A JP2001106927A JP2002304331A JP 2002304331 A JP2002304331 A JP 2002304331A JP 2001106927 A JP2001106927 A JP 2001106927A JP 2001106927 A JP2001106927 A JP 2001106927A JP 2002304331 A JP2002304331 A JP 2002304331A
Authority
JP
Japan
Prior art keywords
initiator
logical disk
path
path control
reserved
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
JP2001106927A
Other languages
Japanese (ja)
Inventor
Kenichi Miki
健一 三木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2001106927A priority Critical patent/JP2002304331A/en
Publication of JP2002304331A publication Critical patent/JP2002304331A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To gain an access also to a reserved logic disk by using an alternative pass. SOLUTION: When a retry processing is abnormally completed because the logic disk 13 is reserved by an initiator 5, a pass redundant driver 3 issues a forced reserve command from the initiator 6 of the alternative pass. When the forced reserve command is issued, the controller 12 re-sets the logic disk 13 in the state of reserve by the initiator 6 of the alternative pass.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、I/Oアクセスパ
スに障害が発生した場合に、イニシエータを含む代替パ
スを用いて論理ディスクに対してリトライ処理を行う、
冗長パス制御装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention performs retry processing on a logical disk using an alternative path including an initiator when a failure occurs in an I / O access path.
The present invention relates to a redundant path control device and method.

【0002】[0002]

【従来の技術】パス冗長化ドライバ3’は、I/Oアク
セスパスの構成要素すなわちHBA(Host Bus
Adapter)5,6、インタフェースケーブル3
1,32、コントローラ11’,12’等における障害
(故障)が発生した場合においても、ホストコンピュー
タ1上で動作するアプリケーション7の運用に影響を与
えないために、代替パスにてリトライ処理を行う手段を
提供するものである。すなわち、冗長化されたディスク
アレイ装置10とホストコンピュータ1上で動作するソ
フトウェア(パス冗長化ドライバ3’)とにより、論理
ディスク13〜15に対するI/Oパスの冗長性を実現
することができる。
2. Description of the Related Art A path redundancy driver 3 'is a component of an I / O access path, that is, an HBA (Host Bus).
Adapter) 5, 6, Interface cable 3
Even when a failure (failure) occurs in the controllers 1, 32, the controllers 11 ′, 12 ′, etc., a retry process is performed on an alternative path so as not to affect the operation of the application 7 operating on the host computer 1. It provides a means. That is, the I / O path redundancy for the logical disks 13 to 15 can be realized by the redundant disk array device 10 and the software (path redundancy driver 3 ′) operating on the host computer 1.

【0003】また、ホストコンピュータ1上で動作する
アプリケーション7が使用する任意の論理ディスク13
〜15に対し、図示しない他のアプリケーション又は他
のホストコンピュータからアクセスができないように占
有(リザーブ)する場合がある。一般的に、この占有状
態は、以前占有を行ったイニシエータ(ここではHBA
が該当)からの解除コマンドによって解除されるか、又
はHW(ハードウェア)によるリセットによって強制的
に解除される。
[0003] An arbitrary logical disk 13 used by an application 7 running on the host computer 1
15 to 15 may be occupied (reserved) so that they cannot be accessed from another application (not shown) or another host computer. Generally, this occupation state is determined by the initiator (here, HBA
Is released by the release command from the corresponding ()), or is forcibly released by a reset by HW (hardware).

【0004】[0004]

【発明が解決しようとする課題】ここで例えば、ホスト
コンピュータ1上で動作するアプリケーション7が、H
BA5、インタフェースケーブル31及びコントローラ
11’経由で論理ディスク13を占有しつつ使用してい
る場合を考えると、次のような問題点が発生する。
Here, for example, the application 7 operating on the host computer 1 is H
Considering the case where the logical disk 13 is occupied and used via the BA 5, the interface cable 31, and the controller 11 ', the following problems occur.

【0005】第一の問題点は、次のような場合に、パス
冗長化ドライバ3’の機能が意味をなさなくなることで
ある。パス冗長化ドライバ3’は、ホストコンピュータ
1上で動作するアプリケーション7が論理ディスク13
に対するI/O要求を行った実行結果をドライバ4から
受け取り、正常終了又は異常終了の判断を行う。このと
き、異常終了と判断し、更にその原因がパスの構成要素
(HBA5、インタフェースケーブル31又はコントロ
ーラ11’)における障害(故障)であると判断したと
する。その結果、代替パスを用いて、すなわち論理ディ
スク13に対しHBA6、インタフェースケーブル32
及びコントローラ12’経由で、異常終了したI/Oの
リトライ処理を試みる。しかし、論理ディスク13は他
のイニシエータ(HBA5)により占有状態にあるた
め、読み出し/書き込み等ができなく、結果としてアプ
リケーション7のI/O要求は異常終了することとな
る。したがって、パス冗長化ドライバ3’は所期の目的
を果たすことができない。
[0005] The first problem is that the function of the path redundancy driver 3 'becomes meaningless in the following cases. The path redundancy driver 3 ′ is configured so that the application 7 operating on the host computer 1
Receives from the driver 4 the execution result of making an I / O request for, and determines normal termination or abnormal termination. At this time, it is assumed that the termination is determined to be abnormal, and that the cause is determined to be a failure (failure) in a component of the path (the HBA 5, the interface cable 31, or the controller 11 '). As a result, the HBA 6, the interface cable 32, and the
Then, a retry process of the abnormally terminated I / O is attempted via the controller 12 '. However, since the logical disk 13 is occupied by another initiator (HBA 5), reading / writing cannot be performed, and as a result, the I / O request of the application 7 ends abnormally. Therefore, the path redundancy driver 3 'cannot achieve its intended purpose.

【0006】第二の問題点は、HWにより強制的にリセ
ットを行い占有状態を解除した場合、コントローラ1
1’,12’が初期化されることによりホストコンピュ
ータ1側から受け取った処理中の一つ又は複数のI/O
要求がすべて破棄されてしまうため、ホストコンピュー
タ1側で余計なリトライ処理が発生することである。ま
た、バス(ホストインタフェース)をリセットした場合
は、バスに接続されている全てのデバイス(単体デバイ
ス20,21)も初期化されることとなるため、ホスト
コンピュータ1側に更に多くの負担(リトライ処理)を
かけることである。
The second problem is that when the occupation state is released by forcibly resetting by the hardware, the controller 1
One or more I / Os during processing received from the host computer 1 by initializing 1 ′ and 12 ′
Since all requests are discarded, unnecessary retry processing occurs on the host computer 1 side. Further, when the bus (host interface) is reset, all the devices (single devices 20, 21) connected to the bus are also initialized, so that a greater burden (retry) is imposed on the host computer 1 side. Process).

【0007】また、論理ディスク13〜15上のデータ
整合性の保護を目的として、ホストコンピュータ1が任
意の論理ディスク13〜15を占有している場合を考え
ると、次のような問題点が発生する。
[0007] Considering the case where the host computer 1 occupies an arbitrary logical disk 13 to 15 for the purpose of protecting data consistency on the logical disks 13 to 15, the following problem occurs. I do.

【0008】第三の問題点は、あるホストコンピュータ
から実施した論理ディスクに対する占有状態を一時的に
解除状態にすることは、まったく意図しないホストコン
ピュータからのアクセスを許すこととなるので、論理デ
ィスク内のデータを破壊する恐れがあることである。
A third problem is that temporarily releasing the occupation state of a logical disk from a certain host computer to a released state permits access from a host computer that is not intended at all, and therefore the logical disk is not allowed to be accessed. Data may be destroyed.

【0009】[0009]

【発明の目的】そこで、本発明の目的は、既にリザーブ
されている論理ディスクに対しても、代替パスを用いて
アクセスできるようにした、冗長パス制御装置及び方法
を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a redundant path control device and a redundant path control method which can access an already reserved logical disk by using an alternative path.

【0010】[0010]

【課題を解決するための手段】本発明に係る冗長パス制
御装置(又は冗長パス制御方法)は、I/Oアクセスパ
スに障害が発生した場合に、イニシエータを含む代替パ
スを用いて論理ディスクに対してリトライ処理を行うも
のであり、論理ディスクが他のイニシエータによってリ
ザーブされているためにリトライ処理が異常終了した場
合は、代替パスのイニシエータによるリザーブ状態に論
理ディスクを設定し直す冗長パス制御手段(又は冗長パ
ス制御ステップ)を備えている(請求項1,5)。
SUMMARY OF THE INVENTION A redundant path control device (or redundant path control method) according to the present invention uses a substitute path including an initiator for a logical disk when an I / O access path fails. A redundant path control means for resetting the logical disk to the reserve state by the initiator of the alternative path when the retry processing ends abnormally because the logical disk is reserved by another initiator. (Or redundant path control step).

【0011】論理ディスクに対して代替パスを用いてリ
トライ処理を実行したところ、その論理ディスクが既に
他のイニシエータによってリザーブされていたため、リ
トライ処理が異常終了したとする。すると、冗長パス制
御手段(又は冗長パス制御ステップ)は、その論理ディ
スクを、代替パスのイニシエータによるリザーブ状態に
設定し直す。これにより、その論理ディスクに対して、
代替パスを用いてアクセスできるようになる。
It is assumed that retry processing is executed on a logical disk using an alternative path, and the logical disk has already been reserved by another initiator, so that the retry processing ends abnormally. Then, the redundant path control means (or the redundant path control step) resets the logical disk to the reserved state by the initiator of the alternative path. As a result, for that logical disk,
Access can be made using an alternative path.

【0012】また、冗長パス制御手段(又は冗長パス制
御ステップ)は、論理ディスクが他のイニシエータによ
ってリザーブされているためにリトライ処理が異常終了
した場合は、代替パスのイニシエータから強制リザーブ
コマンドを発行する第一の制御手段(又は第一の制御ス
テップ)と、強制リザーブコマンドが発行されると、代
替パスのイニシエータによるリザーブ状態に論理ディス
クを設定し直す第二の制御手段(又は第二の制御ステッ
プ)とを備えた、としてもよい(請求項2,6)。
The redundant path control means (or redundant path control step) issues a forced reserve command from the initiator of the alternative path when the retry processing ends abnormally because the logical disk is reserved by another initiator. The first control means (or the first control step), and the second control means (or the second control means) for resetting the logical disk to the reserved state by the initiator of the alternative path when the forced reserve command is issued. Step) (claims 2 and 6).

【0013】更に、論理ディスクが複数集まってディス
クアレイ装置を構成している(請求項3,7)、又はイ
ニシエータがHBAである(請求項4,8)、としても
よい。
Further, a plurality of logical disks may collectively constitute a disk array device (claims 3 and 7), or the initiator may be an HBA (claims 4 and 8).

【0014】[0014]

【発明の実施の形態】以下、本発明に係る冗長パス制御
装置の実施形態を、図面に基づき説明する。なお、本発
明に係る冗長パス制御方法は、本発明に係る冗長パス制
御装置で使用されるものである。したがって、本実施形
態を説明することにより、本発明に係る冗長パス制御方
法の一実施形態も説明したことにする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a redundant path control device according to the present invention will be described with reference to the drawings. The redundant path control method according to the present invention is used in the redundant path control device according to the present invention. Therefore, by describing the present embodiment, one embodiment of the redundant path control method according to the present invention is also described.

【0015】図1は、本発明に係る冗長パス制御装置の
一実施形態を示すブロック図である。以下、この図面に
基づき説明する。なお、特許請求の範囲における第一の
手段及び第二の手段は、それぞれ本実施形態におけるパ
ス冗長化ドライバ及びコントローラに相当する。
FIG. 1 is a block diagram showing an embodiment of a redundant path control device according to the present invention. Hereinafter, description will be made based on this drawing. The first means and the second means in the claims correspond to the path redundancy driver and the controller in the present embodiment, respectively.

【0016】ホストコンピュータ1のHBA5,6は、
それぞれインタフェースケーブル31,32を介してデ
ィスクアレイ装置10のコントローラ11,12に接続
されている。ホストコンピュータ1は、ディスクアレイ
装置10内の論理ディスク13〜15に対するI/Oを
実行する。ドライバ4は、HBA5,6を制御しI/O
処理を行う。
The HBAs 5 and 6 of the host computer 1 are:
They are connected to the controllers 11 and 12 of the disk array device 10 via interface cables 31 and 32, respectively. The host computer 1 executes I / O to the logical disks 13 to 15 in the disk array device 10. The driver 4 controls the HBAs 5 and 6 and controls the I / O
Perform processing.

【0017】パス冗長化ドライバ3は、次のような動作
をする。ファイルシステム2から受け取ったI/Oを、
ドライバ4に引き渡す。ディスクアレイ装置10内の論
理ディスク13〜15のいずれかに対するI/Oの実行
結果を、HBA5,6を介してドライバ4から受け取
り、正常終了又は異常終了の判断を行う。異常終了の原
因がパスの構成要素(HBA5,6、インタフェースケ
ーブル31,32、コントローラ11,12等)におけ
る障害(故障)と判断した場合は、代替パスを用いて、
異常終了したI/Oのリトライ処理を行う。
The path redundancy driver 3 operates as follows. The I / O received from the file system 2 is
Deliver to driver 4. An I / O execution result for one of the logical disks 13 to 15 in the disk array device 10 is received from the driver 4 via the HBAs 5 and 6, and a normal end or an abnormal end is determined. If the cause of the abnormal termination is determined to be a failure (failure) in a component of the path (HBA 5, 6, interface cable 31, 32, controller 11, 12, etc.), an alternative path is used.
The retry processing of the I / O that ended abnormally is performed.

【0018】ディスクアレイ装置10のコントローラ1
1,12は、それぞれ内部バス16,17を介して各論
理ディスク13〜15に接続されている。コントローラ
11,12のいずれからも、各論理ディスク13〜15
に対してアクセスすることができる。
The controller 1 of the disk array device 10
1 and 12 are connected to the respective logical disks 13 to 15 via internal buses 16 and 17, respectively. Each of the logical disks 13 to 15 can be sent from either of the controllers 11 and 12.
Can be accessed.

【0019】例えば、パス冗長化ドライバ3は、論理デ
ィスク13が他のイニシエータ5によってリザーブされ
ているためにリトライ処理が異常終了した場合は、代替
パスのイニシエータ6から強制リザーブコマンドを発行
する。コントローラ12は、強制リザーブコマンドが発
行されると、代替パスのイニシエータ6によるリザーブ
状態に論理ディスク13を設定し直す。
For example, when the retry process ends abnormally because the logical disk 13 is reserved by another initiator 5, the path redundancy driver 3 issues a forced reserve command from the initiator 6 of the alternative path. When the forced reserve command is issued, the controller 12 resets the logical disk 13 to the reserved state by the initiator 6 of the alternative path.

【0020】図2は、ホストコンピュータ1から受け取
ったI/Oコマンド処理過程の一部を示したフローであ
り、これらの処理はディスクアレイ装置10のコントロ
ーラ11,12により実行される。図3は、ドライバ4
から受け取ったI/Oの実行結果に対し、正常終了又は
異常終了の判断を行い、異常終了の原因がパスの構成要
素(HBA5,6、インタフェースケーブル31,3
2、コントローラ11,12等)における障害(故障)
と判断した場合は、代替パスを用いて、異常終了したI
/Oのリトライ処理をする過程の一部を示したフローで
あり、これらの処理はパス冗長化ドライバ3により実施
される。以下、図1乃至図3に基づき、本実施形態の冗
長パス制御装置の動作を説明する。
FIG. 2 is a flowchart showing a part of the process of processing the I / O command received from the host computer 1, and these processes are executed by the controllers 11 and 12 of the disk array device 10. FIG. 3 shows the driver 4
A normal termination or an abnormal termination is determined based on the I / O execution result received from the server, and the cause of the abnormal termination is determined by a component of the path (HBAs 5, 6, interface cables 31, 3).
2, failure in the controllers 11, 12, etc.)
If it is determined that the abnormally terminated I
This is a flow showing a part of the process of performing the / O retry process, and these processes are performed by the path redundancy driver 3. Hereinafter, the operation of the redundant path control device according to the present embodiment will be described with reference to FIGS.

【0021】ホストコンピュータ1上で動作するアプリ
ケーション7によってディスクアレイ装置10に書き込
まれるデータ(ライトI/O)は、アプリケーション
7、ファイルシステム2、パス冗長化ドライバ3、ドラ
イバ4、HBA5、インタフェースケーブル31を介し
てコントローラ11に至り、指定された論理ディスク1
3〜15のいずれかに書き込まれる。
The data (write I / O) written to the disk array device 10 by the application 7 operating on the host computer 1 includes the application 7, the file system 2, the path redundancy driver 3, the driver 4, the HBA 5, and the interface cable 31. To the controller 11 via the designated logical disk 1
It is written to any of 3 to 15.

【0022】ホストコンピュータ1上で動作するアプリ
ケーション7によってディスクアレイ装置10から読み
出されるデータ(リードI/O)は、指定された論理デ
ィスク13〜15のいずれかより、コントローラ11、
インタフェースケーブル31を介してHBA5に至り、
ドライバ4、パス冗長化ドライバ3、ファイルシステム
2を経てアプリケーション7に至る。
Data (read I / O) read from the disk array device 10 by the application 7 operating on the host computer 1 is transmitted from one of the designated logical disks 13 to 15 to the controller 11,
It reaches HBA5 via interface cable 31,
It reaches the application 7 via the driver 4, the path redundancy driver 3, and the file system 2.

【0023】また、ホストコンピュータ1による各I/
Oの実行結果については、HBA5、ドライバ4、ファ
イルシステム2及びアプリケーション7の各レイヤによ
って判断が行われ、必要に応じて何らかの処置が行われ
るのが一般的である。ここで、パス冗長化ドライバ3
は、ドライバ4から受け取ったI/Oの実行結果につい
て正常終了又は異常終了の判断を行い、異常終了の原因
がパスの構成要素(HBA、インタフェースケーブル、
コントローラ等)における障害(故障)と判断した場合
は、代替パスを用いて、異常終了したI/Oのリトライ
処理を行う。
Each I / O by the host computer 1
It is general that the execution result of O is determined by each layer of the HBA 5, the driver 4, the file system 2, and the application 7, and some processing is performed as needed. Here, the path redundancy driver 3
Determines whether the I / O execution result received from the driver 4 is normal termination or abnormal termination, and determines whether the cause of the abnormal termination is a path component (HBA, interface cable,
If it is determined that a failure (failure) has occurred in the controller or the like, retry processing of the abnormally terminated I / O is performed using the alternative path.

【0024】次に、アプリケーション7が論理ディスク
13をリザーブした状態について説明する。
Next, a state where the application 7 has reserved the logical disk 13 will be described.

【0025】リザーブコマンドとは、特定のイニシエー
タ(HBA)が指定した論理ディスクを排他的に占有す
るためのコマンドである。例えば、HBA5からコント
ローラ11経由で論理ディスク13を指定してリザーブ
が行われている場合、HBA5からコントローラ11経
由による論理ディスク13に対するI/O(リード又は
ライト)は、障害などの問題のない限り正常終了する。
しかし、HBA6からコントローラ12経由で論理ディ
スク13に対して発行されたI/O(リード又はライ
ト)は、「Reservation Conflic
t」というエラーメッセージと共に異常終了する。
A reserve command is a command for exclusively occupying a logical disk specified by a specific initiator (HBA). For example, when the logical disk 13 is designated from the HBA 5 via the controller 11 and reserved, the I / O (read or write) to the logical disk 13 from the HBA 5 via the controller 11 is performed unless a problem such as a failure occurs. Terminates normally.
However, the I / O (read or write) issued from the HBA 6 to the logical disk 13 via the controller 12 is “Reservation Conflict”.
Abnormal termination with error message "t".

【0026】これらのことからわかるように、リザーブ
コマンドによって占有された論理ディスク13に対する
I/Oに対し、パス冗長化ドライバ3は、その機能をう
まく働かせることができない。
As can be seen from the above, the path redundancy driver 3 cannot perform its function well for I / O to the logical disk 13 occupied by the reserve command.

【0027】この問題を解決するための方法を図2及び
図3のフローを用いて説明する。
A method for solving this problem will be described with reference to FIGS. 2 and 3.

【0028】図2は、ディスクアレイ装置10のコント
ローラ11,12により実施され、ホストコンピュータ
1から受け取ったI/Oコマンド処理過程の一部を示し
たフローである。本問題を解決するために、ディスクア
レイ装置10にて強制リザーブ手段を設ける。
FIG. 2 is a flowchart showing a part of the process of processing an I / O command received from the host computer 1 and executed by the controllers 11 and 12 of the disk array device 10. In order to solve this problem, a forced reserve means is provided in the disk array device 10.

【0029】まず、ホストコンピュータ1から受け取っ
たコマンドが、まず正しく実行できるものであるか否か
を判断する(S101)。正しく実行することができな
いコマンドであれば、異常終了処理へ移行する(S11
1)。正しく実行可能なコマンドであれば、それが既存
のコマンドであるか、又は新たに設けた強制リザーブコ
マンドであるかを判断する(S102)。強制リザーブ
コマンドであればフラグをクリアし(S103)、そう
でなければ既存コマンドデコード処理へ移行する(S1
12)。
First, it is determined whether or not a command received from the host computer 1 can be executed correctly (S101). If the command cannot be executed correctly, the process proceeds to abnormal termination processing (S11).
1). If the command can be correctly executed, it is determined whether the command is an existing command or a newly provided forced reserve command (S102). If the command is a forced reserve command, the flag is cleared (S103); otherwise, the process proceeds to the existing command decoding process (S1).
12).

【0030】続いて、指定された論理ディスクが既にリ
ザーブされているか否かを判断する(S104)。リザ
ーブされていなければ、強制リザーブコマンドを発行し
たイニシエータによるリザーブ状態に設定する(S10
7)。既にリザーブされている場合は、そのリザーブが
強制リザーブコマンドを発行したイニシエータとは別の
イニシエータによるリザーブであるかを判断する(S1
05)。強制リザーブコマンドを発行したイニシエータ
からのリザーブであれば、終了処理へ移行する(S11
3)。強制リザーブコマンドを発行したイニシエータと
は別のイニシエータによるリザーブであった場合は、フ
ラグをセットし(S106)、強制リザーブコマンドを
発行したイニシエータによるリザーブ状態に設定する
(S107)。
Subsequently, it is determined whether or not the specified logical disk has already been reserved (S104). If the reservation has not been made, the reserved state is set by the initiator that has issued the forced reserve command (S10).
7). If the reserve has already been made, it is determined whether or not the reserve is reserved by an initiator different from the initiator that issued the forced reserve command (S1).
05). If it is a reserve from the initiator that has issued the forced reserve command, the process proceeds to the end processing (S11).
3). If the reservation was made by an initiator different from the initiator that issued the forced reserve command, a flag is set (S106), and the state is set to the reserve state by the initiator that issued the forced reserve command (S107).

【0031】続いて、フラグの確認を行ない(S10
8)、フラグがセットされていなければ、終了処理へ移
行する(S110)。フラグがセットされている場合
は、他のイニシエータからリザーブされているため、そ
のリザーブ状態を解除するとともに使用したフラグをク
リアし(S109)、終了処理へ移行する(S11
0)。
Subsequently, the flag is confirmed (S10).
8) If the flag has not been set, the process proceeds to the end process (S110). If the flag is set, it is reserved by another initiator, so that the reserved state is released, the used flag is cleared (S109), and the process proceeds to the end processing (S11).
0).

【0032】図3は、パス冗長化ドライバ3により実施
され、代替パスによるリトライ処理過程の一部を示した
フローである。
FIG. 3 is a flowchart showing a part of the retry process performed by the path redundancy driver 3 and using the alternative path.

【0033】まず、パス冗長化ドライバ3は、ディスク
アレイ装置10内の論理ディスク1〜15に対するI/
Oの実行結果をドライバ4から受け取り、正常終了又は
異常終了の判断を行う。そして、異常終了の原因がパス
の構成要素(HBA、インタフェースケーブル、コント
ローラ等)における障害(故障)と判断した場合は、代
替パスを用いて、異常終了したI/Oのリトライ処理を
行う(S201)。続いて、リトライ結果を判断し(S
202)、異常がなければ正常終了処理(S209)へ
移行する。
First, the path redundancy driver 3 performs I / O for the logical disks 1 to 15 in the disk array device 10.
The execution result of O is received from the driver 4, and a normal end or an abnormal end is determined. If the cause of the abnormal termination is determined to be a failure (failure) in a path component (HBA, interface cable, controller, etc.), retry processing of the abnormally terminated I / O is performed using an alternative path (S201). ). Subsequently, the retry result is determined (S
202) If there is no abnormality, the process proceeds to the normal end process (S209).

【0034】異常があれば、異常の原因が他のイニシエ
ータによってリザーブされた論理ディスクによるもので
あるか否かを判断する(S203)。他に起因する異常
の場合は、異常終了処理へ移行する(S210)。一
方、異常の原因が他のイニシエータによってリザーブさ
れた論理ディスクによるものである場合は、同一パスに
対して強制リザーブコマンドを実施する(S204)。
If there is an abnormality, it is determined whether or not the abnormality is caused by a logical disk reserved by another initiator (S203). In the case of an abnormality caused by another, the process shifts to an abnormal end process (S210). On the other hand, if the cause of the abnormality is a logical disk reserved by another initiator, a forced reserve command is executed for the same path (S204).

【0035】続いて、その結果の判断を行なう(S20
5)。強制リザーブコマンドが正常終了でなければ、異
常終了処理へ移行する(S211)。強制リザーブコマ
ンドが正常終了であれば、論理ディスクに対する占有が
本イニシエータに変更されているため、ステップ202
にて異常終了となったI/Oを同一パスにて再度リトラ
イを実施する(S206)。続いて、ステップ206の
結果を判断し(S207)、リトライが成功した場合は
正常終了処理へ移行し(S208)、失敗であれば異常
終了処理へ移行する(S212)。
Subsequently, the result is determined (S20).
5). If the forced reserve command is not terminated normally, the process proceeds to abnormal termination processing (S211). If the forced reserve command ends normally, the occupation of the logical disk has been changed to this initiator,
Then, the I / O which ended abnormally is retried on the same path again (S206). Subsequently, the result of step 206 is determined (S207). If the retry is successful, the process proceeds to a normal end process (S208).

【0036】以上により、リザーブされた論理ディスク
に対するI/Oパス冗長化システムを実現する。
As described above, an I / O path redundancy system for a reserved logical disk is realized.

【0037】なお、本発明は、言うまでもなく、上記実
施形態に限定されるものではない。例えば、次のような
実施の形態を採り得る。
It is needless to say that the present invention is not limited to the above embodiment. For example, the following embodiment can be adopted.

【0038】HBA5,6の数は、OSの種類、ドライ
バ4、又はホストコンピュータ1等のHWによって制限
され、パス冗長化ドライバ3に対して制限はない。コン
トローラ11,12の数、及びインタフェースケーブル
31,32を介して各コントローラ11,12とホスト
コンピュータ1等を接続するためのポート数に制限はな
い。HBA5,6とコントローラ11,12とを直接イ
ンタフェースケーブル31,32で接続したものを例示
したが、これらの途中にハブ又はスイッチ等が介在して
もかまわない。
The number of the HBAs 5 and 6 is limited by the type of the OS, the driver 4 or the HW of the host computer 1 and the like, and there is no limitation on the path redundancy driver 3. The number of controllers 11 and 12 and the number of ports for connecting the controllers 11 and 12 to the host computer 1 and the like via the interface cables 31 and 32 are not limited. Although the HBAs 5 and 6 and the controllers 11 and 12 are directly connected by the interface cables 31 and 32, a hub or a switch or the like may be interposed between them.

【0039】ホストコンピュータ1に接続されるディス
クアレイ装置10の数に制限はない。ディスクアレイ装
置10に接続されるホストコンピュータ1の数に制限は
ない。ディスクアレイ装置10内の論理ディスク13〜
14の数に制限はない。本発明はディスクアレイ装置1
0のみに限定されるものではない。
The number of disk array devices 10 connected to the host computer 1 is not limited. The number of host computers 1 connected to the disk array device 10 is not limited. Logical disks 13-in disk array device 10
There is no limit on the number of 14. The present invention relates to a disk array device 1
It is not limited to only 0.

【0040】[0040]

【発明の効果】本発明に係る冗長パス制御装置及び方法
によれば、論理ディスクが他のイニシエータによって既
にリザーブされているためにリトライ処理が異常終了し
た場合に、代替パスのイニシエータによるリザーブ状態
に当該論理ディスクを設定し直すことにより、当該論理
ディスクに対して代替パスを用いてアクセスすることが
できる。換言すると、パスの構成要素(HBA、インタ
フェースケーブル、コントローラ等)における障害(故
障)時に、論理ディスクを占有して使用するアプリケー
ションが存在する場合も、アプリケーションの運用に影
響を与えることのないよう代替パスでのリトライが可能
となる。
According to the redundant path control device and method according to the present invention, when the retry processing ends abnormally because the logical disk has already been reserved by another initiator, the redundant path is set to the reserved state by the initiator of the alternative path. By resetting the logical disk, the logical disk can be accessed using an alternative path. In other words, when a failure (failure) occurs in a component (HBA, interface cable, controller, etc.) of the path, even if there is an application that occupies the logical disk and is used, the replacement is performed so as not to affect the operation of the application. Retry by pass becomes possible.

【0041】また、HWによるリセットによって強制的
に占有の解除を行わないため、ホストコンピュータ側へ
の余計なリトライ処理の発生を抑止できる。
Further, since the occupancy is not forcibly released by the reset by the hardware, the occurrence of unnecessary retry processing on the host computer side can be suppressed.

【0042】更に、論理ディスクに対する占有状態を一
時的にでも解除状態にしないことにより、全く意図しな
いホストコンピュータからのアクセスを許す契機を与え
ないので、論理ディスク内のデータを破壊する危険を回
避できる。
Further, since the occupation state of the logical disk is not released even temporarily, there is no opportunity to permit access from a host computer which is not intended at all, so that the danger of destroying data in the logical disk can be avoided. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る冗長パス制御装置の一実施形態を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a redundant path control device according to the present invention.

【図2】図1の冗長パス制御装置におけるコントローラ
の動作の一例を示すフローチャートである。
FIG. 2 is a flowchart illustrating an example of an operation of a controller in the redundant path control device of FIG. 1;

【図3】図1の冗長パス制御装置におけるパス冗長化ド
ライバの動作の一例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of an operation of a path redundancy driver in the redundant path control device of FIG. 1;

【図4】従来の冗長パス制御装置示すブロック図であ
る。
FIG. 4 is a block diagram showing a conventional redundant path control device.

【符号の説明】[Explanation of symbols]

1 ホストコンピュータ 2 ファイルシステム 3 パス冗長化ドライバ 4 ドライバ 5,6 HBA 7 アプリケーション 30〜33 インタフェースケーブル 10 ディスクアレイ装置 11,12 コントローラ 13〜15 論理ディスク 16,17 内部バス 20,21 単体デバイス DESCRIPTION OF SYMBOLS 1 Host computer 2 File system 3 Path redundancy driver 4 Driver 5, 6 HBA 7 Application 30-33 Interface cable 10 Disk array device 11, 12 Controller 13-15 Logical disk 16, 17 Internal bus 20, 21 Single device

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B014 EB04 FA04 GA15 GD22 GD32 HA11 5B065 BA01 CA30 EA05 EA12 5B083 AA05 BB03 CC01 CD06 EE08 EF14  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B014 EB04 FA04 GA15 GD22 GD32 HA11 5B065 BA01 CA30 EA05 EA12 5B083 AA05 BB03 CC01 CD06 EE08 EF14

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 I/Oアクセスパスに障害が発生した場
合に、イニシエータを含む代替パスを用いて論理ディス
クに対してリトライ処理を行う冗長パス制御装置におい
て、 前記論理ディスクが他のイニシエータによってリザーブ
されているために前記リトライ処理が異常終了した場合
は、前記代替パスのイニシエータによるリザーブ状態に
前記論理ディスクを設定し直す冗長パス制御手段、 を備えたことを特徴とする冗長パス制御装置。
1. A redundant path control device for performing a retry process on a logical disk using an alternative path including an initiator when a failure occurs in an I / O access path, wherein the logical disk is reserved by another initiator. A redundant path control unit that resets the logical disk to a reserved state by the initiator of the alternative path when the retry processing ends abnormally because of the error.
【請求項2】 前記冗長パス制御手段は、 前記論理ディスクが他のイニシエータによってリザーブ
されているために前記リトライ処理が異常終了した場合
は、前記代替パスのイニシエータから強制リザーブコマ
ンドを発行する第一の制御手段と、 前記強制リザーブコマンドが発行されると、前記代替パ
スのイニシエータによるリザーブ状態に前記論理ディス
クを設定し直す第二の制御手段と、 を備えた請求項1記載の冗長パス制御装置。
2. The method according to claim 1, wherein the redundant path control unit issues a forced reserve command from the initiator of the alternative path when the retry processing ends abnormally because the logical disk is reserved by another initiator. 2. The redundant path control device according to claim 1, further comprising: a second control unit configured to reset the logical disk to a reserved state by an initiator of the alternative path when the forced reserve command is issued. 3. .
【請求項3】 前記論理ディスクが複数集まってディス
クアレイ装置を構成している、 請求項1又は2記載の冗長パス制御装置。
3. The redundant path control device according to claim 1, wherein a plurality of said logical disks form a disk array device.
【請求項4】 前記イニシエータがHBA(Host
Bus Adapter)である、 請求項1、2又は3記載の冗長パス制御装置。
4. The method according to claim 1, wherein the initiator is an HBA (Host).
4. The redundant path control device according to claim 1, wherein the redundant path control device is a Bus Adapter.
【請求項5】 I/Oアクセスパスに障害が発生した場
合に、イニシエータを含む代替パスを用いて論理ディス
クに対してリトライ処理を行う冗長パス制御方法におい
て、 前記論理ディスクが他のイニシエータによってリザーブ
されているために前記リトライ処理が異常終了した場合
は、前記代替パスのイニシエータによるリザーブ状態に
前記論理ディスクを設定し直す冗長パス制御ステップ、 を備えたことを特徴とする冗長パス制御方法。
5. A redundant path control method for performing a retry process on a logical disk using an alternative path including an initiator when a failure occurs in an I / O access path, wherein the logical disk is reserved by another initiator. A redundant path control step of resetting the logical disk to a reserved state by an initiator of the alternative path when the retry processing ends abnormally because of the error.
【請求項6】 前記冗長パス制御ステップは、 前記論理ディスクが他のイニシエータによってリザーブ
されているために前記リトライ処理が異常終了した場合
は、前記代替パスのイニシエータから強制リザーブコマ
ンドを発行する第一の制御ステップと、 前記強制リザーブコマンドが発行されると、前記代替パ
スのイニシエータによるリザーブ状態に前記論理ディス
クを設定し直す第二の制御ステップと、 を備えた請求項5記載の冗長パス制御方法。
6. The redundant path control step, wherein, if the retry processing ends abnormally because the logical disk is reserved by another initiator, a first command is issued from the initiator of the alternative path. 6. The redundant path control method according to claim 5, further comprising: a control step of: resetting the logical disk to a reserved state by an initiator of the alternative path when the forced reserve command is issued. .
【請求項7】 前記論理ディスクが複数集まってディス
クアレイ装置を構成している、 請求項5又は6記載の冗長パス制御方法。
7. The redundant path control method according to claim 5, wherein a plurality of the logical disks are collected to form a disk array device.
【請求項8】前記イニシエータがHBA(Host B
us Adapter)である、 請求項5、6又は7記載の冗長パス制御方法。
8. The method according to claim 1, wherein the initiator is an HBA (Host B).
8. The redundant path control method according to claim 5, 6 or 7, wherein the redundant path control method is a USB adapter.
JP2001106927A 2001-04-05 2001-04-05 Device and method for controlling redundant pass Pending JP2002304331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001106927A JP2002304331A (en) 2001-04-05 2001-04-05 Device and method for controlling redundant pass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001106927A JP2002304331A (en) 2001-04-05 2001-04-05 Device and method for controlling redundant pass

Publications (1)

Publication Number Publication Date
JP2002304331A true JP2002304331A (en) 2002-10-18

Family

ID=18959347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001106927A Pending JP2002304331A (en) 2001-04-05 2001-04-05 Device and method for controlling redundant pass

Country Status (1)

Country Link
JP (1) JP2002304331A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454533B2 (en) 2004-02-06 2008-11-18 Nec Corporation Redundant path control apparatus and redundant path control method
US7721150B2 (en) 2004-03-19 2010-05-18 Intel Corporation Failover and load balancing
US7760626B2 (en) 2004-03-31 2010-07-20 Intel Corporation Load balancing and failover

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454533B2 (en) 2004-02-06 2008-11-18 Nec Corporation Redundant path control apparatus and redundant path control method
US7721150B2 (en) 2004-03-19 2010-05-18 Intel Corporation Failover and load balancing
US7992039B2 (en) 2004-03-19 2011-08-02 Intel Corporation Failover and load balancing
US8429452B2 (en) 2004-03-19 2013-04-23 Intel Corporation Failover and load balancing
US7760626B2 (en) 2004-03-31 2010-07-20 Intel Corporation Load balancing and failover

Similar Documents

Publication Publication Date Title
US6813688B2 (en) System and method for efficient data mirroring in a pair of storage devices
US6574755B1 (en) Method and processing fault on SCSI bus
US7730257B2 (en) Method and computer program product to increase I/O write performance in a redundant array
JP3151008B2 (en) Disk sector analysis method
US7941693B2 (en) Disk array apparatus and method for controlling the same
WO2011010352A1 (en) Storage apparatus and its data transfer method
US20150378858A1 (en) Storage system and memory device fault recovery method
CN101405700B (en) Error Management Topology
EP1901167B1 (en) Storage system performing remote copying
US5680538A (en) System and method for maintaining a minimum quality of service during read operations on disk arrays
JP2005165439A (en) Data transfer apparatus, storage device control apparatus, and storage device control apparatus control method
JP2002049534A (en) Backup/restoring system, backup unit, and backup/ restoring method
JP4939180B2 (en) Run initialization code to configure connected devices
JP2002304331A (en) Device and method for controlling redundant pass
US7913028B2 (en) Data processing system having multiplexed data relaying devices, data processing aparatus having multiplexed data relaying devices, and a method of incorporating data relaying devices in data processing system having multiplexed data relaying devices
JP4708669B2 (en) Path redundancy apparatus and method
JP7553783B2 (en) STORAGE CONTROL DEVICE, DELIVERY STATUS DETECTION PROGRAM, AND STORAGE SYSTEM
JPH10254643A (en) Storage system
KR100235884B1 (en) Method for connecting hard disk and duplexing host in the communication system
WO2025179984A1 (en) Method for storing data, device, storage medium, and program product
JP2006146308A (en) Storage system and backup management method
JPH0973370A (en) Information processing system
JPH06139028A (en) Disk control system
JP2002222063A (en) Disk array device and its data restoring method
JP2001092768A (en) Cluster system, control method thereof, and computer-readable recording medium recording control program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040316

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040713