JP2004164490A - Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon - Google Patents

Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon Download PDF

Info

Publication number
JP2004164490A
JP2004164490A JP2002331986A JP2002331986A JP2004164490A JP 2004164490 A JP2004164490 A JP 2004164490A JP 2002331986 A JP2002331986 A JP 2002331986A JP 2002331986 A JP2002331986 A JP 2002331986A JP 2004164490 A JP2004164490 A JP 2004164490A
Authority
JP
Japan
Prior art keywords
storage
host
router
virtual
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002331986A
Other languages
Japanese (ja)
Inventor
Naoko Shigematsu
直子 重松
Takeshi Mie
武 三栄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002331986A priority Critical patent/JP2004164490A/en
Publication of JP2004164490A publication Critical patent/JP2004164490A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To automatically assign storages to hosts without changing the setting of storage routers in an iSCSI storage system. <P>SOLUTION: The plurality of storages 2 previously connected to fiber channel networks or SCSI buses in the storage routers 3 are assigned to the virtual hosts. When timing of log-in to the storages 2 from the hosts 1 is detected by a storage assignment device 4 connected between an IP network 5 and the storage routers 3, a host identifier in an IP packet received from the hosts 1 is replaced with a virtual host identifier based on the previously established rule of the assignment of the storages to the hosts. The virtual host identifier in the IP packet received from the storage routers 3 is replaced with the host identifier. The storages 2 are automatically assigned to the hosts 1. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、iSCSIストレージシステムにおける、ホストコンピュータへのストレージ(記憶装置)の割り当てに関するものである。
【0002】
【従来の技術】
従来、ファイバチャネルネットワークのみで構築されたストレージシステムでは、磁気ディスク装置などのストレージのホストコンピュータ(以下、ホストと略す。)への割り当ては、ファイバチャネルスイッチ内においてポート間のグループ化を手動で設定することや、ストレージ内において特定のホストにのみストレージのアクセス権を持たせる(特許文献1)ことにより行っていた。
【0003】
【特許文献1】
特開平10−74128号公報
【0004】
【発明が解決しようとする課題】
しかし、iSCSIストレージシステムになり、ストレージルータが登場すると、ホストへのストレージの割り当ては、基本的に全てストレージルータにおいて手動で設定するようになり、その結果、以下のような問題が発生していた。
【0005】
・ストレージルータ上の設定では、まず、初期設定を行い、ストレージやホストを登録し、その上でストレージの割り当て設定を行う。このため、ストレージ等の設備を管理し、登録を行う部門と、ストレージの割り当てのみを管理する部門とが別れている場合、互いの作業領分を侵害することがあった。
【0006】
・ストレージルータ上でのストレージの割り当て設定は手動で行うため、設定ミスにより、ホストからストレージを認識できない場合や、本来、ホストに割り当てるべきでないストレージを割り当てたりすることがあった。
【0007】
・既にストレージを割り当てられているホストに対し、割り当てを一度解除した後、別のストレージを割り当てるように予約設定することができなかった。
【0008】
本発明の目的は、前記課題を解決し、ストレージルータの設定変更を必要とすることなく、新規に登録されたホストへのストレージの割り当てやホストへのストレージの割り当ての変更を簡易に実施できるようにすることにある。
【0009】
【課題を解決するための手段】
本発明では、上記のような目的を達成するため、予め設定されたホストへのストレージの割り当てルールに基づき、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを、ログインするホストに割り当てるストレージ割り当て装置をIPネットワークとストレージルータとの間に接続し、ストレージ割り当て装置のセッション確立検出機構において、ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを、ホストとストレージルータとの間のセッション及びTCPコネクションの情報を管理することで検出し、ストレージ割り当て機構において、予め設定されたホストへのストレージの割り当てルールに基づき、ホストより受信したIPパケット内のiSCSI PDU内のホストを一意に識別できるホスト識別子を、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを一意に識別できる仮想ホスト識別子に付け替え、ストレージルータより受信したIPパケット内のiSCSI PDU内の前記仮想ホスト識別子を前記ホスト識別子に付け替えることにより、ホストにストレージを自動的に割り当てることを特徴としている。
【0010】
【発明の実施の形態】
次に、本発明について図面を参照して詳細に説明する。
【0011】
図1は本発明によるiSCSIストレージシステムの全体構成を示すもので、図中、1は少なくとも1つ(図示例では2つ)のホスト、2は複数(図示例では5つ)のストレージ、3は少なくとも1つ(図示例では2つ)のストレージルータ、4はストレージ割り当て装置である。
【0012】
ホスト1はIPネットワーク5に接続され、ストレージ2はファイバチャネルネットワーク又はSCSIバス6に接続され、ストレージルータ3はIPネットワーク5及びファイバチャネルネットワーク又はSCSIバス6の両方に接続されている。また、ストレージ割り当て装置4はIPネットワーク5とストレージルータ3との間に接続されている。
【0013】
図2は本発明のストレージ割り当て装置4の実施の形態の一例を示すもので、セッション確立検出機構41と、ストレージ割り当て機構42とからなっている。
【0014】
セッション確立検出機構41は、ホスト1とストレージルータ3との間のセッション及びTCPコネクションの情報を管理することで、ホスト1が初めてストレージ2にログインし、又はホスト1が一旦、全てのストレージ2からログアウトし、改めてストレージ2にログインするセッションの確立タイミングを検出する。
【0015】
ストレージ割り当て機構42は、セッションの確立タイミングを検出した際、セッションが確立されている間、予め設定されたホストへのストレージの割り当てルールに基づき、予めストレージルータ3において任意のストレージ2に割り当てておいた仮想ホストのいずれかを、ログインするホスト1に割り当てることにより、当該ホスト1に任意のストレージ2を割り当てる。
【0016】
具体的には、ホスト1より受信したIPパケット内のiSCSI ProtocoI Data Unit(PDU)内のホスト1を一意に識別できるホスト識別子を、予めストレージルータ3において任意のストレージ2に割り当てておいた仮想ホスト(仮想的に存在するように見せかけたホスト)のいずれかを一意に識別できる仮想ホスト識別子に付け替え、ストレージルータ3より受信したIPパケット内のiSCSI PDU内の前記仮想ホスト識別子を前記ホスト識別子に付け替えることにより、当該ホスト1に任意のストレージ2を割り当てる。
【0017】
ストレージ割り当て機構42における、予め設定されたホストへのストレージの割り当てルールの例として、ここでは、ストレージルータ3における仮想ホストに対するストレージ2の割り当てを前提とした、ストレージの割り当てを行う(現実の)ホストと仮想ホストとの対応関係を表す表を予め作成しておくものとする。
【0018】
実際には、ストレージ割り当て機構42は、ストレージの割り当てを行うホストと仮想ホストとの次のストレージログイン時点における対応関係を、ホスト識別子と仮想ホスト識別子との組で表した図3に示すような割り当て表(以下、予約割当表と呼ぶ。)と、ストレージの割り当てを行うホストと仮想ホストとの現時点における対応関係を、ホスト識別子と仮想ホスト識別子との組で表した図4に示すような割り当て表(以下、現状割当表と呼ぶ。)と、詳細情報表とを保持する。
【0019】
詳細情報表は各ホストの詳細な情報を保有するもので、図5に示すように、ストレージを割り当てるホストのホスト識別子と、ストレージにログインするためのセッションを一意に識別できるセッション識別子と、コネクションを一意に識別できるコネクション識別子と、セッションの削除予定と、コネクションの削除予定と、ホストのポート番号と、ホストのIPアドレスとを保有する。なお、セッション削除予定及びコネクション削除予定は有又は無の値を持ち、デフォルトは無の値である。
【0020】
なお、予約割当表を作成しておくことなく、ホストがログインする都度、適切と考えられるストレージ、例えば使用率の低いストレージを選択し、これに対応する仮想ホストを割り当てるようにしても良い。
【0021】
まず、本システムの動作の概要について説明する。
【0022】
設備管理者は、ストレージルータ3にストレージ2を登録する際、このストレージを仮想ホストに手動で割り当てる。例えば、新たなストレージを2A,2B、仮想ホストの識別子をiqn1〜iqn30とした場合、仮想ホスト識別子iqn1〜iqn10の仮想ホストにストレージ2Aを割り当て、仮想ホスト識別子iqn11〜iqn20の仮想ホストにストレージ2Bを割り当て、仮想ホスト識別子iqn21〜iqn30の仮想ホストにストレージ2A及びストレージ2Bを割り当てるように設定する。
【0023】
また、ストレージを割り当てるオペレータは、新たにログインする予定のホスト1に任意のストレージ2を割り当てるため、予約割当表において、新たにログインする予定のホスト1のホスト識別子とストレージルータ3において任意のストレージ2が割り当てられている仮想ホストの仮想ホスト識別子との組を記述する。例えば、新たにログインする予定のホスト1のホスト識別子がiqnXXX、割り当てるストレージを2Bとした場合、予約割当表において、ホスト識別子iqnXXXとストレージルータ3においてストレージ2Bが割り当てられている仮想ホストの仮想ホスト識別子、例えばiqn11との組を記述する。
【0024】
ストレージ割り当て装置4では、セッション確立検出機構41により、ホスト1がストレージ2にログインするためのセッションが確立するタイミングを検出し、セッションが確立されている間、ストレージ割り当て機構42により、予約割当表より現状割当表を作成し、現状割当表を元に、ホスト1(ホスト識別子iqnXXX)よりストレージ割り当て装置4に送信されたIPパケット内のiSCSI PDU内のホスト識別子iqnXXXを仮想ホスト識別子iqn11に付け替える。また、ストレージ2Bより送信されたIPパケット内のiSCSIPDU内の仮想ホスト識別子iqn11をホスト識別子iqnXXXに付け替える。
【0025】
これにより仮想ホスト(仮想ホスト識別子iqn11)に割り当てられたストレージ2Bを、ホスト1(ホスト識別子iqnXXX)に自動的に割り当てることができる。
【0026】
図6はセッション確立検出機構における処理の流れ図、また、図7乃至図11はストレージ割り当て機構における処理の流れ図であり、以下、これらに沿って、ストレージ割り当て装置の処理と現状割当表の作成の仕方について詳細に説明する。
【0027】
セッション確立検出機構41は、IPパケットを受信すると、ホスト1又はストレージルータ3より受信したIPパケットであれば、IPパケット内のPDU内のiSCSI PDUの種類を表す情報(Oncode情報)を見てLogin Request、Login Response、Logout Request、Logout ResponseであるIPパケットを抽出し、ストレージ割り当て機構42に渡す。Oncode情報が前記以外の場合、ホスト1から受信したIPパケットはそのままストレージルータ3へ送信し、ストレージルータ3から受信したIPパケットはそのままホスト1へ送信する。
【0028】
ストレージ割り当て機構42は、IPパケット内のiSCSI PDU内のOncode情報に応じて、以下の異なる処理(1)、(2)、(3)、(4)を実行する。
【0029】
(1)IPパケット内のiSCSI PDU内のOncode情報がLogin Requestの場合、IPパケット内のiSCSI PDU内からホスト識別子、セッションタイプ、セッション識別子及びコネクション識別子を抽出し、IPパケット内のIPヘッダからIPパケットを送信したホストのIPアドレスを抽出し、IPパケット内のTCPヘッダからコネクションを張るためのホストのポート番号を抽出する。
【0030】
ここで、セッションタイプとは、セッションを張る目的がストレージを発見するため(Discovery)なのか、それ以外(Normal operation)かを示す。
【0031】
セッションタイプがDiscoveryの場合、抽出したホスト識別子が現状割当表及び詳細情報表に存在するか否かを確認する。
【0032】
抽出したホスト識別子が現状割当表及び詳細情報表に存在する場合、IPパケット内のiSCSI PDU内のホスト識別子を現状割当表の通りの仮想ホスト識別子に変更し、セッション確立検出機構41に渡す。
【0033】
抽出したホスト識別子が現状割当表に存在しない場合、又は現状割当表には存在するが詳細情報表には存在しない場合、予約割当表に該当するホスト識別子が存在するか確認する。
【0034】
予約割当表にホスト識別子が存在する場合、IPパケット内のiSCSI PDU内のホスト識別子を予約割当表の通りの仮想ホスト識別子に変更し、予約割当表の通りのホスト識別子と仮想ホスト識別子との組を現状割当表に記述し、さらに、詳細情報表にホスト識別子、セッション識別子、コネクション識別子、ポート番号、IPアドレス、セッション削除予定及びコネクション削除予定を記述し、IPパケットをセッション確立検出機構41に渡す。但し、現状割当表に該当するホスト識別子の行があれば、一旦削除し、改めて予約割当表の通りのホスト識別子と仮想ホスト識別子との組を現状割当表に記述する。
【0035】
予約割当表にホスト識別子が存在しない場合、IPパケットをそのままセッション確立検出機構41に渡す。
【0036】
セッションタイプがNormalの場合、抽出したホスト識別子が現状割当表に存在するか否かを確認する。
【0037】
抽出したホスト識別子が現状割当表に存在する場合、IPパケット内のiSCSI PDU内のホスト識別子を現状割当表の通りの仮想ホスト識別子に変更し、詳細情報表にホスト識別子、セッション識別子、コネクション識別子、ポート番号及びIPアドレスを記入し、IPパケットをセッション確立検出機構41に渡す。詳細情報表に同じホスト識別子、同じセッション識別子、同じコネクション識別子の行が存在する場合は上書きする。
【0038】
抽出したホスト識別子が存在しない場合、IPパケットをそのままセッション確立検出機構41に渡す。
【0039】
(2)IPパケット内のiSCSI PDU内のOncode情報がLogin Responseの場合、IPパケット内のiSCSI PDU内から仮想ホスト識別子、セッションタイプ及びRequest結果を抽出し、IPパケット内のIPヘッダからホストのIPアドレスを抽出し、IPパケット内のTCPヘッダからホストのポート番号を抽出する。
【0040】
セッションタイプがDiscoveryの場合、抽出した仮想ホスト識別子が現状割当表に存在するか否か及びRequest結果が成功か否かを確認する。
【0041】
抽出した仮想ホスト識別子が現状割当表に存在し、Request結果が成功の場合、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0042】
抽出した仮想ホスト識別子が現状割当表に存在し、Reqqest結果が失敗の場合、抽出した仮想ホスト識別子に対応するホスト識別子を現状割当表にて検索し、該当するホスト識別子が詳細情報表に存在するか否かを確認する。
【0043】
ホスト識別子が詳細情報表に存在する場合、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0044】
ホスト識別子が詳細情報表に存在しない場合、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、現状割当表の該当するホスト識別子と仮想ホスト識別子との組を削除し、IPパケットをセッション確立検出機構に渡す。
【0045】
抽出した仮想ホスト識別子が現状割当表に存在しない場合、IPパケットをそのままセッション確立検出機構41に渡す。
【0046】
セッションタイプがNormalの場合、抽出した仮想ホスト識別子が現状割当表に存在するか否か及びRequest結果が成功か否かを確認する。
【0047】
抽出した仮想ホスト識別子が現状割当表に存在し、Request結果が成功の場合、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構に41渡す。
【0048】
抽出した仮想ホスト識別子が現状割当表に存在し、Request結果が失敗の場合、抽出したIPアドレス及びポート番号が一致する行を詳細情報表にて検索して削除し、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0049】
抽出した仮想ホスト識別子が現状割当表に存在しない場合、IPパケットをそのままセッション確立検出機構41に渡す。
【0050】
(3)IPパケット内のiSCSI PDU内のOncode情報がLogout Requestの場合、IPパケット内のiSCSI PDU内からコネクション識別子及びログアウト理由を抽出し、IPパケット内のIPヘッダからホストのIPアドレスを抽出する。
【0051】
抽出したログアウト理由がセッションの切断の場合には、抽出したIPアドレスを持つホスト識別子を詳細情報表にて検索し、そのホスト識別子に関連し、抽出したコネクション識別子と同じコネクション識別子が張られているセッション識別子のセッションの削除予定と該当するコネクションの削除予定を有に設定し、IPパケット内のiSCSI PDU内のホスト識別子を現状割当表の通りの仮想ホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0052】
抽出したログアウト理由がコネクションの切断又はコネクションの移転の場合には、抽出したIPアドレスを持つホスト識別子を詳細情報表にて検索し、そのホスト識別子に関連し、抽出したコネクション識別子と同じコネクション識別子の削除予定を有に設定し、IPパケット内のiSCSI PDU内のホスト識別子を現状割当表の通りの仮想ホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0053】
(4)IPパケット内のiSCSI PDU内のOncode情報がLogout Responseの場合、IPパケット内のiSCSI PDU内からRequest結果を抽出し、IPパケット内のIPヘッダからホストのIPアドレスを抽出し、IPパケット内のTCPヘッダからホストのポート番号を抽出する。
【0054】
抽出したRequest結果が成功の場合、抽出したIPアドレスを持つホスト識別子を詳細情報表にて検索し、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡し、抽出したIPアドレス及びポート番号を持つコネクション識別子を詳細情報表にて検索し、コネクション識別子からコネクションの削除予定と該当するコネクションに関連するセッションの削除予定を抽出する。
【0055】
抽出したセッションの削除予定が有の場合には、該当するセッションに関連する全ての行を削除する。抽出したIPアドレスを持つホスト識別子に関する行を詳細情報表にて検索し、検索結果がない場合、該当するホスト識別子の組を現状割当表より削除する。
【0056】
抽出したセッションの削除予定が無の場合には、該当するコネクションに関連する行を削除する。抽出したIPアドレスを持つホスト識別子に関する行を詳細情報表にて検索し、検察結果がない場合、該当するホスト識別子の組を現状割当表より削除する。
【0057】
抽出したRequest結果が失敗の場合、抽出したIPアドレスを持つホスト識別子を詳細情報表にて検索し、IPパケット内のiSCSI PDU内の仮想ホスト識別子を現状割当表の通りのホスト識別子に変更し、IPパケットをセッション確立検出機構41に渡す。
【0058】
セッション確立検出機構41は、受信したIPパケットがストレージ割り当て機構42から渡されたIPパケットであれば、そのIPヘッダを見て、ホスト1から受信したIPパケットはストレージルータ3へ送信し、ストレージルータ3から受信したIPパケットはホスト1へ送信する。
【0059】
なお、本発明のストレージ割り当て装置は、周知のコンピュータに媒体もしくは通信回線を介して、図6乃至図11の流れ図に示された手順を備えるプログラムをインストールすることによっても実現可能である。
【0060】
【発明の効果】
以上説明したように、本発明によれば、ストレージの管理・登録はストレージルータのみで行うことができ、ホストへのストレージの割り当てはストレージ割り当て装置により行うため、ストレージ設備管理・登録部門とストレージの割り当て管理部門とが互いの作業領分を侵害することがない。また、ストレージ割り当て装置では、予め設定されたホストへのストレージの割り当てルールに基づき、自動的にホストにストレージを割り当てるため、予約設定が可能であり、人手による投入ミスがなくなる。
【図面の簡単な説明】
【図1】本発明によるiSCSIストレージシステムの全体構成図
【図2】本発明のストレージ割り当て装置の実施の形態の一例を示す構成図
【図3】現状割当表の一例を示す説明図
【図4】予約割当表の一例を示す説明図
【図5】詳細情報表の一例を示す説明図
【図6】セッション確立検出機構における処理の流れ図
【図7】ストレージ割り当て機構における処理の流れ図
【図8】ストレージ割り当て機構における処理の流れ図
【図9】ストレージ割り当て機構における処理の流れ図
【図10】ストレージ割り当て機構における処理の流れ図
【図11】ストレージ割り当て機構における処理の流れ図
【符号の説明】
1:ホスト、2:ストレージ、3:ストレージルータ、4:ストレージ割り当て装置、5:IPネットワーク、6:ファイバチャネルネットワーク又はSCSIバス、41:セッション確立検出機構、42:ストレージ割り当て機構。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to allocation of storage (storage device) to a host computer in an iSCSI storage system.
[0002]
[Prior art]
Conventionally, in a storage system configured only with a Fiber Channel network, allocation of storage such as a magnetic disk device to a host computer (hereinafter abbreviated as a host) is performed by manually setting grouping between ports in a Fiber Channel switch. Or by giving only a specific host in the storage access right to the storage (Patent Document 1).
[0003]
[Patent Document 1]
JP-A-10-74128
[Problems to be solved by the invention]
However, with the emergence of an iSCSI storage system and the emergence of a storage router, storage allocation to hosts has basically been all manually set in the storage router, resulting in the following problems. .
[0005]
In the setting on the storage router, first, the initial setting is performed, the storage and the host are registered, and then the storage allocation setting is performed. For this reason, when a department that manages and registers facilities such as storage is separated from a department that manages only storage allocation, there is a case where each other's work is violated.
[0006]
-Since the storage allocation setting on the storage router is performed manually, there is a case where the storage cannot be recognized from the host due to a setting error, or a storage that should not be allocated to the host is allocated.
[0007]
-It was not possible to make reservation settings to allocate another storage to a host to which storage had already been allocated, after releasing the allocation once.
[0008]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems and to easily perform storage allocation to a newly registered host and change of storage allocation to a host without requiring a change in storage router settings. It is to be.
[0009]
[Means for Solving the Problems]
In the present invention, in order to achieve the above object, based on a preset storage allocation rule for the host, any of the virtual hosts previously allocated to any storage in the storage router, Is connected between the IP network and the storage router, and in the session establishment detection mechanism of the storage allocating device, the host logs in to the storage for the first time, or the host logs out of all the storages once, and then renews the storage. The timing of establishing a session to log in to the host is detected by managing information on the session between the host and the storage router and the TCP connection, and the storage allocation mechanism allocates storage to the host in advance. Based on the rules, a host identifier that can uniquely identify the host in the iSCSI PDU in the IP packet received from the host is replaced with a virtual identifier that can uniquely identify any of the virtual hosts previously assigned to any storage in the storage router. The storage is automatically assigned to the host by replacing the virtual host identifier in the iSCSI PDU in the IP packet received from the storage router with the host identifier.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, the present invention will be described in detail with reference to the drawings.
[0011]
FIG. 1 shows the overall configuration of an iSCSI storage system according to the present invention. In the figure, 1 is at least one (two in the illustrated example) hosts, 2 is a plurality of (five in the illustrated example) storages, and 3 is At least one (two in the illustrated example) storage routers and 4 are storage allocation devices.
[0012]
The host 1 is connected to an IP network 5, the storage 2 is connected to a fiber channel network or a SCSI bus 6, and the storage router 3 is connected to both the IP network 5 and the fiber channel network or a SCSI bus 6. The storage allocation device 4 is connected between the IP network 5 and the storage router 3.
[0013]
FIG. 2 shows an example of an embodiment of the storage allocation device 4 of the present invention, which comprises a session establishment detection mechanism 41 and a storage allocation mechanism 42.
[0014]
The session establishment detection mechanism 41 manages the session and the TCP connection information between the host 1 and the storage router 3 so that the host 1 logs in to the storage 2 for the first time or the host 1 The timing of establishing a session for logging out and logging in to the storage 2 again is detected.
[0015]
When the session allocation timing is detected, the storage allocation mechanism 42 allocates the storage router 3 to an arbitrary storage 2 in advance based on a preset storage allocation rule for the host while the session is established. By allocating one of the virtual hosts to the host 1 to log in, an arbitrary storage 2 is allocated to the host 1.
[0016]
More specifically, a virtual host in which the storage router 3 has previously assigned a host identifier that can uniquely identify the host 1 in the iSCSI Protocol I Data Unit (PDU) in the IP packet received from the host 1 to an arbitrary storage 2 in the storage router 3 (A host that appears to exist virtually) is replaced with a virtual host identifier that can be uniquely identified, and the virtual host identifier in an iSCSI PDU in an IP packet received from the storage router 3 is replaced with the host identifier. Thus, an arbitrary storage 2 is allocated to the host 1.
[0017]
As an example of a preset rule for allocating storage to a host in the storage allocating mechanism 42, here, a (real) host that performs storage allocation on the assumption that the storage 2 is allocated to a virtual host in the storage router 3 It is assumed that a table indicating the correspondence between the virtual host and the virtual host is created in advance.
[0018]
Actually, the storage allocation mechanism 42 determines the correspondence between the host that performs storage allocation and the virtual host at the time of the next storage login, as shown in FIG. FIG. 4 shows a table (hereinafter, referred to as a reservation allocation table) and a correspondence between a host that allocates storage and a virtual host at the present time as a set of a host identifier and a virtual host identifier. (Hereinafter, referred to as a current assignment table) and a detailed information table.
[0019]
The detailed information table holds detailed information of each host. As shown in FIG. 5, a host identifier of a host to which storage is allocated, a session identifier for uniquely identifying a session for logging in to storage, and a connection It has a connection identifier that can be uniquely identified, a session deletion schedule, a connection deletion schedule, a host port number, and a host IP address. Note that the session deletion schedule and the connection deletion schedule have values with or without, and the default is a value with no.
[0020]
Instead of creating a reservation assignment table, each time a host logs in, a storage that is considered appropriate, for example, a storage with a low usage rate may be selected and a virtual host corresponding thereto may be assigned.
[0021]
First, an outline of the operation of the present system will be described.
[0022]
When registering the storage 2 in the storage router 3, the equipment manager manually allocates this storage to the virtual host. For example, when the new storages are 2A and 2B and the virtual host identifiers are iqn1 to iqn30, the storage 2A is allocated to the virtual hosts with the virtual host identifiers iqn1 to iqn10, and the storage 2B is allocated to the virtual hosts with the virtual host identifiers iqn11 to iqn20. Assignment is set so that the storage 2A and the storage 2B are assigned to the virtual host having the virtual host identifier iqn21 to iqn30.
[0023]
In addition, since the operator who allocates the storage allocates an arbitrary storage 2 to the host 1 to be newly logged in, the host identifier of the host 1 to be newly logged in and the arbitrary storage 2 in the storage router 3 in the reservation assignment table. Is described with the virtual host identifier of the virtual host to which is assigned. For example, if the host identifier of the host 1 to be newly logged in is iqnXXX, and the storage to be allocated is 2B, the host identifier iqnXXX and the virtual host identifier of the virtual host to which the storage 2B is allocated in the storage router 3 in the reservation allocation table. For example, a pair with iqn11 is described.
[0024]
In the storage allocation device 4, the session establishment detection mechanism 41 detects the timing at which a session for the host 1 to log in to the storage 2 is established. A current assignment table is created, and based on the current assignment table, the host identifier iqnXXX in the iSCSI PDU in the IP packet transmitted from the host 1 (host identifier iqnXXX) to the storage allocation device 4 is replaced with the virtual host identifier iqn11. Also, the virtual host identifier iqn11 in the iSCSI PDU in the IP packet transmitted from the storage 2B is replaced with the host identifier iqnXXX.
[0025]
Thereby, the storage 2B allocated to the virtual host (virtual host identifier iqn11) can be automatically allocated to the host 1 (host identifier iqnXXX).
[0026]
FIG. 6 is a flow chart of a process in the session establishment detecting mechanism, and FIGS. 7 to 11 are flow charts of a process in the storage allocating mechanism. Will be described in detail.
[0027]
Upon receiving the IP packet, the session establishment detecting mechanism 41 looks at the information (Oncode information) indicating the type of iSCSI PDU in the PDU in the IP packet if the IP packet is received from the host 1 or the storage router 3, and then logs in. An IP packet that is a Request, Login Response, Logout Request, or Logout Response is extracted and passed to the storage allocation mechanism 42. When the Oncode information is other than the above, the IP packet received from the host 1 is transmitted to the storage router 3 as it is, and the IP packet received from the storage router 3 is transmitted to the host 1 as it is.
[0028]
The storage allocation mechanism 42 executes the following different processes (1), (2), (3), and (4) according to the Oncode information in the iSCSI PDU in the IP packet.
[0029]
(1) When the Oncode information in the iSCSI PDU in the IP packet is Login Request, a host identifier, a session type, a session identifier, and a connection identifier are extracted from the iSCSI PDU in the IP packet, and the IP is extracted from the IP header in the IP packet. The IP address of the host that transmitted the packet is extracted, and the port number of the host for establishing a connection is extracted from the TCP header in the IP packet.
[0030]
Here, the session type indicates whether the purpose of establishing a session is to discover a storage (Discovery) or not (Normal operation).
[0031]
If the session type is Discovery, it is checked whether the extracted host identifier exists in the current assignment table and the detailed information table.
[0032]
When the extracted host identifier is present in the current assignment table and the detailed information table, the host identifier in the iSCSI PDU in the IP packet is changed to a virtual host identifier according to the current assignment table, and is passed to the session establishment detection mechanism 41.
[0033]
If the extracted host identifier does not exist in the current assignment table, or if it exists in the current assignment table but does not exist in the detailed information table, it is checked whether the corresponding host identifier exists in the reservation assignment table.
[0034]
When the host identifier exists in the reservation assignment table, the host identifier in the iSCSI PDU in the IP packet is changed to a virtual host identifier as shown in the reservation assignment table, and a set of the host identifier and the virtual host identifier as shown in the reservation assignment table is changed. Is described in the current assignment table, and the detailed information table describes the host identifier, the session identifier, the connection identifier, the port number, the IP address, the scheduled session deletion and the scheduled connection deletion schedule, and passes the IP packet to the session establishment detection mechanism 41. . However, if there is a row of the host identifier corresponding to the current assignment table, it is deleted once, and a set of the host identifier and the virtual host identifier according to the reservation assignment table is described again in the current assignment table.
[0035]
If the host identifier does not exist in the reservation assignment table, the IP packet is passed to the session establishment detection mechanism 41 as it is.
[0036]
If the session type is Normal, it is checked whether the extracted host identifier exists in the current assignment table.
[0037]
If the extracted host identifier is present in the current assignment table, the host identifier in the iSCSI PDU in the IP packet is changed to the virtual host identifier as shown in the current assignment table, and the host identifier, session identifier, connection identifier, The port number and the IP address are entered, and the IP packet is passed to the session establishment detecting mechanism 41. If a row with the same host identifier, the same session identifier, and the same connection identifier exists in the detailed information table, it is overwritten.
[0038]
If the extracted host identifier does not exist, the IP packet is passed to the session establishment detecting mechanism 41 as it is.
[0039]
(2) When the Oncode information in the iSCSI PDU in the IP packet is Login Response, the virtual host identifier, the session type, and the Request result are extracted from the iSCSI PDU in the IP packet, and the IP of the host is extracted from the IP header in the IP packet. The address is extracted, and the port number of the host is extracted from the TCP header in the IP packet.
[0040]
If the session type is Discovery, it is checked whether the extracted virtual host identifier exists in the current assignment table and whether the Request result is successful.
[0041]
If the extracted virtual host identifier is present in the current assignment table and the Request result is successful, the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier according to the current assignment table, and the session establishment of the IP packet is detected. Hand over to mechanism 41.
[0042]
If the extracted virtual host identifier is present in the current assignment table and the Request result is unsuccessful, the host identifier corresponding to the extracted virtual host identifier is searched in the current assignment table, and the corresponding host identifier exists in the detailed information table. Confirm whether or not.
[0043]
If the host identifier exists in the detailed information table, the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier as shown in the current allocation table, and the IP packet is passed to the session establishment detection mechanism 41.
[0044]
If the host identifier does not exist in the detailed information table, the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier as shown in the current allocation table, and a set of the corresponding host identifier and virtual host identifier in the current allocation table is changed. And passes the IP packet to the session establishment detection mechanism.
[0045]
If the extracted virtual host identifier does not exist in the current assignment table, the IP packet is passed to the session establishment detection mechanism 41 as it is.
[0046]
If the session type is Normal, it is checked whether the extracted virtual host identifier exists in the current assignment table and whether the Request result is successful.
[0047]
If the extracted virtual host identifier is present in the current assignment table and the Request result is successful, the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier according to the current assignment table, and the session establishment of the IP packet is detected. Give 41 to the mechanism.
[0048]
If the extracted virtual host identifier is present in the current status assignment table and the request result is unsuccessful, the detailed information table is searched for and deletes the line where the extracted IP address and port number match, and the iSCSI PDU in the IP packet is deleted. Is changed to the host identifier as shown in the current assignment table, and the IP packet is passed to the session establishment detecting mechanism 41.
[0049]
If the extracted virtual host identifier does not exist in the current assignment table, the IP packet is passed to the session establishment detection mechanism 41 as it is.
[0050]
(3) When the Oncode information in the iSCSI PDU in the IP packet is Logout Request, the connection identifier and the logout reason are extracted from the iSCSI PDU in the IP packet, and the host IP address is extracted from the IP header in the IP packet. .
[0051]
If the extracted logout reason is the disconnection of the session, a host identifier having the extracted IP address is searched in the detailed information table, and the same connection identifier as the extracted connection identifier is set in association with the host identifier. The session deletion schedule of the session identifier and the corresponding connection deletion schedule are set to “yes”, the host identifier in the iSCSI PDU in the IP packet is changed to the virtual host identifier according to the current allocation table, and the IP packet is detected for session establishment. Hand over to mechanism 41.
[0052]
If the extracted logout reason is disconnection or transfer of the connection, the host identifier having the extracted IP address is searched in the detailed information table, and the same connection identifier as the extracted connection identifier is searched for in relation to the host identifier. The deletion schedule is set to “yes”, the host identifier in the iSCSI PDU in the IP packet is changed to the virtual host identifier as shown in the current allocation table, and the IP packet is passed to the session establishment detection mechanism 41.
[0053]
(4) When the Oncode information in the iSCSI PDU in the IP packet is Logout Response, a Request result is extracted from the iSCSI PDU in the IP packet, and the IP address of the host is extracted from the IP header in the IP packet. The port number of the host is extracted from the TCP header of the host.
[0054]
When the extracted Request result is successful, the host identifier having the extracted IP address is searched in the detailed information table, and the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier according to the current allocation table, The IP packet is passed to the session establishment detecting mechanism 41, the connection identifier having the extracted IP address and port number is searched in the detailed information table, and the connection identifier is used to determine the connection deletion schedule and the session deletion schedule related to the corresponding connection. Extract.
[0055]
If the extracted session is to be deleted, all the rows related to the session are deleted. A row related to the host identifier having the extracted IP address is searched in the detailed information table, and if there is no search result, the corresponding set of host identifiers is deleted from the current assignment table.
[0056]
If the extracted session is not scheduled to be deleted, the line related to the relevant connection is deleted. A row related to the host identifier having the extracted IP address is searched in the detailed information table, and if there is no prosecution result, the corresponding set of host identifiers is deleted from the current assignment table.
[0057]
When the extracted Request result is unsuccessful, the host identifier having the extracted IP address is searched in the detailed information table, and the virtual host identifier in the iSCSI PDU in the IP packet is changed to the host identifier according to the current allocation table, The IP packet is passed to the session establishment detection mechanism 41.
[0058]
If the received IP packet is an IP packet passed from the storage allocating mechanism 42, the session establishment detecting mechanism 41 looks at the IP header and transmits the IP packet received from the host 1 to the storage router 3; 3 is transmitted to the host 1.
[0059]
Note that the storage allocation device of the present invention can also be realized by installing a program having the procedures shown in the flowcharts of FIGS. 6 to 11 in a known computer via a medium or a communication line.
[0060]
【The invention's effect】
As described above, according to the present invention, storage management / registration can be performed only by the storage router, and storage allocation to the host is performed by the storage allocation device. The assignment management departments do not infringe each other's work. Further, in the storage allocating device, the storage is automatically allocated to the host based on a preset storage allocation rule to the host, so that reservation setting can be performed, and input mistakes by humans can be eliminated.
[Brief description of the drawings]
1 is an overall configuration diagram of an iSCSI storage system according to the present invention; FIG. 2 is a configuration diagram showing an example of an embodiment of a storage allocation device according to the present invention; FIG. 3 is an explanatory diagram showing an example of a current allocation table; FIG. 5 is an explanatory diagram showing an example of a reservation allocation table. FIG. 5 is an explanatory diagram showing an example of a detailed information table. FIG. 6 is a flowchart of processing in a session establishment detection mechanism. FIG. 7 is a flowchart of processing in a storage allocation mechanism. Flow chart of processing in the storage allocation mechanism [FIG. 9] Flow chart of processing in the storage allocation mechanism [FIG. 10] Flow chart of processing in the storage allocation mechanism [FIG. 11] Flow chart of processing in the storage allocation mechanism [Description of reference numerals]
1: host, 2: storage, 3: storage router, 4: storage allocation device, 5: IP network, 6: fiber channel network or SCSI bus, 41: session establishment detection mechanism, 42: storage allocation mechanism.

Claims (15)

IPネットワークに接続された少なくとも1つのホストと、ファイバチャネルネットワーク又はSCSIバスに接続された複数のストレージと、IPネットワーク及びファイバチャネルネットワーク又はSCSIバスの両方に接続され、ホストに対するストレージの割り当てを設定する少なくとも1つのストレージルータとを備え、ホストとストレージルータとの間にセッションを確立し、TCP/IP上でSCSIプロトコルによるデータの読み書きを実行するiSCSIストレージシステムにおけるストレージ割り当て装置であって、
IPネットワークとストレージルータとの間に接続され、予め設定されたホストへのストレージの割り当てルールに基づき、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを、ログインするホストに割り当てることにより、当該ホストに任意のストレージを割り当てる
ことを特徴とするストレージ割り当て装置。
At least one host connected to the IP network, a plurality of storages connected to the Fiber Channel network or the SCSI bus, and connected to both the IP network and the Fiber Channel network or the SCSI bus to set storage allocation to the host A storage allocation device in an iSCSI storage system comprising at least one storage router, establishing a session between a host and the storage router, and reading and writing data according to a SCSI protocol over TCP / IP,
A virtual host connected between the IP network and the storage router, to which one of the virtual hosts previously allocated to an arbitrary storage in the storage router is allocated to the host to log in, based on a preset storage allocation rule for the host. Thereby allocating any storage to the host.
IPネットワークに接続された少なくとも1つのホストと、ファイバチャネルネットワーク又はSCSIバスに接続された複数のストレージと、IPネットワーク及びファイバチャネルネットワーク又はSCSIバスの両方に接続され、ホストに対するストレージの割り当てを設定する少なくとも1つのストレージルータとを備え、ホストとストレージルータとの間にセッションを確立し、TCP/IP上でSCSIプロトコルによるデータの読み書きを実行するiSCSIストレージシステムにおけるストレージ割り当て装置であって、
ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出するセッション確立検出機構と、
セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを、ログインするホストに割り当てるストレージ割り当て機構とからなり、
IPネットワークとストレージルータとの間に接続される
ことを特徴とするストレージ割り当て装置。
At least one host connected to the IP network, a plurality of storages connected to the Fiber Channel network or the SCSI bus, and connected to both the IP network and the Fiber Channel network or the SCSI bus to set storage allocation to the host A storage allocation device in an iSCSI storage system comprising at least one storage router, establishing a session between a host and the storage router, and reading and writing data according to a SCSI protocol over TCP / IP,
A session establishment detection mechanism for detecting the establishment timing of a session in which the host logs in to the storage for the first time, or the host logs out of all the storages once, and logs in to the storage again;
A storage allocation mechanism that allocates one of the virtual hosts previously allocated to an arbitrary storage in the storage router to a host to be logged in based on a preset storage allocation rule for a host when detecting a session establishment timing. Consisting of
A storage allocating device connected between an IP network and a storage router.
請求項2に記載のストレージ割り当て装置において、
セッション確立検出機構は、ホストとストレージルータとの間のセッション及びTCPコネクションの情報を管理することで、ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出する
ことを特徴とするストレージ割り当て装置。
The storage allocation device according to claim 2,
The session establishment detection mechanism manages the session and the TCP connection information between the host and the storage router, so that the host logs in to the storage for the first time, or the host logs out of all the storages once and then logs in to the storage again. A storage allocation device for detecting a timing of establishing a session to be performed.
請求項2に記載のストレージ割り当て装置において、
ストレージ割り当て機構は、セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、ホストより受信したIPパケット内のiSCSI ProtocoI Data Unit内のホストを一意に識別できるホスト識別子を、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを一意に識別できる仮想ホスト識別子に付け替え、ストレージルータより受信したIPパケット内のiSCSI ProtocoI Data Unit内の前記仮想ホスト識別子を前記ホスト識別子に付け替える
ことを特徴とするストレージ割り当て装置。
The storage allocation device according to claim 2,
When detecting the session establishment timing, the storage allocation mechanism uniquely identifies the host in the iSCSI Protocol I Data Unit in the IP packet received from the host based on a preset storage allocation rule for the host. Is replaced with a virtual host identifier that can uniquely identify any of the virtual hosts previously allocated to any storage in the storage router, and the virtual host identifier in the iSCSI Protocol I Data Unit in the IP packet received from the storage router is replaced with the virtual host identifier. A storage allocating device, wherein the storage identifier is replaced with the host identifier.
請求項1乃至4いずれかに記載のストレージ割り当て装置において、
予め設定されたホストへのストレージの割り当てルールは、ストレージルータにおける仮想ホストに対するストレージの割り当てを前提とした、ストレージの割り当てを行うホストと仮想ホストとの対応関係で表される
ことを特徴とするストレージ割り当て装置。
The storage allocation device according to any one of claims 1 to 4,
The storage allocation rule for a host set in advance is represented by a correspondence between a host that performs storage allocation and a virtual host on the assumption that storage is allocated to a virtual host in a storage router. Assignment device.
IPネットワークに接続された少なくとも1つのホストと、ファイバチャネルネットワーク又はSCSIバスに接続された複数のストレージと、IPネットワーク及びファイバチャネルネットワーク又はSCSIバスの両方に接続され、ホストに対するストレージの割り当てを設定する少なくとも1つのストレージルータとを備え、ホストとストレージルータとの間にセッションを確立し、TCP/IP上でSCSIプロトコルによるデータの読み書きを実行するiSCSIストレージシステムにおけるストレージ割り当て方法であって、
仮想ホストに対するストレージの割り当てをストレージルータに設定し、
予め設定されたホストへのストレージの割り当てルールに基づき、ストレージルータにおいて任意のストレージに割り当てられた仮想ホストのいずれかを、ログインするホストに割り当てることにより、当該ホストに任意のストレージを割り当てる
ことを特徴とするストレージ割り当て方法。
At least one host connected to the IP network, a plurality of storages connected to the Fiber Channel network or the SCSI bus, and connected to both the IP network and the Fiber Channel network or the SCSI bus to set storage allocation to the host A storage allocation method in an iSCSI storage system comprising at least one storage router, establishing a session between a host and the storage router, and reading and writing data according to a SCSI protocol over TCP / IP,
Set the storage allocation for the virtual host in the storage router,
The storage router assigns any storage to the host by assigning any of the virtual hosts assigned to the arbitrary storage to the host to be logged in based on a preset storage allocation rule for the host. Storage allocation method to be used.
IPネットワークに接続された少なくとも1つのホストと、ファイバチャネルネットワーク又はSCSIバスに接続された複数のストレージと、IPネットワーク及びファイバチャネルネットワーク又はSCSIバスの両方に接続され、ホストに対するストレージの割り当てを設定する少なくとも1つのストレージルータとを備え、ホストとストレージルータとの間にセッションを確立し、TCP/IP上でSCSIプロトコルによるデータの読み書きを実行するiSCSIストレージシステムにおけるストレージ割り当て方法であって、
仮想ホストに対するストレージの割り当てをストレージルータに設定する工程と、
ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出する工程と、
セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、ストレージルータにおいて任意のストレージに割り当てられた仮想ホストのいずれかを、ログインするホストに割り当てる工程とからなる
ことを特徴とするストレージ割り当て方法。
At least one host connected to the IP network, a plurality of storages connected to the Fiber Channel network or the SCSI bus, and connected to both the IP network and the Fiber Channel network or the SCSI bus to set storage allocation to the host A storage allocation method in an iSCSI storage system comprising at least one storage router, establishing a session between a host and the storage router, and reading and writing data according to a SCSI protocol over TCP / IP,
Setting the storage allocation for the virtual host in the storage router;
A step in which the host logs in to the storage for the first time, or a step in which the host logs out of all the storages once and detects the establishment timing of the session in which the host logs in again;
Allocating any one of the virtual hosts allocated to any storage in the storage router to the host to be logged in, based on a preset storage allocation rule for the host when detecting the session establishment timing. A storage allocation method.
請求項7に記載のストレージ割り当て方法において、
セッション確立検出工程は、ホストとストレージルータとの間のセッション及びTCPコネクションの情報を管理することで、ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出する
ことを特徴とするストレージ割り当て方法。
The storage allocation method according to claim 7,
The session establishment detection step manages information on the session and the TCP connection between the host and the storage router, so that the host logs in to the storage for the first time, or the host logs out once from all the storages and then logs in to the storage again. A storage allocation method characterized by detecting the establishment timing of a session to be performed.
請求項7に記載のストレージ割り当て方法において、
ストレージ割り当て工程は、セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、ホストより受信したIPパケット内のiSCSI ProtocoI Data Unit内のホストを一意に識別できるホスト識別子を、ストレージルータにおいて任意のストレージに割り当てられた仮想ホストのいずれかを一意に識別できる仮想ホスト識別子に付け替え、ストレージルータより受信したIPパケット内のiSCSI ProtocoI Data Unit内の前記仮想ホスト識別子を前記ホスト識別子に付け替える
ことを特徴とするストレージ割り当て方法。
The storage allocation method according to claim 7,
In the storage allocation step, upon detecting a session establishment timing, a host identifier capable of uniquely identifying a host in an iSCSI Protocol I Data Unit in an IP packet received from the host, based on a preset storage allocation rule for the host. Is replaced with a virtual host identifier that can uniquely identify any of the virtual hosts assigned to any storage in the storage router, and the virtual host identifier in the iSCSI Protocol I Data Unit in the IP packet received from the storage router is replaced by the host. A storage allocation method characterized by replacing an identifier.
請求項6乃至9いずれかに記載のストレージ割り当て方法において、
予め設定されたホストへのストレージの割り当てルールは、ストレージルータにおける仮想ホストに対するストレージの割り当てを前提とした、ストレージの割り当てを行うホストと仮想ホストとの対応関係で表される
ことを特徴とするストレージ割り当て方法。
The storage allocation method according to any one of claims 6 to 9,
The storage allocation rule for a host set in advance is represented by a correspondence between a host that performs storage allocation and a virtual host on the assumption that storage is allocated to a virtual host in a storage router. Assignment method.
IPネットワークに接続された少なくとも1つのホストと、ファイバチャネルネットワーク又はSCSIバスに接続された複数のストレージと、IPネットワーク及びファイバチャネルネットワーク又はSCSIバスの両方に接続され、ホストに対するストレージの割り当てを設定する少なくとも1つのストレージルータとを備え、ホストとストレージルータとの間にセッションを確立し、TCP/IP上でSCSIプロトコルによるデータの読み書きを実行するiSCSIストレージシステムにおけるストレージ割り当て装置をコンピュータ上で実現するプログラムであって、
該プログラムは、
ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出する工程と、
セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを、ログインするホストに割り当てる工程とを実行する
ことを特徴とするストレージ割り当てプログラム。
At least one host connected to the IP network, a plurality of storages connected to the Fiber Channel network or the SCSI bus, and connected to both the IP network and the Fiber Channel network or the SCSI bus to set storage allocation to the host Program for realizing, on a computer, a storage allocating device in an iSCSI storage system that includes at least one storage router, establishes a session between a host and the storage router, and reads and writes data according to a SCSI protocol over TCP / IP And
The program is
A step in which the host logs in to the storage for the first time, or a step in which the host logs out of all the storages once and detects the establishment timing of the session in which the host logs in again;
Allocating any of the virtual hosts previously allocated to any storage in the storage router to the host to be logged in, based on a preset storage allocation rule for the host when detecting the session establishment timing. A storage allocation program to be executed.
請求項11に記載のストレージ割り当てプログラムにおいて、
セッション確立検出工程は、ホストとストレージルータとの間のセッション及びTCPコネクションの情報を管理することで、ホストが初めてストレージにログインし、又はホストが一旦、全てのストレージからログアウトし、改めてストレージにログインするセッションの確立タイミングを検出する
ことを特徴とするストレージ割り当てプログラム。
The storage allocation program according to claim 11,
The session establishment detection step manages information on the session and the TCP connection between the host and the storage router, so that the host logs in to the storage for the first time, or the host logs out once from all the storages and then logs in to the storage again. A storage allocation program for detecting the establishment timing of a session to be executed.
請求項11に記載のストレージ割り当てプログラムにおいて、
ストレージ割り当て工程は、セッションの確立タイミングを検出した際、予め設定されたホストへのストレージの割り当てルールに基づき、ホストより受信したIPパケット内のiSCSI ProtocoI Data Unit内のホストを一意に識別できるホスト識別子を、予めストレージルータにおいて任意のストレージに割り当てておいた仮想ホストのいずれかを一意に識別できる仮想ホスト識別子に付け替え、ストレージルータより受信したIPパケット内のiSCSI ProtocoI Data Unit内の前記仮想ホスト識別子を前記ホスト識別子に付け替える
ことを特徴とするストレージ割り当てプログラム。
The storage allocation program according to claim 11,
In the storage allocation step, upon detecting a session establishment timing, a host identifier capable of uniquely identifying a host in an iSCSI Protocol I Data Unit in an IP packet received from the host, based on a preset storage allocation rule for the host. Is replaced with a virtual host identifier that can uniquely identify any of the virtual hosts previously allocated to any storage in the storage router, and the virtual host identifier in the iSCSI Protocol I Data Unit in the IP packet received from the storage router is replaced with the virtual host identifier. A storage allocation program, wherein the storage identifier is replaced with the host identifier.
請求項11乃至13いずれかに記載のストレージ割り当てプログラムにおいて、
予め設定されたホストへのストレージの割り当てルールは、ストレージルータにおける仮想ホストに対するストレージの割り当てを前提とした、ストレージの割り当てを行うホストと仮想ホストとの対応関係で表される
ことを特徴とするストレージ割り当てプログラム。
The storage allocation program according to any one of claims 11 to 13,
The storage allocation rule for a host set in advance is represented by a correspondence between a host that performs storage allocation and a virtual host on the assumption that storage is allocated to a virtual host in a storage router. Assignment program.
請求項11乃至14いずれかに記載のストレージ割り当てプログラムを記録したことを特徴とするコンピュータ読み取り可能な媒体。A computer-readable medium storing the storage allocation program according to any one of claims 11 to 14.
JP2002331986A 2002-11-15 2002-11-15 Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon Pending JP2004164490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002331986A JP2004164490A (en) 2002-11-15 2002-11-15 Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002331986A JP2004164490A (en) 2002-11-15 2002-11-15 Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon

Publications (1)

Publication Number Publication Date
JP2004164490A true JP2004164490A (en) 2004-06-10

Family

ID=32809192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002331986A Pending JP2004164490A (en) 2002-11-15 2002-11-15 Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon

Country Status (1)

Country Link
JP (1) JP2004164490A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164476A (en) * 2005-12-14 2007-06-28 Hitachi Ltd Storage device, its control method and program
JP2008123170A (en) * 2006-11-10 2008-05-29 Hitachi Ltd Access environment construction system and method
CN103608791A (en) * 2011-06-16 2014-02-26 日本电气株式会社 Communication system, controller, switch, storage management device, and communication method
US10491544B2 (en) 2017-08-30 2019-11-26 Fujitsu Limited Consistency control of a logical path passing through a relay device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007164476A (en) * 2005-12-14 2007-06-28 Hitachi Ltd Storage device, its control method and program
JP4671353B2 (en) * 2005-12-14 2011-04-13 株式会社日立製作所 Storage apparatus and control method thereof
JP2008123170A (en) * 2006-11-10 2008-05-29 Hitachi Ltd Access environment construction system and method
CN103608791A (en) * 2011-06-16 2014-02-26 日本电气株式会社 Communication system, controller, switch, storage management device, and communication method
US9130886B2 (en) 2011-06-16 2015-09-08 Nec Corporation Communication system, controller, switch, storage managing apparatus and communication method
US10491544B2 (en) 2017-08-30 2019-11-26 Fujitsu Limited Consistency control of a logical path passing through a relay device

Similar Documents

Publication Publication Date Title
US11075980B2 (en) Method for operating a node cluster system in a network and node cluster system
EP1528746B1 (en) Disk control unit
JP4587446B2 (en) NETWORK SYSTEM, SWITCH DEVICE, ROUTE MANAGEMENT SERVER, ITS CONTROL METHOD, COMPUTER PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
US7519707B2 (en) Facilitating monitoring and simultaneously analyzing of network events of multiple hosts via a single network interface
US8605582B2 (en) IP network system and its access control method, IP address distributing device, and IP address distributing method
US7836203B2 (en) Automatic route setup via snooping dynamic addresses
US20090190474A1 (en) Bandwidth-aware multicast load balancing on a multi-interface host
JP2006260357A (en) Fail-over cluster system and fail-over method
US20050192923A1 (en) Computer system for allocating storage area to computer based on security level
JP5826320B2 (en) Network location service
WO2009149646A1 (en) Port switching method, network device and network system
US20150063361A1 (en) Computer system and communication route changing method
CN103401954B (en) The implementation method of virtual DHCP
EP3863224A1 (en) Diagram generation method and diagram generation program
JP2005025485A (en) Method and device for managing address
JP4309321B2 (en) Network system operation management method and storage apparatus
JP2004164490A (en) Storage assignment device, storage assignment method, storage assignment program and medium with program recorded thereon
US20150304200A1 (en) Traffic information collection system and collection control node
CN106559439B (en) A kind of method for processing business and equipment
US11431656B2 (en) Switch identification method and non-transitory computer-readable recording medium
JP4485875B2 (en) Storage connection changing method, storage management system and program
Cisco IBM Channel Attach Commands
Cisco IBM Channel Attach Commands
JP3892235B2 (en) Automatic address assignment method
TWI703835B (en) System and method for provisioning and monitoring virtual machine virtual network interface controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070912

A131 Notification of reasons for refusal

Effective date: 20080701

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080826

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090702