JP4123386B2 - Communication path redundancy system, communication path redundancy method, and load distribution program - Google Patents
Communication path redundancy system, communication path redundancy method, and load distribution program Download PDFInfo
- Publication number
- JP4123386B2 JP4123386B2 JP2004313152A JP2004313152A JP4123386B2 JP 4123386 B2 JP4123386 B2 JP 4123386B2 JP 2004313152 A JP2004313152 A JP 2004313152A JP 2004313152 A JP2004313152 A JP 2004313152A JP 4123386 B2 JP4123386 B2 JP 4123386B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- server
- communication path
- information
- storage device
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、通信パス冗長化システム及び通信パスの冗長化方法に関し、特に複数サーバ間における、外部記憶装置への通信パス冗長化システム及び通信パスの冗長化方法に関する。 The present invention relates to a communication path redundancy system and a communication path redundancy method, and more particularly to a communication path redundancy system and a communication path redundancy method for a plurality of servers to an external storage device.
従来、サーバからストレージネットワークを介して外部記憶装置への通信パスを確保し、外部記憶装置へのデータの書き込みや読み込みを行なう入出力(以下、I/Oと呼ぶ)を実行するI/Oシステムがある。このI/Oシステムは、1つのサーバからの外部記憶装置に対する通信パスが全て使用できない状態になると、そのサーバはその外部記憶装置に対するI/Oの手段がなくなるという問題があった。 Conventionally, an I / O system that secures a communication path from a server to an external storage device via a storage network and executes input / output (hereinafter referred to as I / O) for writing and reading data to and from the external storage device There is. This I / O system has a problem that when all communication paths from one server to the external storage device cannot be used, the server has no I / O means for the external storage device.
又、1つのサーバからの外部記憶装置に対するパスのみを使用して、I/Oの負荷分散を行っていたため、他のサーバからのその外部記憶装置に対するパスを用いての負荷分散を行えないという問題点があった(特許文献1参照)。
本発明の目的は、複数のサーバでストレージネットワークを介して共通接続される外部記憶装置に対する通信パスを冗長化してI/Oの負荷分散を可能にする通信パスの冗長化システムを提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a communication path redundancy system in which communication paths for external storage devices commonly connected via a storage network by a plurality of servers are made redundant to allow load distribution of I / O. is there.
本発明の他の目的は、1つのサーバから外部記憶装置に対する通信パスが全て使用できない場合でも、外部記憶装置ヘのI/Oを実行可能な通信パスの冗長化システムを提供することにある。 Another object of the present invention is to provide a communication path redundancy system capable of executing I / O to an external storage device even when all communication paths from one server to the external storage device cannot be used.
本発明の更に他の目的は、複数のサーバから接続される複数の通信パスから、より望ましい通信パスを選択してI/Oを実行可能な通信パスの冗長化システムを提供することにある。 Still another object of the present invention is to provide a communication path redundancy system capable of executing I / O by selecting a more desirable communication path from a plurality of communication paths connected from a plurality of servers.
以下に、[発明を実施するための最良の形態]で使用される番号・符号を括弧付きで用いて、[課題を解決するための手段]を説明する。この番号・符号は、[特許請求の範囲]の記載と[発明を実施するための最良の形態]の記載との対応関係を明らかにするために付加されたものであるが、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。 [Means for Solving the Problems] will be described below using the numbers and symbols used in [Best Mode for Carrying Out the Invention] in parentheses. This number / symbol is added to clarify the correspondence between the description of [Claims] and the description of the best mode for carrying out the invention. It should not be used for interpreting the technical scope of the invention described in [Scope].
本発明による通信パスの冗長化システムは、ネットワーク(100)と、ネットワーク(100)にそれぞれ接続される複数のサーバ(101)と、複数のサーバ(101)に接続されるストレージネットワーク(107)と、複数のサーバ(101)とストレージネットワーク(107)を介して共有接続される外部記憶装置(108)とを備える。複数のサーバ(101)は、第1のサーバ(101−1)は、ネットワーク(100)を介して複数のサーバのいずれか1つのサーバ(101)を制御して、サーバ(101)から前ストレージネットワーク(107)を経由し、外部記憶装置(108)に接続する通信経路である通信パスを確保させ、外部記憶装置(108)への入出力を実行する。 A communication path redundancy system according to the present invention includes a network (100), a plurality of servers (101) connected to the network (100), and a storage network (107) connected to the plurality of servers (101). A plurality of servers (101) and an external storage device (108) connected in a shared manner via a storage network (107). The plurality of servers (101) is configured such that the first server (101-1) controls any one of the plurality of servers (101) via the network (100), and stores the previous storage from the server (101). A communication path which is a communication path connected to the external storage device (108) is secured via the network (107), and input / output to the external storage device (108) is executed.
第1のサーバ8101−1)は、入出力を実行するためのI/O要求(RQ)を発行し、I/O要求(RQ)は、通信パスの情報であるパス情報(803)を含み、第1のサーバ(101−1)は、I/O要求(RQ)の複数のパス情報(803)を参照して、最適な通信パスを選択し、最適な通信パスを確保して外部記憶装置(108)との入出力を実行する。 The first server 8101-1) issues an I / O request (RQ) for executing input / output, and the I / O request (RQ) includes path information (803) that is communication path information. The first server (101-1) refers to the plurality of path information (803) of the I / O request (RQ), selects the optimum communication path, secures the optimum communication path, and stores the information externally. I / O with the device (108) is executed.
第1のサーバ(101−1)は、最適な通信パスとして第2のサーバ(101−2)と外部記憶装置(108)との間の通信パスを選択し、第2のサーバ(101−2)に入出力を実行させるための情報であるI/O情報(AD)をI/O要求(RQ)から抽出し、I/O情報(AD)をネットワーク(100)を介して第2のサーバ(101−2)に送信し、第2のサーバ(101−2)は、I/O情報(AD)から入出力を実行するためのI/O要求(RQ)を発行し、I/O要求(RQ)に含まれる複数のパス情報(303)を参照して、第2のサーバ(101−2)と外部記憶装置(108)との間の最適な通信パスを選択し、最適な通信パスを確保して入出力を実行する。 The first server (101-1) selects the communication path between the second server (101-2) and the external storage device (108) as the optimum communication path, and the second server (101-2) ) Is extracted from the I / O request (RQ), and the I / O information (AD) is extracted via the network (100) to the second server. (101-2), the second server (101-2) issues an I / O request (RQ) for executing input / output from the I / O information (AD), and the I / O request The optimum communication path is selected by referring to the plurality of path information (303) included in (RQ) and selecting the optimum communication path between the second server (101-2) and the external storage device (108). Secures and executes input / output.
I/O要求(RQ)がWrite要求である場合、第1のサーバ(101−1)は、I/O要求(RQ)に基づくWriteデータを第2のサーバ(101−2)に送信し、第2のサーバ(101−2)は、入出力を実行する際、Writeデータを、I/O情報(AD)に対応する外部記憶装置(108)のアドレス上に書き込む。 When the I / O request (RQ) is a write request, the first server (101-1) transmits write data based on the I / O request (RQ) to the second server (101-2). When executing the input / output, the second server (101-2) writes the write data on the address of the external storage device (108) corresponding to the I / O information (AD).
I/O要求(RQ)がWrite要求以外の要求である場合、第2のサーバ(101−2)は、入出力を実行する際、I/O要求(RQ)に基づくReadデータを、I/O情報(AD)に対応する外部記憶装置(108)のアドレス上から読み取り、第1のサーバ(101−1)に送信する。 When the I / O request (RQ) is a request other than the Write request, the second server (101-2), when executing input / output, reads Read data based on the I / O request (RQ) as I / O. Read from the address of the external storage device (108) corresponding to the O information (AD) and send it to the first server (101-1).
入出力が終了すると第2のサーバ(101−2)は、ネットワーク(100)を介して第1のサーバ(101−1)に入出力が終了したことを示すI/O完了通知(NC)を送信する。 When the input / output is completed, the second server (101-2) sends an I / O completion notification (NC) indicating that the input / output is completed to the first server (101-1) via the network (100). Send.
入出力が完了せず、エラーとなる場合、第2のサーバ(101−2)はI/O要求(RQ)のパス情報(803)を更新する。通信パスを変更することでエラーを回避できると判断すると、第2のサーバ(101−2)は、I/O要求(RQ)に基づいて、第2のサーバ(101−2)と外部記憶装置(108)との間の最適な通信パスを選択し、その最適な通信パスを確保して入出力を実行する。第2のサーバ(101−2)は、最適な通信パスを選択できない場合、入出力の結果がエラーであることを示すI/Oエラー通知(NE)をネットワーク(100)を介して第1のサーバ(101−1)に送信する。 When the input / output is not completed and an error occurs, the second server (101-2) updates the path information (803) of the I / O request (RQ). If it is determined that the error can be avoided by changing the communication path, the second server (101-2), based on the I / O request (RQ), the second server (101-2) and the external storage device (108) is selected, the optimum communication path is secured, and input / output is executed. When the second server (101-2) cannot select an optimum communication path, the second server (101-2) sends an I / O error notification (NE) indicating that an input / output result is an error via the network (100). It transmits to the server (101-1).
又、入出力が完了せず、エラーとなる場合、第2のサーバ(101−2)はI/O要求(RQ)のパス情報(803)を更新し、通信パスを変更することでエラーを回避できない場合、第2のサーバ(101−2)は、ネットワーク(100)を介して入出力の結果がエラーであることを示すI/Oエラー通知(NE)を第1のサーバ(101−1)に送信する。 If the input / output is not completed and an error occurs, the second server (101-2) updates the path information (803) of the I / O request (RQ) and changes the communication path to indicate the error. If it cannot be avoided, the second server (101-2) sends an I / O error notification (NE) indicating that the input / output result is an error via the network (100) to the first server (101-1). ).
第1のサーバ(101−1)は、I/Oエラー通知(NE)を受信すると、I/O要求(RQ)のパス情報(803)を更新し、I/O要求(RQ)に基づいて第1のサーバ(101−1)と外部記憶装置(108)との間の通信パスを選択し、この通信パスを確保して前記入出力を実行する。 Upon receiving the I / O error notification (NE), the first server (101-1) updates the path information (803) of the I / O request (RQ), and based on the I / O request (RQ) A communication path between the first server (101-1) and the external storage device (108) is selected, the communication path is secured, and the input / output is executed.
以上のように、サーバ(101−1)から外部記憶装置(108)に対する入出力を実施する際、サーバ(101−1)からの通信パスが使用できない時、又は、最適な通信パスが他のサーバ(101−2)からの通信パスである時、サーバ(101−1)は、ネットワーク(100)を通じてサーバ(101−2)とI/O要求(RQ)のために必要な情報をやり取りし、サーバ(101−2)に通信パスを選択及び確保させ、入出力を実行させることができる。このようにして、複数サーバ(101)間において、外部記憶装置(108)への通信パスを冗長化することができる。 As described above, when the input / output from the server (101-1) to the external storage device (108) is performed, when the communication path from the server (101-1) cannot be used, or the optimum communication path is another When the communication path is from the server (101-2), the server (101-1) exchanges information necessary for the I / O request (RQ) with the server (101-2) through the network (100). The server (101-2) can select and secure a communication path and execute input / output. In this manner, the communication path to the external storage device (108) can be made redundant among the plurality of servers (101).
本発明による通信パスの冗長化システム及び通信パスの冗長化方法によれば、複数のサーバでストレージネットワークを介して共通接続される外部記憶装置に対する通信パスを冗長化して入出力の負荷分散を可能にすることにある。 According to the communication path redundancy system and the communication path redundancy method according to the present invention, it is possible to make a communication path redundantly connected to an external storage device commonly connected via a storage network with a plurality of servers, thereby distributing input / output loads. Is to make it.
又、1つのサーバから外部記憶装置に対する通信パスが全て使用できない場合でも、外部記憶装置ヘの入出力を実行することにある。 Further, even when all communication paths from one server to the external storage device cannot be used, the input / output to the external storage device is executed.
更に、複数のサーバから接続する複数の通信パスから、より望ましい通信パスを選択して入出力を実行することにある。 In addition, a more desirable communication path is selected from a plurality of communication paths connected from a plurality of servers, and input / output is executed.
以下、添付図面を参照して、本発明による認証システムの実施の形態を説明する。 Embodiments of an authentication system according to the present invention will be described below with reference to the accompanying drawings.
図1に本発明による通信パス冗長化システムの実施の形態における構成を示す。 FIG. 1 shows a configuration of an embodiment of a communication path redundancy system according to the present invention.
本発明による通信パス冗長化システムは、ネットワーク100と、複数のサーバ101−1・・101−nと、ストレージネットワーク107と、複数の外部記憶装置108−1・・108−nを具備している。
The communication path redundancy system according to the present invention includes a
複数のサーバ101−1・・101−nは、ネットワーク100を介し相互に接続され、ストレージネットワーク107を介して、外部記憶装置108−1・・108−nと共有接続されている。
The plurality of servers 101-1 to 101 -n are connected to each other via the
本発明による通信パスの冗長化システムに使用されるネットワーク100は、外部記憶装置108ヘのI/Oを実施したいサーバが、選択した通信パス上の他のサーバ101のアドレスを指定して、そのサーバにI/Oを実行させるためのI/O情報ADを送信するため、TCP/IPのようなマルチキャストのネットワークである必要がなく、ユニキャストのネットワークや、不特定多数のサーバに対しデータを送信するブロードキャストのネットワークでも使用することができる。
In the
サーバ101は、I/O要求部102、ネットワークドライバ103、負荷分散モジュール105、ディスクドライバ106を具備している。
The
I/O要求部102、ネットワークドライバ103、負荷分散モジュール105、ディスクドライバ106は相互に接続され、ネットワークドライバ103はネットワーク100を介して、他のサーバ101のネットワークドライバ103に接続されている。又、ディスクドライバ106は、ストレージネットワーク107を介して外部記憶装置108に接続されている。
The I /
ストレージネットワーク107は、SAN(Strage Area Network)に代表される外部記憶装置108間及び外部記憶装置108とサーバ102の間を結ぶ高速なネットワークである。大容量の外部記憶装置108は複数のサーバ108で共有される。サーバ108のディスクドライバ108は、ストレージネットワーク107を介した通信パスを確保して外部記憶装置108に対しデータの書き込みや、読み取りのI/O処理を実行する。ここで、通信パスとはサーバ101のディスクドライバ106からストレージネットワーク107を経由し、外部記憶装置108に接続する通信経路を示す。
The
サーバ101のI/O要求部102は、外部記憶装置108に対するI/Oを要求するためのI/O要求RQを発行するアプリケーション102Aと、サーバ101のキャッシュメモリを効率的に利用し、アクセス速度の遅い外部記憶装置108に対して非同期書き込みを行ない、大容量の外部記憶装置を効率的に管理し、利用するための基本的なOSのサービスであるファイルシステム102Bを含む。この際、ファイルシステム102Bは、他のサーバと同一のサーバである必要はない。
The I /
アプリケーション102Aが発行するI/O要求RQは、I/Oの対象となる外部記憶装置108ヘの通信パスのパス情報、I/O要求RQの内容(Write要求やRead要求等)、I/Oアドレス800等を含んだI/Oを実施するためのI/O情報ADを含んだ要求コマンドであり、このI/O要求RQによって、ディスクドライバ106を制御し、ストレージネットワーク107を介して外部記憶装置108との間のI/Oを実行する。I/O要求部102は、外部記憶装置108へのI/Oを実行する際、負荷分散モジュール105に対しI/O要求RQを発行する。
The I / O request RQ issued by the application 102A includes the path information of the communication path to the
ネットワークドライバ103は、ネットワーク100を介して他のサーバ101に対するデータ及び各種信号の送受信を制御する。負荷分散モジュール105から発行されるI/O要求RQに含まれるI/O情報ADの送付要求や、Wite要求の場合はWriteデータの送付要求を受け取り、他のサーバ101に対しI/O情報AD、又は、I/O情報AD及びWriteデータを送信する。この際、送信先のノード101のオペレーティングシステムが異なる場合、送信先のオペレーティングシステムに適した形式に変換して送信する。又、他のサーバ101からI/O情報ADを受信すると、I/O要求RQを発行させるためのI/O発行要求MRQを負荷分散モジュール105に対し発行する。更に、他ノード101受信するReadデータを受信し、サーバ101の記憶部に送信する。
The
ディスクモジュール106は、負荷分散モジュールから発行されるI/O要求RQに基づき、外部記憶装置108に対しI/O処理を実行する。この際、I/O要求RQにI/O情報ADを参照し、負荷モジュールで選択された通信パスを確保し、I/Oの対象である外部記憶装置108へのWriteデータの書き込みや、Readデータの読み取りを実行する。
The
負荷分散モジュール105は、I/O要求部102から発行されるI/O要求RQに基づいてI/Oに使用する最適の通信パスを選択し、パス情報を付加したI/O要求RQを発行する。
The load distribution module 105 selects an optimum communication path to be used for I / O based on the I / O request RQ issued from the I /
負荷分散105モジュールは、自サーバ101からの通信パスを選択した場合、ディスクドライバ106に、I/O要求RQを発行する。又、他のサーバ101からの通信パスを選択した場合は、ネットワークドライバ103にI/O要求RQに含まれるI/O情報ADの送付要求を発行する。この際、I/O要求RQがWrite要求の場合は、Writeデータの送付要求も併せて発行する。
When the communication path from the
図2に負荷分散モジュール105の構成を示す。負荷分散モジュール105は、I/O要求受付部201、I/O完了通知受付部202、I/O完了部203、I/O発行部204を具備し、それぞれ相互に接続されている。又、I/O要求受付部201、I/O完了通知受付部202、I/O完了部203は、ネットワークドライバ103に接続され、I/O発行部204は、ディスクドライバ106に接続されている。
FIG. 2 shows the configuration of the load distribution module 105. The load distribution module 105 includes an I / O
I/O要求受付部201は、他のサーバ101からI/O情報ADを受信した時にネットワークドライバ103が発行するI/O発行要求MRQを受け付けると、I/O発行要求MRQに基づいたI/O要求RQをI/O発行部204に発行する。この際、Write要求の場合はI/O要求RQをI/O発行部204に発行する。
When receiving the I / O issue request MRQ issued by the
I/O完了通知受付部202は、他のサーバ101に要請しているI/Oが完了したことを示すI/O完了通知NCを、ネットワークドライバ103を経由して他のサーバ101から受け付ける。I/Oの要求がWrite要求でない場合は、I/O完了通知NCとともに、他のサーバ101が外部記憶装置108から読み取ったReadデータを受信する。I/O完了通知NCを受け付けるとI/O完了通知受付部202はI/O完了通知NCをI/O完了部203に発行する。又、他のサーバ101に要請しているI/O処理の結果がエラーであった場合は、ネットワークドライバ103を経由して他のサーバ101が発行するI/Oエラー通知NEを受け付ける。I/Oエラー通知NEを受け付けると、通信パスの変更によってI/Oエラーを回避できるかを判断し、可能である場合はI/O発行部204に対してI/O要求RQを発行する。エラー回避が不可能である場合は、ネットワークドライバ103を経由して上位のサーバ101に対しI/Oエラー通知NEを発行する。
The I / O completion
I/O完了部203は、ディスクドライバ106又はI/O完了通知受付部202からI/O完了通知NCやI/Oエラー通知NEを受け付ける。他のサーバ101から要請されたI/O要求RQに対するI/O完了通知NCをディスクドライバ106から受け付けた場合、I/O完了部203は、ネットワークドライバ103に対してI/O完了通知NCの送付要求を発行する。この際、他のサーバ101からのI/O要求RQがWrite要求の場合はReadデータの送付要求も発行する。I/O要求RQが自サーバ101からの要求の場合は、上位のI/O要求部102にI/O完了通知NCを発行する。
The I /
I/O完了部203はI/Oエラー通知NEを受け付けた場合、I/O要求RQが自サーバ101からの要求であれば、パスの変更によってI/Oエラーを回避できるかを判断し、回避可能である場合はI/O発行部204に対してI/O要求RQを発行する。回避が不可能である場合は上位のI/O要求部102にI/Oエラー通知NEを発行する。他のサーバ101からの要請によるI/O要求RQの場合は、ネットワークドライバ103に対してI/Oエラー通知NEの送付要求を発行する。
When receiving the I / O error notification NE, the I /
I/O発行部204は上位のI/O要求部102、I/O要求受付部201、I/O完了通知受付部202、I/O完了部203からのI/O要求RQにより、最適な通信パスを選択し、選択したパス情報を含むI/O要求RQを発行する。選択した通信パスが自サーバ101からの通信パスである場合は、ディスクドライバ106にI/O要求RQを発行する。この際、I/O要求RQがWrite要求の場合はWriteデータも併せてディスクドライバ106に送信する。
The I /
又、選択した通信パスが他のサーバ101からの通信パスである場合は、ネットワークドライバ103に対して、選択した通信パスを有するサーバ101にI/O要求RQを発行させるため、I/O要求RQに含まれるI/O情報ADの送付要求を発行する。この際、I/O要求RQがWrite要求の場合はWriteデータの送付要求も併せて発行する。
If the selected communication path is a communication path from another
又、他のサーバ101からI/O要求RQの要請を受け付けた場合において、自サーバ101から選択可能な通信パスがない時は、I/Oエラー通知NEの送付要求をネットワークドライバ103に発行する。自サーバ101におけるI/O要求RQの場合においては、上位のI/O要求部102にI/Oエラー通知NEを発行する。
When a request for an I / O request RQ is received from another
I/O発行部204における通信パスの選択は、I/Oアドレス情報800、マッピングテーブル801、パスグループテーブル802及びパス情報803を用いて行なう。図8にI/Oアドレス情報800、マッピングテーブル801、パスグループテーブル802、パス情報803の概念図を示す。
The communication path is selected by the I /
マッピングテーブル802は、どのサーバ101においてもI/Oアドレス情報800をキーとすることにより、一意にパスグループテーブル802を特定する。パスグループテーブル802は同一外部記憶装置108に対する通信パスの集まりであり、同一外部記憶装置108に接続する通信パスである。ネットワーク100によってその通信パスを有するサーバ101と通信が可能であれば、異なるサーバ101との通信パスであっても、登録可能である。パス情報803にはI/O発行要求MRQに必要な情報のほかに、通信パスの経路情報、通信パスを有するサーバ101の情報、そのサーバ101までのネットワーク100の情報等を有する。
The mapping table 802 uniquely specifies the path group table 802 by using the I /
通信パスの選択処理では、I/Oの対象となる外部記憶装置108に対応するパスグループテーブル802とパス情報803を参照して通信パスを選択する。通信パスを選択するパス選択方法については、最も負荷が小さい通信パスを選択する、ラウンドロビンで通信パスを選択する等、使用するシステムにおいて、最適な方法で通信パスを選択する。
In the communication path selection process, a communication path is selected with reference to the path group table 802 and path information 803 corresponding to the
ディスクドライバ106は、I/O発行部204で発行されるI/O要求RQに含まれるパス情報803に基づき、負荷分散モジュール105で選択された通信パスを確保し、ストレージネットワーク107を経由して外部記憶装置108にアクセスし、データのI/O処理を実行する。I/O要求RQがWrite要求の場合、I/O要求RQに含まれるI/O情報ADを参照し、I/Oの対象となる外部記憶装置108のI/Oアドレス上にWriteデータを書き込み、Write要求以外の要求である場合、要求元サーバ101のI/Oアドレス上のデータをReadデータとして抽出する。I/O要求RQが他のサーバ101から要請である場合、ディスクドライバ106は、抽出したReadデータの送付要求をネットワークドライバ104に発行する。
The
ディスクドライバ106はI/O処理が完了すると、I/O完了通知NCをI/O完了部203に発行する。I/O処理が失敗した場合はI/Oエラー通知NEを発行する。I/Oエラー通知NEには、通信パスの障害等のエラー内容が含まれており、I/O完了部は、これを参照してI/Oエラーを回避可能かどうか判断する。
When the I / O processing is completed, the
図3から図7を参照して、本発明による通信パス冗長化システムの動作を説明する。 The operation of the communication path redundancy system according to the present invention will be described with reference to FIGS.
図3に、I/O発行部204の動作の流れ図を示す。I/O発行部204はI/O要求RQを待ちうけ(ステップ300)、I/O要求RQを受け付けるとI/Oアドレス情報800、マッピングテーブル801を参照して、パスグループテーブル802を選択する(ステップ301)。続いて、通信パスを選択するためのパス選択処理を行なう(ステップ302)。
FIG. 3 shows a flowchart of the operation of the I /
I/O発行部204は、ステップ302のパス選択処理において通信パスを選択すると、選択した通信パスのパス情報803を選択した通信パスとして更新する(ステップ304)。選択した通信パスが自サーバ101からの通信パスであれば、ディスクドライバ106に対しパス情報803を含むI/O要求RQを発行し、ステップ300に戻る。(ステップ306)。
When the communication path is selected in the path selection process in
選択した通信パスが他サーバ101からの通信パスであれば、そのI/O要求RQがWrite要求であるかを確認し(ステップ307)、Write要求である場合、選択した他サーバ101がI/O発行要求MRQを発行するために使用するI/O情報AD及びWriteデータの送付要求をネットワークドライバ103に発行し、ステップ300に戻る。(ステップ308)。又、Write要求でない場合、選択した他サーバ101がI/O発行要求MRQを発行するためのI/O情報ADの送付要求をネットワークドライバ103に発行し、ステップ300に戻る。(ステップ309)。
If the selected communication path is a communication path from another
パス選択処理において通信パスを選択できない場合において、I/O発行部204が受け付けたI/O要求RQが他のサーバ101から要請された要求であれば、I/Oエラー通知NEの送付要求をネットワークドライバ103に発行し、ステップ300に戻る。I/O要求RQが自サーバ101からの要求であれば、上位のI/O要求部102にI/Oエラー通知NEを発行し、ステップ300に戻る。
If the communication path cannot be selected in the path selection process and the I / O request RQ accepted by the I /
ステップ302における、パス選択処理の動作の詳細を図4に示す。パス選択処理の際、I/O発行部204は、受信するI/O要求RQが他のサーバ101からの要請かどうかを確認し(ステップ400)、他のサーバ101からの要請によるI/O要求RQである場合、選択したパスグループ802及びパス情報803を参照して自サーバ101からの通信パスを選択する(ステップ401)。この際、全ての通信パスが使用されている、もしくは、障害等で選択可能な通信パスがない場合は、I/Oエラー通知NEの送付要求をネットワークドライバ103に発行する(ステップ405)。ステップ400において、I/O要求RQが自サーバ101からの要求である場合、選択したパスグループ802及びパス情報803を参照して、通信パスを選択する(ステップ402)。この際、全ての通信パスが使用されている、もしくは、障害等で選択可能な通信パスがない場合は、I/Oエラー通知NEを上位のI/O要求部102に送信する(ステップ404)。
Details of the operation of the path selection process in
図5にI/O要求受付部201の動作の流れ図を示す。I/O要求受付部201は、他のサーバ101からのI/O発行要求MRQを待ち受ける(ステップ500)。他のサーバ101から受信されるI/O情報ADを基にネットワークドライバ103が発行するI/O発行要求MRQを受け付けると、I/O要求受付部201は、そのI/O発行要求MRQに基づいたI/O要求RQをI/O発行部に発行する(ステップ501)。
FIG. 5 shows a flowchart of the operation of the I / O
図6に、I/O完了部203の動作の流れ図を示す。I/O完了部203は、I/O完了通知NCを待ち受け(ステップ600)、I/O完了通知NCを受け付けると、I/Oに使用した通信パスのパス情報803を更新し、選択を解除する(ステップ601)。次にI/Oの対象である外部記憶装置108ヘのI/Oが成功したかを確認し(ステップ602)、I/Oが成功した場合、そのI/O要求RQが自サーバ101からの要求である時は、上位のI/O要求部102に対しI/O完了通知NCを発行する。一方、そのI/O要求RQが他のサーバ101からの要請による要求である時、I/OによってWrite動作が完了した場合は、I/O完了通知NCの送付要求をネットワークドライバ103へ発行する(ステップ606)。又、Write動作が完了していない場合は、I/O完了通知NCとReadデータの送付要求をネットワークドライバ103へ発行する(ステップ607)。
FIG. 6 shows a flowchart of the operation of the I /
I/O完了部203は、ステップ602においてI/Oが成功しない場合、受信するI/Oエラー通知NEを参照してエラー内容を確認する(ステップ608)。確認したI/Oエラーがパス障害によるエラーでない場合、他サーバ101からの要請によるI/O要求RQであればI/Oエラー通知NEの送付要求をネットワークドライバ103に発行し(ステップ610)、自サーバ301からのI/O要求RQであれば、上位のI/O要求部102にI/Oエラー通知NEを発行する(ステップ612)。ステップ608においてI/Oエラーがパス障害によるエラーであり、パスの変更によりエラーの回避が可能と判断する場合は、I/O発行部204にI/O要求RQを再発行する(ステップ611)。
If the I / O is not successful in
図7に、I/O完了通知受付部202の動作の流れ図を示す。I/O完了通知受付部202は、他のサーバ101から送られるI/O処理が完了したことを告げるI/O完了通知NC又はI/Oエラー通知NEを待ち受け(ステップ700)、他のサーバ101からのI/O完了通知NC又はI/Oエラー通知NEを受け付けると、そのI/O完了通知NC又はI/Oエラー通知NEを参照し、I/Oが成功したか否かを確認する(ステップ701)。I/Oエラー通知NEを受信すると、I/Oエラー通知NEを参照して障害内容を確認する(ステップ702)。I/Oエラーがパス障害によるエラー又は通信パスの変更によって障害を回避できる場合、I/Oに使用した通信パスのパス情報803を更新し、選択を解除する(ステップ704)。次に、新たな通信パスを選択するため、I/O発行部204にI/O要求RQを発行する(ステップ705)。ステップ702において、I/Oエラーがパス障害によるエラー場合は、上位のI/O要求部102にI/Oエラー通知NEを発行する(ステップ706)。
FIG. 7 shows a flowchart of the operation of the I / O completion
図3から図8を参照して、本発明による通信パス冗長化システムのI/O動作を説明する。本実施の形態においては、ネットワーク100を介し相互に接続されたサーバA101−1とサーバB101−2、及び、ストレージネットワーク107を介して、それぞれのサーバ101と共有接続される外部記憶装置108−1・・108−nを備える通信パス冗長化システムについて説明する。この際、外部記憶装置108−1に対してI/Oを要求するサーバ101をサーバA101−1、外部記憶装置108−1に対する通信パスを冗長化するサーバ101をサーバB101−2とする。
The I / O operation of the communication path redundancy system according to the present invention will be described with reference to FIGS. In the present embodiment, server A 101-1 and server B 101-2 connected to each other via
サーバA101−1から外部記憶装置108−1へのI/O要求RQにおいて、サーバAからの通信パスを選択してI/Oを実行する場合について説明する。 A case where a communication path from the server A is selected and I / O is executed in the I / O request RQ from the server A 101-1 to the external storage device 108-1 will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 refers to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−1に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバA101−1からの通信パス(パス情報803−1に対応)とする。全ての通信パスが使用中、又は、障害の発生等で使用可能な通信パスがない場合、上位のI/O要求部102−1にI/Oエラー通知NEを発行する(ステップ406)。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
通信パスを選択した場合、I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−1に更新し、ディスクドライバ106−1にI/O要求RQを発行する(ステップ304からステップ306)。ディスクドライバ106−1はI/O要求RQのパス情報803−1に基づいた通信パスを使用し、I/O情報ADに含まれるI/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−1は、I/O処理が完了すると、I/O完了部203−1にI/O完了通知NCを発行する。 When the communication path is selected, the I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-1, and issues an I / O request RQ to the disk driver 106-1 (Step S1). 304 to step 306). The disk driver 106-1 uses a communication path based on the path information 803-1 of the I / O request RQ and refers to the I / O information AD included in the I / O information AD to the external storage device 108-1. I / O processing such as writing the write data and reading the read data from the external storage device 108-1 is executed. When the I / O processing is completed, the disk driver 106-1 issues an I / O completion notification NC to the I / O completion unit 203-1.
I/O完了部203−1は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−1を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知NCを発行する(ステップ602からステップ604)。
The I / O completion unit 203-1 updates the path information 803-1 of the communication path used for I / O based on the I / O completion notification NC (
以上のように、サーバA101−1から外部記憶装置108−1に対してI/O要求RQを実施する際、サーバA101−1からの通信パスを選択すると、サーバA101−1は、サーバA101−1からストレージネットワーク107を経由して外部記憶装置108−1まで接続する通信パスを確保してI/Oを実行することができる。
As described above, when performing the I / O request RQ from the server A 101-1 to the external storage device 108-1, if the communication path from the server A 101-1 is selected, the server A 101-1 A communication path connecting from 1 to the external storage device 108-1 via the
サーバA101−1から外部記憶装置108−1へのI/Oにおいて、サーバB101−2からの通信パスを選択してI/Oを実行する場合について説明する。 In the I / O from the server A 101-1 to the external storage device 108-1, a case where the communication path from the server B 101-2 is selected and the I / O is executed will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 refers to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−2に更新する(ステップ304)。I/O要求RQがWrite要求の場合は、ネットワークドライバ103−1に対し、サーバB101−2へI/O要求RQを要請するため、I/O情報AD及びWriteデータの送付要求を発行する(ステップ305からステップ308)。I/O要求RQがWrite要求でない場合は、ネットワークドライバ103−1にサーバBへI/O要求RQを要請するため、I/O情報ADの送付要求を発行する(ステップ309)。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-2 (step 304). When the I / O request RQ is a write request, a request for sending the I / O information AD and the write data is issued to the network driver 103-1 in order to request the server B 101-2 for the I / O request RQ ( Step 305 to Step 308). If the I / O request RQ is not a write request, a request for sending I / O information AD is issued to request the network driver 103-1 for the I / O request RQ to the server B (step 309).
ネットワークドライバ103−1は、送信先のオペレーティングシステムが異なる場合、送信先のオペレーティングシステムに適した形式にI/O情報ADを変換し、ネットワーク100を介してサーバB101−2に送信する。この際、I/O要求RQがWrite要求の場合はWriteデータとともにサーバB101−2に送信する。
When the transmission destination operating system is different, the network driver 103-1 converts the I / O information AD into a format suitable for the transmission destination operating system, and transmits it to the server B 101-2 via the
サーバB101−2のネットワークドライバ103−2は、サーバA101−1から受信するI/O情報ADに基づいたI/O発行要求MRQをI/O要求受付部201−2に発行する。この時、I/O要求RQがWrite要求の場合はWriteデータとともに送信する。 The network driver 103-2 of the server B 101-2 issues an I / O issue request MRQ based on the I / O information AD received from the server A 101-1 to the I / O request reception unit 201-2. At this time, if the I / O request RQ is a write request, it is transmitted together with the write data.
I/O要求受付部201−2は、ネットワークドライバ103−2から受信したI/O発行要求MRQに基づいたI/O要求RQを、I/O発行部204−2に発行する(ステップ501)。I/O発行部204−2では、I/O要求RQのアドレス情報800、マッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O request reception unit 201-2 issues an I / O request RQ based on the I / O issue request MRQ received from the network driver 103-2 to the I / O issue unit 204-2 (step 501). . The I / O issuing unit 204-2 refers to the
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−2は、選択した通信パスのパス情報をパス情報803−2に更新し、ディスクドライバ106−2に対しI/O要求RQを発行する(ステップ304からステップ306)。ディスクドライバ106−2はI/O要求RQのパス情報803−2に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−2は、I/O処理が完了すると、I/O完了部203−2にI/O完了通知NCを発行する。
The I / O issuing unit 204-2 updates the path information of the selected communication path to the path information 803-2, and issues an I / O request RQ to the disk driver 106-2 (from
I/O完了部203−2は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−2を更新する(ステップ600、601)。実行したI/O要求RQがWrite要求である場合は、ネットワークドライバ103−2にサーバA101−1へのI/O完了通知NCの送付要求を発行する(ステップ602からステップ606)。Write要求でない場合は、ネットワークドライバ103−2に対し、サーバA101−1へのI/O完了通知NC及びReadデータの送付要求を発行する(ステップ602からステップ607)。
The I / O completion unit 203-2 updates the path information 803-2 of the communication path used for I / O based on the I / O completion notification NC (
ネットワークドライバ103−2は、ネットワーク経由でサーバA101−1のネットワークドライバ103−1へ、I/O完了通知NCもしくは、I/O完了通知NCとReadデータを送信する。ネットワークドライバ103−1は、受信するI/O完了通知NCもしくは、I/O完了通知NCとReadデータをI/O完了通知受付部202−1に送信する。 The network driver 103-2 transmits the I / O completion notification NC or the I / O completion notification NC and Read data to the network driver 103-1 of the server A 101-1 via the network. The network driver 103-1 transmits the received I / O completion notification NC or the I / O completion notification NC and Read data to the I / O completion notification reception unit 202-1.
I/O完了通知受付部202−1はI/O完了通知NCを受け取ると、I/O完了部203−1にI/O完了通知NCを発行し(ステップ700からステップ703)、使用した通信パスのパス情報803−2を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知NCを発行する(ステップ602からステップ604)。
Upon receiving the I / O completion notification NC, the I / O completion notification reception unit 202-1 issues an I / O completion notification NC to the I / O completion unit 203-1 (from
以上のように、サーバA101−1から外部記憶装置108−1に対してI/O要求を実施する際、最適な通信パスが他のサーバB101−2からの通信パスである時、サーバA101−1は、ネットワーク100を通じてサーバB101−2とI/O要求のために必要な情報をやり取りし、サーバB101−2に通信パスを選択及び確保させ、I/Oを実行させることができる。このため、サーバA101−1から外部記憶装置108−1へ通信パスを確保できない場合でも外部記憶装置108−1に共通接続されているサーバ101があれば、ネットワーク100を介して通信パスを冗長構成することができる。
As described above, when the server A 101-1 performs an I / O request to the external storage device 108-1, when the optimum communication path is a communication path from another server B 101-2, the server A 101- 1 exchanges information necessary for an I / O request with the server B 101-2 through the
サーバA101−1から外部記憶装置108−1へのI/Oにおいて、サーバA101−1からの通信パスを選択してI/Oを実行する際、パス障害によってI/Oエラーが返され、サーバA101−1の通信パスを再選択してI/O要求RQを再発行した場合について説明する。 In the I / O from the server A 101-1 to the external storage device 108-1, when executing the I / O by selecting the communication path from the server A 101-1, an I / O error is returned due to a path failure, and the server A case where the I / O request RQ is reissued by reselecting the communication path A101-1 will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 refers to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−1に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバA101−1からの通信パス(パス情報803−1に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−1に更新し、ディスクドライバ106−1に対しI/O要求RQを発行する(ステップ304からステップ306)。ディスクドライバ106−1はI/O要求RQのパス情報803−1に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。この際、パス障害等によりI/O処理ができない場合、ディスクドライバ106−1は、I/Oエラー通知NEをI/O完了部203−1に発行する。
The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-1, and issues an I / O request RQ to the disk driver 106-1 (from
I/O完了部203−1は、I/Oエラー通知NEからエラー内容を分析し、パス障害によるI/Oエラーである場合、I/O発行部204−1にI/O要求RQを再発行する(ステップ608、611)。又、パス障害以外の理由によるI/Oエラーの場合、上位のI/O要求部102−1にI/Oエラー通知NEを発行する(ステップ608からステップ612)。
The I / O completion unit 203-1 analyzes the error content from the I / O error notification NE, and if an I / O error due to a path failure, retransmits the I / O request RQ to the I / O issue unit 204-1. Issue (
ステップ611において、I/O完了部203−1からI/O要求RQを再発行されたI/O発行部204−1は、受信するI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
In
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−3に対応)を選択する(ステップ400からステップ404)。この際、パス情報803−1が変更されたため、選択可能で且つ最適な通信パスが、サーバA101−1からの通信パス(パス情報803−3に対応)と変更されたとする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−3に更新し、ディスクドライバ106−1に対しI/O要求RQを発行するとともにI/O情報ADを送信する(ステップ304からステップ306)。ディスクドライバ106−1はI/O要求RQのパス情報803−3に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−1は、I/O処理が完了すると、I/O完了部203−1にI/O完了通知NCを発行する。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-3, issues an I / O request RQ to the disk driver 106-1, and transmits the I / O information AD. (Step 304 to Step 306). The disk driver 106-1 uses a communication path based on the path information 803-3 of the I / O request RQ, refers to the I / O information AD, and writes the write data to the external storage device 108-1 or the external storage device. I / O processing such as reading of Read data from 108-1 is executed. When the I / O processing is completed, the disk driver 106-1 issues an I / O completion notification NC to the I / O completion unit 203-1.
I/O完了部203−1は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−3を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知NCを発行する(ステップ602からステップ604)。
The I / O completion unit 203-1 updates the path information 803-3 of the communication path used for I / O based on the I / O completion notification NC (
以上のように、サーバA101−1から外部記憶装置108−1に対してI/Oを実施する際、サーバA101−1からの通信パスを選択し、その通信パスを確保できない場合においても、サーバA101−1の負荷分散モジュール105は、新たな通信パス(ここではサーバA101−1からの通信パス)を選択し、I/O要求RQを再発行して外部記憶装置108−1とのI/Oを実行することができる。 As described above, when I / O is performed from the server A 101-1 to the external storage device 108-1, even when the communication path from the server A 101-1 is selected and the communication path cannot be secured, the server The load distribution module 105 of A 101-1 selects a new communication path (here, the communication path from the server A 101-1), reissues the I / O request RQ, and performs I / O with the external storage device 108-1. O can be executed.
サーバA101−1から外部記憶装置108−1へのI/Oにおいて、サーバA101−1からの通信パスを選択してI/Oを実行する際、パス障害によってI/Oエラーが返され、サーバB101−2の通信パスを再選択してI/O要求RQを再発行した場合について説明する。 In the I / O from the server A 101-1 to the external storage device 108-1, when executing the I / O by selecting the communication path from the server A 101-1, an I / O error is returned due to a path failure, and the server A case where the I / O request RQ is reissued by reselecting the communication path of B101-2 will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 refers to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−1に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバA101−1からの通信パス(パス情報803−1に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−1に更新し、ディスクドライバ106−1に対しI/O要求RQを発行する(ステップ304からステップ306)。ディスクドライバ106−1はI/O要求RQのパス情報803−1に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。この際、パス障害等によりI/O処理ができない場合、ディスクドライバ106−1は、I/Oエラー通知NEをI/O完了部203−1に発行する。
The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-1, and issues an I / O request RQ to the disk driver 106-1 (from
I/O完了部203−1は、I/Oエラー通知NEからエラー内容を分析し、パス障害によるI/Oエラーである場合、I/O発行部204−1にI/O要求RQを再発行する(ステップ608、611)。又、パス障害以外の理由によるI/Oエラーの場合、上位のI/O要求部102−1にI/Oエラー通知NEを発行する(ステップ608からステップ612)。
The I / O completion unit 203-1 analyzes the error content from the I / O error notification NE, and if an I / O error due to a path failure, retransmits the I / O request RQ to the I / O issue unit 204-1. Issue (
ステップ611において、I/O完了部203−1からI/O要求RQを再発行されたI/O発行部204−1は、受信するI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
In
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、パス情報803−1が変更されたため、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)と変更されたとする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−2に更新する(ステップ304)。I/O要求RQがWrite要求の場合は、サーバB101−2へI/O要求RQを要請するため、I/O情報ADとWriteデータの送付要求をネットワークドライバ103−1に発行する(ステップ305からステップ308)。I/O要求RQがWrite要求でない場合は、I/O情報ADの送付要求をネットワークドライバ103−1に発行する(ステップ309)。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-2 (step 304). If the I / O request RQ is a write request, a request for sending the I / O information AD and the write data is issued to the network driver 103-1 in order to request the server B 101-2 for the I / O request RQ (step 305). To step 308). If the I / O request RQ is not a write request, a request for sending the I / O information AD is issued to the network driver 103-1 (step 309).
ネットワークドライバ103−1は、送信先のオペレーティングシステムが異なる場合、送信先のオペレーティングシステムに適した形式にI/O情報ADを変換し、ネットワーク100を介してサーバB101−2に送信する。この際、I/O要求RQがWrite要求の場合はWriteデータとともにサーバB101−2に送信する。
When the transmission destination operating system is different, the network driver 103-1 converts the I / O information AD into a format suitable for the transmission destination operating system, and transmits it to the server B 101-2 via the
サーバB101−2のネットワークドライバ103−2は、サーバA101−1から受信するI/O情報ADを基にしたI/O発行要求MRQを、I/O要求受付部201−2に発行する。又、要請されたI/O要求RQがWrite要求の場合はWriteデータとともに送信する。 The network driver 103-2 of the server B 101-2 issues an I / O issue request MRQ based on the I / O information AD received from the server A 101-1 to the I / O request reception unit 201-2. If the requested I / O request RQ is a write request, it is transmitted together with write data.
I/O要求受付部201−2は、ネットワークドライバ103−2から受信したI/O発行要求MRQに基づき、I/O発行部204−2にI/O要求RQを発行する。(501)I/O発行部では、I/O要求RQのアドレス情報800、マッピングテーブル801を参照して、I/Oの対象である外部記憶装置108−1に対応するパスグループ802−1を選択する(301)。
The I / O request reception unit 201-2 issues an I / O request RQ to the I / O issue unit 204-2 based on the I / O issue request MRQ received from the network driver 103-2. (501) The I / O issuing unit refers to the
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−2は、選択した通信パスのパス情報をパス情報803−2に更新し、ディスクドライバ106−2に対しI/O要求RQを発行する(ステップ304からステップ306)。ディスクドライバ106−2はI/O要求RQのパス情報803−2に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−2は、I/O処理が完了すると、I/O完了部203−2にI/O完了通知NCを発行する。
The I / O issuing unit 204-2 updates the path information of the selected communication path to the path information 803-2, and issues an I / O request RQ to the disk driver 106-2 (from
I/O完了部203−2は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−2を更新する(ステップ600、601)。実行したI/O要求RQがWrite要求である場合は、ネットワークドライバ103−2にサーバA101−1へのI/O完了通知NCの送付要求を発行する(ステップ602からステップ606)。Write要求でない場合は、ネットワークドライバ103−2に対し、サーバA101−1へのI/O完了通知NC及びReadデータの送付要求を発行する(ステップ602からステップ607)。
The I / O completion unit 203-2 updates the path information 803-2 of the communication path used for I / O based on the I / O completion notification NC (
ネットワークドライバ103−2は、ネットワーク経由でサーバA101−1のネットワークドライバ103−1へ、I/O完了通知NCもしくは、I/O完了通知NCとReadデータを送信する。ネットワークドライバ103−1は、受信するI/O完了通知NCもしくは、I/O完了通知NCとReadデータをI/O完了通知受付部202−1に送信する。 The network driver 103-2 transmits the I / O completion notification NC or the I / O completion notification NC and Read data to the network driver 103-1 of the server A 101-1 via the network. The network driver 103-1 transmits the received I / O completion notification NC or the I / O completion notification NC and Read data to the I / O completion notification reception unit 202-1.
I/O完了通知受付部202−1はI/O完了通知を受け取ると、I/O完了部203−1にI/O完了通知を発行し(ステップ700からステップ703)、使用した通信パスのパス情報803−2を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知を発行する(ステップ602からステップ604)。
Upon receipt of the I / O completion notification 202-1, the I / O completion notification reception unit 202-1 issues an I / O completion notification to the I / O completion unit 203-1 (from
以上のように、サーバA101−1から外部記憶装置108−1に対してI/O要求を実施する際、サーバA101−1からの通信パスを選択し、その通信パスを確保できない場合においても、サーバA101−1の負荷分散モジュール105は、新たな通信パス(ここではサーバB101−2からの通信パス)を選択し、ネットワーク100を通じてサーバB101−2とI/O要求のために必要な情報をやり取りし、サーバB101−2に通信パスを選択及び確保させ、I/Oを実行させることができる。このため、サーバA101−1から外部記憶装置108−1へ通信パスを確保に失敗し、且つ、サーバA101−1からの通信パスが最適できない場合でも、外部記憶装置108−1に共通接続されているサーバ101があれば、ネットワーク100を介して通信パスを冗長構成することができる。
As described above, when performing an I / O request from the server A 101-1 to the external storage device 108-1, even when a communication path from the server A 101-1 is selected and the communication path cannot be secured, The load distribution module 105 of the server A 101-1 selects a new communication path (here, the communication path from the server B 101-2), and sends information necessary for an I / O request with the server B 101-2 through the
サーバA101−1から外部記憶装置108−1へのI/Oにおいて、サーバB101−2からの通信パスを選択してI/Oを実行する際、パス障害によってI/Oエラーが返され、サーバB101−2において通信パスを再選択してI/O要求RQを再発行した場合について説明する。 In the I / O from the server A 101-1 to the external storage device 108-1, when selecting the communication path from the server B 101-2 and executing the I / O, an I / O error is returned due to a path failure, and the server A case where the communication path is reselected and the I / O request RQ is reissued in B101-2 will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照してパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 selects the path group 802-1 with reference to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−2に更新する(ステップ304)。I/O要求RQがWrite要求の場合は、サーバB101−2へI/O要求RQを要請するため、I/O情報ADとWriteデータの送付要求をネットワークドライバ103−1に発行する(ステップ305からステップ308)。I/O要求RQがWrite要求でない場合は、I/O情報ADの送付要求をネットワークドライバ103−1に発行する(ステップ309)。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-2 (step 304). If the I / O request RQ is a write request, a request for sending the I / O information AD and the write data is issued to the network driver 103-1 in order to request the server B 101-2 for the I / O request RQ (step 305). To step 308). If the I / O request RQ is not a write request, a request for sending the I / O information AD is issued to the network driver 103-1 (step 309).
ネットワークドライバ103−1は、送信先のオペレーティングシステムが異なる場合、送信先のオペレーティングシステムに適した形式にI/O情報ADを変換し、ネットワーク100を介してサーバB101−2に送信する。この際、I/O要求RQがWrite要求の場合はWriteデータとともにサーバB101−2に送信する。
When the transmission destination operating system is different, the network driver 103-1 converts the I / O information AD into a format suitable for the transmission destination operating system, and transmits it to the server B 101-2 via the
サーバB101−2のネットワークドライバ103−2は、サーバA101−1から受信するI/O情報ADに基づいたI/O発行要求MRQをI/O要求受付部201−2に発行する。又、I/O要求RQがWrite要求の場合はWriteデータとともに送信する。 The network driver 103-2 of the server B 101-2 issues an I / O issue request MRQ based on the I / O information AD received from the server A 101-1 to the I / O request reception unit 201-2. When the I / O request RQ is a write request, it is transmitted together with write data.
I/O要求受付部201−2は、ネットワークドライバ103−2から受信したI/O発行要求MRQに基づき、I/O発行部204−2にI/O要求RQを発行する。(501)I/O発行部では、I/O要求RQのアドレス情報800、マッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(301)。
The I / O request reception unit 201-2 issues an I / O request RQ to the I / O issue unit 204-2 based on the I / O issue request MRQ received from the network driver 103-2. (501) The I / O issuing unit refers to the
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−2は、選択した通信パスのパス情報をパス情報803−2に更新し、ディスクドライバ106−2に対しI/O要求RQを発行するとともにI/O情報ADを送信する(ステップ304からステップ306)。ディスクドライバ106−2はI/O要求RQのパス情報803−2に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。この際、パス障害等によりI/O処理ができない場合、ディスクドライバ106−2は、I/Oエラー通知NEをI/O完了部203−2に発行する。 The I / O issuing unit 204-2 updates the path information of the selected communication path to the path information 803-2, issues an I / O request RQ to the disk driver 106-2, and transmits the I / O information AD. (Step 304 to Step 306). The disk driver 106-2 uses a communication path based on the path information 803-2 of the I / O request RQ, refers to the I / O information AD, and writes the write data to the external storage device 108-1, or the external storage I / O processing such as reading of Read data from the device 108-1 is executed. At this time, if the I / O processing cannot be performed due to a path failure or the like, the disk driver 106-2 issues an I / O error notification NE to the I / O completion unit 203-2.
I/O完了部203−2は、I/Oエラー通知NEからエラー内容を分析し、パス障害によるI/Oエラーである場合、I/O発行部204−2にI/O要求RQを再発行する(ステップ608、611)。又、パス障害以外の理由によるI/Oエラーの場合、他サーバA101−1からのI/Oの要求であるため、ネットワークドライバ103−2にI/Oエラー通知NEの送付要求を発行する(ステップ608からステップ610)。
The I / O completion unit 203-2 analyzes the error content from the I / O error notification NE, and if the I / O error is due to a path failure, the I / O request unit 204-2 retransmits the I / O request RQ. Issue (
ステップ611において、I/O完了部203−2からI/O要求RQを再発行されたI/O発行部204−2は、受信するI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照してI/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
In
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−4に対応)を選択する(ステップ400からステップ404)。この際、パス情報803−2が変更されたため、選択可能で且つ最適な通信パスが、サーバB101−1からの通信パス(パス情報803−4に対応)と変更されたとする。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−2は、選択した通信パスのパス情報をパス情報803−4に更新し、ディスクドライバ106−2に対しI/O要求RQを発行するとともにI/O情報ADを送信する(ステップ304からステップ306)。ディスクドライバ106−2はI/O要求RQのパス情報803−4に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−2は、I/O処理が完了すると、I/O完了部203−2にI/O完了通知NCを発行する。 The I / O issuing unit 204-2 updates the path information of the selected communication path to the path information 803-4, issues an I / O request RQ to the disk driver 106-2, and transmits the I / O information AD. (Step 304 to Step 306). The disk driver 106-2 uses a communication path based on the path information 803-4 of the I / O request RQ, refers to the I / O information AD, and writes the write data to the external storage device 108-1, or the external storage I / O processing such as reading of Read data from the device 108-1 is executed. When the I / O processing is completed, the disk driver 106-2 issues an I / O completion notification NC to the I / O completion unit 203-2.
I/O完了部203−2は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−2を更新する(ステップ600、601)。実行したI/O要求RQがWrite要求である場合は、ネットワークドライバ103−2にサーバA101−1へのI/O完了通知NCの送付要求を発行する(ステップ602からステップ606)。Write要求でない場合は、ネットワークドライバ103−2に対し、サーバA101−1へのI/O完了通知NC及びReadデータの送付要求を発行する(ステップ602からステップ607)。
The I / O completion unit 203-2 updates the path information 803-2 of the communication path used for I / O based on the I / O completion notification NC (
ネットワークドライバ103−2は、ネットワーク経由でサーバA101−1のネットワークドライバ103−1へ、I/O完了通知NCもしくは、I/O完了通知NCとReadデータを送信する。ネットワークドライバ103−1は、受信するI/O完了通知NCもしくは、I/O完了通知NCとReadデータをI/O完了通知受付部202−1に送信する。 The network driver 103-2 transmits the I / O completion notification NC or the I / O completion notification NC and Read data to the network driver 103-1 of the server A 101-1 via the network. The network driver 103-1 transmits the received I / O completion notification NC or the I / O completion notification NC and Read data to the I / O completion notification reception unit 202-1.
I/O完了通知受付部202−1はI/O完了通知NCを受け取ると、I/O完了部203−1にI/O完了通知NCを発行し(ステップ700からステップ703)、使用した通信パスのパス情報803−2を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知NCを発行する(ステップ602からステップ604)。
Upon receiving the I / O completion notification NC, the I / O completion notification reception unit 202-1 issues an I / O completion notification NC to the I / O completion unit 203-1 (from
サーバA101−1から外部記憶装置108−1に対してI/Oを実施する際、サーバA101−1は、ネットワーク100を通じてサーバB101−2に通信パスを確保させ、外部記憶装置108−1とのI/Oを実行させる。この時、サーバB101−2が選択した通信パスが障害等で使用できずI/Oエラーとなった場合、サーバA101−1までI/Oエラー通知NEを返さずにサーバB101−2で再び最適な通信パスを再選択してI/O要求RQを再発行することができる。この際、最適なな通信パスが別のサーバn101−nからの通信パスである場合、サーバn101−nからの通信パスを選択し、サーバn101−nへI/O情報ADを送信してI/Oを実行させる。
When performing I / O from the server A 101-1 to the external storage device 108-1, the server A 101-1 secures a communication path to the server B 101-2 through the
サーバA101−1から外部記憶装置108−1へのI/Oにおいて、サーバB101−2からの通信パスを選択してI/Oを実行する際、パス障害によってI/Oエラーが返され、サーバB101−2において選択可能な通信パスなくなり、サーバA101−1においてI/O要求RQを再発行した場合について説明する。 In the I / O from the server A 101-1 to the external storage device 108-1, when selecting the communication path from the server B 101-2 and executing the I / O, an I / O error is returned due to a path failure, and the server A case where there is no communication path that can be selected in B101-2 and the server A101-1 reissues the I / O request RQ will be described.
サーバA101−1のI/O要求部102−1は、外部記憶装置108−1に対するI/O要求RQを負荷分散モジュール105−1のI/O発行部204−1に発行する。I/O発行部204−1では、I/O要求RQに含まれるI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照してパスグループ802−1を選択する(ステップ301)。
The I / O request unit 102-1 of the server A 101-1 issues an I / O request RQ for the external storage device 108-1 to the I / O issue unit 204-1 of the load distribution module 105-1. The I / O issuing unit 204-1 selects the path group 802-1 with reference to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−2に更新する(ステップ304)。I/O要求RQがWrite要求の場合は、サーバB101−2へI/O要求を要請するため、I/O情報ADとWriteデータの送付要求をネットワークドライバ103−1に発行する(ステップ305からステップ308)。I/O要求RQがWrite要求でない場合は、I/O情報ADの送付要求をネットワークドライバ103−1に発行する(ステップ309)。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-2 (step 304). If the I / O request RQ is a write request, a request for sending the I / O information AD and the write data is issued to the network driver 103-1 in order to request the server B 101-2 for the I / O request (from step 305). Step 308). If the I / O request RQ is not a write request, a request for sending the I / O information AD is issued to the network driver 103-1 (step 309).
ネットワークドライバ103−1は、送信先のオペレーティングシステムが異なる場合、送信先のオペレーティングシステムに適した形式にI/O情報ADを変換し、ネットワーク100を介してサーバB101−2に送信する。この際、I/O要求RQがWrite要求の場合はWriteデータとともにサーバB101−2に送信する。
When the transmission destination operating system is different, the network driver 103-1 converts the I / O information AD into a format suitable for the transmission destination operating system, and transmits it to the server B 101-2 via the
サーバB101−2のネットワークドライバ103−2は、サーバA101−1から受信するI/O情報ADに基づいたI/O発行要求MRQをI/O要求受付部201−2に発行する。又、I/O要求RQがWrite要求の場合はWriteデータとともに送信する。 The network driver 103-2 of the server B 101-2 issues an I / O issue request MRQ based on the I / O information AD received from the server A 101-1 to the I / O request reception unit 201-2. When the I / O request RQ is a write request, it is transmitted together with write data.
I/O要求受付部201−2は、ネットワークドライバ103−2から受信したI/O発行要求MRQに基づき、I/O発行部204−2にI/O要求RQを発行する。(501)I/O発行部では、I/O要求RQのアドレス情報800、マッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(301)。
The I / O request reception unit 201-2 issues an I / O request RQ to the I / O issue unit 204-2 based on the I / O issue request MRQ received from the network driver 103-2. (501) The I / O issuing unit refers to the
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パス(パス情報803−2に対応)を選択する(ステップ400からステップ404)。この際、選択可能で且つ最適な通信パスが、サーバB101−2からの通信パス(パス情報803−2に対応)とする。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−2は、選択した通信パスのパス情報をパス情報803−2に更新し、ディスクドライバ106−2に対しI/O要求RQを発行するとともにI/O情報ADを送信する(ステップ304からステップ306)。ディスクドライバ106−2はI/O要求RQのパス情報803−2に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや、外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。この際、パス障害等によりI/O処理ができない場合、ディスクドライバ106−2は、I/Oエラー通知NEをI/O完了部203−2に発行する。 The I / O issuing unit 204-2 updates the path information of the selected communication path to the path information 803-2, issues an I / O request RQ to the disk driver 106-2, and transmits the I / O information AD. (Step 304 to Step 306). The disk driver 106-2 uses a communication path based on the path information 803-2 of the I / O request RQ, refers to the I / O information AD, and writes the write data to the external storage device 108-1, or the external storage I / O processing such as reading of Read data from the device 108-1 is executed. At this time, if the I / O processing cannot be performed due to a path failure or the like, the disk driver 106-2 issues an I / O error notification NE to the I / O completion unit 203-2.
I/O完了部203−2は、I/Oエラー通知NEからエラー内容を分析し、パス障害によるI/Oエラーである場合、I/O発行部204−2に対しI/O要求RQを再発行する(ステップ608、611)。又、パス障害以外の理由によるI/Oエラーの場合は、I/Oの要求が他サーバA101−1から要請されたI/O要求であるため、I/Oエラー通知NEの送付要求をネットワークドライバ103−2に発行する(ステップ608からステップ610)。
The I / O completion unit 203-2 analyzes the error content from the I / O error notification NE, and if it is an I / O error due to a path failure, sends an I / O request RQ to the I / O issue unit 204-2. It is reissued (
ステップ611において、I/O完了部203−2からI/O要求RQを再発行されたI/O発行部204−2は、受信するI/O情報ADに対応するI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
In
パス選択処理(ステップ302)において、I/O発行部204−2は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバB101−2からの通信パスを選択する(ステップ400からステップ404)。この際、全ての通信パスが使用中、又は、障害の発生等で使用可能な通信パスがない場合、I/Oエラー通知NEの送付要求をネットワークドライバ103−2へ発行する。(ステップ405)。ネットワークドライバ103−2は、I/Oエラー通知NEをネットワーク100を介してサーバA101−1のネットワークドライバ103−1に送信する。
In the path selection process (step 302), the I / O issuing unit 204-2 refers to the path information 803 of the path group table 802-1 selected in
サーバA101−1のネットワークドライバ103−1は受信したI/Oエラー通知NEをI/O完了通知受付部202−1に発行する。I/O完了通知受付部202−1は、I/Oエラー通知NEを参照して障害内容を確認する(ステップ700からステップ702)。I/Oエラーがパス障害である場合、I/Oに使用した通信パスのパス情報803−2を更新する(ステップ704)。次に、I/O完了通知受付部202−1は、新たな通信パスを選択するため、I/O発行部204−1にI/O要求RQを再発行するとともにI/O情報ADを送信する(ステップ705)。
The network driver 103-1 of the server A 101-1 issues the received I / O error notification NE to the I / O completion notification reception unit 202-1. The I / O completion notification reception unit 202-1 refers to the I / O error notification NE and confirms the content of the failure (from
I/O完了通知受付部202−1からI/O要求RQを再発行されたI/O発行部204−1は、I/O要求RQのI/Oアドレス情報800とマッピングテーブル801を参照して、I/Oの対象となる外部記憶装置108−1に対応するパスグループ802−1を選択する(ステップ301)。
The I / O issuing unit 204-1 that has been reissued the I / O request RQ from the I / O completion notification receiving unit 202-1 refers to the I /
パス選択処理(ステップ302)において、I/O発行部204−1は、ステップ301で選択したパスグループテーブル802−1のパス情報803を参照し、サーバA101−1からの通信パス(パス情報803−3に対応)を選択する(ステップ400からステップ404)。この際、パス情報803−2が変更されたため、選択可能で且つ最適な通信パスが、サーバA101−1からの通信パス(パス情報803−3に対応)と変更されたとする。
In the path selection process (step 302), the I / O issuing unit 204-1 refers to the path information 803 of the path group table 802-1 selected in
I/O発行部204−1は、選択した通信パスのパス情報をパス情報803−3に更新し、ディスクドライバ106−1に対しI/O要求RQを発行するとともにI/O情報ADを送信する(ステップ304からステップ306)。ディスクドライバ106−1はI/O要求RQのパス情報803−3に基づいた通信パスを使用し、I/O情報ADを参照して外部記憶装置108−1ヘのWriteデータ書き込みや外部記憶装置108−1からのReadデータの読み込み等のI/O処理を実行する。ディスクドライバ106−1は、I/O処理が完了すると、I/O完了部203−1にI/O完了通知NCを発行する。 The I / O issuing unit 204-1 updates the path information of the selected communication path to the path information 803-3, issues an I / O request RQ to the disk driver 106-1, and transmits the I / O information AD. (Step 304 to Step 306). The disk driver 106-1 uses a communication path based on the path information 803-3 of the I / O request RQ, refers to the I / O information AD, and writes the write data to the external storage device 108-1 or the external storage device. I / O processing such as reading of Read data from 108-1 is executed. When the I / O processing is completed, the disk driver 106-1 issues an I / O completion notification NC to the I / O completion unit 203-1.
I/O完了部203−1は、I/O完了通知NCに基づきI/Oに使用した通信パスのパス情報803−3を更新する(ステップ600、601)。I/O処理が成功であると、上位のI/O要求部102−1にI/O完了通知NCを発行する(ステップ602からステップ604)。
The I / O completion unit 203-1 updates the path information 803-3 of the communication path used for I / O based on the I / O completion notification NC (
サーバA101−1から外部記憶装置108−1へのI/Oを実施する際、サーバB101−2に通信パスを確保させ、外部記憶装置108−1とのI/Oを実行させる。サーバB101−2が選択した通信パスが障害等で使用できずI/Oエラーとなり、且つ、サーバB101−1で再選択可能な通信パスが確保できない場合、サーバA101−1までI/Oエラー通知NEを返し、再びサーバA101−1からの通信パスを再選択してI/O要求を再発行することができる。この際、選択可能な最適な通信パスが別のサーバn101−nからの通信パスである場合、サーバn101−nからの通信パスを選択し、サーバn101−nへI/O情報ADを送信してI/Oを実行させる。 When performing I / O from the server A 101-1 to the external storage device 108-1, the server B 101-2 is secured with a communication path, and I / O with the external storage device 108-1 is executed. If the communication path selected by the server B 101-2 cannot be used due to a failure or the like and an I / O error occurs and a re-selectable communication path cannot be secured in the server B 101-1, an I / O error notification is sent to the server A 101-1. NE is returned, and the I / O request can be reissued by selecting again the communication path from the server A 101-1. At this time, when the optimum selectable communication path is a communication path from another server n101-n, the communication path from the server n101-n is selected and the I / O information AD is transmitted to the server n101-n. To execute I / O.
以上により、ネットワーク100で接続された複数サーバ101間でストレージネットワーク107を介して共通接続される外部記憶装置108に対する通信パスを冗長化し、I/Oの負荷分散を可能にすることができる。
As described above, the communication path to the
又、1つのサーバ101から外部記憶装置108に対する通信パスが全て使用できない場合においても、ネットワーク100で接続された外部記憶装置108に接続しているサーバ101にI/O要求RQを送付することによって、外部記憶装置108に対するI/Oを継続することができる。
Even when all communication paths from one
更に複数のサーバ101から外部記憶装置108に接続する複数の通信パスからI/Oに最適なパスを選択することにより、単一サーバ101からの通信パスのみでパスを選択するよりも、より望ましいパスを選択することができる。
Further, by selecting the optimum path for I / O from a plurality of communication paths connected to the
以上、本発明の実施の形態を詳述してきたが、具体的な構成は上記実施の形態に限られるものではなく、本発明の要旨を逸脱しない範囲の変更があっても本発明に含まれる。 The embodiment of the present invention has been described in detail above, but the specific configuration is not limited to the above-described embodiment, and changes within a scope not departing from the gist of the present invention are included in the present invention. .
100: ネットワーク
101: サーバ
102: I/O要求部
102A: アプリケーション
102B: ファイルシステム
103: ネットワークドライバ
105: 負荷分散モジュール
106: ディスクドライバ
107: ストレージネットワーク
108: 外部記憶装置
201: I/O完了受付部
202: I/O完了通知受付部
203: I/O完了部
204: I/O発行部
RQ: I/O要求
MRQ: I/O発行要求MRQ
DT: I/O情報AD
NC: I/O完了通知
NE: I/Oエラー通知NE
DESCRIPTION OF SYMBOLS 100: Network 101: Server 102: I / O request part 102A:
DT: I / O information AD
NC: I / O completion notification NE: I / O error notification NE
Claims (33)
ネットワークにそれぞれ接続される複数のサーバと、
前記複数のサーバに接続されるストレージネットワークと、
前記複数のサーバと前記ストレージネットワークを介して共有接続される外部記憶装置とを備え、
前記複数のサーバの各々は、前記ストレージネットワークを介して前記外部記憶装置への入出力を実行し、
前記各サーバは、前記各サーバと前記外部記憶装置との間における負荷状態に応じて、前記ネットワークを介して前記複数のサーバにおける他のサーバのいずれかを制御して、前記他のサーバから前記ストレージネットワークを経由し、前記外部記憶装置に接続する通信経路である通信パスを確保させ、前記外部記憶装置への入出力を実行する
通信パスの冗長化システム。 Network,
Multiple servers each connected to the network;
A storage network connected to the plurality of servers;
An external storage device shared and connected via the storage network with the plurality of servers,
Each of the plurality of servers executes input / output to the external storage device via the storage network,
Each server in response to said load state between the respective servers and the external storage device, and controls one of the other servers in the plurality of servers over the previous SL network, from said another server A communication path redundancy system for securing a communication path as a communication path connected to the external storage device via the storage network and executing input / output to the external storage device.
ネットワークにそれぞれ接続される複数のサーバと、
前記複数のサーバに接続されるストレージネットワークと、
前記複数のサーバと前記ストレージネットワークを介して共有接続される外部記憶装置とを備え、
前記複数のサーバは、第1のサーバを含み、
前記第1のサーバは、前記ネットワークを介して前記複数のサーバのいずれか1つのサーバを制御して、前記サーバから前記ストレージネットワークを経由し、前記外部記憶装置に接続する通信経路である通信パスを確保させ、前記外部記憶装置への入出力を実行し、
前記第1のサーバは、前記入出力を実行するためのI/O要求を発行し、
前記I/O要求は、前記通信パスの情報であるパス情報を含み、
前記第1のサーバは、前記I/O要求の複数のパス情報を参照して、最適な通信パスを選択し、前記最適な通信パスを確保して前記外部記憶装置との入出力を実行する
通信パスの冗長化システム。 Network,
Multiple servers each connected to the network;
A storage network connected to the plurality of servers;
An external storage device shared and connected via the storage network with the plurality of servers,
The plurality of servers includes a first server;
The first server controls any one of the plurality of servers via the network, and is a communication path that is a communication path that connects the server to the external storage device via the storage network. And execute input / output to the external storage device,
The first server issues an I / O request for executing the input / output,
The I / O request includes path information that is information of the communication path,
The first server refers to a plurality of path information of the I / O request, selects an optimum communication path, secures the optimum communication path, and executes input / output with the external storage device Communication path redundancy system.
前記複数のサーバは、第2のサーバを含み、
前記第1のサーバは、前記最適な通信パスとして前記第2のサーバと前記外部記憶装置との間の通信パスを選択し、前記第2のサーバに入出力を実行させるための情報であるI/O情報を前記I/O要求から抽出し、前記I/O情報を前記ネットワークを介して前記第2のサーバに送信し、
前記第2のサーバは、前記I/O情報から前記入出力を実行するためのI/O要求を発行し、前記I/O要求の複数のパス情報を参照して、前記第2のサーバと前記外部記憶装置との間の最適な通信パスを選択し、前記最適な通信パスを確保して前記入出力を実行する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 2,
The plurality of servers includes a second server;
The first server is information for selecting a communication path between the second server and the external storage device as the optimal communication path, and causing the second server to perform input / output. / O information is extracted from the I / O request, and the I / O information is transmitted to the second server via the network;
The second server issues an I / O request for executing the input / output from the I / O information, refers to a plurality of path information of the I / O request, and A communication path redundancy system that selects an optimum communication path with the external storage device, secures the optimum communication path, and executes the input / output.
前記I/O要求はWrite要求であり、前記第1のサーバは、前記I/O要求に基づくWriteデータを前記第2のサーバに送信し、
前記第2のサーバは、前記入出力において前記Writeデータを、前記I/O情報に対応する前記外部記憶装置のアドレス上に書き込む
通信パスの冗長化システム。 In the communication path redundancy system according to claim 3,
The I / O request is a write request, and the first server transmits write data based on the I / O request to the second server;
The communication path redundancy system, wherein the second server writes the write data on the input / output on the address of the external storage device corresponding to the I / O information.
前記I/O要求はWrite要求以外の要求であり、
前記第2のサーバは、前記入出力において前記I/O要求に基づくReadデータを、前記I/O情報に対応する前記外部記憶装置のアドレス上から読み取り、前記第1のサーバに送信する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 3,
The I / O request is a request other than the Write request,
The second server reads Read data based on the I / O request in the input / output from the address of the external storage device corresponding to the I / O information, and transmits the read data to the first server.
Communication path redundancy system.
前記入出力が終了すると前記第2のサーバは、前記ネットワークを介して前記第1のサーバに入出力が終了したことを示すI/O完了通知を送信する
通信パスの冗長化システム。 In the communication path redundancy system according to any one of claims 3 to 5,
When the input / output is completed, the second server transmits an I / O completion notification indicating that the input / output is completed to the first server via the network.
前記入出力が完了せず、エラーとなる場合、前記第2のサーバは前記I/O要求のパス情報を更新し、
通信パスを変更することでエラーを回避できると判断すると、前記第2のサーバは、前記I/O要求に基づいて、前記第2のサーバと前記外部記憶装置との間の最適な通信パスを選択し、前記最適な通信パスを確保して前記入出力を実行する
通信パスの冗長化システム。 In the communication path redundancy system according to any one of claims 3 to 6,
When the input / output is not completed and an error occurs, the second server updates the path information of the I / O request,
If it is determined that the error can be avoided by changing the communication path, the second server determines an optimum communication path between the second server and the external storage device based on the I / O request. A communication path redundancy system that selects and executes the input / output while securing the optimum communication path.
前記第2のサーバは、前記最適な通信パスを選択できない場合、前記入出力の結果がエラーであることを示すI/Oエラー通知を、前記ネットワークを介して前記第1のサーバに送信する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 7,
When the second server cannot select the optimum communication path, the second server transmits an I / O error notification indicating that the input / output result is an error to the first server via the network. Path redundancy system.
前記入出力が完了せず、エラーとなる場合、前記第2のサーバは前記I/O要求のパス情報を更新し、
通信パスを変更することでエラーを回避できない場合、前記第2のサーバは、前記ネットワークを介して前記入出力の結果がエラーであることを示すI/Oエラー通知を前記第1のサーバに送信する
通信パスの冗長化システム。 The communication path redundancy system according to claim 7 or 8,
When the input / output is not completed and an error occurs, the second server updates the path information of the I / O request,
If the error cannot be avoided by changing the communication path, the second server sends an I / O error notification indicating that the input / output result is an error to the first server via the network. Yes Communication path redundancy system.
前記第1のサーバは、前記I/Oエラー通知を受信すると、前記I/O要求のパス情報を更新し、前記I/O要求に基づいて、新たに前記複数のサーバのうちいずれか一つのサーバと前記外部記憶装置との間の最適な通信パスを選択し、前記通信パスを確保して前記入出力を実行する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 8 or 9,
When the first server receives the I / O error notification, the first server updates path information of the I / O request, and based on the I / O request, newly adds one of the plurality of servers. A communication path redundancy system that selects an optimal communication path between a server and the external storage device, secures the communication path, and executes the input / output.
前記第1のサーバは、前記最適な通信パスとして前記第1のサーバと前記外部記憶装置との間の通信パスを選択し、前記通信パスを確保して前記入出力を実行する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 10,
The first server selects a communication path between the first server and the external storage device as the optimal communication path, secures the communication path, and executes the input / output. Communication path redundancy System.
前記入出力が完了せず、エラーとなる場合、前記第1のサーバは前記I/O要求のパス情報を更新し、
通信パスを変更することでエラーを回避できる場合、前記第2のサーバは前記I/O要求に基づいて、前記第1のサーバと前記外部記憶装置との間の最適な通信パスを選択し、前記最適な通信パスを確保して前記入出力を実行する
通信パスの冗長化システム。 In the communication path redundancy system according to claim 11,
When the input / output is not completed and an error occurs, the first server updates the path information of the I / O request,
If the error can be avoided by changing the communication path, the second server selects an optimal communication path between the first server and the external storage device based on the I / O request, A communication path redundancy system that secures the optimum communication path and executes the input / output.
前記第1のサーバは、前記最適な通信パスを選択できない場合、前記入出力を終了する
通信パスの冗長化システム。 The communication path redundancy system according to claim 12,
The communication path redundancy system, wherein the first server terminates the input / output when the optimum communication path cannot be selected.
自サーバからストレージネットワークを介して外部記憶装置への入出力を実行するためのI/O要求を発行するI/O要求部と、
前記ネットワークドライバと前記I/O要求部とに接続される負荷分散モジュールとを備え、
前記負荷分散モジュールは、
前記I/O要求に基づき、前記外部記憶装置までの最適な通信パスを選択し、前記最適な通信パスのパス情報を更新したI/O要求を発行するI/O発行部を備え、
前記最適な通信パスが、前記他サーバと前記外部記憶装置との間の通信パスである場合、
前記I/O発行部は、前記他サーバに前記入出力を実行させるための情報であるI/O情報を前記I/O要求から抽出し、前記I/O情報を前記他サーバへ送付するための送付要求をネットワークドライバに対し発行し、
前記ネットワークドライバは、前記送付要求に基づき前記I/O情報を前記他サーバに送信して、前記他サーバに前記通信パスを確保させて前記入出力を実行する
サーバ。 A network driver connected to another server via the network;
An I / O request unit that issues an I / O request for executing input / output from the local server to the external storage device via the storage network;
A load distribution module connected to the network driver and the I / O request unit;
The load balancing module is
An I / O issuing unit that selects an optimum communication path to the external storage device based on the I / O request and issues an I / O request in which path information of the optimum communication path is updated;
When the optimum communication path is a communication path between the other server and the external storage device,
The I / O issuing unit extracts I / O information, which is information for causing the other server to execute the input / output, from the I / O request, and sends the I / O information to the other server. Issue a send request to the network driver,
The network driver transmits the I / O information to the other server based on the sending request, causes the other server to secure the communication path, and executes the input / output.
前記ストレージネットワークを介して前記外部記憶装置に接続されるディスクドライバを備え、
前記負荷分散モジュールは、前記ネットワークと前記I/O発行部とに接続されるI/O要求受付部を備え、
前記ネットワークドライバは、前記ネットワークを経由して他サーバから受信する前記I/O情報を前記I/O要求受付部に送信し、
前記I/O要求受付部は、前記I/O情報に基づいたI/O要求を前記I/O発行部に発行し、
前記I/O発行部は、前記I/O要求のパス情報を参照し、自サーバと前記外部記憶装置との間の最適な通信パスを選択し、前記最適な通信パスのパス情報を更新したI/O要求を前記ディスクドライバに発行し、
前記ディスクドライバは、前記I/O要求に基づき前記最適な通信パスを確保して前記他サーバから前記外部記憶装置への入出力を実行する
サーバ。 The server according to claim 14, wherein
A disk driver connected to the external storage device via the storage network;
The load distribution module includes an I / O request accepting unit connected to the network and the I / O issuing unit,
The network driver transmits the I / O information received from another server via the network to the I / O request reception unit,
The I / O request accepting unit issues an I / O request based on the I / O information to the I / O issuing unit,
The I / O issuing unit refers to the path information of the I / O request, selects an optimal communication path between the server and the external storage device, and updates the path information of the optimal communication path Issue an I / O request to the disk driver;
The disk driver is a server that secures the optimum communication path based on the I / O request and executes input / output from the other server to the external storage device.
負荷分散モジュールは、前記ディスクドライバが前記入出力を終了すると、入出力が終了したことを示すI/O完了通知を前記ネットワークドライバに対し発行するI/O完了部を更に備え、
前記ネットワークドライバは、前記他サーバに対し前記I/O完了通知を送信する
サーバ。 The server according to claim 15, wherein
The load distribution module further includes an I / O completion unit that issues an I / O completion notification indicating that the input / output is completed to the network driver when the disk driver completes the input / output,
The network driver is a server that transmits the I / O completion notification to the other server.
前記ディスクドライバは、前記入出力が完了せず、エラーである場合、前記エラーの内容を含むI/Oエラー通知を、前記I/O完了部に発行し、
前記I/O完了部は、前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できると判定すると、前記ディスクドライバに発行されたI/O要求のパス情報を更新したI/O要求を前記I/O発行部に発行し、
前記I/O発行部は、前記I/O要求のパス情報を参照し、自サーバから前記外部記憶装置までの最適な通信パスを選択し、前記最適な通信パスのパス情報を更新したI/O要求を前記ディスクドライバに発行し、
前記ディスクドライバは、前記I/O要求に基づき前記最適な通信パスを確保し、前記他サーバから前記外部記憶装置への入出力を実行する
サーバ。 The server according to claim 15 or 16,
The disk driver issues an I / O error notification including the content of the error to the I / O completion unit when the input / output is not completed and is an error,
When the I / O completion unit refers to the I / O error notification and determines that the error can be avoided by changing the communication path, the I / O completion unit updates the path information of the I / O request issued to the disk driver. Issuing an I / O request to the I / O issuing unit,
The I / O issuing unit refers to the path information of the I / O request, selects an optimal communication path from the own server to the external storage device, and updates the path information of the optimal communication path. Issue an O request to the disk driver;
The disk driver secures the optimum communication path based on the I / O request, and executes input / output from the other server to the external storage device.
前記I/O完了部は、前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できないと判定すると、前記ネットワークドライバに前記I/Oエラー通知を発行し、
前記ネットワークドライバは、前記I/Oエラー通知を前記他サーバへ送信する
サーバ。 The server according to any one of claims 15 to 17,
When the I / O completion unit refers to the I / O error notification and determines that the error cannot be avoided by changing the communication path, the I / O completion unit issues the I / O error notification to the network driver,
The network driver is a server that transmits the I / O error notification to the other server.
他サーバから受信する前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できると判定すると、I/O要求の前記入出力に使用した通信パスのパス情報を更新したI/O要求をI/O発行部に発行し、
前記I/O発行部は、前記I/O要求のパス情報を参照し、自サーバから前記外部記憶装置までの最適な通信パスを選択し、前記最適な通信パスのパス情報を更新したI/O要求を前記ディスクドライバに発行し、
前記ディスクドライバは、前記I/O要求に基づき前記最適な通信パスを確保し、前記自サーバから前記外部記憶装置への入出力を実行する
サーバ。 The server according to claim 18,
If it is determined that the error can be avoided by referring to the I / O error notification received from another server and changing the communication path, the I / O request I / O request used for the input / output of the communication path is updated. Issue the / O request to the I / O issuing department,
The I / O issuing unit refers to the path information of the I / O request, selects an optimal communication path from the own server to the external storage device, and updates the path information of the optimal communication path. Issue an O request to the disk driver;
The disk driver secures the optimum communication path based on the I / O request and executes input / output from the own server to the external storage device.
前記ストレージネットワークを介して前記外部記憶装置に接続されるディスクドライバを備え、
前記最適な通信パスが、自サーバと前記外部記憶装置との間の通信パスである場合、
前記I/O発行部は、前記最適な通信パスのパス情報を更新したI/O要求を前記ディスクドライバに発行し、
前記ディスクドライバは、前記I/O要求に基づき前記最適な通信パスを確保し、前記自サーバから前記外部記憶装置への入出力を実行する
サーバ。 The server according to claim 14, wherein
A disk driver connected to the external storage device via the storage network;
When the optimal communication path is a communication path between its own server and the external storage device,
The I / O issuing unit issues an I / O request with updated path information of the optimum communication path to the disk driver;
The disk driver secures the optimum communication path based on the I / O request, and executes input / output from the own server to the external storage device.
前記ディスクドライバは、前記入出力が完了せず、エラーである場合、前記エラーの内容を含むI/Oエラー通知を、前記I/O完了部に発行し、
前記I/O完了部は、前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できると判定すると、前記I/O要求のパス情報を更新したI/O要求を前記I/O発行部に発行し、
前記I/O発行部は、前記I/O要求のパス情報を参照し、自サーバから前記外部記憶装置までの最適な通信パスを選択し、前記最適な通信パスのパス情報を更新したI/O要求を前記ディスクドライバに発行し、
前記ディスクドライバは、前記I/O要求に基づき前記最適な通信パスを確保し、前記自サーバから前記外部記憶装置への入出力を実行する
サーバ。 The server according to claim 20,
The disk driver issues an I / O error notification including the content of the error to the I / O completion unit when the input / output is not completed and is an error,
When the I / O completion unit refers to the I / O error notification and determines that the error can be avoided by changing the communication path, the I / O completion unit updates the I / O request with updated I / O request path information. Issued to the I / O issuing department,
The I / O issuing unit refers to the path information of the I / O request, selects an optimal communication path from the own server to the external storage device, and updates the path information of the optimal communication path. Issue an O request to the disk driver;
The disk driver secures the optimum communication path based on the I / O request, and executes input / output from the own server to the external storage device.
前記ディスクドライバは、前記入出力が完了せず、エラーである場合、前記エラーの内容を含むI/Oエラー通知を、前記I/O完了部に発行し、
前記I/O完了部は、前記I/O要求のパス情報を更新し、前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できないと判定すると、前記I/Oエラー通知を前記I/O要求部に発行し、前記入出力を中止する
サーバ。 The server according to claim 20,
The disk driver issues an I / O error notification including the content of the error to the I / O completion unit when the input / output is not completed and is an error,
When the I / O completion unit updates the path information of the I / O request, refers to the I / O error notification, and determines that the error cannot be avoided by changing the communication path, the I / O error A server that issues a notification to the I / O request unit and stops the input / output.
前記I/O要求を参照して他のサーバから前記外部記憶装置との間の通信パスを最適な通信パスとして選択するステップと、
前記他サーバに対し前記I/O要求を発行させるためのI/O情報をネットワークを介して前記他サーバに送信するステップと、
前記他サーバが前記I/O情報を用いてI/O要求を発行するステップと、
前記他サーバが前記I/O要求を基に前記他サーバから前記外部記憶装置の間の最適な通信パスを選択するステップと、
前記最適な通信パスを確保して前記入出力を実行するステップとを備える
通信パスの冗長化方法。 Issuing an I / O request for executing input / output from the server to the external storage device via the storage network;
Selecting a communication path between another server and the external storage device as an optimal communication path with reference to the I / O request;
Transmitting I / O information for causing the other server to issue the I / O request to the other server via a network;
The other server issuing an I / O request using the I / O information;
The other server selecting an optimum communication path from the other server to the external storage device based on the I / O request;
And securing the optimum communication path and executing the input / output.
前記入出力が終了すると前記サーバへ前記入出力が終了したことを示すI/O終了通知を送信するステップを更に備える
通信パスの冗長化方法。 The communication path redundancy method according to claim 23,
A communication path redundancy method, further comprising a step of transmitting an I / O end notification indicating that the input / output has ended to the server when the input / output ends.
前記入出力が完了しない場合、前記入出力がエラーであることを示すI/Oエラー通知を発行するステップと、
前記I/Oエラー通知に基づき新たなI/O要求を発行するステップと、
前記I/O要求に基づき前記他サーバから前記外部記憶装置との間の新たな最適な通信パスを選択するステップと、
前記最適な通信パスを確保して前記入出力を実行するステップとを備える
通信パスの冗長化方法。 The communication path redundancy method according to claim 23,
If the input / output is not completed, issuing an I / O error notification indicating that the input / output is an error;
Issuing a new I / O request based on the I / O error notification;
Selecting a new optimal communication path from the other server to the external storage device based on the I / O request;
And securing the optimum communication path and executing the input / output.
前記入出力が完了しない場合、前記I/Oエラー通知を前記入出力の要求元のサーバに送信するステップと、
前記I/Oエラー通知を受信するステップと、
前記I/Oエラー通知に基づき前記外部記憶装置との間の最適な通信パスを選択するステップと、
前記最適な通信パスを確保して前記入出力を実行するステップとを備える
通信パスの冗長化方法。 The communication path redundancy method according to claim 25,
If the I / O is not complete, sending the I / O error notification to the server requesting the I / O;
Receiving the I / O error notification;
Selecting an optimal communication path with the external storage device based on the I / O error notification;
And securing the optimum communication path and executing the input / output.
ストレージネットワークを介して外部記憶装置への入出力を実行するステップと、
前記外部記憶装置との間における負荷状態に応じて前記外部記憶装置への入出力経路を変更するステップと、
をコンピュータに実行させる負荷分散プログラムにおいて、
前記入出力経路を変更するステップは、
前記外部記憶装置への入出力を実行するためのI/O要求に基づき、ストレージネットワークを介した前記外部記憶装置までの最適な通信パスを選択するステップと、
前記最適な通信パスのパス情報を更新したI/O要求を発行するステップと、
前記複数のサーバにおける他サーバのいずれかに前記入出力を実行させるための情報であるI/O情報を前記I/O要求から抽出し、前記I/O情報をネットワークを介して前記他サーバへ送付するための送付要求を発行するステップと、
前記送付要求に基づき前記I/O情報を前記他サーバに送信するステップと、
を備える
負荷分散プログラム。 Mounted on each of multiple servers,
Executing input / output to / from an external storage device via a storage network;
Changing an input / output path to the external storage device according to a load state with the external storage device;
In a load balancing program that causes a computer to execute
The step of changing the input / output path includes:
And selecting the basis of the I / O request to perform input and output to an external storage device, the optimal communication path to the external storage device through the storage network,
Issuing an I / O request with updated path information of the optimum communication path;
The information in that I / O information for executing the input and output to any of the other servers in the plurality of servers is extracted from the I / O request, the I / O information to the other server via the network Issuing a sending request for sending;
Transmitting the I / O information to the other server based on the sending request ;
A load balancing program comprising:
前記最適な通信パスのパス情報を更新したI/O要求を発行するステップと、
他サーバに前記入出力を実行させるための情報であるI/O情報を前記I/O要求から抽出し、前記I/O情報をネットワークを介して他サーバへ送付するための送付要求を発行するステップと、
前記送付要求に基づき前記I/O情報を前記他サーバに送信するステップと、
前記ネットワークを経由して前記他サーバから受信する前記I/O情報を基にI/O要求を発行するステップと、
前記I/O要求のパス情報を参照し、自サーバと前記外部記憶装置との間の最適な通信パスを選択するステップと、
前記最適な通信パスのパス情報を更新したI/O要求を発行するステップと、
前記I/O要求に基づき前記最適な通信パスを確保して前記他サーバから前記外部記憶装置への入出力を実行するステップと、
をコンピュータに実行させる
負荷分散プログラム。 Selecting an optimal communication path to the external storage device via a storage network based on an I / O request for executing input / output to / from the external storage device;
Issuing an I / O request with updated path information of the optimum communication path;
I / O information, which is information for causing the other server to execute the input / output, is extracted from the I / O request, and a sending request for sending the I / O information to the other server via the network is issued. Steps,
Transmitting the I / O information to the other server based on the sending request;
And issuing an I / O request based on the I / O information received from the other server via the network,
Referring to path information of the I / O request and selecting an optimum communication path between the local server and the external storage device;
Issuing an I / O request with updated path information of the optimum communication path;
Securing the optimum communication path based on the I / O request and executing input / output from the other server to the external storage device;
A load balancing program that causes a computer to execute.
前記入出力を終了すると、入出力が終了したことを示すI/O完了通知を前記入出力の要求元のサーバへ発行するステップとをコンピュータに実行させる
負荷分散プログラム。 The load balancing program according to claim 28,
When the input / output is completed, a load distribution program that causes the computer to execute an I / O completion notification indicating that the input / output has ended to the server that requested the input / output.
前記入出力が完了せず、エラーである場合、前記エラーの内容を含むI/Oエラー通知を、発行するステップと、
前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できると判定するステップと、
エラーとなったI/O要求のパス情報を更新したI/O要求を発行するステップと、
前記I/O要求のパス情報を参照し、自サーバから前記外部記憶装置までの最適な通信パスを選択するステップと、
前記最適な通信パスのパス情報を更新したI/O要求を発行するステップと、
前記I/O要求に基づき前記最適な通信パスを確保し、前記他サーバから前記外部記憶装置への入出力を実行するステップとをコンピュータに実行させる
負荷分散プログラム。 The load distribution program according to claim 28 or 29,
If the input / output is not completed and there is an error, issuing an I / O error notification including the content of the error; and
A step of referring to the I / O error notification and determining that an error can be avoided by changing a communication path;
Issuing an I / O request with updated path information of an I / O request in error;
Referring to the path information of the I / O request and selecting an optimal communication path from the local server to the external storage device;
Issuing an I / O request with updated path information of the optimum communication path;
A load distribution program for causing a computer to execute the step of securing the optimal communication path based on the I / O request and executing input / output from the other server to the external storage device.
前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できないと判定するステップと、
前記I/Oエラー通知を前記他サーバへ送信するステップとをコンピュータに実行させる
負荷分散プログラム。 The load distribution program according to any one of claims 28 to 30,
Determining that the error cannot be avoided by referring to the I / O error notification and changing the communication path;
A load distribution program that causes a computer to execute the step of transmitting the I / O error notification to the other server.
前記他ノードから受信する前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できると判定するステップと、前記入出力に使用した通信パスのパス情報を更新したI/O要求を発行するステップと、
前記I/O要求のパス情報を参照し、自サーバから前記外部記憶装置までの最適な通信パスを選択するステップと、
前記最適な通信パスのパス情報を更新したI/O要求を発行するステップと、
前記I/O要求に基づき前記最適な通信パスを確保し、前記自サーバから前記外部記憶装置への入出力を実行するステップとをコンピュータに実行させる
負荷分散プログラム。 The load distribution program according to claim 30 or 31,
A step of referring to the I / O error notification received from the other node and determining that an error can be avoided by changing the communication path, and an updated I / O of the path information of the communication path used for the input / output Issuing a request;
Referring to the path information of the I / O request and selecting an optimal communication path from the local server to the external storage device;
Issuing an I / O request with updated path information of the optimum communication path;
A load distribution program for causing the computer to execute the step of securing the optimum communication path based on the I / O request and executing input / output from the local server to the external storage device.
前記他サーバから受信する前記I/Oエラー通知を参照し、通信パスを変更することでエラーを回避できないと判定するステップと、
I/Oエラー通知を上位に発行するステップとをコンピュータに実行させる
負荷分散プログラム。 The load distribution program according to any one of claims 30 to 32,
Determining that the error cannot be avoided by changing the communication path with reference to the I / O error notification received from the other server;
A load balancing program that causes a computer to execute a step of issuing an I / O error notification to a host.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004313152A JP4123386B2 (en) | 2004-10-27 | 2004-10-27 | Communication path redundancy system, communication path redundancy method, and load distribution program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004313152A JP4123386B2 (en) | 2004-10-27 | 2004-10-27 | Communication path redundancy system, communication path redundancy method, and load distribution program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006128955A JP2006128955A (en) | 2006-05-18 |
JP4123386B2 true JP4123386B2 (en) | 2008-07-23 |
Family
ID=36723178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004313152A Expired - Fee Related JP4123386B2 (en) | 2004-10-27 | 2004-10-27 | Communication path redundancy system, communication path redundancy method, and load distribution program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4123386B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009193106A (en) * | 2008-02-12 | 2009-08-27 | Nec Corp | Network system, information processor, communication method, and program |
JP2009245379A (en) | 2008-03-31 | 2009-10-22 | Hitachi Ltd | Storage system and control method of storage system |
US20130138884A1 (en) * | 2011-11-30 | 2013-05-30 | Hitachi, Ltd. | Load distribution system |
WO2013145293A1 (en) * | 2012-03-30 | 2013-10-03 | 富士通株式会社 | Data control device, data processing system, data control method, data processing method, data control program, data processing program, and recording medium |
JP5445627B2 (en) * | 2012-06-26 | 2014-03-19 | 日本電気株式会社 | Network system, information processing apparatus, communication method, and program |
-
2004
- 2004-10-27 JP JP2004313152A patent/JP4123386B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006128955A (en) | 2006-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7313636B2 (en) | Methods and structure for supporting persistent reservations in a multiple-path storage environment | |
US6970972B2 (en) | High-availability disk control device and failure processing method thereof and high-availability disk subsystem | |
JP6334643B2 (en) | SMB2 scale out | |
US9134913B2 (en) | Methods and structure for improved processing of I/O requests in fast path circuits of a storage controller in a clustered storage system | |
JP4297747B2 (en) | Storage device | |
JP6734251B2 (en) | System, control method thereof, and program | |
JP4810585B2 (en) | Calculator that supports remote scan | |
US20050091426A1 (en) | Optimized port selection for command completion in a multi-ported storage controller system | |
JP4786255B2 (en) | Storage system and storage control method | |
US20130163593A1 (en) | Method of processing data packets | |
JP4477437B2 (en) | Storage device, inter-cluster data communication method, and cluster communication control program thereof | |
US9336093B2 (en) | Information processing system and access control method | |
US11269802B2 (en) | Lightweight proxy for handling SCSI commands in an active array-standby array configuration | |
JP4474356B2 (en) | Computer system and storage virtualization apparatus | |
JP4123386B2 (en) | Communication path redundancy system, communication path redundancy method, and load distribution program | |
JP5182162B2 (en) | Computer system and I / O control method | |
JP6961045B2 (en) | System and its control method and program | |
JP2006053896A (en) | Software transparent expansion of number of fabrics covering multiple processing nodes in computer system | |
US7574529B2 (en) | Addressing logical subsystems in a data storage system | |
US9746986B2 (en) | Storage system and information processing method with storage devices assigning representative addresses to reduce cable requirements | |
JP4375121B2 (en) | Processing agent method in database management system | |
JP6555029B2 (en) | Storage system, storage apparatus and communication method | |
JP4478000B2 (en) | Data mediation method and data mediation device | |
US20130132692A1 (en) | Storage devices and storage systems | |
US20120079313A1 (en) | Distributed memory array supporting random access and file storage operations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070918 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070927 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071029 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080409 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080422 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4123386 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110516 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110516 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120516 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120516 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130516 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140516 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |