JP2009282643A - Pseudo test method for switch, pseudo test program, and pseudo test device - Google Patents
Pseudo test method for switch, pseudo test program, and pseudo test device Download PDFInfo
- Publication number
- JP2009282643A JP2009282643A JP2008132523A JP2008132523A JP2009282643A JP 2009282643 A JP2009282643 A JP 2009282643A JP 2008132523 A JP2008132523 A JP 2008132523A JP 2008132523 A JP2008132523 A JP 2008132523A JP 2009282643 A JP2009282643 A JP 2009282643A
- Authority
- JP
- Japan
- Prior art keywords
- switch
- communication path
- communication
- port
- connection
- 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
Abstract
Description
本発明は、通常は2台以上のFC(ファイバチャネル)スイッチを用いて実施するカスケード機能の評価試験を1台のFCスイッチで擬似的に行う技術に関する。 The present invention relates to a technique for performing an evaluation test of a cascade function, which is normally performed by using two or more FC (fiber channel) switches, with a single FC switch.
銀行のオンラインシステムなどの基幹系システムにおいて、ホスト装置とストレージ(RAID:Redundant Array of Inexpensive Disksともいう)装置とをファイバチャネル(FC:Fibre Channel )構成にて接続する例が増加している。一般的に、ファイバチャネル構成は、図8に示すように、ホスト装置2に実装して用いるHBA(Host Bus Adaptor:ホストバスアダプタ) 21、FCスイッチ(ファイバチャネルスイッチ)1、およびストレージ装置3をFCケーブル(光ファイバケーブル)4で接続した構成となっている(例えば、特許文献1、2参照)。
In a backbone system such as an online system of a bank, an example in which a host device and a storage (also referred to as RAID: Redundant Array of Inexpensive Disks) device are connected in a fiber channel (FC) configuration is increasing. In general, as shown in FIG. 8, the Fiber Channel configuration includes an HBA (Host Bus Adapter) 21, an FC switch (Fibre Channel Switch) 1, and a
そして、大規模なシステムにおいては、図9に示すように、複数のFCスイッチ1を直列に接続(FCスイッチのカスケード接続) した構成を取ることもある。
In a large-scale system, as shown in FIG. 9, there may be a configuration in which a plurality of
カスケード接続した状態において、FCスイッチ間同士を繋いでいるカスケード接続ケーブル5が何らかの理由で瞬断された場合、FCスイッチ1がファイバチャネルの仕様に基づいたRSCN(Registered State Change Notification:状態変更通知)と呼ばれる信号をHBA21やストレージ装置3に出し、ケーブルが切断されたことを通知する。HBA21やストレージ装置3はRSCN信号を受信すると、実行中のI/O(Input /Output) を一旦破棄し、接続状態の確認後にI/Oの再送信を行なうことで、ケーブルが瞬断されても、I/Oを継続させることができ、接続が切れた場合にリソースを開放することができる。
In the cascade connection state, when the
このとき、カスケード接続時におけるRSCN信号の送出の確認と、それに伴うホスト装置2、HBA21、ストレージ装置3を含めたシステムとしての動作を検証するためには、図10に示すように、実際にカスケード接続した状態でスイッチ間のカスケード接続ケーブル5を挿抜する必要があった。以下に、2つのFCスイッチ間がカスケード接続された場合の従来の試験方法による手順を示す。
手順1:カスケード接続パスの伝送路異常を擬似するため、システム運用中にカスケード接続ケーブル5を抜く。
手順2:その際、構成変更があったことを、ストレージ装置3およびHBA21と繋がっているFCポート(または通信ポート、以降、単にポートと表現する)から、ポートを特定できないRSCN信号がホスト装置2およびストレージ装置3のポートにブロードキャストされる。
手順3:ポートを特定出来ないRSCN信号の受信に伴い、各ポートは、FCスイッチ1に現在接続されている相手の問い合わせを行い、その結果、接続されていないことが判るので、ホスト装置2とストレージ装置3間の接続が途切れることから、運用中のアプリケーションは異常終了する。
手順4:その後、ポートを特定できないRSCN信号により、ホスト装置1およびストレージ装置3に、再度、カスケード接続ケーブル5を接続した時に、構成変更のあったことがホスト装置2およびストレージ装置3のポートにブロードキャストされる。
手順5:ポートを特定出来ないRSCN信号の受信に伴い、各ポートは、FCスイッチ1に現在接続されている相手の問い合わせを行い、その結果、接続されていることが判るので、アプリケーションを再起動させると正常に動作する。
At this time, in order to confirm the transmission of the RSCN signal at the time of the cascade connection and to verify the operation of the system including the
Procedure 1: Disconnect the
Procedure 2: An RSCN signal that cannot identify the port from the FC port (or communication port, hereinafter simply referred to as a port) connected to the
Step 3: With the reception of the RSCN signal whose port cannot be specified, each port inquires of the other party currently connected to the
Step 4: After that, when the
Step 5: Receiving RSCN signal whose port cannot be specified, each port inquires about the other party currently connected to
上記手順で説明したように、FCスイッチにおける一連の動作が期待値通りになっているか否かを確認するため、具体的には、アプリケーションの異常終了時に、適切なエラー処理が働くか、ケーブル再接続後の再起動時に、アプリケーションが問題なく再起動するかなど、システム全体としての動作確認が行われている。 As explained in the above procedure, in order to check whether the series of operations in the FC switch is as expected, specifically, when an application terminates abnormally, whether appropriate error processing works or cable The operation of the entire system is checked, for example, whether the application restarts without any problem when restarting after connection.
しかしながら、システムの信頼性を向上させるためには、上述したようなカスケード接続の検証を行う必要があり、実施する際に、複数台のFCスイッチを準備しなければならず、コストの点で問題となっている。
そこで、上述した問題を解決するために、本発明では、カスケード接続時に送出されるRSCN信号がFCスイッチのゾーンの設定変更時に送出されるRSCN信号と同じであることを利用し、カスケード接続ケーブルを瞬断するという物理的な接続変更動作の時と同じRSCN信号を、1台のFCスイッチによる構成で送信させるFCスイッチのカスケード接続機能を擬似的に試験するスイッチの疑似試験方法、疑似試験プログラム、および疑似試験装置を提供する。具体的には、例えば、2種類のゾーンセットを用意し、評価試験の最中に該ゾーンセットを変更することで、新たにFCスイッチをカスケード接続した場合と同様の疑似動作を実現させるものである。 Therefore, in order to solve the above-described problem, the present invention uses the fact that the RSCN signal transmitted at the time of cascade connection is the same as the RSCN signal transmitted at the time of changing the setting of the zone of the FC switch. A pseudo test method, a pseudo test program for a switch that pseudo-tests the cascade connection function of an FC switch that causes the same RSCN signal to be transmitted in a configuration with one FC switch as in the case of a physical connection change operation of instantaneous interruption, And a pseudo test apparatus. Specifically, for example, by preparing two types of zone sets and changing the zone sets during the evaluation test, the same pseudo operation as when FC switches are newly connected in cascade is realized. is there.
第一の発明は、複数の通信ポート間の通信経路を決めるスイッチにおいて、複数のスイッチが多段に直列接続された場合のホスト装置/ストレージ装置間の接続機能を疑似的に試験するスイッチの疑似試験方法であって、前記スイッチの制御装置は、前記スイッチ内におけるホスト装置側の通信ポートとストレージ装置側の通信ポートを一対で形成する通信経路を定義し、該通信経路を組み合わせてなる通信経路群を複数設定し記憶領域に記憶するステップと、記憶された前記通信経路群から2以上の通信経路群を選択するステップと、選択された前記2以上の通信経路群を運用中に切り替えたときに、前記スイッチの通信ポートにおいて生成する状態変更通知信号を前記ホスト装置及びストレージ装置に送信して接続を判定するステップと、判定結果にしたがって、前記ストレージ装置と当該通信ポートとの接続をON/OFFさせるステップと、を有することを特徴とするスイッチの疑似試験方法に関する。 According to a first aspect of the present invention, a switch for determining a communication path between a plurality of communication ports is a pseudo test of a switch for testing a connection function between a host apparatus and a storage apparatus in a case where a plurality of switches are connected in series in multiple stages. The control device of the switch defines a communication path that forms a pair of a communication port on the host apparatus side and a communication port on the storage apparatus side in the switch, and a communication path group formed by combining the communication paths When a plurality of communication path groups are set and stored in the storage area, two or more communication path groups are selected from the stored communication path groups, and the selected two or more communication path groups are switched during operation. Sending a state change notification signal generated at the communication port of the switch to the host device and the storage device to determine the connection; In accordance with the determination result, a step of turning ON / OFF the connection between the storage device and the communication port to a pseudo test for the switch, characterized in that it comprises a.
すなわち、第一の発明によれば、スイッチの疑似試験方法において、スイッチの制御装置は、記憶手段が、スイッチ内におけるホスト装置側の通信ポートとストレージ装置側の通信ポートを一対で形成する通信経路を定義し、通信経路を組み合わせてなる通信経路群を複数設定し記憶領域に記憶し、選択手段が、記憶された通信経路群から2以上の通信経路群を選択し、判定手段が、選択された前記2以上の通信経路群を運用中に切り替えたときに、スイッチの通信ポートにおいて生成する状態変更通知信号をホスト装置及びストレージ装置に送信して接続を判定し、その判定結果にしたがって、ストレージ装置と当該通信ポートとの接続をON/OFFさせる構成とすることによって、複数のスイッチが多段に直列接続されている場合において、スイッチ間の接続が切断されるなど経路に変化があったときに、スイッチの通信ポートから送出される状態変更通知信号を、1台のスイッチ構成でも送出することが可能であり、通常は、2台以上のスイッチを用いて実施される接続機能の試験が、1台のスイッチで擬似的に行うことが可能となる。 That is, according to the first invention, in the switch pseudo test method, the switch control device is configured such that the storage unit forms a pair of a communication port on the host device side and a communication port on the storage device side in the switch. A plurality of communication path groups that are combinations of communication paths are set and stored in the storage area, the selection means selects two or more communication path groups from the stored communication path groups, and the determination means is selected. When the two or more communication path groups are switched during operation, the state change notification signal generated at the communication port of the switch is transmitted to the host device and the storage device to determine the connection, and the storage is determined according to the determination result. By configuring the connection between the device and the communication port to be ON / OFF, when multiple switches are connected in series in multiple stages Thus, when there is a change in the path such as the connection between the switches being disconnected, it is possible to send a status change notification signal sent from the switch communication port even with a single switch configuration. A connection function test performed using two or more switches can be simulated with one switch.
以上、上述した本発明によれば、複数のスイッチが多段階に直列接続するカスケード接続時に送出されるRSCN(状態変更通知)信号を、テストプログラムで制御する試験装置により、1台のFCスイッチの構成でも出すことが可能となり、それに伴い、通常は2台以上のスイッチを用いて実施するカスケード機能の評価試験を、1台のFCスイッチで擬似的に行うことが可能となる。 As described above, according to the present invention described above, an RSCN (state change notification) signal transmitted at the time of cascade connection in which a plurality of switches are connected in series in multiple stages is transmitted to one FC switch by a test device that is controlled by a test program. With this configuration, it is possible to perform the evaluation test of the cascade function, which is usually performed using two or more switches, with a single FC switch.
以下、図面にもとづいて本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態になるファイバチャネルスイッチにおけるカスケード接続評価の機能ブロック図である。 FIG. 1 is a functional block diagram of cascade connection evaluation in a fiber channel switch according to an embodiment of the present invention.
本実施例におけるFCスイッチ(ファイバチャネルスイッチ)1の機能は、本発明のカスケード接続機能(複数のスイッチが多段に直列接続)の評価に着目したもので、FCスイッチ1に備えられた他の機能は、従来と同様であるため以下の説明では省略している。また、FCスイッチ1は、図示していないが、CPU(Central Processing Unit )およびメモリを備え、さらに制御部を備えたコンピュータである。
The function of the FC switch (fiber channel switch) 1 in the present embodiment focuses on the evaluation of the cascade connection function (a plurality of switches are connected in series in multiple stages) according to the present invention. Other functions provided in the
FCスイッチ1は、FCスイッチ1内のポートをホスト装置側のポートとストレージ装置側のポートを一対で形成するゾーン(通信経路)を定義し、該ゾーンを組み合わせた複数のゾーンセット(通信経路群)を設定するゾーンセット設定部101、該複数のゾーンセットをFCスイッチ1内の記憶領域に記憶するゾーンセット記憶部102、記憶された該複数のゾーンセットの中から評価対象とするゾーンセットを選択するゾーンセット選択部103、選択された複数の対象のゾーンセットを運用中に切り換えて評価するゾーンセット切替部104、切替え時に、FCスイッチからホスト装置およびストレージ装置に送信するRSCN信号からFCポートが接続する相手を判定するポート接続判定部105、およびその結果に応じてストレージ装置との接続を実行する接続処理部106から構成される。
The
そして、FCスイッチ1は、コンソール端末10からの管理者からのコマンド入力による指令を受けて、ホスト装置とストレージ装置を接続するため、上記構成からなる試験プログラムを処理する。
The
以下、図2〜図4を用いて、カスケード機能を一台のFCスイッチで評価する本発明の原理を説明する。 Hereinafter, the principle of the present invention for evaluating the cascade function with a single FC switch will be described with reference to FIGS.
図2は、本発明の実施の形態になるカスケード機能を一台のFCスイッチで評価するためのゾーン設定例を示す。 FIG. 2 shows a zone setting example for evaluating the cascade function according to the embodiment of the present invention with one FC switch.
FCスイッチ1には,予め2種類のゾーンセット(通信経路群)として、ゾーンセットA(図2(a))およびゾーンセットB(図2(b))を用意する。点線で囲ったものがゾーン(通信経路)である。これらゾーンは、同一FCスイッチ1上でいくつも設定でき、それぞれ名前が付けられる。図2では、ゾーン1、ゾーン2、ゾーン3、ゾーン4、およびゾーン5と仮に名付ける。
In the
ゾーンセットとは、これら個々のゾーンを配下にまとめたものとして定義する。図2(a)のゾーンセットAは、ゾーン1、ゾーン2、ゾーン3が属し、図2(b)のゾーンセットBは、ゾーン3とゾーン4が属している。ゾーンセットAを有効にすると、ゾーン1、ゾーン2、ゾーン3だけが同時に有効になり、またゾーンセットBを有効にすると、ゾーン3とゾーン4だけが有効になる。これらゾーンセットの設定は、いつでも切り替えることができる。
A zone set is defined as a group of these individual zones. Zone set A in FIG. 2A belongs to
図3は、本発明の実施の形態になるゾーンセットによるスイッチと他装置との接続状態を説明する図である。 FIG. 3 is a diagram for explaining a connection state between a switch and other devices according to the zone set according to the embodiment of the present invention.
初期状態として、FCスイッチ1のゾーンをゾーンセットAに設定し、ホスト装置2に備わるHBA21、ストレージ装置3とは図に示す通り接続する。図3(a)は、初期の接続状態としてのゾーンセットAの場合を示し、また、図3(b)は、接続変更後のゾーンセットBの場合を示している。
As an initial state, the zone of the
図4は、本発明の実施の形態になるポート切替え後のスイッチと他装置との接続状態を説明する図である。 FIG. 4 is a diagram for explaining a connection state between the switch after port switching and another device according to the embodiment of the present invention.
図に示すように、ここで、ストレージ装置3側の接続を変更する。そして、FCスイッチ1のゾーンをゾーンセットBに切り換える。このようにゾーンを切り換えることで、新たに、FCスイッチがカスケード接続されたときの動作と同じRSCN信号が、他装置(ホスト装置2、ストレージ装置3)に送信されるため、カスケード機能評価にあたり、それまでFCスイッチ1を2台以上必要としたものを1台ですませることが可能となる。
As shown in the figure, the connection on the
FCスイッチ1間を接続するカスケードの伝送路異常を発生させると、その伝送路をどの装置が使用しているか特定出来ないことから、全ポートに対し、異常になったポートが、特定できないRSCN信号をブロードキャストする。
When an error occurs in a cascade transmission line that connects between
ゾーンセットを切り替える場合、FCスイッチ1を跨いで、一部のポートが複数のゾーンで重なる事態が発生したり、複数のポートが同時にゾーンから消滅したりする。そのため、ゾーンセットの変更が有った場合、構成変更をRSCN信号で通知するが、上記理由により1回のRSCN通知で構成変更を通知できることから、ポートを特定できないRSCN信号を使うこととなる。
When switching zone sets, a situation occurs in which some ports overlap in a plurality of zones across the
図5は、FCスイッチ/他装置間で送受信されるRSCN信号のフォーマットを示す。RSCN信号は、FCスイッチから送出される信号で、FCスイッチに接続または切断された場合に、構成が変更されたことをホスト装置やストレージ装置など他装置に通知するときに使用される信号で、そのフォーマットは、ANSI(American National Standard)のファイバチャネル仕様FC−FSで定義されている。 FIG. 5 shows a format of an RSCN signal transmitted / received between the FC switch / other devices. The RSCN signal is a signal sent from the FC switch and used when notifying other devices such as the host device and storage device that the configuration has been changed when the FC switch is connected or disconnected. The format is defined by Fiber Channel specification FC-FS of ANSI (American National Standard).
ファイバチャネルがデータを送受信する基本単位であるフレームは、SOF(Start of Frame:フレーム開始)、フレームヘッダ、データフィールド、CRC(Cyclic Redundancy Check )、およびEOF(End of Frame)で構成される。SOFは、フレームの先頭に付ける4バイトの識別子であり、また、EOFは、フレームの最後に付ける4バイトの識別子で、SOFとEOFによってフレームの境界が示される。ファイバチャネルでは、フレームがないときは、アイドル信号が流れている。 A frame, which is a basic unit in which data is transmitted and received by the fiber channel, includes an SOF (Start of Frame), a frame header, a data field, a CRC (Cyclic Redundancy Check), and an EOF (End of Frame). SOF is a 4-byte identifier attached to the head of the frame, and EOF is a 4-byte identifier attached to the end of the frame, and the boundary of the frame is indicated by SOF and EOF. In the fiber channel, an idle signal flows when there is no frame.
フレームヘッダには、フレームタイプ、上位プロトコルタイプ、送信元/送信先のアドレスを表わすN_Port_ID情報や、ポートの識別子を表わすN_Port_Name情報等を含まれている。また、データフィールドの先頭部には、上位レイヤのヘッダを付け、これにデータそのものを運ぶペイロード部が続く。さらに、CRCは、フレームヘッダとデータフィールドのデータをチェックするための4バイトのチェックコードである。 The frame header includes frame type, upper protocol type, N_Port_ID information representing the source / destination address, N_Port_Name information representing the port identifier, and the like. In addition, a header of an upper layer is attached to the head of the data field, followed by a payload portion that carries the data itself. The CRC is a 4-byte check code for checking the data in the frame header and data field.
図5(a)は、Port_IDを通知する場合を示し、図5(b)は、Port_IDを特定しない場合を示している。転送データは、フレームの開始を示すSOF/終了を示すEOFの間に4バイトで構成されるWord00〜07の各フィールドに示される。
FIG. 5A shows a case where Port_ID is notified, and FIG. 5B shows a case where Port_ID is not specified. The transfer data is indicated in each field of
図5のフォーマット例において、例えば、Port_IDを通知する場合、Word7において、Type0、Port_IDが示され、またPort_IDを特定しない場合は、Type3、ファブリック(スイッチ)グループで通知することが示されている。
In the format example of FIG. 5, for example, when Port_ID is notified, Type 0 and Port_ID are indicated in
なお、上記フォーマットにおけるPortなどの通知の種類は以下の4通りある。 Note that there are the following four types of notifications such as Port in the above format.
Type0:ポートアドレス
Type1:エリアアドレスグループ
Type2:ドメインアドレスグループ
Type3:ファブリックアドレスグループ
この内、本発明では、Type0とType3を使用する。Type0のポートアドレスは、そのポートで切断または接続され、構成変更が有ったことを示し、Type3は、スイッチのポートを特定できない場合(複数のポートが同時の場合) に構成変更が有ったことを示す。
Type 0: Port address Type 1: Area address group Type 2: Domain address group Type 3: Fabric address group Among these, Type 0 and
ここで、上記フォーマットにおいて、D_ID(Destination ID)は、フレーム受け取り側のアドレス識別子であり、また、S_ID(Source ID )は、フレーム送信側のN_Portアドレス識別子であり、それぞれN_Port_ID情報等を含んでいる。また、図中に表記された他の略語の内容は、下記の通りである。
R_CTL(Routine Control ):フレームの種類と他のフィールドとの関連におけるデータの属性を示す。
CS_CTL(Class Specific Control):クラスサービス独自の制御を示す。
F_CTL(Frame Control ):最初のシーケンス、最後のシーケンス、送信側がオリジネータかカレスポンダか等、シーケンスやエクスチェンジの属性を示す。
SEQ_ID(Sequence ID ):シーケンスに固有の番号で、各々のD_IDとS_IDの対に対して決められる。
DF_CTL(Data Field ID ):オプショナルヘッダを使用する場合、ヘッダのデータ長を指定する。
SEQ_CTL(Sequence Count):一つのシーケンス中のフレームの順番、または同じエクスチェンジ中のシーケンスの順番を示す。
OX_ID(Originator Exchange ID):オリジネータ(送信元)が発行するエクスチェンジ番号を示す。
RX_ID(Responder Exchange ID ):レスポンダ(受信先)が発行するエクスチェンジ番号を示す。
Here, in the above format, D_ID (Destination ID) is an address identifier on the frame receiving side, and S_ID (Source ID) is an N_Port address identifier on the frame transmitting side, each including N_Port_ID information and the like. . The contents of other abbreviations shown in the figure are as follows.
R_CTL (Routine Control): Indicates an attribute of data in relation to the frame type and other fields.
CS_CTL (Class Specific Control): Indicates class service specific control.
F_CTL (Frame Control): Indicates the sequence and exchange attributes such as the first sequence, the last sequence, and whether the transmission side is an originator or a responder.
SEQ_ID (Sequence ID): A number unique to the sequence, determined for each D_ID and S_ID pair.
DF_CTL (Data Field ID): When using an optional header, specifies the data length of the header.
SEQ_CTL (Sequence Count): Indicates the order of frames in one sequence or the order of sequences in the same exchange.
OX_ID (Originator Exchange ID): indicates an exchange number issued by an originator (transmission source).
RX_ID (Responder Exchange ID): Indicates an exchange number issued by a responder (reception destination).
以上、上述してきた本発明になるカスケード機能の評価フローを図6、図7を用いて以下に説明する。 The cascade function evaluation flow according to the present invention described above will be described below with reference to FIGS.
図6は、本発明の実施の形態になるFCスイッチにおけるゾーンセットの設定フローを示す。
ステップS1:コンソール端末10で管理者が入力したデータに基づいて、FCポートのゾーンを複数組合せたゾーンセットを作成する。例えば、ゾーンセット設定例として、図3に示したように、ゾーン1(FCポート番号2と6で構成)、ゾーン2(FCポート番号3と7で構成)、およびゾーン3(FCポート番号4と8で構成)を配下とするゾーンセットAと、ゾーン4(FCポート番号3と6で構成)およびゾーン5(FCポート番号4と8で構成)を配下とするゾーンセットBの2つのゾーンセットが、ゾーンセット設定部101によって設定される。
ステップS2:作成された当該ゾーンセットをFCスイッチ内の記憶領域に保存する。
FIG. 6 shows a zone set setting flow in the FC switch according to the embodiment of the present invention.
Step S1: Based on the data input by the administrator at the
Step S2: The created zone set is stored in a storage area in the FC switch.
図7は、本発明の実施の形態になるカスケード機能の試験装置における評価フロー(FCスイッチ1台による評価)を示す。本実施例では、ゾーンセット記憶部102に記憶された複数のゾーンセットの内、ゾーンセット選択部103によって評価対象のゾーンセットAとBの2つが選択された場合を例としている。以下のフローでは、1つのFCスイッチを使って、ゾーンセットとして、上記2つのゾーンセットAとBが選択され、一方のゾーンセットを運用中に他方のゾーンセットに切替る構成としている。
ステップS11:ゾーンセットAで運用させ、運用中のゾーンセットAをゾーンセットBに変更する。
ステップS12:変更時におけるカスケード接続パスの状態変更に関し、FCポートを特定できないRSCN信号(Type3)をホスト装置2及びストレージ装置3の全ポートに送信する。
ステップS13:FCポートを特定出来ないRSCN信号の受信に伴い、各FCポートはFCスイッチに現在接続されている相手の問い合わせを行う。
ステップS14:FCポートは現在接続相手がいるか否かを判定する。
ステップS15:接続相手が接続されていないことが判明し、ホスト装置によって接続パスが切断される。一方、ステップS14において、相手が存在したときには、ステップS32で、エラー処理を行う。
ステップS16:ストレージ側のパスとして、FCポート番号を7から6に入替える。
ステップS17:FCポート番号6を接続したときに、ポート番号3からPort_IDを通知するType0のRSCN信号をスイッチからホスト装置へ送信する。
ステップS18:FCポートが特定されるRSCN信号の受信に伴い、該FCポートはFCスイッチに現在接続されている相手の問い合わせを行う。
ステップS19:ホスト装置2及びストレージ装置3は同一ゾーンにあるか否かを判定する。
ステップS20:ホスト装置2とストレージ装置3が同一ゾーンにあるとの判定であれば、ストレージ装置3との接続動作を行う。一方、ステップS19において、同一ゾーンにないとの判定であれば、ステップS32で、エラー処理を行う。
ステップS21:つぎに、ストレージ装置3側のパスを、ポート番号6から7に入れ替える。
ステップS22:ポート番号切替え時に、ポート番号3からPort_IDを通知するType0のRSCN信号をスイッチからホスト装置へ送信する。
ステップS23:ポートが特定されるRSCN信号の受信に伴い、FCポートはFCスイッチに現在接続されている相手の問い合わせを行う。
ステップS24:ホスト装置2及びストレージ装置3は同一ゾーンにあるか否かを判定する。
ステップS25:ストレージ装置3が同一ゾーンになければ、切断されたと判断してホスト装置2が接続パスを切断し、I/O動作を遮断する。一方、ステップS24において、同一ゾーンにあると判定されたら、ステップS33において、エラーとして処理する。
ステップS26:つぎに、ゾーンセットをBからAへと元に戻す。
ステップS27:ポートが特定出来ないType3のRSCN信号をホスト装置2及びストレージ装置3へ送信する。
ステップS28:FCポートが特定出来ないRSCN信号の受信に伴い、各FCポートはFCスイッチに現在接続されている相手の問い合わせを行う。
ステップS29:ホスト装置2及びストレージ装置3は同一ゾーンにあるか否かを判定する。
ステップS30:ホスト装置2とストレージ装置3が同一ゾーンにあれば、ストレージ装置3との接続動作を行う。一方、ステップS29において、同一ゾーンにないとの判定であれば、ステップS33において、エラーとして処理する。
ステップS31:そして、アプリケーションを再起動させ、正常運用を確認する。
FIG. 7 shows an evaluation flow (evaluation by one FC switch) in the test apparatus for the cascade function according to the embodiment of the present invention. In the present embodiment, an example is shown in which two zone sets A and B to be evaluated are selected by the zone
Step S11: The zone set A is operated, and the currently operating zone set A is changed to the zone set B.
Step S12: Regarding the change of the state of the cascade connection path at the time of the change, an RSCN signal (Type 3) that cannot identify the FC port is transmitted to all ports of the
Step S13: Accompanying the reception of the RSCN signal that cannot identify the FC port, each FC port inquires about the other party currently connected to the FC switch.
Step S14: The FC port determines whether or not there is a current connection partner.
Step S15: It is determined that the connection partner is not connected, and the connection path is disconnected by the host device. On the other hand, when a partner exists in step S14, error processing is performed in step S32.
Step S16: The FC port number is switched from 7 to 6 as a path on the storage side.
Step S17: When FC
Step S18: Accompanying the reception of the RSCN signal specifying the FC port, the FC port inquires of the other party currently connected to the FC switch.
Step S19: It is determined whether or not the
Step S20: If it is determined that the
Step S21: Next, the path on the
Step S22: When the port number is switched, the RSCN signal of Type 0 notifying the Port_ID from the
Step S23: With the reception of the RSCN signal for specifying the port, the FC port inquires about the other party currently connected to the FC switch.
Step S24: It is determined whether or not the
Step S25: If the
Step S26: Next, the zone set is returned from B to A.
Step S27: A
Step S28: With the reception of the RSCN signal in which the FC port cannot be specified, each FC port inquires about the partner currently connected to the FC switch.
Step S29: It is determined whether or not the
Step S30: If the
Step S31: Then, the application is restarted to confirm normal operation.
1 ファイバチャネルスイッチ(FCスイッチ)
2 ホスト装置
3 ストレージ装置
4 FCケーブル
5 カスケード接続ケーブル
10 コンソール端末
11 FCポート
21 HBA(ホストバスアダプタ)
101 ゾーンセット設定部
102 ゾーンセット記憶部
103 ゾーンセット選択部
104 ゾーンセット切替部
105 ポート接続判定部
106 接続処理部
1 Fiber Channel switch (FC switch)
2
DESCRIPTION OF
Claims (3)
前記スイッチの制御装置に、
前記スイッチ内におけるホスト装置側の通信ポートとストレージ装置側の通信ポートを一対で形成する通信経路を定義し、該通信経路を組み合わせてなる通信経路群を複数設定し記憶領域に記憶するステップと、
記憶された前記通信経路群から2以上の通信経路群を選択するステップと、
選択された前記2以上の通信経路群を運用中に切り替えたときに、前記スイッチの通信ポートにおいて生成する状態変更通知信号を前記ホスト装置及びストレージ装置に送信して接続を判定するステップと、
判定結果にしたがって、前記ストレージ装置と当該通信ポートとの接続をON/OFFさせるステップと、
を実行させることを特徴とするスイッチの疑似試験方法。 In a switch for determining a communication path between a plurality of communication ports, a pseudo test method for a switch that artificially tests a connection function between a host device and a storage device when a plurality of switches are connected in series in multiple stages,
In the control device of the switch,
Defining a communication path that forms a pair of a communication port on the host apparatus side and a communication port on the storage apparatus side in the switch, and setting a plurality of communication path groups formed by combining the communication paths and storing them in a storage area;
Selecting two or more communication path groups from the stored communication path groups;
A step of determining a connection by transmitting a state change notification signal generated at a communication port of the switch to the host device and the storage device when the selected two or more communication path groups are switched during operation;
Turning on / off the connection between the storage device and the communication port according to the determination result;
A pseudo test method for a switch, characterized in that
前記スイッチの制御装置に、
前記スイッチ内におけるホスト装置側の通信ポートとストレージ装置側の通信ポートを一対で形成する通信経路を定義し、該通信経路を組み合わせてなる通信経路群を複数設定し記憶領域に記憶するステップと、
記憶された前記通信経路群から2以上の通信経路群を選択するステップと、
選択された前記2以上の通信経路群を運用中に切り替えたときに、前記スイッチの通信ポートにおいて生成する状態変更通知信号を前記ホスト装置及びストレージ装置に送信して接続を判定するステップと、
判定結果にしたがって、前記ストレージ装置と当該通信ポートとの接続をON/OFFさせるステップと、
を実行させるスイッチの疑似試験プログラム。 A switch for determining a communication path between a plurality of communication ports, a pseudo test program for a switch that artificially tests a connection function between a host device and a storage device when a plurality of switches are connected in series in multiple stages,
In the control device of the switch,
Defining a communication path that forms a pair of a communication port on the host apparatus side and a communication port on the storage apparatus side in the switch, and setting a plurality of communication path groups formed by combining the communication paths and storing them in a storage area;
Selecting two or more communication path groups from the stored communication path groups;
A step of determining a connection by transmitting a state change notification signal generated at a communication port of the switch to the host device and the storage device when the selected two or more communication path groups are switched during operation;
Turning on / off the connection between the storage device and the communication port according to the determination result;
A switch pseudo-test program that executes
前記スイッチ内におけるホスト装置側の通信ポートとストレージ装置側の通信ポートを一対で形成する通信経路を定義し、該通信経路を組み合わせてなる通信経路群を複数設定し記憶領域に記憶する手段と、
記憶された前記通信経路群から2以上の通信経路群を選択する手段と、
選択された前記2以上の通信経路群を運用中に切り替えたときに、前記スイッチの通信ポートにおいて生成する状態変更通知信号を前記ホスト装置及びストレージ装置に送信して接続を判定する手段と、
判定結果にしたがって、前記ストレージ装置と当該通信ポートとの接続をON/OFFさせる手段と、
を有することを特徴とするスイッチの疑似試験装置。 A switch that determines a communication path between a plurality of communication ports, a pseudo test device for a switch that artificially tests a connection function between a host device and a storage device when a plurality of switches are connected in series in multiple stages,
Means for defining a communication path forming a pair of a communication port on the host apparatus side and a communication port on the storage apparatus side in the switch, and setting a plurality of communication path groups formed by combining the communication paths and storing them in a storage area;
Means for selecting two or more communication path groups from the stored communication path groups;
Means for determining a connection by transmitting a state change notification signal generated at the communication port of the switch to the host device and the storage device when the selected two or more communication path groups are switched during operation;
Means for turning ON / OFF the connection between the storage device and the communication port according to the determination result;
A switch pseudo-testing device characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008132523A JP5245535B2 (en) | 2008-05-20 | 2008-05-20 | Switch pseudo test method, pseudo test program, and pseudo test apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008132523A JP5245535B2 (en) | 2008-05-20 | 2008-05-20 | Switch pseudo test method, pseudo test program, and pseudo test apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009282643A true JP2009282643A (en) | 2009-12-03 |
JP5245535B2 JP5245535B2 (en) | 2013-07-24 |
Family
ID=41453060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008132523A Active JP5245535B2 (en) | 2008-05-20 | 2008-05-20 | Switch pseudo test method, pseudo test program, and pseudo test apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5245535B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490845A (en) * | 2015-12-08 | 2016-04-13 | 中国航空工业集团公司西安航空计算技术研究所 | FC switcher cascading configuration and routing realizing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006039875A (en) * | 2004-07-26 | 2006-02-09 | Fujitsu Ltd | Transferred information conversion method between server and storage, transferred information converter, and transferred information conversion program |
JP2006279347A (en) * | 2005-03-28 | 2006-10-12 | Nec Corp | Channel control method at initializing network system, program and computer system |
-
2008
- 2008-05-20 JP JP2008132523A patent/JP5245535B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006039875A (en) * | 2004-07-26 | 2006-02-09 | Fujitsu Ltd | Transferred information conversion method between server and storage, transferred information converter, and transferred information conversion program |
JP2006279347A (en) * | 2005-03-28 | 2006-10-12 | Nec Corp | Channel control method at initializing network system, program and computer system |
Also Published As
Publication number | Publication date |
---|---|
JP5245535B2 (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8843789B2 (en) | Storage array network path impact analysis server for path selection in a host-based I/O multi-path system | |
US7904744B2 (en) | Data storage using multiple protocols | |
US9967025B2 (en) | Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes | |
US20090245242A1 (en) | Virtual Fibre Channel Over Ethernet Switch | |
US8937869B2 (en) | Communication device, communication system, and communication fault detection method | |
US7962567B1 (en) | Systems and methods for disabling an array port for an enterprise | |
JP2002063126A (en) | Multi-path computer system | |
JP2012108905A (en) | Deterministic sas discovery and method for configuration | |
US7660239B2 (en) | Network data re-routing | |
JP5630269B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL DEVICE, CONTROL METHOD, AND PROGRAM | |
US6072806A (en) | Message-based communication system | |
CN107547240B (en) | Link detection method and device | |
US8594080B2 (en) | Multiple functionality in a virtual storage area network device | |
JP2006285519A (en) | Fault diagnostic method for data transfer system, data transfer system, and data storage device | |
JP5775473B2 (en) | Edge device redundancy system, switching control device, and edge device redundancy method | |
US20090319699A1 (en) | Preventing Loss of Access to a Storage System During a Concurrent Code Load | |
JP5112138B2 (en) | Session management method, storage device, and computer system | |
CN110312140A (en) | Live data processing method, device, system and computer readable storage medium | |
US20070041313A1 (en) | Apparatus and methods for managing nodes on a fault tolerant network | |
JP5245535B2 (en) | Switch pseudo test method, pseudo test program, and pseudo test apparatus | |
US20070297338A1 (en) | Verification of path selection protocol in a multi-path storage area network | |
US20050060394A1 (en) | Programmable delay, transparent switching multi-port interface line card | |
KR101143922B1 (en) | Apparatus for automatically restoring a network | |
CN109039822B (en) | BFD protocol message filtering method and system | |
US8111610B2 (en) | Flagging of port conditions in high speed networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110118 |
|
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: 20130312 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130325 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5245535 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: 20160419 Year of fee payment: 3 |