JP2004227154A - Fiber channel switch and storage medium storing fcp processing program - Google Patents
Fiber channel switch and storage medium storing fcp processing program Download PDFInfo
- Publication number
- JP2004227154A JP2004227154A JP2003012402A JP2003012402A JP2004227154A JP 2004227154 A JP2004227154 A JP 2004227154A JP 2003012402 A JP2003012402 A JP 2003012402A JP 2003012402 A JP2003012402 A JP 2003012402A JP 2004227154 A JP2004227154 A JP 2004227154A
- Authority
- JP
- Japan
- Prior art keywords
- lun
- fcp
- fiber channel
- storage device
- wwn
- 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.)
- Granted
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は,システム装置と記憶装置を選択的に接続するファイバチャネルスイッチに関し,特にシステム装置からアクセス制御機能を有しない記憶装置を含む複数の記憶装置へのアクセス制御を管理可能とするファイバチャネルスイッチに関する。
【0002】
【従来の技術】
従来,システム装置(ホストコンピュータ)からファイバチャネルスイッチを介して記憶装置(ストレージサブシステム)内の記憶領域へのアクセスを,選択的に制御するものが知られている(例えば,特許文献1参照)。
【0003】
又,ファイバチャネルのポート毎にアクセス制御を行なうゾーニングを用いることにより,複数のポートを有する記憶装置へアクセス制御するものが公知である。
【0004】
なお,ファイバチャネルとはSCSI等の従来プロトコルを高速に転送する技術であり,詳細は書籍「ファイバチャネル技術解説書」(ISBN4−8460−0219−5)に記されている(非特許文献1参照)。
【0005】
【特許文献1】
特開2000−276406号公報
【0006】
【非特許文献1】
ファイバチャネル協議会編「ファイバチャネル技術解説書」論創社,2001年5月15日,p.2−11
【0007】
【発明が解決しようとする課題】
前記特許文献1に記載されている技術は,特定の記憶装置に依存するものであり,複数の異なる記憶装置に対するアクセス制御については検討されていない。
【0008】
又,ゾーニングを用いたアクセス制御は,記憶装置が有するポート数に依存するものであり,ポート数を超えたアクセス定義を行なうことが出来ないという課題があった。
【0009】
本発明は,上記課題に鑑みて為されたものであり,アクセス制御機能を有しない記憶装置を含む複数の記憶装置に対するアクセス制御を,記憶装置の機能や記憶装置が有するファイバチャネルのポート数に依存することなく一元管理することを目的とする。
【0010】
【課題を解決するための手段】
請求項1の記載に係る発明は,
ファイバチャネルプロトコルタイプ判別部と,SCSI−FCP判別部と,LUNアクセス判定部と,WWN−PID変換テーブルと,LUNアクセス許可テーブルから構成されるファイバチャネルスイッチであって,
SCSI−FCP判別部は,受信したSCSI−FCPがFCP_CMNDであるか否かを判別し,
LUNアクセス判定部は,WWN−PID変換テーブルとLUNアクセス許可テーブルを参照し,FCP_CMNDが記憶装置のLUNへのアクセス許可を有するか否かを判定するものである,
ことを特徴とする。
【0011】
請求項2の記載に係る発明は,
請求項1に記載されたファイバチャネルスイッチにおいて,
LUNアクセス許可テーブルは,システム装置WWNと記憶装置WWNと記憶装置LUNから構成されることを特徴とする。
【0012】
請求項3の記載に係る発明は,
請求項1又は請求項2に記載されたファイバチャネルスイッチにおいて,
LUNアクセスフラグを付設することを特徴とする。
【0013】
請求項4の記載に係る発明は,
コンピュータプログラムを記憶した記憶媒体であって,
コンピュータプログラムは,ファイバチャネルフレームを受信し取得するステップと,取得したファイバチャネルフレームがSCSI−FCPであり且つFCP_CMNDであるか否かを判定するステップと,LUNアクセスフラグをクリアするステップと,そのLUNへのアクセスが可能であるか否かを判定するLUNアクセス判定処理を行うステップと,LUNアクセスフラグが『1』であるか否かを判定するステップと,LUNアクセスフラグが『1』であると判定した場合に当該フレームをD_IDで示すポートへ送信するステップと,LUNアクセスフラグが『0』であると判定した場合に当該フレームを破棄するステップと,を有するFCP処理プログラムであることを特徴とする。
【0014】
請求項5の記載に係る発明は,
コンピュータプログラムを記憶した記憶媒体であって,
コンピュータプログラムは,WWN−PID変換テーブルを用いてファイバチャネルフレーム内のS_IDをWWN1へD_IDをWWN2へ変換するステップと,LUNアクセス許可テーブルを参照して,システム装置WWNの列にWWN1もしくは未指定の行が有るか否かを判定するステップと,前のステップで該当したLUNアクセス許可テーブルの行の範囲において,記憶装置WWNの列にWWN2もしくは未指定の行が有るか否かを判定するステップと,前のステップで該当したLUNアクセス許可テーブルの行の範囲において,記憶装置LUNの列にファイバチャネルフレーム内のLUNもしくは未指定の行が有るか否かを判定するステップと,前記3つの判定ステップ全てにおいて有ると判定した場合にLUNアクセスフラグに『1』を設定するステップと,前記3つの判定ステップの何れかにおいて無いと判定した場合にLUNアクセスフラグに『0』を設定するステップと,を有するLUNアクセス判定処理プログラムであることを特徴とする。
【0015】
【発明の実施の形態】
以下に,本発明のファイバチャネルスイッチを,図1〜図8を用いて説明する。図1は本発明のファイバチャネルスイッチ100の構成を,図2はWWN−PID変換テーブル106の例を,図3はLUNアクセス許可テーブル107の例を,図4はSCSI−FCPのフレーム構造を,図5はREAD系のSCSI−FCPのフレーム送信のシーケンスを,図6はWRITE系のSCSI−FCPのフレーム送信のシーケンスを,図7はファイバチャネルスイッチ100のFCP処理のフローチャートを,図8はLUNアクセス判定処理のフローチャートを,それぞれ示す図である。
【0016】
図1において,本発明のファイバチャネルスイッチ100は,1つ又は複数のシステム装置10及び1つ又は複数の記憶装置20と,各々ファイバチャネルケーブル31及び32で接続されて,情報処理システムを構成している。
【0017】
システム装置10は,1つ又は複数のポート11を有する通常のコンピュータ装置である。ポート11は,システム装置10をファイバチャネルスイッチ100に接続するためのものであり,1つのWWNと1つのPIDを有する。WWNはポート11を識別するための固定値であり,PIDはWWNに対応するポートアドレスである。
【0018】
記憶装置20は,1つ又は複数のポート21と1つ又は複数のLUN22を有する記憶装置である。ポート21は,記憶装置20がファイバチャネルスイッチ100に接続するためのものであり,システム装置10と同様に,1つのWWNと1つのPIDを有する。WWNはポート21を識別するための固定値であり,PIDはWWNに対応するポートアドレスである。LUN22は記憶領域である。
【0019】
本発明のファイバチャネルスイッチ100は,ファイバチャネルフレーム送信部101と,ファイバチャネルフレーム受信部102と,ファイバチャネルプロトコルタイプ判別部103と,SCSI−FCP判別部104と,LUNアクセス判定部105と,その詳細を図2に示すWWN−PID変換テーブル106と,その詳細を図3に示すLUNアクセス許可テーブル107と,LUNアクセスフラグ108から構成されており,システム装置10及び記憶装置20のLUN22との間のアクセス制御を行なうものである。
【0020】
ファイバチャネルフレーム送信部101は,ファイバチャネルフレームを該当先のシステム装置10或いは記憶装置20へ送信するものである。
【0021】
ファイバチャネルフレーム受信部102は,システム装置10或いは記憶装置20から送信されて来たファイバチャネルフレームを受信するものである。
【0022】
ファイバチャネルプロトコルタイプ判別部103は,ファイバチャネルフレーム受信部102が受信したファイバチャネルフレームが,SCSI用ファイバチャネルプロトコル(SCSI−FCP)であるか否かを判別するものである。SCSI−FCPの詳細は図4を用いて後で説明する。
【0023】
SCSI−FCP判別部104は,ファイバチャネルフレーム受信部102が受信したSCSI−FCPが,コマンド送信用(FCP_CMND)であるか否かを判別するものである。
【0024】
LUNアクセス判定部105は,WWN−PID変換テーブル106とLUNアクセス許可テーブル107を参照し,FCP_CMNDが記憶装置20のLUN22へのアクセス許可を有するか否かを判定するものである。LUNアクセス判定部105のLUNアクセス判定処理の詳細は図8を用いて後で説明する。
【0025】
LUNアクセスフラグ108は,図7のFCP処理の際に使用されるものである。
【0026】
図2は,WWN−PID変換テーブル106の例を示す図である。WWN−PID変換テーブル106は,ポートを識別するための固定値WWNと,WWNに対応するポートアドレスPIDから構成され,PIDとWWNが1対1で対応している。
【0027】
図3は,LUNアクセス許可テーブル107の例を示す図である。LUNアクセス許可テーブル107は,システム装置WWNと,記憶装置WWNと,記憶装置LUNから構成される。LUNアクセス許可テーブル107の同一行のものが,システム装置WWNから記憶装置WWNのLUNへアクセス可能な組み合わせである。例えば,LUNアクセス許可テーブル107の1行目は,システム装置10のWWN10aが記憶装置20のWWN20aの指定されていない任意(以下「未指定」という)のLUNにアクセスが可能であることを表す。又2行目は,システム装置10のWWN10aが記憶装置20のWWN20bのLUN0にアクセスが可能であることを表す。又3行目は,システム装置10のWWN10bが記憶装置20のWWN20bのLUN1にアクセスが可能であることを表す。又4行目は,システム装置10の未指定のWWNが記憶装置20のWWN20bのLUN2にアクセスが可能であることを表す。又5行目は,システム装置10の未指定のWWNが記憶装置20のWWN20cの未指定のLUNにアクセスが可能であることを表す。又6行目は,システム装置10のWWN10cが記憶装置20の未指定のWWNの未指定のLUNにアクセスが可能であることを表す。
【0028】
図4は,SCSI−FCPのフレーム構造を示す図である。SCSI−FCPは,FCP_CMND210と,FCP_RSP220と,FCP_DATA230と,FCP_XFER_RDY240から構成される。
【0029】
FCP_CMND210は,システム装置10が記憶装置20を利用する際に,システム装置10が最初に発行するSCSI−FCPであり,R_CTL211と,D_ID212と,S_ID213と,TYPE214と,LUN215と,CDB216を有する。R_CTL211は,SCSI−FCPの種別を表し,FCP_CMND210の場合は値が「0x06」である。D_ID212は,送信先ポートアドレスを表し,FCP_CMND210の場合は記憶装置20のポートアドレスである。S_ID213は,送信元ポートアドレスを表し,FCP_CMND210の場合はシステム装置10のポートアドレスである。TYPE214は,ファイバチャネルプロトコルタイプを表し,SCSI−FCPの場合は値が「0x08」である。LUN215は,送信先の記憶装置20のLUN22である。CDB216は,システム装置10が記憶装置20に要求するコマンドを表し,大別して記憶装置20から情報を取得するREAD系のコマンドと,記憶装置20へ情報を送るWRITE系のコマンドがある。
【0030】
FCP_RSP220は,FCP_CMND210の発行で始まる1連のファイバチャネルフレーム送受信の最後に記憶装置20がシステム装置10へ発行するSCSI−FCPであり,R_CTL221と,D_ID222と,S_ID223と,TYPE224を有する。R_CTL221は,SCSI−FCPの種別を表し,FCP_RSP220の場合は値が「0x07」である。D_ID222は,送信先ポートアドレスを表し,FCP_RSP220の場合はシステム装置10のポートアドレスである。S_ID223は,送信元ポートアドレスを示し,FCP_RSP220の場合は記憶装置20のポートアドレスである。TYPE224は,ファイバチャネルプロトコルタイプを表し,TYPE214と同様に値が「0x08」である。
【0031】
FCP_DATA230は,FCP_CMND210のCDB216で指定されたコマンドに従ってデータを転送する為のSCSI−FCPであり,R_CTL231と,D_ID232と,S_ID233と,TYPE234と,DATA235を有する。R_CTL231は,SCSI−FCPの種別を表し,FCP_DATA230の場合は値が「0x01」である。D_ID232は,送信先ポートアドレスを表し,FCP_CMND210のCDB216が,READ系コマンドであった場合はシステム装置10のポートアドレスであり,WRITE系コマンドであった場合は記憶装置20のポートアドレスである。S_ID233は,送信元ポートアドレスを表し,FCP_CMND210のCDB216が,READ系コマンドであった場合は記憶装置20のポートアドレスであり,WRITE系コマンドであった場合はシステム装置10のポートアドレスである。TYPE234は,ファイバチャネルプロトコルタイプを表し,TYPE214と同様に値が「0x08」である。DATA235は,記憶装置20或いはシステム装置10が実際に転送するデータを表す。
【0032】
FCP_XFER_RDY240は,記憶装置20がWRITE系のCDB216を有するFCP_CMND210を受信した際に,システム装置10に対してFCP_DATA230の発行許可を発行する為のSCSI−FCPであり,R_CTL241と,D_ID242と,S_ID243と,TYPE244を有する。R_CTL241は,SCSI−FCPの種別を表し,FCP_XFER_RDY240の場合は値が「0x05」である。D_ID242は,送信先ポートアドレスを表し,FCP_XFER_RDY240の場合はシステム装置10のポートアドレスである。S_ID243は,送信元ポートアドレスを表し,FCP_XFER_RDY240の場合は記憶装置20のポートアドレスである。TYPE244は,ファイバチャネルプロトコルタイプを表し,TYPE214と同様に値が「0x08」である。
【0033】
図5は,READ系のSCSI−FCPのフレーム送信のシーケンスを示す図である。始めに,システム装置10が記憶装置20に対して,READ系のCDB216を有するFCP_CMND210を発行する。すると,記憶装置20は,FCP_CMND210で要求されているデータを,システム装置10にFCP_DATA230で転送する。全てのデータの転送が完了すると,記憶装置20はシステム装置10に対して,FCP_RSP220を発行する。
【0034】
図6は,WRITE系のSCSI−FCPのフレーム送信のシーケンスを示す図である。始めに,システム装置10が記憶装置20に対して,WRITE系のCDB216を有するFCP_CMND210を発行する。すると,記憶装置20は,データを受信する準備が完了すると,システム装置10に対してFCP_XFER_RDY240を発行する。すると,システム装置10は,FCP_CMND210で要求しているデータを,記憶装置20にFCP_DATA230で転送する。全てのデータの受領が完了すると,記憶装置20はシステム装置10に対して,FCP_RSP220を発行する。
【0035】
図7は,ファイバチャネルスイッチ100のFCP処理のフローチャートを示す図である。
【0036】
図7において,ファイバチャネルスイッチ100は,始めに,ファイバチャネル受信部102が,送信されて来たファイバチャネルフレームを受信し取得する(ステップS701)。次に,ファイバチャネルプロトコルタイプ判別部103が,取得したファイバチャネルフレームのTYPEが『0x08』であるか否かを判定する(ステップS702)。ファイバチャネルフレームのTYPEが『0x08』でないと判定した場合は,ステップS707へ進む。TYPEが『0x08』であると判定した場合は,ファイバチャネルフレームのTYPEがSCSI−FCPであると判定してステップS703へ進む。ステップS703では,SCSI−FCP判別部104が,SCSI−FCPのR_CTLが『0x06』であるか否かを判定する。SCSI−FCPのR_CTLが『0x06』でないと判定した場合は,ステップS707へ進む。R_CTLが『0x06』であると判定した場合は,SCSI−FCPがFCP_CMND210であるとが判定してステップS704へ進む。ステップS704ではLUNアクセスフラグ108をクリア(『0』と設定)し,続いてLUNアクセス判定部105がLUNアクセス判定処理を行って,ファイバチャネルフレームが指定する記憶装置20のLUN22へアクセス可能か否かを判定する(ステップS705,このステップのLUNアクセス判定処理については,図8を用いて後で詳細に説明する)。次に,ステップS706では,LUNアクセスフラグ108が『1』であるか否かを判定する。LUNアクセスフラグ108が『1』であると判定した場合は,ステップS707へ進み,LUNアクセスフラグ108が『0』であると判定した場合は,ステップS708へ進む。ステップS707では,ファイバチャネルフレーム送信部101が当該フレームをD_IDで示すポートへ送信し,その後にFCP処理を終了する。又,ステップS708では,当該フレームを破棄した後にFCP処理を終了する。
【0037】
図8は,LUNアクセス判定処理(ステップS705)のフローチャートを示す図である。
【0038】
図8において,LUNアクセス判定部105は,始めに,WWN−PID変換テーブル106を用いて,ファイバチャネルフレーム内のS_IDをWWN1へ,D_IDをWWN2へ,それぞれ変換する(ステップS801)。次に,LUNアクセス許可テーブル107を参照して,システム装置WWNの列にWWN1もしくは未指定の行が有るか否かを判定する(ステップS802)。WWN1もしくは未指定の行が無いと判定した場合はステップS806へ進む。WWN1もしくは未指定の行が有ると判定した場合は,ステップS803で,LUNアクセス許可テーブル107を参照して,ステップS802で該当したLUNアクセス許可テーブル107の行の範囲において,記憶装置WWNの列にWWN2もしくは未指定の行が有るか否かを判定する。WWN2もしくは未指定の行が無いと判定した場合はステップS806へ進む。WWN2もしくは未指定の行が有ると判定した場合は,ステップS804で,LUNアクセス許可テーブル107を参照して,ステップS803で該当したLUNアクセス許可テーブル107の行の範囲において,記憶装置LUNの列にファイバチャネルフレーム内のLUNもしくは未指定の行が有るか否かを判定する。LUNもしくは未指定の行が無いと判定した場合はステップS806へ進む。LUNもしくは未指定の行が有ると判定した場合は,ステップS805で,LUNアクセスフラグ108に『1』を設定した後にLUNアクセス判定処理を終了する。ステップS806では,LUNアクセスフラグ108に『0』を設定した後にLUNアクセス判定処理を終了する。
【0039】
【発明の効果】
本発明によれば,LUN毎のアクセス制御をファイバチャネルスイッチ100で行なうことにより,アクセス制御機能を有しない記憶装置を含む複数の記憶装置に対するアクセス制御を,記憶装置の機能や記憶装置が有するファイバチャネルのポート数に依存することなく一元管理することが出来るという効果がある。
【図面の簡単な説明】
【図1】本発明のファイバチャネルスイッチ100の構成を示す図である。
【図2】WWN−PID変換テーブル106の例を示す図である。
【図3】LUNアクセス許可テーブル107の例を示す図である。
【図4】SCSI−FCPのフレーム構造を示す図である。
【図5】READ系のSCSI−FCPのフレーム送信のシーケンスを示す図である。
【図6】WRITE系のSCSI−FCPのフレーム送信のシーケンスを示す図である。
【図7】ファイバチャネルスイッチ100のFCP処理のフローチャートを示す図である。
【図8】LUNアクセス判定処理のフローチャートを示す図である。
【符号の説明】
10 システム装置
11 ポート
20 記憶装置
21 ポート
22 LUN
31 ファイバチャネルケーブル
32 ファイバチャネルケーブル
100 ファイバチャネルスイッチ
101 ファイバチャネルフレーム送信部
102 ファイバチャネルフレーム受信部
103 ファイバチャネルプロトコルタイプ判別部
104 SCSI−FCP判別部
105 LUNアクセス判定部
106 WWN−PID変換テーブル
107 LUNアクセス許可テーブル
108 LUNアクセスフラグ
210 FCP_CMND
220 FCP_RSP
230 FCP_DATA
240 FCP_XFER_RDY[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a fiber channel switch for selectively connecting a system device and a storage device, and in particular, to a fiber channel switch capable of managing access control from a system device to a plurality of storage devices including a storage device having no access control function. About.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there has been known an apparatus which selectively controls access from a system device (host computer) to a storage area in a storage device (storage subsystem) via a fiber channel switch (for example, see Patent Document 1). .
[0003]
In addition, there is known a method of controlling access to a storage device having a plurality of ports by using zoning for performing access control for each fiber channel port.
[0004]
The fiber channel is a technology for transferring a conventional protocol such as SCSI at a high speed, and is described in detail in the book "Fibre Channel Technical Manual" (ISBN4-8460-0219-5) (see Non-Patent Document 1). ).
[0005]
[Patent Document 1]
JP 2000-276406 A
[Non-patent document 1]
Fiber Channel Council, edited by "Fibre Channel Technology", May 15, 2001, p. 2-11
[0007]
[Problems to be solved by the invention]
The technique described in
[0008]
In addition, access control using zoning depends on the number of ports of the storage device, and there is a problem that it is not possible to perform an access definition exceeding the number of ports.
[0009]
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides access control for a plurality of storage devices including a storage device having no access control function to the number of fiber channel ports included in the storage device. The purpose is to centrally manage without relying on it.
[0010]
[Means for Solving the Problems]
The invention according to
A fiber channel switch comprising a fiber channel protocol type determination unit, a SCSI-FCP determination unit, a LUN access determination unit, a WWN-PID conversion table, and a LUN access permission table,
The SCSI-FCP determination unit determines whether the received SCSI-FCP is FCP_CMND,
The LUN access determination unit refers to the WWN-PID conversion table and the LUN access permission table, and determines whether or not FCP_CMND has permission to access the LUN of the storage device.
It is characterized by the following.
[0011]
The invention according to
The fiber channel switch according to
The LUN access permission table includes a system device WWN, a storage device WWN, and a storage device LUN.
[0012]
The invention according to claim 3 is:
In the fiber channel switch according to
A LUN access flag is additionally provided.
[0013]
The invention according to claim 4 is:
A storage medium storing a computer program,
The computer program receives and acquires the Fiber Channel frame, determines whether or not the acquired Fiber Channel frame is SCSI-FCP and FCP_CMND, clears the LUN access flag, and executes the LUN. Performing a LUN access determination process for determining whether or not access to is possible, determining whether the LUN access flag is “1”, and determining that the LUN access flag is “1”. An FCP processing program having a step of transmitting the frame to the port indicated by D_ID when it is determined, and a step of discarding the frame when it is determined that the LUN access flag is “0”. I do.
[0014]
The invention according to
A storage medium storing a computer program,
The computer program uses the WWN-PID conversion table to convert the S_ID in the fiber channel frame to WWN1 and the D_ID to WWN2, and refers to the LUN access permission table to set the WWN1 or unspecified in the column of the system device WWN. A step of determining whether or not there is a row; and a step of determining whether or not a row of WWN2 or an unspecified row exists in a column of the storage device WWN within a range of the row of the LUN access permission table corresponding to the previous step. Determining whether there is a LUN or an unspecified row in the fiber channel frame in the column of the storage device LUN in the range of the row of the LUN access permission table corresponding to the previous step; LUN access flag if it is determined to be present in all A LUN access determination processing program comprising: a step of setting “1”; and a step of setting a LUN access flag to “0” when it is determined that the LUN access flag does not exist in any of the three determination steps. I do.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
The fiber channel switch according to the present invention will be described below with reference to FIGS. FIG. 1 shows the configuration of the
[0016]
In FIG. 1, a
[0017]
The
[0018]
The
[0019]
The
[0020]
The fiber channel
[0021]
The fiber channel
[0022]
The fiber channel protocol
[0023]
The SCSI-
[0024]
The LUN access determination unit 105 refers to the WWN-PID conversion table 106 and the LUN access permission table 107 to determine whether or not the FCP_CMND has permission to access the LUN 22 of the
[0025]
The
[0026]
FIG. 2 is a diagram showing an example of the WWN-PID conversion table 106. The WWN-PID conversion table 106 is composed of a fixed value WWN for identifying a port and a port address PID corresponding to the WWN, and the PID and WWN correspond one-to-one.
[0027]
FIG. 3 is a diagram showing an example of the LUN access permission table 107. The LUN access permission table 107 includes a system device WWN, a storage device WWN, and a storage device LUN. The combination in the same row of the LUN access permission table 107 is a combination that allows the system device WWN to access the LUN of the storage device WWN. For example, the first line of the LUN access permission table 107 indicates that the WWN 10a of the
[0028]
FIG. 4 is a diagram showing a frame structure of SCSI-FCP. The SCSI-FCP includes
[0029]
The
[0030]
The
[0031]
The
[0032]
The
[0033]
FIG. 5 is a diagram showing a sequence of frame transmission of the SCSI-FCP of the READ system. First, the
[0034]
FIG. 6 is a diagram showing a sequence of WRITE SCSI-FCP frame transmission. First, the
[0035]
FIG. 7 is a diagram illustrating a flowchart of the FCP process of the
[0036]
7, in the
[0037]
FIG. 8 is a diagram illustrating a flowchart of the LUN access determination process (step S705).
[0038]
8, first, the LUN access determination unit 105 uses the WWN-PID conversion table 106 to convert the S_ID in the fiber channel frame into WWN1 and the D_ID into WWN2, respectively (step S801). Next, referring to the LUN access permission table 107, it is determined whether or not WWN1 or an unspecified row exists in the column of the system device WWN (step S802). If it is determined that there is no WWN1 or unspecified line, the process proceeds to step S806. If it is determined that there is a WWN1 or an unspecified row, the LUN access permission table 107 is referred to in step S803, and the row of the LUN access permission table 107 corresponding to the row of the storage device WWN in step S802. It is determined whether there is WWN2 or an unspecified row. If it is determined that there is no WWN2 or unspecified line, the process proceeds to step S806. If it is determined that there is a WWN2 or an unspecified row, in step S804, the LUN access permission table 107 is referred to, and in the range of the corresponding row of the LUN access permission table 107 in step S803, the column of the storage device LUN is displayed. It is determined whether there is a LUN or an unspecified line in the fiber channel frame. If it is determined that there is no LUN or unspecified line, the process advances to step S806. If it is determined that there is a LUN or an unspecified line, the
[0039]
【The invention's effect】
According to the present invention, by performing access control for each LUN by the
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a
FIG. 2 is a diagram showing an example of a WWN-PID conversion table 106.
FIG. 3 is a diagram showing an example of a LUN access permission table 107.
FIG. 4 is a diagram illustrating a frame structure of SCSI-FCP.
FIG. 5 is a diagram illustrating a sequence of frame transmission of a SCSI of the READ system according to the present invention.
FIG. 6 is a diagram showing a sequence of WRITE SCSI-FCP frame transmission.
FIG. 7 is a diagram illustrating a flowchart of an FCP process of the
FIG. 8 is a diagram illustrating a flowchart of a LUN access determination process.
[Explanation of symbols]
10 System device 11
31
220 FCP_RSP
230 FCP_DATA
240 FCP_XFER_RDY
Claims (5)
SCSI−FCP判別部は,受信したSCSI−FCPがFCP_CMNDであるか否かを判別し,
LUNアクセス判定部は,WWN−PID変換テーブルとLUNアクセス許可テーブルを参照し,FCP_CMNDが記憶装置のLUNへのアクセス許可を有するか否かを判定するものである,
ことを特徴とするファイバチャネルスイッチ。A fiber channel switch comprising a fiber channel protocol type determination unit, a SCSI-FCP determination unit, a LUN access determination unit, a WWN-PID conversion table, and a LUN access permission table,
The SCSI-FCP determination unit determines whether the received SCSI-FCP is FCP_CMND,
The LUN access determination unit refers to the WWN-PID conversion table and the LUN access permission table, and determines whether or not FCP_CMND has permission to access the LUN of the storage device.
A fiber channel switch, characterized in that:
LUNアクセス許可テーブルは,システム装置WWNと記憶装置WWNと記憶装置LUNから構成されることを特徴とするファイバチャネルスイッチ。The fiber channel switch according to claim 1,
A fiber channel switch, wherein the LUN access permission table includes a system device WWN, a storage device WWN, and a storage device LUN.
LUNアクセスフラグを付設することを特徴とするファイバチャネルスイッチ。In the fiber channel switch according to claim 1 or 2,
A fiber channel switch, which is provided with a LUN access flag.
コンピュータプログラムは,ファイバチャネルフレームを受信し取得するステップと,取得したファイバチャネルフレームがSCSI−FCPであり且つFCP_CMNDであるか否かを判定するステップと,LUNアクセスフラグをクリアするステップと,そのLUNへのアクセスが可能であるか否かを判定するLUNアクセス判定処理を行うステップと,LUNアクセスフラグが『1』であるか否かを判定するステップと,LUNアクセスフラグが『1』であると判定した場合に当該フレームをD_IDで示すポートへ送信するステップと,LUNアクセスフラグが『0』であると判定した場合に当該フレームを破棄するステップと,を有するFCP処理プログラムであることを特徴とするプログラムを記憶した記憶媒体。A storage medium storing a computer program,
The computer program receives and acquires the Fiber Channel frame, determines whether or not the acquired Fiber Channel frame is SCSI-FCP and FCP_CMND, clears the LUN access flag, and executes the LUN. Performing a LUN access determination process for determining whether or not access to is possible, determining whether the LUN access flag is “1”, and determining that the LUN access flag is “1”. An FCP processing program having a step of transmitting the frame to the port indicated by D_ID when it is determined, and a step of discarding the frame when it is determined that the LUN access flag is “0”. Storage medium storing a program to be executed.
コンピュータプログラムは,WWN−PID変換テーブルを用いてファイバチャネルフレーム内のS_IDをWWN1へD_IDをWWN2へ変換するステップと,LUNアクセス許可テーブルを参照して,システム装置WWNの列にWWN1もしくは未指定の行が有るか否かを判定するステップと,前のステップで該当したLUNアクセス許可テーブルの行の範囲において,記憶装置WWNの列にWWN2もしくは未指定の行が有るか否かを判定するステップと,前のステップで該当したLUNアクセス許可テーブルの行の範囲において,記憶装置LUNの列にファイバチャネルフレーム内のLUNもしくは未指定の行が有るか否かを判定するステップと,前記3つの判定ステップ全てにおいて有ると判定した場合にLUNアクセスフラグに『1』を設定するステップと,前記3つの判定ステップの何れかにおいて無いと判定した場合にLUNアクセスフラグに『0』を設定するステップと,を有するLUNアクセス判定処理プログラムであることを特徴とするプログラムを記憶した記憶媒体。A storage medium storing a computer program,
The computer program uses the WWN-PID conversion table to convert the S_ID in the fiber channel frame to WWN1 and the D_ID to WWN2, and refers to the LUN access permission table to set the WWN1 or unspecified in the column of the system device WWN. A step of determining whether or not there is a row; and a step of determining whether or not a row of WWN2 or an unspecified row exists in a column of the storage device WWN within a range of the row of the LUN access permission table corresponding to the previous step. Determining whether there is a LUN or an unspecified row in the fiber channel frame in the column of the storage device LUN in the range of the row of the LUN access permission table corresponding to the previous step; LUN access flag if it is determined to be present in all A LUN access determination processing program comprising: a step of setting “1”; and a step of setting a LUN access flag to “0” when it is determined that the LUN access flag does not exist in any of the three determination steps. Storage medium storing a program to be executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003012402A JP4287160B2 (en) | 2003-01-21 | 2003-01-21 | Fiber channel switch and storage medium storing FCP processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003012402A JP4287160B2 (en) | 2003-01-21 | 2003-01-21 | Fiber channel switch and storage medium storing FCP processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004227154A true JP2004227154A (en) | 2004-08-12 |
JP4287160B2 JP4287160B2 (en) | 2009-07-01 |
Family
ID=32901021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003012402A Expired - Fee Related JP4287160B2 (en) | 2003-01-21 | 2003-01-21 | Fiber channel switch and storage medium storing FCP processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4287160B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366808B2 (en) * | 2005-11-23 | 2008-04-29 | Hitachi, Ltd. | System, method and apparatus for multiple-protocol-accessible OSD storage subsystem |
-
2003
- 2003-01-21 JP JP2003012402A patent/JP4287160B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366808B2 (en) * | 2005-11-23 | 2008-04-29 | Hitachi, Ltd. | System, method and apparatus for multiple-protocol-accessible OSD storage subsystem |
US7536491B2 (en) | 2005-11-23 | 2009-05-19 | Hitachi, Ltd. | System, method and apparatus for multiple-protocol-accessible OSD storage subsystem |
Also Published As
Publication number | Publication date |
---|---|
JP4287160B2 (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7688867B1 (en) | Dual-mode network storage systems and methods | |
TWI427479B (en) | Control method, system, computer program product, computer readable medium in fibre channel communications | |
US7177912B1 (en) | SCSI transport protocol via TCP/IP using existing network hardware and software | |
JP5220974B2 (en) | Apparatus and method for acceleration of hardware execution or operating system functions | |
US6886086B2 (en) | Storage system and data backup method for the same | |
US7058748B1 (en) | ATA device control via a packet-based interface | |
US8504766B2 (en) | Methods and apparatus for cut-through cache management for a mirrored virtual volume of a virtualized storage system | |
US7228399B2 (en) | Control method for storage device controller system, and storage device controller system | |
EP1571542A1 (en) | Storage control system and method | |
JP7105870B2 (en) | Data access method, device and system | |
WO2002027494A3 (en) | Switch-based accelaration of computer data storage | |
JP2000099272A5 (en) | ||
WO2009108902A2 (en) | Storage system front end | |
US7493404B2 (en) | Apparatus and method for providing transparent sharing of channel resources by multiple host machines utilizing mixed mode block and file protocols | |
JP2005267502A (en) | Switch for data transfer | |
JP2003288317A (en) | System and method for detecting and compensating for runt block data transfer | |
JP4287160B2 (en) | Fiber channel switch and storage medium storing FCP processing program | |
JP2723022B2 (en) | Disk device interface and control method thereof | |
JP3747407B2 (en) | Disk enclosure and disk storage | |
CN102868684A (en) | Fiber channel target and realizing method thereof | |
KR100657329B1 (en) | Remote access controlling method and system for peripheral device connected at monitor, and recording medium thereof | |
JP2006268215A (en) | Storage system | |
WO2018032416A1 (en) | Method and system for controlling unmanned aerial vehicle rotation speed | |
CA2506784A1 (en) | System and method for referencing av data accumulated in av server | |
US20050188135A1 (en) | High performance serial bus data recorder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050812 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090106 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090213 |
|
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: 20090310 |
|
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: 20090326 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120403 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120403 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130403 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140403 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |