JP2006235665A - Command tester - Google Patents

Command tester Download PDF

Info

Publication number
JP2006235665A
JP2006235665A JP2005044906A JP2005044906A JP2006235665A JP 2006235665 A JP2006235665 A JP 2006235665A JP 2005044906 A JP2005044906 A JP 2005044906A JP 2005044906 A JP2005044906 A JP 2005044906A JP 2006235665 A JP2006235665 A JP 2006235665A
Authority
JP
Japan
Prior art keywords
channel
channel adapter
command
under test
control
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
JP2005044906A
Other languages
Japanese (ja)
Inventor
Yasushi Ota
泰 太田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005044906A priority Critical patent/JP2006235665A/en
Publication of JP2006235665A publication Critical patent/JP2006235665A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a command tester for detecting a failure caused by to a hardware defective obstacle generated in the input/output section of equipment under test such as a storage product in an early stage. <P>SOLUTION: This command tester is provided with a processor 2-1 for control for controlling a channel adapter 3 mounted on a host interface rack, and for managing access with equipment under test connected to a channel adapter, a plurality of back panels BP to which channel adapters 3 which can be controlled by a processor 1-1 for control are connected, a plurality of data managing means 2-2 and 2-3 having comparing means and a host interface mounted rack 2 equipped with a switching means for selectively connecting the data managing means 2-2 and 2-3 to the channel adapter. An exclusive program for the channel adapter is downloaded to the channel adapter 3 by the processor for control at the time of IPL, and control with the equipment under test connected to the channel adaptor is executed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ストレージ製品の入出力機能を評価するためのコマンドテスタを提供するものである。   The present invention provides a command tester for evaluating the input / output function of a storage product.

コンピュータシステムにおいて、擬似障害信号を発生する擬障回路を使用し、記憶装置に擬似障害を発生させて評価することが、図6に従来例として示される特許文献1に記載されている。   Patent Document 1 shown as a conventional example in FIG. 6 shows that a computer system uses a pseudo-fault circuit that generates a pseudo-fault signal and generates a pseudo fault in a storage device for evaluation.

図6において、記憶装置21は、インターフェース応答機能22及びデータ送受信機能23を有しており、またインターフェースの異常応答を示す擬似障害信号を発生するインターフェース擬障回路24と、データの不一致などのデータ異常を示す擬似障害信号を発生するデータ擬障回路25と、ハードウェア異常を示す擬似障害信号を発生するハードウェア擬障回路26等からなる擬障発生回路を内蔵している。   In FIG. 6, the storage device 21 has an interface response function 22 and a data transmission / reception function 23, and also includes an interface pseudo-fault circuit 24 that generates a pseudo-fault signal indicating an abnormal response of the interface, and data such as data mismatch. A pseudo fault generation circuit including a data pseudo fault circuit 25 that generates a pseudo fault signal indicating an abnormality and a hardware pseudo fault circuit 26 that generates a pseudo fault signal indicating a hardware fault is incorporated.

擬障発生回路は、インターフェースとは別の独立した通信制御回路27を有し、この通信制御回路27を介して擬障発生指示の授受及び擬障発生状態の授受を外部装置に対して実行するので、任意の擬似障害を任意のタイミングで発生可能となる。
特開2002−116885号公報
The pseudo-fault generation circuit has an independent communication control circuit 27 separate from the interface, and exchanges a pseudo-fault occurrence instruction and a fake fault occurrence state to the external device via the communication control circuit 27. Therefore, an arbitrary pseudo failure can be generated at an arbitrary timing.
JP 2002-116885 A

上記従来技術では、ストレージ製品の評価を、ユーザ使用環境と同様の使用環境で評価を行っている。つまり本物のホスト装置とOSを使用しているために、ストレージ製品の入出力するプロトコルは正常系のみの評価を実施している。   In the above prior art, the evaluation of storage products is performed in the same usage environment as the user usage environment. In other words, since a real host device and OS are used, the protocol for input / output of the storage product is evaluated only for the normal system.

このため、時折ユーザでのホスト装置とストレージ製品間の、ケーブル接続不良等のハード不良障害が原因で、ストレージ製品の入出力機能部分に不具合を発見したとき、ホスト装置とストレージ製品との間のケーブルを入手で抜差してテストを行って不具合の原因を探索する必要があり、その原因追求に手間と時間を必要とした。   For this reason, when a fault is found in the input / output function part of a storage product due to a faulty hardware failure such as a bad cable connection between the host device and the storage product by the user from time to time, there is a problem between the host device and the storage product. It was necessary to search for the cause of the failure by obtaining and plugging in the cable and testing it, and it took time and effort to investigate the cause.

したがって本発明の目的は、このようなハード不良に起因する不具合を、ストレージ製品の評価段階で早期発見修正できるようにしたストレージ製品コマンドテスタを提供するものである。   Accordingly, an object of the present invention is to provide a storage product command tester which can detect and correct a malfunction caused by such a hardware failure at an early stage of evaluation of the storage product.

前記課題を解決するため、本発明では、ホストインターフェースラックに搭載されたチャネルアダプタを制御し、チャネルアダプタに接続された被試験装置とのアクセスを管理する制御用プロセッサと、前記制御用プロセッサによりそれぞれ制御可能なチャネルアダプタが接続される複数のバックパネルと、比較手段を持つ複数のデータ管理手段と、このデータ管理手段を前記チャネルアダプタに選択接続する切換手段を備えたホストインターフェース搭載ラックを有し、前記チャネルアダプタには、IPL時に前記制御用プロセッサよりそれぞれのチャネルアダプタ用の専用プログラムをダウンロードして前記チャネルアダプタに接続された被試験装置との制御を実行可能とすることを特徴とするコマンドテスタを提供する。   In order to solve the above problems, in the present invention, a control processor that controls a channel adapter mounted in a host interface rack and manages access to a device under test connected to the channel adapter, and a control processor respectively. A host interface rack having a plurality of back panels to which controllable channel adapters are connected, a plurality of data management means having comparison means, and a switching means for selectively connecting the data management means to the channel adapter A command for downloading to the channel adapter a dedicated program for each channel adapter from the control processor at the time of IPL and enabling control with the device under test connected to the channel adapter. Provide a tester.

バックパネルまたは拡張ボード等に接続される専用インターフェースボードでは一対一の接続であり、一つのボードで異常が発生した場合は、そのボードを交換するしか継続使用ができないが、本発明では、一つのボードで異常検出した場合、他のチャネルに切替えての継続使用が可能なため、ボード又はケーブルの保守等は任意の時間で可能になる。   The dedicated interface board connected to the back panel or expansion board is a one-to-one connection. If an abnormality occurs in one board, it can only be used continuously, but in the present invention, one When an abnormality is detected on the board, it is possible to continue use by switching to another channel, so that the maintenance of the board or cable can be performed at an arbitrary time.

又、他のチャネルに切替え、または、異常検出したチャネルへのリセット等の復旧により、被試験装置との継続入出力が可能となり、処理全体としての整合性確認が可能となる。   Further, by switching to another channel or restoring to a channel in which an abnormality has been detected, it is possible to continue input / output with the device under test and to check the consistency of the entire process.

本発明の実施の形態を図1、図2にもとづき説明する。図1は本発明の概略構成図を示し、図2は本発明の概略ブロック図を示す。図において、1は制御用パソコン、2はホストインターフェース搭載ラック、3はチャネルアダプタ、4は被試験装置であるストレージ製品である。   An embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows a schematic configuration diagram of the present invention, and FIG. 2 shows a schematic block diagram of the present invention. In the figure, 1 is a control personal computer, 2 is a host interface mounting rack, 3 is a channel adapter, and 4 is a storage product as a device under test.

制御用パソコン1は、ホストインターフェース搭載ラック2に搭載されたチャネルアダプタ3を制御し、被試験装置であるストレージ製品4とのアクセスを管理するものであり、CPU1−1、記憶部1−2、入出力部1−3、インターフェース制御ボードAなどを具備する。   The control personal computer 1 controls the channel adapter 3 mounted on the host interface mounting rack 2 and manages access to the storage product 4 as the device under test. The control personal computer 1 has a CPU 1-1, a storage unit 1-2, It includes an input / output unit 1-3, an interface control board A, and the like.

ホストインターフェース搭載ラック2は、制御用パソコン1によりそれぞれ制御可能な複数のチャネルアダプタ3を搭載するものであり、またOCLINK(光ケーブルリンク)、BMC(電気チャネル)、FC (ファイバーチャネル)、FC−Link、SCSI(スモールコンピュータシステムインターフェース)等の異種のインターフェースのチャネルアダプタを、例えば最大32ch搭載できるように、共通のバックパネルBPを有する。そしてW/R(リード/ライト)バッファやコンペア回路を有するデータ管理部2−2、2−3を設け、このデータ管理部2−2、2−3に選択的にチャネルアダプタの一つが接続できるようマルチプレクサの如き付加回路2−4が設けられている。   The host interface mounting rack 2 is equipped with a plurality of channel adapters 3 that can be controlled by the control personal computer 1, and also includes OCLINK (optical cable link), BMC (electrical channel), FC (fiber channel), FC-Link. A common back panel BP is provided so that channel adapters of different interfaces such as SCSI (Small Computer System Interface) can be mounted, for example, up to 32 channels. Then, data management units 2-2 and 2-3 having a W / R (read / write) buffer and a compare circuit are provided, and one of the channel adapters can be selectively connected to the data management units 2-2 and 2-3. An additional circuit 2-4 such as a multiplexer is provided.

ホストインターフェース搭載ラック2は、更にCPU、メモリ、拡張バス等を具備したメインボード2−1、前記付加回路2−4は前記マルチプレクサの外にDMA(ダイレクトメモリアクセス)機能を有し、バックパネルBPには、チャネルアダプタが搭載できるようにスロットS0〜S31が設けられている。なお拡張バスは、例えばデータ管理部を増設し、切換可能なチャネルアダプタ数を多対多に接続可能とするものである。   The host interface mounting rack 2 further includes a main board 2-1 having a CPU, a memory, an expansion bus, etc., and the additional circuit 2-4 has a DMA (direct memory access) function in addition to the multiplexer. Are provided with slots S0 to S31 so that a channel adapter can be mounted. For example, the expansion bus is provided with an additional data management unit so that the number of switchable channel adapters can be connected in a many-to-many manner.

ホストインターフェース搭載ラック2には更に記憶部2−5、インターフェース制御ボードB等が具備される。記憶部2−5には、例えばコマンドテスタの立上り時にライトデータ作成用等のファームウェアが制御用パソコン1よりダウンロードされたり、動作中のログ情報が保持されるものである。   The host interface mounting rack 2 further includes a storage unit 2-5, an interface control board B, and the like. In the storage unit 2-5, for example, firmware for creating write data is downloaded from the control personal computer 1 at the start of the command tester, and log information during operation is held.

チャネルアダプタ3は、例えば前記OCLINK、BMC、FC、FC−Link、SCSI等の異種のインターフェースに対応しており、図示省略したCPUのメモリに、IPL時にそれぞれのチャネルアダプタ用専用プログラムを制御用パソコンよりダウンロードして、接続されたストレージ製品との制御が実行される。   The channel adapter 3 is compatible with different interfaces such as OCLINK, BMC, FC, FC-Link, and SCSI, for example, and each channel adapter dedicated program is stored in the CPU memory (not shown) at the time of IPL. Downloaded more, the control with the connected storage product is executed.

被試験装置4は本発明のコマンドテスタにより評価されるものであり、ストレージ製品である。   The device under test 4 is evaluated by the command tester of the present invention and is a storage product.

チャネルアダプタにおいて、数種類あるインターフェースのうち、SCSIを代表として説明する。   Of the several types of interfaces in the channel adapter, SCSI will be described as a representative.

図3(a)に示す如く、SCSI BUSは、DataバスからResetバスまでの11種類ある。このうちDataバスのみ複数ビット幅であり、他は1ビット幅である。なお図3(a)において、Iはイニシエータつまりコマンドテスタ側(チャネルアダプタ側)を示し、Tはターゲットつまりストレージ製品側を示す。データはチャネルアダプタ側からストレージ製品側に出力され、また逆にストレージ製品側からチャネルアダプタ側に出力される両方向のものであることを(I←→T)で示し、リクエスト信号(REQ)はストレージ製品側からアダプタ側にのみ出力される単方向のものであることを(I←T)で示す。なお図3(a)でアテンション(ATN)は(I→T)を示す。   As shown in FIG. 3A, there are 11 types of SCSI BUS, from the Data bus to the Reset bus. Of these, only the Data bus has a multiple bit width, and the others have a 1 bit width. In FIG. 3A, I indicates an initiator, that is, a command tester side (channel adapter side), and T indicates a target, that is, a storage product side. The data is output from the channel adapter side to the storage product side and conversely from the storage product side to the channel adapter side, indicating that the data is in both directions (I ← → T), and the request signal (REQ) is the storage (I ← T) indicates that the output is unidirectional only from the product side to the adapter side. In FIG. 3A, attention (ATN) indicates (I → T).

図3(b)に示す如く、各フェーズの種類としてアービトレーションからバスフリーまでの10種類ある。アービトレーション(A)は、同時に複数のバス使用要求が上がったときの使用許可信号であり、バスフリー(BF)は、アービトレーション前のバスが自由に使用可能な状態を示す。   As shown in FIG. 3B, there are 10 types of phases from arbitration to bus-free. Arbitration (A) is a use permission signal when a plurality of bus use requests are simultaneously issued, and bus free (BF) indicates a state in which the bus before arbitration can be freely used.

尚、詳細はANSI(American National Standard Institute)規格に準ずる。   The details conform to the ANSI (American National Standard Institute) standard.

本発明のコマンドテスタの機能について説明する。   The function of the command tester of the present invention will be described.

A.ライト用データ作成
本発明では、次の場合はホストインターフェース搭載ラック2側でのライト用データの生成が可能となる。
A. Write Data Creation In the present invention, write data can be generated on the host interface mounting rack 2 side in the following cases.

a.インクリメント
b.デクリメント
c.LBA埋め込み
インクリメント、デクリメントはそれぞれ初期値から一定値をインクリメント、デクリメントするものである。
a. Increment b. Decrement c. LBA embedding Increment and decrement respectively increment and decrement a certain value from the initial value.

またLBA(ロジカル・ブロック・アドレス指定)は、例えば「0」から初まるアドレスが一定値毎にインクリメントされた値をデータの読み出し先のアドレスとして指定されたものである。   In addition, LBA (logical block address designation) is, for example, designated as a data read destination address by incrementing an address starting from “0” by a certain value.

そして上記以外の場合は、制御用パソコン1側で生成し、ホストインターフェース搭載ラック2へ転送されたデータを使用する。このようにして数種類のライト用データが作成可能となる。   In cases other than the above, the data generated on the control personal computer 1 side and transferred to the host interface mounting rack 2 is used. In this way, several types of write data can be created.

これらの機能は、記憶部2−5に保持されたファームウェアにより、メインボード2−1のCPUが行うものであり、この機能により制御用パソコン1とホストインターフェース搭載ラック2との間にインターフェース制御ボードA、Bの使用負荷が軽減になり、ビジー率が低くなり、他制御等での活用が可能になる。   These functions are performed by the CPU of the main board 2-1 by the firmware held in the storage unit 2-5, and the interface control board is provided between the control personal computer 1 and the host interface mounting rack 2 by this function. The usage load of A and B is reduced, the busy rate is lowered, and it can be used for other control.

またこの機能により通常のホスト装置を想定した複数ジョブ擬似走行が可能になる。   In addition, this function makes it possible to run a plurality of simulated jobs assuming a normal host device.

B.アクセスモード指定
制御用パソコン1からの指示により、ホストインターフェース搭載ラック2でストレージ製品4に対して実行するものであり、ストレージ製品4へのライト用データの扱い、つまりアクセス方法を指定するものである。アクセスモードとしては、例えば図4のa〜mに示す如きものがある。図4のaに示す「ライトのみ」とは指定されたデータを指定されたチャネルアダプタに接続されたストレージ製品に書込むだけのものである。
B. Specification of access mode This is executed for the storage product 4 in the host interface mounting rack 2 according to an instruction from the control personal computer 1, and specifies the handling of data for writing to the storage product 4, that is, the access method. . Examples of the access mode include those shown in FIGS. “Write only” shown in FIG. 4 a is simply to write the specified data to the storage product connected to the specified channel adapter.

図4のbに示す「ライト/リード(データコンペアなし)」とは、指定したデータを指定されたチャネルアダプタに接続されたストレージ製品に書込み、それを読出すものの、比較はしないことを指示するものである。図4のcで示す「ライト/リード(データコンペアあり)」とは、指定したデータをストレージ製品に書込んだあと、そのデータを読出し、書込まれたデータと読み出したデータが一致するか否かをデータ管理部2−2、2−3のコンペア回路で比較するものである。   “Write / Read (no data compare)” shown in FIG. 4b indicates that the specified data is written to the storage product connected to the specified channel adapter and read out, but not compared. Is. “Write / Read (with data compare)” indicated by c in FIG. 4 reads the specified data after writing it to the storage product, and whether the written data matches the read data. Are compared by the compare circuit of the data management units 2-2 and 2-3.

また図4のmで示す「リード/ライト/リード(1回目リード=データコンペアあり、2回目リード=あり)とは、次のような指定を示している。1回目のリードに対してデータコンペアあるということは、1回目のリードデータが、例えば前記Aに記載したライト用データ作成の項で説明した如く作成されたものであり、どこにそのデータが書かれているのか分かっているものを使用するので、コンペア可能であり、2回目のリードデータは、その直前にライトしたデータに対するリードを示し、コンペア可能である。   Further, “read / write / read (first read = data compare is present, second read = present)” indicated by m in FIG. 4 indicates the following designation. That is, the first read data is created as described in the section for creating write data described in A above, for example, and the data where the data is written is used. Therefore, the comparison is possible, and the second read data indicates a read with respect to the data written immediately before and can be compared.

このように、制御用パソコン1から種々のアクセスモードを指定し、ホストインターフェース搭載ラック2のメインボード2−1、データ管理部2−2、2−3、チャネルアダプタ3等でこれらアクセスモードを実行することができる。   In this way, various access modes are designated from the control personal computer 1, and these access modes are executed by the main board 2-1, the data management units 2-2, 2-3, the channel adapter 3, etc. of the host interface mounting rack 2. can do.

C.チャネル指定からのライト/リード/コンペア
前記B項で指定されたモードを、本項目で指定されるチャネルでライト/リード/コンペア等を行うものである。
C. Write / Read / Compare from Channel Designation The mode designated in the item B is written / read / compare in the channel designated in this item.

a.同じチャネルからの動作で行う。   a. The operation is performed from the same channel.

b.各チャネル間での組み合わせの動作で行う。   b. This is done by a combination operation between each channel.

例えば図2のスロット0でライト、スロット1でリード+コンペア、スロット2で再ライトを行う。   For example, writing is performed in slot 0 of FIG. 2, read + compare in slot 1, and rewrite in slot 2.

c.チャネル指定がない場合は、未動作のランダムチャネルつまり空きチャネルで動作を行う。   c. If there is no channel designation, the operation is performed on an inactive random channel, that is, an empty channel.

この動作は、制御用プロセッサ1からの指示により、メインボード2−1のCPUがファームウェアの下で動作を行う。   This operation is performed by the CPU of the main board 2-1 under the firmware according to an instruction from the control processor 1.

D.ライト/リードの各動作
異常動作時の検査を行うため、前記図3(b)に記載の如き各フェーズの動作時に、指定データに置き換えて異常動作を行わせることが可能である。これは制御用プロセッサ1からの指示により各チャネルアダプタ3が行うものである。
D. Each operation of write / read In order to perform inspection at the time of abnormal operation, it is possible to perform abnormal operation by replacing it with designated data during the operation of each phase as shown in FIG. This is performed by each channel adapter 3 according to an instruction from the control processor 1.

図5のaで示すアービトレーションでは、バスアクセス要求元IDを正常のものとは別のIDを上げたり、IDを上げないような、バス獲得時のプロトコルを変更して異常状態とすることができる。   In the arbitration shown by a in FIG. 5, the bus access request source ID can be raised to an abnormal state by changing the protocol at the time of bus acquisition so that the ID different from the normal one is raised or the ID is not raised. .

図5のbで示すセレクションでは接続する相手を変更することにより異常状態とすることができる。   In the selection shown by b of FIG. 5, it can be set as an abnormal condition by changing the connection other party.

図5のcで示すリセレクションでは再接続する相手を変更することにより異常状態とすることができる。   In the reselection indicated by c in FIG. 5, an abnormal state can be set by changing the partner to be reconnected.

図5のdで示すメッセージ・アウトではターゲットへの指定するデータを変更することにより異常状態とすることができる。   In the message-out indicated by d in FIG. 5, an abnormal state can be obtained by changing data designated to the target.

図5のeで示すメッセージ・インでは、ターゲットからの指定されるデータを変更し異なる応答をすることにより異常状態とすることができる。   In the message-in shown by e in FIG. 5, an abnormal state can be set by changing the data designated from the target and making a different response.

図5のfで示すコマンドでは、コマンドコードを書き替えたり、未使用のビットを立てる等コマンド内パラメータを変更することにより異常状態とすることができる。   The command indicated by f in FIG. 5 can be brought into an abnormal state by changing a command parameter such as rewriting a command code or setting an unused bit.

また図5の(g)〜(j)ではデータの置き換えは不可能であり、そのままとする。   In (g) to (j) of FIG. 5, the data cannot be replaced and is left as it is.

この外に、前記図5に示すフェーズの切り替った直後、転送中(指定バイト後にwaitする指定可)、転送後等の部分に指定wait(ウェイト)を置き、タイムアウトによる異常動作を発生させることが可能である。ウェイト値が設定されていない場合は、デフォルト値の設定で動作できる。また任意にターゲットへのリセットが発行可能であり、その回数間隔も指定可能であり動作異常状態とすることができる。   In addition to this, immediately after the phase shown in FIG. 5 is switched, a designated wait (wait) is placed in a portion such as during transfer (wait can be specified after a specified byte) or after transfer, and an abnormal operation due to timeout occurs. Is possible. If no weight value is set, the default value can be set. In addition, a reset to the target can be arbitrarily issued, and the number of times can be specified, and an abnormal operation state can be obtained.

E.異常処理後のリカバリ動作
前記C項の動作で異常と判断された場合は次の、同一チャネル又は他チャネルで継続処理が可能である。他チャネルへの切替は、制御用パソコン1からの指定又はランダムに切替えることができる。
E. Recovery Operation after Abnormal Processing If it is determined that the operation in the item C is abnormal, it is possible to continue processing on the next same channel or another channel. Switching to another channel can be specified from the control personal computer 1 or can be switched randomly.

a.同一チャネルで継続動作する場合
同一チャネルで継続動作する場合は、同じチャネルが復旧しないと使用することができないので、この場合、ハードリセット又はソフトリセット後に、インターフェース規約に基づいて継続する。(制御用パソコン1の指示により、メインボード2−1のCPUがファームの下で動作する。)
例えば(1)LBA10へのライトコマンド発行時に指定ウェイトで意図的にタイムアウトを発生させる。(2)次にハードリセットでバスフリーに移行する。(3)再度LBA10へライトコマンドを発行する。(チャネルアダプタ3で発行)
これらが同一チャネルで処理される。
a. In the case of continuing operation on the same channel In the case of continuing operation on the same channel, the same channel cannot be used unless it is restored. In this case, it continues based on the interface protocol after a hard reset or soft reset. (The CPU of the main board 2-1 operates under the firmware in response to an instruction from the control personal computer 1)
For example, (1) when a write command is issued to the LBA 10, a timeout is intentionally generated with a specified wait. (2) Next, a hard reset makes the bus free. (3) Issue a write command to the LBA 10 again. (Issued with channel adapter 3)
These are processed in the same channel.

b.他チャネルで継続動作する場合
他チャネルで継続動作する場合は、異常チャネルは別動作のためにハードリセット又はソフトリセット後にインターフェース規約に基づいてバスフリーに移行し、復旧させるが、この処理と平行して他チャネルでの処理は継続する。
b. In case of continuous operation in other channels In case of continuous operation in other channels, the abnormal channel shifts to a bus-free state based on the interface protocol after hard reset or soft reset for another operation and is restored. Processing on other channels continues.

例えば、(1)スロットS1に接続されたチャネルアダプタ (図示省略)で、LBA10へのライトコマンド発行時に指定ウェイトで意図的にタイムアウトを発生させ、ウェイトコマンドにより異常終了を行わせる。(2)次にスロットS1に接続されたチャネルアダプタをハードリセットでバスフリーに移行する。(3)前記(2)項の処理中にスロットS2に接続されたチャネルアダプタ又は空きチャネルで再度LBA10へライトコマンドを発行する。このようにして他チャネルで処理される。   For example, (1) a channel adapter (not shown) connected to the slot S1 intentionally generates a timeout with a designated wait when a write command is issued to the LBA 10, and causes the abnormal termination by the wait command. (2) Next, the channel adapter connected to the slot S1 is shifted to bus-free by a hard reset. (3) A write command is issued again to the LBA 10 by the channel adapter connected to the slot S2 or the empty channel during the processing of the item (2). In this way, processing is performed on another channel.

F.自動センス取得機能
チャネルアダプタ3に接続された、ストレージ製品4の如き接続デバイスより、ステータス「02」(チェックコンディションを示す)のとき、チャネルアダプタ3はこれを判別し、リクエストセンスコマンドで、チャネルアダプタ3は接続デバイスのエラー情報を収集し、記憶部2−5にログ情報として格納する。
F. Automatic sense acquisition function When the status is “02” (indicating a check condition) from a connected device such as the storage product 4 connected to the channel adapter 3, the channel adapter 3 determines this, and the channel adapter 3 3 collects error information of the connected device and stores it in the storage unit 2-5 as log information.

このとき、チャネルアダプタ3は、チャネル番号、発行コマンド及び直前に発行した、例えば10個のコマンドもログ情報として収集する。   At this time, the channel adapter 3 also collects, as log information, the channel number, the issued command, and, for example, 10 commands issued immediately before.

G.トレース機能
チャネルアダプタ3は、接続されたストレージ製品の如きデバイスとの発行及び受信した各フェーズ及びデータ、チャネル番号と日時のトレースデータ等を記録することが可能である。ただしデータフェーズ送信・受信するデータは膨大なため、例えば先頭16バイトのみとする。この機能で障害解析が可能になる。
G. Trace function The channel adapter 3 is capable of recording the issued and received each phase and data with a device such as a connected storage product, trace data of the channel number and date, and the like. However, since the data to be transmitted / received in the data phase is enormous, only the first 16 bytes are used, for example. This function enables failure analysis.

本発明では、コマンドテスタにより、例えば図4(C)に示すアクセスモード指定によりテストを行う場合、ストレージ製品側の入出力機能にケーブル不良等の異常が存在したとき、正常応答が返信されてこないので、これをチャネルアダプタ3で検出し、付加回路2−4のマルチプレクサがこの異常の存在したチャネルを正常に動作する空きチャネルに切り替えてテストを継続する、または制御用パソコン1からの指示されたチャネルに切り替えてテストを継続する、あるいは不良検出されたチャネルを制御用パソコン1の指示によりもう一度復旧させてテストを行うこと等が可能であるので、従来の如く、異常の場合に人手によるケーブルを抜き差しする作業は不必要となり、効率的にテストを行うことができる。   In the present invention, when a test is performed by a command tester by, for example, specifying an access mode shown in FIG. 4C, a normal response is not returned when an abnormality such as a cable failure exists in the input / output function on the storage product side. Therefore, this is detected by the channel adapter 3, and the multiplexer of the additional circuit 2-4 switches the channel in which this abnormality exists to an empty channel that operates normally, or continues the test, or is instructed by the control personal computer 1 It is possible to continue the test by switching to the channel, or to perform the test again by restoring the channel in which the defect is detected according to the instruction of the control personal computer 1 so that, as in the conventional case, a manual cable is used in the case of an abnormality. The work of inserting and removing is unnecessary, and the test can be performed efficiently.

本発明の概略構成図である。It is a schematic block diagram of this invention. 本発明の概略ブロック図である。1 is a schematic block diagram of the present invention. スカジイバスの種類及び各フェーズの種類の説明図である。It is explanatory drawing of the kind of scuffy bus | bath and the kind of each phase. アクセスモード指定状態説明図である。It is an access mode designation | designated explanatory drawing. ライト・リードの各動作状態説明図である。FIG. 6 is an explanatory diagram of each operation state of write / read. 従来例説明図である。It is explanatory drawing of a prior art example.

符号の説明Explanation of symbols

1 制御用パソコン
2 ホストインターフェース搭載ラック
3 チャネルアダプタ
4 ストレージ製品
1 PC for control 2 Rack with host interface 3 Channel adapter 4 Storage product

Claims (3)

ホストインターフェースラックに搭載されたチャネルアダプタを制御し、チャネルアダプタに接続された被試験装置とのアクセスを管理する制御用プロセッサと、
前記制御用プロセッサによりそれぞれ制御可能なチャネルアダプタが接続される複数のバックパネルと、比較手段を持つ複数のデータ管理手段と、このデータ管理手段を前記チャネルアダプタに選択接続する切換手段を備えたホストインターフェース搭載ラックを有し、
前記チャネルアダプタには、IPL時に前記制御用プロセッサよりそれぞれのチャネルアダプタ用の専用プログラムをダウンロードして前記チャネルアダプタに接続された被試験装置との制御を実行可能とすることを特徴とするコマンドテスタ。
A control processor for controlling the channel adapter mounted in the host interface rack and managing access to the device under test connected to the channel adapter;
A host comprising a plurality of back panels to which channel adapters each controllable by the control processor are connected, a plurality of data management means having comparison means, and a switching means for selectively connecting the data management means to the channel adapter Has a rack with an interface,
A command tester, wherein a dedicated program for each channel adapter is downloaded to the channel adapter from the control processor during IPL so that control with a device under test connected to the channel adapter can be executed. .
前記被試験装置がストレージ製品であることを特徴とする請求項1記載のコマンドテスタ。   The command tester according to claim 1, wherein the device under test is a storage product. 前記切換手段により、他のチャネルに切替え、または異常検出したチャネルへのリセット等の復旧により、被試験装置との継続入出力が可能となり、処理全体としての整合性確認が可能となることを特徴とする請求項1記載のコマンドテスタ。   By the above switching means, switching to another channel or restoring to a channel in which an abnormality has been detected makes it possible to continue input / output with the device under test and to check the consistency of the entire process. The command tester according to claim 1.
JP2005044906A 2005-02-22 2005-02-22 Command tester Pending JP2006235665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005044906A JP2006235665A (en) 2005-02-22 2005-02-22 Command tester

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005044906A JP2006235665A (en) 2005-02-22 2005-02-22 Command tester

Publications (1)

Publication Number Publication Date
JP2006235665A true JP2006235665A (en) 2006-09-07

Family

ID=37043285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005044906A Pending JP2006235665A (en) 2005-02-22 2005-02-22 Command tester

Country Status (1)

Country Link
JP (1) JP2006235665A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009187245A (en) * 2008-02-06 2009-08-20 Fujitsu Ltd Interface board testing device and method
CN102089756A (en) * 2008-07-15 2011-06-08 Lsi公司 System for injecting protocol specific errors during the certification of components in a storage area network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6055457A (en) * 1983-09-06 1985-03-30 Fujitsu Ltd Channel adapter diagnostic system
JPH04291538A (en) * 1991-03-19 1992-10-15 Fujitsu Ltd Down-load system using standby line
JPH07262101A (en) * 1994-03-17 1995-10-13 Hitachi Ltd Diagnosis method for optical channel controller
JPH09179835A (en) * 1995-12-21 1997-07-11 Fuji Electric Co Ltd Parallel processor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6055457A (en) * 1983-09-06 1985-03-30 Fujitsu Ltd Channel adapter diagnostic system
JPH04291538A (en) * 1991-03-19 1992-10-15 Fujitsu Ltd Down-load system using standby line
JPH07262101A (en) * 1994-03-17 1995-10-13 Hitachi Ltd Diagnosis method for optical channel controller
JPH09179835A (en) * 1995-12-21 1997-07-11 Fuji Electric Co Ltd Parallel processor system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009187245A (en) * 2008-02-06 2009-08-20 Fujitsu Ltd Interface board testing device and method
CN102089756A (en) * 2008-07-15 2011-06-08 Lsi公司 System for injecting protocol specific errors during the certification of components in a storage area network
JP2011528466A (en) * 2008-07-15 2011-11-17 エルエスアイ コーポレーション System for inserting protocol-specific errors during component authentication in a storage area network
US8489935B2 (en) 2008-07-15 2013-07-16 Lsi Corporation System for injecting protocol specific errors during the certification of components in a storage area network
KR101331123B1 (en) 2008-07-15 2013-11-19 엘에스아이 코포레이션 System for injecting protocol specific errors during the certification of components in a storage area network
US8843786B2 (en) 2008-07-15 2014-09-23 Avago Technologies General Ip (Singapore) Pte. Ltd. System for injecting protocol specific errors during the certification of components in a storage area network

Similar Documents

Publication Publication Date Title
EP1636705B1 (en) Integrated circuit capable of communicating using different communication protocols
US7694029B2 (en) Detecting miscabling in a storage area network
US8443237B2 (en) Storage apparatus and method for controlling the same using loopback diagnosis to detect failure
JP4886601B2 (en) Apparatus and method for operating USB interface equipment
US20150026526A1 (en) Techniques for testing enclosure management controller using backplane initiator
JP6166773B2 (en) Optical module availability detection method and apparatus
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
JP2004152298A (en) Method and apparatus for enhancement of bus function
CN105183575A (en) Processor fault diagnosis method, device and system
US20140053032A1 (en) Memory test method, memory test device, and adapter thereof
CN107818032A (en) A kind of mainboard, information Method of printing, system, device and storage medium
US8015448B2 (en) System and method for conducting BIST operations
CN114003528A (en) OCP switching card, switching system and switching method
US20060265523A1 (en) Data transfer circuit and data transfer method
WO2014168295A1 (en) Power loss test device and method for nonvolatile memory device
CN109885420B (en) PCIe link fault analysis method, BMC and storage medium
JP2006235665A (en) Command tester
US7168029B2 (en) Method for testing a universal serial bus host controller
CN112596983A (en) Monitoring method for connector in server
US20210126969A1 (en) San advisory based on latency
US8832341B2 (en) Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device
CN113342257B (en) Server and related control method
JP4795147B2 (en) Transmission equipment
JP5673197B2 (en) Test program and test method
KR101406455B1 (en) Data transmission apparatus for computer and Method for changing data channel thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101019