JP2005063286A - Driver program for disk device and program for testing disk device - Google Patents

Driver program for disk device and program for testing disk device Download PDF

Info

Publication number
JP2005063286A
JP2005063286A JP2003294921A JP2003294921A JP2005063286A JP 2005063286 A JP2005063286 A JP 2005063286A JP 2003294921 A JP2003294921 A JP 2003294921A JP 2003294921 A JP2003294921 A JP 2003294921A JP 2005063286 A JP2005063286 A JP 2005063286A
Authority
JP
Japan
Prior art keywords
disk device
information
command
program
dual port
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
JP2003294921A
Other languages
Japanese (ja)
Inventor
Shoichi Suzuki
正一 鈴木
Hiroshi Yamaguchi
博史 山口
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 JP2003294921A priority Critical patent/JP2005063286A/en
Publication of JP2005063286A publication Critical patent/JP2005063286A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device driver for a disk device for quickly testing a dual port disk device. <P>SOLUTION: A device driver 20 for a disk device is configured(prepared ) as a program for controlling the two interface circuits of a computer and a program for accepting the specification of contents to be performed to the dual port disk device 60 by using those two interface circuits, for executing the processing of the specified contents, and for executing processing to output the processing results. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、デュアルポートディスク装置をテストするためのディスク装置用ドライバプログラムとディスク装置テスト用プログラムとに、関する。   The present invention relates to a disk device driver program and a disk device test program for testing a dual port disk device.

周知のように、近年、販売されているディスク装置(磁気ディスク装置、光ディスク装置等)の中には、複数台のディスク装置を組み合わせることにより、高速性,大容量性及び高信頼性を実現したディスク装置(いわゆるディスクアレイ装置)や、2台のホストから同時に利用できるようにしたディスク装置(いわゆるデュアルポートディスク装置;例えば、特許文献1参照。)といったように、性能の異なる様々なものが、存在している。   As is well known, high-speed performance, large capacity and high reliability have been realized by combining multiple disk devices among the disk devices (magnetic disk devices, optical disk devices, etc.) sold in recent years. Various devices with different performance such as a disk device (so-called disk array device) and a disk device (so-called dual port disk device; see, for example, Patent Document 1) that can be used simultaneously from two hosts, Existing.

そして、上記のようなディスク装置の開発(或いは修理)時には、ディスク装置の性能をテストすることが行われているが、従来のテスト法は、ディスク装置の性能テストが短時間で完了しないといった問題を有するものとなっていた。   In the development (or repair) of the disk device as described above, the performance of the disk device is tested. However, the conventional test method has a problem that the performance test of the disk device is not completed in a short time. It was supposed to have.

具体的には、従来は、ディスク装置の性能をテストするために、ディスク装置に各種の処理を順次行わせることが出来るアプリケーションプログラム(以下、テスト用プログラムと表記する)を用いてディスク装置を動作させるといった方法が、用いられている。   Specifically, conventionally, in order to test the performance of the disk device, the disk device is operated using an application program (hereinafter referred to as a test program) that can cause the disk device to sequentially perform various processes. Such a method is used.

このテスト用プログラムを用いる方法によれば、テスト用プログラムを用いない場合(一般的なアプリケーションプログラムからディスク装置を利用することによりテストする場合)よりも短時間でテストが完了することにはなる。しかしながら、この方法では、ディスク装置に対して実際にコマンドが送信されるタイミングが、オペレーティングシステム(OS:operating system)及びデバイスドライバまかせになってしまうことになるので、コマンド間の送信時間(各コマンドの送信タイミング)の指定を必要とするテストを行いたい場合、従来は、所望のタイミングでコマンドが送信されるまで、何度もテストを繰り返さなければならなかった。   According to the method using the test program, the test is completed in a shorter time than when the test program is not used (when a test is performed by using a disk device from a general application program). However, in this method, the timing at which the command is actually transmitted to the disk device is left to the operating system (OS) and the device driver. Conventionally, when it is desired to perform a test that requires the designation of (transmission timing), the test has to be repeated many times until a command is transmitted at a desired timing.

特に、従来の方法によるデュアルポートディスク装置のテストは、デュアルポートディスク装置が、2つのポートに同期的にコマンドを受信させたときの動作内容の確認が必要とされる装置であるが故に、極めて長い時間がかかるものとなっていた。
特開平4−364514号公報
In particular, the test of the dual port disk device by the conventional method is a device that requires confirmation of the operation contents when the dual port disk device receives commands synchronously at two ports. It took a long time.
JP-A-4-364514

本発明は、上記のような現状を鑑みなされたものであり、本発明の課題は、デュアルポートディスク装置の性能のテストを短時間で行うことが出来るディスク装置用デバイスドライバとディスク装置テスト用プログラムとを、提供することにある。   The present invention has been made in view of the above situation, and an object of the present invention is to provide a disk device device driver and a disk device test program capable of performing a performance test of a dual port disk device in a short time. Is to provide.

上記課題を解決するために、本発明では、デュアルポートディスク装置用のディスク装置用ドライバプログラムを、デュアルポートディスク装置との間で通信を行うための少なくとも2つのインタフェース回路を備えたコンピュータにインストールされる,デュアルポートディスク装置を利用するための制御を2つのインタフェース回路に対して行うドライバプログラムであって、コンピュータに、2つのインタフェース回路のいずれかを利用して実行すべきデュアルポート装置に対する一連の処理の内容と、それらの中の幾つかの処理の実行タイミングとを指定する処理内容指定情報の記憶を要求する指示を受け付け、受け付けた指示が記憶することを要求している処理内容指定情報を記憶する受付・記憶処理と、受付・記憶処理が記憶している処理内容指定情報にてその内容及び実行タイミングが指定されている各処理を2つのインタフェース回路を利用して指定通りに実行する実行処理と、実行処理が実行した各処理の結果に関する情報を出力する出力処理とを実行させることが出来るドライバプログラムとしておく。   In order to solve the above problems, in the present invention, a disk device driver program for a dual port disk device is installed in a computer having at least two interface circuits for communicating with the dual port disk device. A driver program for performing control for using a dual port disk device for two interface circuits, wherein a series of programs for a dual port device to be executed by using one of the two interface circuits in a computer. An instruction for requesting storage of processing content specifying information for specifying the content of processing and the execution timing of some of the processes is received, and the processing content specifying information that the received instruction requests to store is received. Receiving / storing process and receiving / storing process Outputs information about the execution process that executes the specified process using the two interface circuits, and the results of each process executed by the execution process. The driver program can execute the output process.

このディスク装置用ドライバプログラムがインストールされたコンピュータによるデュアルポートディスク装置の実際のテスト(実行処理の実行)時には、アプリケーションプログラムとOS(デバイスドライバ)との間で指示の授受が行われないことになる。このため、本発明のディスク装置用ドライバプログラムを用いれば、コマンド間の送信時間(各コマンドの送信タイミング)の指定を必要とするテストが、従来のように何度もテストを繰り返さなくても、行えることになる。そして、その結果として、短時間でデュアルポートディスク装置のテストを行えることになる。   When the dual port disk device is actually tested (execution of the execution process) by the computer in which the disk device driver program is installed, instructions are not exchanged between the application program and the OS (device driver). . For this reason, by using the disk device driver program of the present invention, a test that requires specification of a transmission time between commands (transmission timing of each command) can be performed without repeating the test many times as in the past. You can do it. As a result, the dual port disk device can be tested in a short time.

本発明のディスク装置用ドライバプログラムを用いてデュアルポートディスク装置のテストを行う際には、OSに付属の機能を利用してディスク装置用ドライバプログラムを動作させても良い。ただし、「コンピュータを、操作者によって入力された,2つのインタフェース回路のいずれかを利用して実行すべきデュアルポートディスク装置に対する一連の処理の内容と、それらの中の幾つかの処理の実行タイミングとを指定する情報に基づき、その情報を処理内容指定情報として記憶させるための指示を生成して受付・記憶処理に受け付けさせる指示生成手段と、操作者からの指示に基づき実行処理を開始させる開始指示手段と、出力処理が出力した情報を操作者に提示する情報提示手段とを備える装置として動作させるディスク装置テスト用プログラム」を用意しておくことが望ましい。何故ならば、そのようなディスク装置テスト用プログラムを用意しておけば、OSに付属の機能を利用する場合よりも、簡単に(操作者が行わなければならない作業量が少ない形で)、デュアルポートディスク装置のテストが行えることになるからである。   When testing a dual port disk device using the disk device driver program of the present invention, the disk device driver program may be operated using a function attached to the OS. However, “the contents of a series of processes for a dual-port disk device to be executed using one of the two interface circuits input by the operator, and the execution timing of some of the processes among them. Based on the information that specifies, the instruction generating means for generating an instruction for storing the information as processing content specifying information and receiving it in the reception / storage process, and starting the execution process based on the instruction from the operator It is desirable to prepare a disk device test program that operates as a device including an instruction unit and an information presentation unit that presents information output by the output process to an operator. This is because, if such a disk device test program is prepared, it is easier (in a form that requires less work to be performed by the operator) and dual than when using the functions attached to the OS. This is because the port disk device can be tested.

また、本発明のディスク装置用ドライバプログラムを実現する際には、受付・記憶処理が、デュアルポートディスク装置に対して一部の値を異常な値としたコマンドを送信する処理の実行を指定する情報を含む処理内容指定情報を受け付け可能な処理となり、実行処理が、デュアルポートディスク装置に対して一部の値を異常な値としたコマンドを送信する処理を実行可能な処理となるようにしておくことが出来る。そして、このような形でディスク装置用ドライバプログラムを実現した場合には、コンピュータからデュアルポートディスク装置へ送信されたコマンドにノイズが乗ってしまった場合等におけるデュアルポートディスク装置の動作内容を確認できるディスク装置用ドライバプログラムが得られることになる。   Further, when realizing the disk device driver program of the present invention, the reception / storage processing designates execution of processing for transmitting a command in which some values are abnormal values to the dual port disk device. Processing content specification information including information can be accepted, and the execution processing can be executed to send a command in which some values are abnormal values to the dual port disk device. I can leave. When the disk device driver program is realized in this way, the operation content of the dual port disk device can be confirmed when noise is added to the command transmitted from the computer to the dual port disk device. A disk device driver program is obtained.

また、本発明のディスク装置用ドライバプログラムは、どのようなプロトコルにより制御されるデュアルポートディスク装置用のものとして作成しておいても良く、例えば、ファイバーチャネルによりコンピュータと接続されるデュアルポートディスク装置、Ethernet(米国Xerox Corp.の商標)ケーブルによりコンピュータと接続されるデュアルポートディスク装置のように、SCSI(small computer system interface)をカプセル化したプロトコルにより制御されるデュアルポートディスク装置や、SCSIケーブルによりコンピュータと接続されるデュアルポートディスク装置用のものとして作成しておくことが、出来る。   The disk device driver program of the present invention may be prepared for a dual port disk device controlled by any protocol, for example, a dual port disk device connected to a computer by a fiber channel. A dual port disk device controlled by a protocol encapsulating a small computer system interface (SCSI), such as a dual port disk device connected to a computer via an Ethernet (trademark of Xerox Corp.) cable, or a SCSI cable It can be created for a dual port disk device connected to a computer.

以下、本発明を実施するための最良の形態を、図面を参照して詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.

図1に模式的に示したように、本発明の一実施形態に係るディスク装置テスト用プログラム10(図では、テスト用プログラム)及びディスク装置用ドライバプログラム20(図では、デバイスドライバ)は、ファイバーチャネル(FC)により他機器と接続されるタイプのデュアルポートディスク装置60をテストするために、2個のホストバスアダプタ52(FCを介して他機器と通信を行うためのインタフェース回路/ボード)を備えたコンピュータ50にインストールされるプログラムである。   As schematically shown in FIG. 1, a disk device test program 10 (in the figure, a test program) and a disk device driver program 20 (in the figure, a device driver) according to an embodiment of the present invention are fiber Two host bus adapters 52 (interface circuits / boards for communicating with other devices via FC) are used to test a dual port disk device 60 of a type connected to other devices via a channel (FC). It is a program installed in the computer 50 provided.

このディスク装置テスト用プログラム10(以下、テスト用プログラム10とも表記する)及びディスク装置用ドライバプログラム20(以下、デバイスドライバ20とも表記する)は、デュアルポートディスク装置60が有している2つのポート(以下、ポートA、ポートBと表記する。)のそれぞれに対するコマンド発行を比較的に短時間の間に行った場合におけるデュアルポートディスク装置60の動作内容のテスト(以下、同期発行テストと表記する)、アボートコマンド(デュアルポートディスク装置60内にキューイングされているコマンドの破棄を指示するコマンド)に対するデュアルポートディスク装置60の動作内容のテスト(以下、アボートテストと表記する)を、簡単に行えるようにするために作成したプログラムである。また、テスト用プログラム10及びデバイスドライバ20は、正常ではない内容のフレーム(その一部のデータを破壊したフレーム)受信時におけるデュアルポートディスク装置60の動作内容のテストも簡単に行えるように作成されたプログラムとなっている。   The disk device test program 10 (hereinafter also referred to as the test program 10) and the disk device driver program 20 (hereinafter also referred to as the device driver 20) have two ports that the dual port disk device 60 has. (Hereinafter referred to as port A and port B) A test of the operation contents of the dual port disk device 60 when the command issuance is performed in a relatively short time (hereinafter referred to as a synchronous issue test). ), A test of the operation content of the dual port disk device 60 in response to an abort command (command for discarding commands queued in the dual port disk device 60) (hereinafter referred to as an abort test) can be easily performed. With a program created to That. In addition, the test program 10 and the device driver 20 are created so that it is possible to easily test the operation contents of the dual port disk device 60 when receiving a frame with an abnormal content (a frame in which a part of the data is destroyed). Program.

そして、テスト用プログラム10及びデバイスドライバ20は、UNIX用のもの(OSとしてUNIXが用いられたコンピュータ50にインストールされるもの)として作成されたプログラムとなっている。なお、UNIXは、The Open Groupの商標である。   The test program 10 and the device driver 20 are programs created for UNIX (installed in the computer 50 using UNIX as the OS). UNIX is a trademark of The Open Group.

以上のことを前提に、以下、本実施形態に係るテスト用プログラム10及びデバイスドライバ20の内容を、詳細に説明する。   Based on the above, the contents of the test program 10 and the device driver 20 according to the present embodiment will be described in detail below.

本実施形態に係るテスト用プログラム10は、デュアルポートディスク装置60に対して行うテストの内容に関する指定を受け付ける処理、指定された内容のテストをデバイスドライバ20を利用して行う処理(指定された内容のテストをデバイスドライバ20に開始させる処理)、テスト結果を表示する処理等をコンピュータ50に行わせるプログラムである。そして、デバイスドライバ20は、コンピュータ50のOSを、各種の処理を実行可能なOSとして機能させるドライバプログラム(コンピュータ50を各種のシステムコールを利用可能な装置として動作させるプログラム)であると共に、コンピュータ50に備えられた2つのホストバスアダプタ52を制御可能なプログラムとなっている。   The test program 10 according to the present embodiment is a process for accepting designation regarding the contents of a test performed on the dual port disk device 60, and a process for performing a test of the designated contents using the device driver 20 (designated contents). This is a program that causes the computer 50 to perform processing for displaying the test result and the like. The device driver 20 is a driver program that causes the OS of the computer 50 to function as an OS that can execute various processes (a program that causes the computer 50 to operate as an apparatus that can use various system calls). It is a program that can control the two host bus adapters 52 provided in.

まず、図2乃至図7を用いて、デュアルポートディスク装置60に対して行うテストの内容に関する操作者の指示を受け付けるために、テスト用プログラム10が行う処理の内容を説明する。   First, the contents of the process performed by the test program 10 in order to accept an operator's instruction regarding the contents of the test performed on the dual port disk device 60 will be described with reference to FIGS.

図2に模式的に示したように、テスト用プログラム10は、メインウィンドウ(Main Window)11,スキャンウィンドウ(Scan Window)12,シンクウィンドウ(Sync Window)13,コマンドウィンドウ(Command Window)14,エディットウィンドウ(Edit Window)15,ログウィンドウ(Log Window)16等を、コンピュータ50に表示させることが可能なプログラムとなっている。   As schematically shown in FIG. 2, the test program 10 includes a main window 11, a scan window 12, a sync window 13, a command window 14, and an edit. A window (Edit Window) 15, a log window (Log Window) 16, and the like are programs that can be displayed on the computer 50.

これらのウィンドウのうち、メインウィンドウ11は、起動されたテスト用プログラム10が最初に表示する,図3に示した構成のウィンドウである。   Of these windows, the main window 11 is a window having the configuration shown in FIG. 3 that is displayed first by the activated test program 10.

このメインウィンドウ11上の"Config"ボタン,"Scan"ボタン,"Buffer"ボタン,"Log"ボタン,"Trace"ボタン,"Statistic"ボタンは、同名或いはほぼ同名のウィンドウ(図2参照)を表示させるためのボタン(その押下時にテスト用プログラム10が対応するウィンドウを表示することになるボタン)である。"Stop"ボタン,"Break"ボタン,"All Break"ボタン,"All Stop"ボタンは、テスト用プログラム10(デバイスドライバ20)が実行中の,1つ或いは複数(全て)のタスク(詳細は後述)を、終了,中断させるためのボタンである。"ReStart"ボタン,"All Restart"ボタンは、中断中の,1つ或いは全てのタスクをデバイスドライバ20に続行させるためのボタンである。   The "Config" button, "Scan" button, "Buffer" button, "Log" button, "Trace" button, and "Statistic" button on the main window 11 display a window with the same name or almost the same name (see Fig. 2). (A button that causes the test program 10 to display a corresponding window when the button is pressed). The “Stop” button, “Break” button, “All Break” button, and “All Stop” button are one or a plurality of (all) tasks (details will be described later) that the test program 10 (device driver 20) is executing. ) Is a button for terminating and interrupting. The “ReStart” button and the “All Restart” button are buttons for causing the device driver 20 to continue one or all of the suspended tasks.

タスク情報表示領域111は、既に終了しているタスクや実行中/中断中のタスクに関する情報が示される領域である。このタスク情報表示領域111は、中断或いは続行させるタスクを選択するための領域ともなっている。なお、図3に示したメインウィンドウ11は、タスク情報表示領域111に各種の情報が示されているものであるが、テスト用プログラム10の起動直後に表示されるメインウィンドウ11は、タスク情報表示領域111に何も表示されていないものである。   The task information display area 111 is an area in which information relating to tasks that have already been completed and tasks that are being executed / suspended is displayed. The task information display area 111 is also an area for selecting a task to be interrupted or continued. The main window 11 shown in FIG. 3 shows various types of information in the task information display area 111, but the main window 11 displayed immediately after the test program 10 is started is a task information display. Nothing is displayed in the area 111.

スキャンウィンドウ12は、図4に示したように、"Single"ボタン121,"Dual"ボタン122,"Port A"ボタン123,"Port B"ボタン124,ディスク情報表示領域125等を備えたウィンドウである。このスキャンウィンドウ12のディスク情報表示領域125は、コンピュータ50と接続されている各デュアルポートディスク装置60に関する情報(シリアルナンバ、ベンダー名等)が示される領域である。このディスク情報表示領域125は、テストを行うデュアルポートディスク装置60を指定するための領域ともなっている。   As shown in FIG. 4, the scan window 12 includes a “Single” button 121, a “Dual” button 122, a “Port A” button 123, a “Port B” button 124, a disc information display area 125, and the like. is there. The disk information display area 125 of the scan window 12 is an area in which information (serial number, vendor name, etc.) regarding each dual port disk device 60 connected to the computer 50 is displayed. This disk information display area 125 is also an area for designating the dual port disk device 60 to be tested.

"Single"ボタン121は、デュアルポートディスク装置60の一方のポートのみを使用するテストを行うことをテスト用プログラム10に対して通知するためのボタンである。そして、"Port A"ボタン123、"Port B"ボタン124は、当該一方のポートを、ポートA、ポートBのいずれにするかを指定するためのボタンであり、"Port A"ボタン123が押下された場合、テスト用プログラム10は、ポートAに対するテスト内容を設定するためのコマンドウィンドウ14(図5;詳細は後述)と、コマンドウィンドウ14内に示されるコマンドリストの内容を編集するためのエディットウィンドウ15(図6;詳細は後述)とを、表示する。また、"Port B"ボタン124が押下された場合、テスト用プログラム10は、ポートBに対するテスト内容を設定するためのコマンドウィンドウ14と、そのコマンドウィンドウ14内に示されるコマンドリストの内容を編集するためのエディットウィンドウ15とを、表示する。   The “Single” button 121 is a button for notifying the test program 10 that a test using only one port of the dual port disk device 60 is performed. The “Port A” button 123 and the “Port B” button 124 are buttons for designating which one of the ports is port A or port B. The “Port A” button 123 is pressed. If so, the test program 10 edits the command window 14 for setting the test contents for the port A (FIG. 5; details will be described later) and the contents of the command list shown in the command window 14. A window 15 (FIG. 6; details will be described later) is displayed. When the “Port B” button 124 is pressed, the test program 10 edits the command window 14 for setting the test contents for the port B and the contents of the command list shown in the command window 14. An edit window 15 is displayed.

"Dual"ボタン122は、同期発行テストを行うことをテスト用プログラム10に対して通知するためのボタンである。この"Dual"ボタン122が選択されると、テスト用プログラム10は、表示中のスキャンウィンドウ12を、"Port A"ボタン123及び"Port B"ボタン124の代わりに"PortA&B,timing"ボタンが示されているものに変更する。そして、その"PortA&B,timing"ボタンが押下された場合、テスト用プログラム10は、ポートAに対するテスト内容を設定するためのコマンドウィンドウ14と、ポートBに対するテスト内容を設定するためのコマンドウィンドウ14と、エディットウィンドウ15と、シンクウィンドウ13(図7;詳細は後述)とを、表示する。   The “Dual” button 122 is a button for notifying the test program 10 that a synchronous issue test is to be performed. When the “Dual” button 122 is selected, the test program 10 displays the currently displayed scan window 12 with a “Port A & B, timing” button instead of the “Port A” button 123 and the “Port B” button 124. Change to what is being. When the “Port A & B, timing” button is pressed, the test program 10 includes a command window 14 for setting test contents for port A, and a command window 14 for setting test contents for port B. The edit window 15 and the sync window 13 (FIG. 7; details will be described later) are displayed.

"Port A"ボタン123等の押下により表示されるコマンドウィンドウ14は、図5に示したように、タスク規定情報入力欄141,"Exec"ボタン142、コマンドリスト表示領域143等を備えたウィンドウである。   The command window 14 displayed by pressing the “Port A” button 123 or the like is a window having a task definition information input field 141, an “Exec” button 142, a command list display area 143, etc., as shown in FIG. is there.

このコマンドウィンドウ14上のコマンドリスト表示領域143は、設定されているコマンドリストの内容が示される領域である。ここで、コマンドリストとは、コマンド(CDB[Command Descriptor Block ]情報自体や,Task Management,Primitive Sequence,Primitive Signalに関する処理の実行を指示するためのコマンド)と、そのコマンドについて設定されているオプション情報と、そのコマンドのW/R種別及び転送データサイズに関する情報であるタイプ情報と、コマンド番号(本実施形態では、000〜127の数値)とからなる情報のリストのことである。なお、オプション情報とは、「対応するコマンドの送信後にアボートコマンドを送信させる」、「対応するコマンド(フレーム)の送信時にその内容の一部を破壊する」等、対応するコマンドの処理時に追加的に行われるべき処理の内容を規定する情報のことである。また、図5におけるコマンド番号領域142a,オプション情報領域142b,CDB領域142c,タイプ情報領域142dに示されている情報が、それぞれ、コマンド番号,オプション情報,コマンド,タイプ情報となっている。   The command list display area 143 on the command window 14 is an area where the contents of the set command list are displayed. Here, the command list is a command (command for instructing execution of processing relating to CDB [Command Descriptor Block] information itself, Task Management, Primitive Sequence, and Primitive Signal) and option information set for the command. And a list of information including type information which is information on the W / R type and transfer data size of the command, and a command number (in the present embodiment, a numerical value of 000 to 127). Note that option information refers to additional information when processing the corresponding command, such as “Send an abort command after sending the corresponding command” or “Destroy part of the content when the corresponding command (frame) is sent”. It is information that defines the content of the process to be performed. Also, the information shown in the command number area 142a, option information area 142b, CDB area 142c, and type information area 142d in FIG. 5 is a command number, option information, command, and type information, respectively.

タスク規定情報入力欄141は、テスト用プログラム10(及びデバイスドライバ20)に実行させるタスクの内容を規定する情報を操作者が入力すべき欄であり、"Exec"ボタン142は、タスク規定情報入力欄141内に入力されている情報により規定されている内容のタスクをテスト用プログラム10(及びデバイスドライバ20)に開始させるためのボタンである。そして、本実施形態に係るテスト用プログラム10は、このタスク規定情報入力欄141に、コマンドリスト内の幾つかのコマンド番号を含む所定形式の情報を入力することにより、タスクの内容を指定できるプログラムとなっている。具体的には、テスト用プログラム10は、"ex 0"、"ex 0,2,3"といった情報をタスク規定情報入力欄141に入力することにより、それぞれ、コマンド番号"000"のコマンドのみの実行、コマンド番号"000"、"002"、"003"の3コマンドの実行を指定でき、"exm 0,2,3"といった情報をタスク規定情報入力欄141に入力することにより、コマンド番号"000"、"002"、"003"の3コマンドを終了待ちをせずに実行することを指定できるプログラムとなっている。   The task definition information input column 141 is a column in which an operator should input information that defines the content of a task to be executed by the test program 10 (and the device driver 20), and the “Exec” button 142 is a task definition information input. This is a button for causing the test program 10 (and the device driver 20) to start a task having the contents defined by the information input in the column 141. The test program 10 according to the present embodiment is a program that can specify the contents of a task by inputting information in a predetermined format including several command numbers in the command list in the task definition information input field 141. It has become. Specifically, the test program 10 inputs information such as “ex 0” and “ex 0, 2, 3” into the task definition information input field 141, so that only the command with the command number “000” is displayed. Execution, execution of command numbers “000”, “002”, “003” can be specified, and by inputting information such as “exm 0,2,3” into the task definition information input field 141, the command number “ The program can specify that three commands 000 "," 002 ", and" 003 "are executed without waiting for completion.

要するに、本テスト用プログラム10は、操作者が、実行させるタスクの内容を指定する作業を行う前に、コマンドリストを設定しておくことが必要とされるプログラムとなっている。そして、テスト用プログラム10が表示するエディットウィンドウ15は、このコマンドリストを作成・編集するためのウィンドウとなっている。   In short, the test program 10 is a program that requires the operator to set a command list before performing an operation of specifying the contents of a task to be executed. An edit window 15 displayed by the test program 10 is a window for creating and editing this command list.

より具体的には、このエディットウィンドウ15としては、コマンドの種類別に、設定できる情報の種類及び数が異なる6種のタイプのもの(図2参照)が、用意されている。   More specifically, as the edit window 15, six types (see FIG. 2) having different types and numbers of information that can be set are prepared for each type of command.

例えば、CDB(Command Descriptor Block)情報を設定するためのエディットウィンドウ15は、図6に示した構成のウィンドウとなっている。   For example, an edit window 15 for setting CDB (Command Descriptor Block) information is a window having the configuration shown in FIG.

このエディットウィンドウ15上のCDB情報設定欄151は、コマンドリストに含めるCDB情報(デュアルポートディスク装置60にリード動作、ライト動作等を行わせるための情報)を設定するための欄である。"ABTS"ボタン152は、CDB情報設定欄151に設定されたコマンドのオプション情報を、「対応するコマンドの送信後にアボートコマンドを送信させる」ことを指示する情報とするためのボタンである。"Frame op"ボタン153は、CDB情報設定欄151に設定されたコマンドのオプション情報を、「対応するコマンド(フレーム)の送信時にその内容の一部を破壊する」ことを指示する情報とするためのボタンである。   The CDB information setting column 151 on the edit window 15 is a column for setting CDB information (information for causing the dual port disk device 60 to perform a read operation and a write operation) to be included in the command list. The “ABTS” button 152 is a button for setting the option information of the command set in the CDB information setting field 151 as information for instructing “to send an abort command after sending the corresponding command”. The “Frame op” button 153 is used to set the option information of the command set in the CDB information setting field 151 as information instructing that “a part of the content is destroyed when the corresponding command (frame) is transmitted”. It is a button.

そして、エディットウィンドウ15上の"Set & Down"ボタン,"Set & Up"ボタン,"Set"ボタンは、CDB情報設定欄151等に設定されている情報を、実際にコマンドリストの内容に反映させるためのボタンとなっている。なお、コマンドリストの内容更新をさせるためのボタンとして、3つのボタンが設けられているのは、コマンドリストの内容更新後に表示させるエディットウィンドウ15の内容を指定できるようにするためである。   The “Set & Down” button, “Set & Up” button, and “Set” button on the edit window 15 actually reflect the information set in the CDB information setting field 151 and the like in the contents of the command list. It is a button for. Note that the three buttons are provided as buttons for updating the contents of the command list so that the contents of the edit window 15 to be displayed after updating the contents of the command list can be designated.

要するに、デュアルポートディスク装置60の一方のポートのみを使用するテストを行う場合、操作者は、スキャンウィンドウ12(図4)を表示させてテストを行うデュアルポートディスク装置60を指定する作業、CDB情報用のエディットウィンドウ15(図6)に代表される各種のエディットウィンドウ15とコマンドウィンドウ16(図5)とを利用してコマンドリストを作成する作業、タスク規定情報入力欄141に"ex 0,1,2,3"といった情報を入力する作業等を行うことによって、テスト内容を指定する。なお、コマンドウィンドウ16(図5)は、"File"メニューを操作すると、コマンドリスト表示領域143内に表示されている情報(コマンドリスト)をセーブさせる指示や、セーブしておいたコマンドリストを読み込む指示を、操作者が出せるウィンドウとなっている。すなわち、上記した作業のうち、エディットウィンドウ15を利用したコマンドリストの作成作業は、省略されることがある。   In short, when a test using only one port of the dual port disk device 60 is performed, the operator displays the scan window 12 (FIG. 4) and designates the dual port disk device 60 to be tested, CDB information. For creating a command list using various edit windows 15 and command windows 16 (FIG. 5) represented by the edit window 15 (FIG. 6), and “ex 0,1” in the task definition information input field 141 , 2, 3 ", etc., to enter the test content, etc. When the “File” menu is operated, the command window 16 (FIG. 5) reads an instruction for saving information (command list) displayed in the command list display area 143 and a saved command list. It is a window where the operator can give instructions. That is, among the operations described above, the command list creation operation using the edit window 15 may be omitted.

一方、同期発行テストを行う場合(コマンドウィンドウ14上の"Dual"ボタン122を選択した場合)には、シンクウィンドウ13も利用してテスト内容の設定を行う。   On the other hand, when the synchronization issue test is performed (when the “Dual” button 122 on the command window 14 is selected), the sink window 13 is also used to set the test contents.

このシンクウィンドウ13は、図7に示したように、ポートA用処理内容規定情報入力欄131、ポートB用処理内容規定情報入力欄132、"Exec"ボタン133、"Primary Port A"ボタン134、"Primary Port B"ボタン135、遅延時間設定欄136等を備えたウィンドウである。   As shown in FIG. 7, the sync window 13 includes a port A processing content defining information input field 131, a port B processing content defining information input field 132, an “Exec” button 133, a “Primary Port A” button 134, The window includes a “Primary Port B” button 135, a delay time setting field 136, and the like.

このシンクウィンドウ13上のポートA用処理内容規定情報入力欄131は、ポートA用のコマンドリスト(図5参照)内の幾つかのコマンド番号からなる情報("0","0,1,2,3"等)が、ポートAに関して行うべき処理の内容を規定する情報として、操作者によって入力される欄である。ポートB用処理内容規定情報入力欄132は、ポートB用のコマンドリスト内の幾つかのコマンド番号からなる情報が、ポートBに関して行うべき処理の内容を規定する情報として、操作者によって入力される欄である。   The port A processing content defining information input field 131 on the sync window 13 is information ("0", "0, 1, 2") consisting of several command numbers in the port A command list (see FIG. 5). , 3 ", etc.) are fields that are input by the operator as information defining the contents of processing to be performed for port A. In the port B processing content defining information input field 132, information consisting of several command numbers in the port B command list is input by the operator as information defining the content of processing to be performed on port B. It is a column.

"Primary Port A"ボタン134、"Primary Port B"ボタン135は、ポートAに対するコマンド送信、ポートBに対するコマンド送信のどちらを基準として同期発行テストを行うかを指定するためのボタンである。遅延時間設定欄134は、"Primary Port A"ボタン134/"Primary Port B"ボタン135により基準とすることが指定されているポートに対するコマンド送信後、何秒後(通常、1msec以下)に、他方のポートに対するコマンド送信を行わせるかを指定するための欄である。なお、遅延時間設定欄134が、"Start"値入力欄と、"End"値入力欄、"Step"値入力欄とで構成されていることから推定されるように、本テスト用プログラム10は、コマンドの同期発行を遅延時間を順次変えた形で繰り返し行わせることが出来るプログラムとなっている。   The “Primary Port A” button 134 and the “Primary Port B” button 135 are buttons for designating whether to perform the synchronization issue test based on the command transmission to the port A or the command transmission to the port B. The delay time setting field 134 shows the number of seconds (usually 1 msec or less) after the command transmission to the port designated as the reference by the “Primary Port A” button 134 / “Primary Port B” button 135, This is a column for designating whether to send a command to the port. It should be noted that the test program 10 is presumed from the fact that the delay time setting field 134 is composed of a “Start” value input field, an “End” value input field, and a “Step” value input field. In this program, the synchronous issue of commands can be repeatedly performed with the delay time sequentially changed.

すなわち、同期発行テストは、どのようなタイミングでポートAとポートBとにどのようなコマンドを送信するかを指定することが必要なテストであるので、同期発行テストを行う場合には、このシンクウィンドウ13も利用して、それらの設定が行われる。なお、詳細説明は省略するが、本テスト用プログラム10は、同期発行テスト以外のテストについても、コマンドの発行間隔を指定できるプログラムとなっている。   In other words, the synchronous issue test is a test that needs to specify what command is sent to port A and port B at what timing. These settings are also made using the window 13. Although not described in detail, the test program 10 is a program that can specify command issue intervals for tests other than the synchronous issue test.

次に、上記のような各種ウィンドウを利用してデュアルポートディスク装置60に対して行うテストの内容が指定された後、そのテストの開始が実際に指示された場合におけるコンピュータ50(テスト用プログラム10及びデバイスドライバ20)の動作を説明することにする。   Next, after the contents of a test to be performed on the dual port disk device 60 are specified using the various windows as described above, the computer 50 (the test program 10 is actually instructed to start the test). The operation of the device driver 20) will be described.

まず、操作者が、デュアルポートディスク装置60のポートAに関するアボートテストを行うために、コマンドウィンドウ14(図5)のタスク規定情報入力欄141に、オプション情報が特に設定されていない幾つかのコマンドに関するコマンド番号と、「対応するコマンドの送信後にアボートコマンドを送信させる」ことを意味するオプション情報が設定されているコマンドに関するコマンド番号とを並べた情報を入力した後、"Exec"ボタン142を押下した場合におけるコンピュータ50の動作を、説明する。   First, in order for the operator to perform an abort test on port A of the dual port disk device 60, some commands for which option information is not particularly set in the task definition information input field 141 of the command window 14 (FIG. 5). After pressing the "Exec" button 142, enter the command number related to the command number and the command number related to the command for which the option information that means "Send abort command after sending the corresponding command" is set. The operation of the computer 50 in this case will be described.

この場合、コンピュータ50では、図8に示した手順の処理が行われる。なお、この図8に示した手順の処理が行われるのは、実際には、テスト対象となっているデュアルポートディスク装置60がいずれであるか(スキャンウィンドウ12の設定内容)、各ホストバスアダプタ52とポートとの関係(Configuration Window(図2参照)の設定内容)等を、デバイスドライバ20に通知するための処理、所定の処理(後述する抑止状態解除指示/同期処理開始指示を受け取った際に実行する処理)の完了をシグナル(UNIX系のOSにて割込のために他のプロセスに送られる情報)によりテスト用プログラム10に通知することを指示する処理等が、行われた後である。また、以下では、説明の便宜上、テスト用プログラム10により実行される処理の内容を、「テスト用プログラム10がデバイスドライバ20に対して〜させるための指示を出す」等と表記するが、実際にテスト用プログラム10により実行される処理は、デバイスドライバ20のインストールにより利用が可能となった各種のシステムコール(ioctl())を発行する処理である。   In this case, the computer 50 performs processing of the procedure shown in FIG. Note that the processing of the procedure shown in FIG. 8 is actually performed to determine which dual port disk device 60 is the test target (setting contents of the scan window 12), and each host bus adapter. When a process for notifying the device driver 20 of the relationship between the port 52 and the port (setting contents of the Configuration Window (see FIG. 2)) and the like, a predetermined process (a deterrence state release instruction / synchronization process start instruction described later) is received. After the completion of the process executed) is instructed to notify the test program 10 by a signal (information sent to another process for interruption by the UNIX OS). is there. In the following, for the convenience of explanation, the content of the processing executed by the test program 10 is expressed as “the test program 10 issues an instruction for causing the device driver 20 to perform” or the like. The process executed by the test program 10 is a process for issuing various system calls (ioctl ()) that can be used by installing the device driver 20.

すなわち、テスト用プログラム10は、まず、所定のシステムコールを行うことにより、デバイスドライバ20に対してコマンド発行抑止指示を出す。ここで、コマンド発行抑止指示とは、デバイスドライバ20に、その後にテスト用プログラム10から渡される指示(コマンド)を即座に実行しない(送信が指示されたコマンドの発行準備のみを行う)抑止状態での動作(S1)を開始させるための指示のことである。   In other words, the test program 10 first issues a command issue suppression instruction to the device driver 20 by making a predetermined system call. Here, the command issuance suppression instruction is a state in which the device driver 20 is not immediately executed an instruction (command) passed from the test program 10 thereafter (only prepares to issue a command instructed to be transmitted). This is an instruction for starting the operation (S1).

次いで、テスト用プログラム10は、タスク規定情報入力欄141に入力されている各コマンド番号で識別されるコマンド及びオプション情報をコマンドリストから順次読み出し、オプション情報が特に設定されていない各コマンドについては、当該コマンドをデュアルポートディスク装置60へ送信させるためのコマンド発行指示をデバイスドライバ20に対して出す処理を開始する。   Next, the test program 10 sequentially reads the command and option information identified by each command number input in the task definition information input field 141 from the command list, and for each command for which option information is not particularly set, A process of issuing a command issuance instruction for transmitting the command to the dual port disk device 60 to the device driver 20 is started.

この処理により出されたコマンド発行指示を受け取ったデバイスドライバ20は、そのコマンド発行指示に対して付けた識別情報であるtagidをテスト用プログラム10に通知する処理と、そのコマンド発行指示により発行が指示されているコマンドをデュアルポートディスク装置60(この場合、ポートA)に対して即座に送信できる状態とするためのコマンド発行準備処理(S2,S3,S4)とを行う。   Upon receiving the command issuance instruction issued by this process, the device driver 20 notifies the test program 10 of tagid, which is identification information attached to the command issuance instruction, and issuance instruction by the command issuance instruction. The command issuance preparation process (S2, S3, S4) is performed to make the command ready to be immediately transmitted to the dual port disk device 60 (in this case, port A).

また、テスト用プログラム10は、上記処理の処理対象となったコマンドが、オプション情報が設定されているものであった場合には、そのオプション情報に応じた処理を行う。具体的には、テスト用プログラム10は、「対応するコマンドの送信後にアボートコマンドを送信させる」ことを意味するオプション情報が設定されているコマンドについては、デバイスドライバ20に対して、そのアボート対象コマンドをデュアルポートディスク装置60に送信させるためのコマンド発行指示と、当該アボート対象コマンドを破棄させるためのアボートコマンドの発行を指示するアボートコマンド発行指示とを出す。なお、テスト用プログラム10は、「対応するコマンドの送信時にその内容の一部を破壊する」ことを意味するオプション情報が設定されているコマンドについては、デバイスドライバ20に対して、送信すべきコマンドとそのコマンドの送信時に行うべき処理内容を指定する情報とからなる指示を出す。   In addition, when the command that is the processing target of the above processing is set with option information, the test program 10 performs processing according to the option information. Specifically, the test program 10 sends the abort target command to the device driver 20 with respect to a command for which option information that means “to send an abort command after sending the corresponding command” is set. Is issued to the dual-port disk device 60, and an abort command issuance instruction is issued to instruct issuance of an abort command for discarding the abort target command. Note that the test program 10 uses the command to be transmitted to the device driver 20 for a command in which option information that means “destroy a part of the content when the corresponding command is transmitted” is set. And an instruction that specifies information to be processed when the command is transmitted.

そして、アボートコマンド発行指示を出したテスト用プログラム10は、デバイスドライバ20に対して、抑止状態の解除を指示するために、抑止状態解除指示を出す。   Then, the test program 10 that has issued the abort command issue instruction issues an inhibition state release instruction to instruct the device driver 20 to release the inhibition state.

この抑止状態解除指示を受け取ったデバイスドライバ20は、発行準備済みのコマンド(通常の幾つかのコマンドとアボート)を順次デュアルポートディスク装置60に対して発行し、各コマンドに対してデュアルポートディスク装置60が返送してくるレスポンスを記憶する処理(S5)を開始する。そして、デバイスドライバ20は、当該処理が完了したときには、そのことをシグナルにてテスト用プログラム10に通知する。   The device driver 20 that has received this inhibition state release instruction sequentially issues issuance-prepared commands (usually several commands and aborts) to the dual-port disk device 60, and the dual-port disk device for each command. The process (S5) for storing the response returned by 60 is started. Then, when the processing is completed, the device driver 20 notifies the test program 10 with a signal.

このシグナルを受け取ったテスト用プログラム10は、デュアルポートディスク装置60の利用を終了させるための終了指示と、デュアルポートディスク装置60から受け取ったレスポンス群を出力させるための処理結果要求指示とを、デバイスドライバ20に対して出す。その後、テスト用プログラム10は、処理結果要求指示に対する応答としてデバイスドライバ20から受け取ったレスポンス群を、デバイスドライバ20に実行させた各処理との対応関係が分かる形で記憶する。   Upon receiving this signal, the test program 10 sends an end instruction for terminating the use of the dual port disk device 60 and a processing result request instruction for outputting the response group received from the dual port disk device 60. Issue to the driver 20. Thereafter, the test program 10 stores the response group received from the device driver 20 as a response to the processing result request instruction in a form in which the correspondence relationship with each process executed by the device driver 20 is known.

そして、テスト用プログラム10は、メインウィンドウ11(図3)上の"Log"ボタンが押下された場合には、デバイスドライバ20から受け取っているレスポンス群等に基づき、図9に示したような構成の"Log"ウィンドウ16を表示することにより、操作者に対してテスト結果(アボートコマンドが正確に処理されたか否か等)を提示する。なお、図9に示してある"Log"ウィンドウ16は、より複雑な内容のテストを行った後に表示されるものである。   When the “Log” button on the main window 11 (FIG. 3) is pressed, the test program 10 is configured as shown in FIG. 9 based on the response group received from the device driver 20. By displaying the “Log” window 16, the test result (whether or not the abort command has been processed correctly) is presented to the operator. Note that the “Log” window 16 shown in FIG. 9 is displayed after a more complicated content test.

次に、ポートAに対してコマンドを送信し、その後、所定時間後に、ポートBに対してコマンドを送信することを指示した場合を例に、同期発行テスト時におけるコンピュータ50の動作を、説明する。   Next, the operation of the computer 50 during the synchronization issuance test will be described by taking as an example a case where a command is transmitted to the port A and then a command is transmitted to the port B after a predetermined time. .

この場合、コンピュータ50では、テスト用プログラム10とデバイスドライバ20とにより、図10に示した手順の処理が行われる。なお、この図10にその手順を示した処理も、図8にその手順を示した処理と同様に、テスト対象となっているデュアルポートディスク装置60がいずれであるか、各ホストバスアダプタ52とポートとの関係等を、デバイスドライバ20に通知するための処理、所定の処理の完了をシグナルによりテスト用プログラム10に通知することを指示する処理等が、行われた後に実行される処理となっている。   In this case, in the computer 50, the processing shown in FIG. 10 is performed by the test program 10 and the device driver 20. The process shown in FIG. 10 is similar to the process shown in FIG. 8 as to which dual port disk device 60 is to be tested, each host bus adapter 52 and Processing for notifying the device driver 20 of the relationship with the port and the like, processing for instructing the test program 10 to notify the completion of the predetermined processing by a signal, and the like are processing executed after being performed. ing.

すなわち、この場合、テスト用プログラム10は、まず、デバイスドライバ20に対してポートA用同期処理登録指示を発行する。ここで、ポートA用同期処理登録指示とは、ポートAに対して発行すべきコマンドと、そのコマンドが同期発行テストを行うためのコマンドであることを示す情報とを含む指示のことである。   That is, in this case, the test program 10 first issues a port A synchronization processing registration instruction to the device driver 20. Here, the port A synchronization processing registration instruction is an instruction including a command to be issued to port A and information indicating that the command is a command for performing a synchronization issuance test.

そして、このポートA用同期処理登録指示を受け取ったデバイスドライバ20は、その指示に対して付けたtagidをテスト用プログラム10に通知する処理と、その指示により発行が指示されているコマンドをデュアルポートディスク装置60のポートAに対して即座に送信できるようにするためのコマンド発行準備処理(S11)とを行う。   Upon receiving this port A synchronization processing registration instruction, the device driver 20 notifies the test program 10 of the tagid attached to the instruction and the command instructed to be issued by the instruction is dual port. A command issuance preparation process (S11) for enabling immediate transmission to port A of the disk device 60 is performed.

ポートA用同期処理登録指示に対するこのtagidを受け取ったテスト用プログラム10は、デバイスドライバ20に対してポートB用同期処理登録指示を出す。このポートB用同期処理登録指示も、ポートA用同期処理登録指示と同様に、ポートAに対して発行すべきコマンドと、そのコマンドが同期発行テストを行うためのコマンドであることを示す情報とを含む指示となっている。そして、このポートB用同期処理登録指示を受け取ったデバイスドライバ20は、その指示に対して付けたtagidをテスト用プログラム10に通知する処理と、その指示により発行が指示されているコマンドをデュアルポートディスク装置60のポートBに対して即座に送信できるようにするためのコマンド発行準備処理(S12)とを行う。   The test program 10 that has received this tagid for the port A synchronization process registration instruction issues a port B synchronization process registration instruction to the device driver 20. Similarly to the port A synchronization process registration instruction, the port B synchronization process registration instruction includes a command to be issued to the port A and information indicating that the command is a command for performing a synchronization issuance test. It is an instruction including. Upon receiving this port B synchronization processing registration instruction, the device driver 20 notifies the test program 10 of the tagid attached to the instruction and the command instructed to be issued by the instruction is dual port. A command issuance preparation process (S12) for enabling immediate transmission to port B of the disk device 60 is performed.

一方、ポートB用同期処理登録指示に対するtagidを受け取ったテスト用プログラム10は、デバイスドライバ20に対して、遅延時間を指定する情報といずれのポートに対するコマンド送信を基準とするかを示す情報とを含む同期処理開始指示(シンクウィンドウ13の設定内容に応じた内容の指示)を出す。   On the other hand, the test program 10 that has received the tagid for the port B synchronization processing registration instruction provides the device driver 20 with information specifying the delay time and information indicating which port the command transmission is based on. Including a synchronous processing start instruction (content instruction corresponding to the setting contents of the sync window 13).

この同期処理開始指示を受け取ったデバイスドライバ20は、基準とすることが指定されているポートに対するコマンド発行(S13)を行った後、指定されている遅延時間の経過を待ってから、ポートBに対するコマンド発行(S14)を行う処理を、行う。   The device driver 20 that has received this synchronous processing start instruction issues a command to the port designated to be the reference (S13), and then waits for the designated delay time to elapse before Processing for issuing a command (S14) is performed.

そして、当該処理が完了したときに、デバイスドライバ20は、アボートテスト時(図8参照)と同様に、そのことをシグナルにてテスト用プログラム10に通知する。   Then, when the processing is completed, the device driver 20 notifies the test program 10 by a signal as in the abort test (see FIG. 8).

このシグナルを受け取ったテスト用プログラム10は、アボートテスト時と同様に、デュアルポートディスク装置60の利用を終了させるための終了指示と、デュアルポートディスク装置60から受け取ったレスポンス群を出力させるための処理結果要求指示とを、デバイスドライバ20に対して出す。その後、テスト用プログラム10は、処理結果要求指示に対する応答としてデバイスドライバ20から受け取ったレスポンス群を、デバイスドライバ20に実行させた各処理とのに対応関係が分かる形で記憶し、メインウィンドウ11(図3)上の"Log"ボタンが押下された場合には、それらのレスポンス群等に基づき、図9に示したような構成の"Log"ウィンドウ16を表示することにより、操作者に対してテスト結果を提示する。   Upon receiving this signal, the test program 10 outputs a termination instruction for terminating the use of the dual port disk device 60 and a response group received from the dual port disk device 60, as in the abort test. A result request instruction is issued to the device driver 20. Thereafter, the test program 10 stores the response group received from the device driver 20 as a response to the processing result request instruction in a form in which the correspondence relationship with each process executed by the device driver 20 is known, and the main window 11 ( When the “Log” button in FIG. 3) is pressed, the “Log” window 16 having the configuration as shown in FIG. 9 is displayed on the basis of the response group and the like to the operator. Present test results.

より複雑な内容のテスト時の動作も、本質的には、上記したものと同じものである(場合によっては、上記した2処理を組み合わせたものとなる)ので、詳細説明は省略することにする。   Since the operation at the time of testing more complicated contents is essentially the same as described above (in some cases, the above two processes are combined), detailed description will be omitted. .

以上、説明したように、本実施形態に係るディスク装置用ドライバプログラム20(デバイスドライバ20)は、自プログラムがインストールされた、2つのホストバスアダプタ52(インタフェース回路に相当)を備えたコンピュータ50を、アプリケーションプログラム(ディスク装置テスト用プログラム10)とOS(デバイスドライバ20)との間で指示の授受が行われない形で、デュアルポートディスク装置60の2つのポートに関するテストを行ってしまう装置として動作させることが出来るプログラムとなっている。従って、このディスク装置用ドライバプログラム20を用いれば、デュアルポートディスク装置60に対する、コマンド間の送信時間(各コマンドの送信タイミング)の指定を必要とする各種のテストが、従来のように何度もテストを繰り返さなくても(従来よりも短時間で)、行えることになる。また、デュアルポートディスク装置に対して一部の値を異常な値としたフレーム(コマンド)を送信させることが出来るものともなっているので、本実施形態に係るディスク装置用ドライバプログラム20を用いれば、デュアルポートディスク装置60へ送信されたコマンドにノイズがのってしまった場合におけるデュアルポートディスク装置60の動作をテストできることにもなる。   As described above, the disk device driver program 20 (device driver 20) according to this embodiment includes the computer 50 including the two host bus adapters 52 (corresponding to the interface circuit) in which the program is installed. The device operates as a device that performs a test on two ports of the dual-port disk device 60 in a manner in which instructions are not exchanged between the application program (disk device test program 10) and the OS (device driver 20). It is a program that can be made to. Therefore, if this disk device driver program 20 is used, various tests that require specification of the transmission time between commands (transmission timing of each command) for the dual port disk device 60 are repeated many times as in the past. You can do it without having to repeat the test (in less time). Further, since it is possible to transmit a frame (command) in which some values are abnormal values to the dual port disk device, if the disk device driver program 20 according to the present embodiment is used, It also becomes possible to test the operation of the dual port disk device 60 when noise is added to the command transmitted to the dual port disk device 60.

<変形形態>
上記したディスク装置用ドライバプログラム20及びディスク装置テスト用プログラム10は、各種の変形が可能である。例えば、ディスク装置用ドライバプログラム20は、ファイバーチャネルにより他機器と接続されるデュアルポートディスク装置60用のプログラムであったが、ディスク装置用ドライバプログラム20を、SCSIケーブルにより他機器と接続されるタイプのデュアルポートディスク装置や、Ethernetケーブルにより他機器と接続されるタイプのデュアルポートディスク装置用のものに変形しても良い。
<Deformation>
The disk device driver program 20 and the disk device test program 10 described above can be variously modified. For example, the disk device driver program 20 is a program for the dual port disk device 60 connected to other devices via fiber channel, but the disk device driver program 20 is connected to other devices via a SCSI cable. It may be modified to a dual port disk device of the type or a dual port disk device of a type that is connected to other devices by an Ethernet cable.

また、ディスク装置テスト用プログラム10を、上記したものとは構成の異なるウィンドウを表示するものに変形しても良い。また、ディスク装置用ドライバプログラム20及びディスク装置テスト用プログラム10を、UNIX以外のOS用のものに変形しても良いことや、ディスク装置用ドライバプログラム20及びディスク装置テスト用プログラム10を、上記した全ての機能な有するものとしておかなくても良いことなどは、当然のことである。   Further, the disk device test program 10 may be modified to display a window having a configuration different from that described above. Further, the disk device driver program 20 and the disk device test program 10 may be modified to those for OS other than UNIX, and the disk device driver program 20 and the disk device test program 10 are described above. Of course, it is not necessary to have all functions.

(付記1) デュアルポートディスク装置との間で通信を行うための少なくとも2つのインタフェース回路を備えたコンピュータにインストールされる,前記デュアルポートディスク装置を利用するための制御を前記2つのインタフェース回路に対して行うディスク装置用デバイスドライバであって、
前記コンピュータに対して、
前記2つのインタフェース回路のいずれかを利用して実行すべき前記ディスク装置に対する一連の処理の内容と各処理の実行タイミングとを指定する処理内容指定情報の記憶を要求する指示を受け付け、受け付けた指示が記憶することを要求している処理内容指定情報を記憶する受付・記憶処理,
前記受付・記憶処理が記憶している前記処理内容指定情報にてその内容及び実行タイミングが指定されている各処理を前記2つのインタフェース回路を利用して指定通りに実行する実行処理と、
前記実行処理が実行した各処理の結果に関する情報を出力する出力処理
とを実行させることを特徴とするディスク装置用ドライバプログラム。
(Supplementary Note 1) Control for using the dual port disk device, which is installed in a computer having at least two interface circuits for communicating with the dual port disk device, is applied to the two interface circuits. A disk device device driver
For the computer
Accepts an instruction for requesting storage of process content designation information for designating the contents of a series of processes for the disk device to be executed using one of the two interface circuits and the execution timing of each process. Accepting / storing process that stores process content specification information that is requested to be stored,
An execution process for executing each process whose contents and execution timing are specified in the process content specifying information stored in the reception / storage process as specified using the two interface circuits;
An output process for outputting information related to the result of each process executed by the execution process is executed.

(付記2) 前記受付・記憶処理が、前記ディスク装置に対して一部の値を異常な値としたコマンドを送信する処理の実行を指定する情報を含む前記処理内容指定情報を受け付け可能な処理であり、
前記実行処理が、前記ディスク装置に対して一部の値を異常な値としたコマンドを送信する処理を実行可能な処理である
ことを特徴とする付記1記載のディスク装置用ドライバプログラム。
(Additional remark 2) The process which can receive the said process content designation | designated information including the information which designates execution of the process in which the said reception / storage process transmits the command which made some values abnormal value with respect to the said disk apparatus And
2. The disk device driver program according to appendix 1, wherein the execution processing is processing capable of executing processing for transmitting a command in which some values are abnormal values to the disk device.

(付記3) 前記デュアルポートディスク装置、及び、前記コンピュータの各インタフェース回路が、いずれも、SCSIプロトコルをカプセル化したプロトコルにより通信を行うものである
ことを特徴とする付記1又は付記2に記載のディスク装置用ドライバプログラム。
(Additional remark 3) Each of the interface circuits of the said dual port disk apparatus and the said computer communicates by the protocol which encapsulated the SCSI protocol, The additional remark 1 or Additional remark 2 characterized by the above-mentioned. Driver program for disk devices.

(付記4) 前記デュアルポートディスク装置、及び、前記コンピュータの各インタフェース回路が、ファイバーチャネルにより接続されるものである
ことを特徴とする付記1乃至付記3のいずれかに記載のディスク装置用ドライバプログラム。
(Supplementary Note 4) The disk device driver program according to any one of Supplementary Notes 1 to 3, wherein each interface circuit of the dual port disk device and the computer is connected by a fiber channel. .

(付記5) 付記1乃至付記4のいずれかに記載されたディスク装置用デバイスドライバがインストールされているコンピュータに、
操作者によって入力された,前記ディスク装置に対して前記インタフェース回路を利用して実行すべき一連の処理の内容と各処理の実行タイミングとを指定する情報に基づき、その情報を前記処理内容指定情報として記憶させるための指示を生成して前記受付・記憶処理に受け付けさせる指示生成手段と、
操作者からの指示に基づき前記実行処理を開始させる開始指示手段と、
前記出力処理が出力した情報を操作者に提示する情報提示手段
とを備える装置として動作させることを特徴とするディスク装置テスト用プログラム。
(Supplementary Note 5) In a computer in which the device driver for a disk device described in any one of Supplementary Notes 1 to 4 is installed,
Based on information that is input by an operator and that specifies the contents of a series of processes to be executed on the disk device using the interface circuit and the execution timing of each process, the information is designated as the process contents designation information. An instruction generation means for generating an instruction to be stored as an instruction and causing the reception / storage process to receive the instruction;
Start instruction means for starting the execution process based on an instruction from an operator;
A disk device test program which is operated as a device comprising information presenting means for presenting information output by the output processing to an operator.

(付記6) デュアルポートディスク装置との間で通信を行うための少なくとも2つのインタフェース回路を備えたコンピュータを用いて前記デュアルポートディスク装置をテストするためのディスク装置テスト方法であって、
前記コンピュータに、
前記コンピュータに対して、
前記2つのインタフェース回路のいずれかを利用して実行すべき前記ディスク装置に対する一連の処理の内容と各処理の実行タイミングとを指定する処理内容指定情報の記憶を要求する指示を受け付け、受け付けた指示が記憶することを要求している処理内容指定情報を記憶する受付・記憶処理,
前記受付・記憶処理が記憶している前記処理内容指定情報にてその内容及び実行タイミングが指定されている各処理を前記2つのインタフェース回路を利用して指定通りに実行する実行処理,及び,
前記実行処理が実行した各処理の結果に関する情報を出力する出力処理
を実行させるデバイスドライバを、インストールしておくと共に、
前記コンピュータ上で、
前記コンピュータを、
操作者によって入力された,前記ディスク装置に対して前記インタフェース回路を利用して実行すべき一連の処理の内容と各処理の実行タイミングとを指定する情報に基づき、その情報を前記処理内容指定情報として記憶させるための指示を生成して前記受付・記憶処理に受け付けさせる指示生成手段,
操作者からの指示に基づき前記実行処理を開始させる開始指示手段,及び,
前記出力処理が出力した情報を操作者に提示する情報提示手段
を備える装置として動作させるディスク装置テスト用プログラムを、実行させることにより、前記デュアルポートディスク装置をテストすることを特徴とするディスク装置テスト方法。
(Appendix 6) A disk device test method for testing the dual port disk device using a computer having at least two interface circuits for communicating with the dual port disk device,
In the computer,
For the computer
An instruction for requesting storage of process content designation information for designating the contents of a series of processes and the execution timing of each process to be executed by using one of the two interface circuits is received and received. Accepting / storing process that stores process content specification information that is requested to be stored,
An execution process for executing each process whose contents and execution timing are specified in the process content specifying information stored in the reception / storage process as specified using the two interface circuits; and
Install a device driver that executes an output process that outputs information on the result of each process executed by the execution process, and
On the computer,
The computer,
Based on information that is input by an operator and specifies the contents of a series of processes to be executed on the disk device using the interface circuit and the execution timing of each process, the information is specified as the process contents specifying information. An instruction generation means for generating an instruction to be stored as an instruction and causing the reception / storage process to receive the instruction;
Start instruction means for starting the execution process based on an instruction from an operator; and
A disk device test characterized in that the dual port disk device is tested by executing a disk device test program that operates as a device comprising information presenting means for presenting information output by the output process to an operator. Method.

本発明の一実施形態に係るディスク装置テスト用プログラム及びディスク装置用デバイスドライバの使用形態の説明図である。It is explanatory drawing of the usage condition of the disk apparatus test program and the disk apparatus device driver concerning one Embodiment of this invention. ディスク装置テスト用プログラムが表示する各種ウィンドウの関係を示した図である。FIG. 5 is a diagram showing the relationship between various windows displayed by a disk device test program. ディスク装置テスト用プログラムが表示するメインウィンドウの説明図である。It is explanatory drawing of the main window which the disk apparatus test program displays. ディスク装置テスト用プログラムが表示するスキャンウィンドウの説明図である。It is explanatory drawing of the scan window which the program for a disk apparatus test displays. ディスク装置テスト用プログラムが表示するコマンドウィンドウの説明図である。It is an explanatory diagram of a command window displayed by the disk device test program. ディスク装置テスト用プログラムが表示するエディットウィンドウの説明図である。FIG. 10 is an explanatory diagram of an edit window displayed by a disk device test program. ディスク装置テスト用プログラムが表示するシンクウィンドウの説明図である。FIG. 10 is an explanatory diagram of a sync window displayed by a disk device test program. ディスク装置テスト用プログラム及びデバイスドライバにより行われる処理の内容を説明するためのシーケンス図である。It is a sequence diagram for explaining the contents of processing performed by a disk device test program and a device driver. ディスク装置テスト用プログラムが表示するログウィンドウの説明図である。It is explanatory drawing of the log window which the program for a disk apparatus test displays. ディスク装置テスト用プログラム及びデバイスドライバにより行われる処理の内容を説明するためのシーケンス図である。It is a sequence diagram for explaining the contents of processing performed by a disk device test program and a device driver.

符号の説明Explanation of symbols

10 ディスク装置テスト用プログラム
11 メインウィンドウ
12 スキャンウィンドウ
13 シンクウィンドウ
14 コマンドウィンドウ
15 エディットウィンドウ
16 ログウィンドウ
20 ディスク装置用デバイスドライバ
50 コンピュータ
52 ホストバスアダプタ
60 デュアルポートディスク装置
10 Disk Device Test Program 11 Main Window 12 Scan Window 13 Sync Window 14 Command Window 15 Edit Window 16 Log Window 20 Disk Device Device Driver 50 Computer 52 Host Bus Adapter 60 Dual Port Disk Device

Claims (5)

デュアルポートディスク装置との間で通信を行うための少なくとも2つのインタフェース回路を備えたコンピュータにインストールされる,前記デュアルポートディスク装置を利用するための制御を前記2つのインタフェース回路に対して行うディスク装置用ドライバプログラムであって、
前記コンピュータに対して、
前記2つのインタフェース回路のいずれかを利用して実行すべき,前記デュアルポートディスク装置に対する一連の処理の内容、及び、それらの中の幾つかの処理の実行タイミングを指定する処理内容指定情報の記憶を要求する指示を受け付け、受け付けた指示が記憶することを要求している処理内容指定情報を記憶する受付・記憶処理と、
前記受付・記憶処理が記憶している前記処理内容指定情報にてその内容及び実行タイミングが指定されている各処理を前記2つのインタフェース回路を制御することにより指定通りに実行する実行処理と、
前記実行処理が実行した各処理の結果に関する情報を出力する出力処理
とを、実行させることを特徴とするディスク装置用ドライバプログラム。
A disk device that is installed in a computer having at least two interface circuits for communicating with a dual port disk device, and that controls the two interface circuits to use the dual port disk device A driver program for
For the computer
Storage of processing contents designation information for designating the contents of a series of processes for the dual port disk device to be executed using one of the two interface circuits and the execution timing of some of the processes. Receiving / storing processing for storing processing content designation information requesting that the received instruction is stored;
An execution process for executing each process whose contents and execution timing are specified in the process content specification information stored in the reception / storage process as specified by controlling the two interface circuits;
An output process for outputting information related to a result of each process executed by the execution process is executed.
前記受付・記憶処理が、前記デュアルポートディスク装置に対して一部の値を異常な値としたコマンドを送信する処理の実行を指定する情報を含む前記処理内容指定情報を受け付け可能な処理であり、
前記実行処理が、前記デュアルポートディスク装置に対して一部の値を異常な値としたコマンドを送信する処理を実行可能な処理である
ことを特徴とする請求項1記載のディスク装置用ドライバプログラム。
The accepting / storing process is a process capable of accepting the process content designation information including information designating execution of a process of transmitting a command having some values as abnormal values to the dual port disk device. ,
2. The disk device driver program according to claim 1, wherein the execution processing is processing capable of executing processing for transmitting a command in which some values are abnormal values to the dual port disk device. .
前記デュアルポートディスク装置、及び、前記コンピュータの各インタフェース回路が、いずれも、SCSIプロトコルをカプセル化したプロトコルにより通信を行うものである
ことを特徴とする請求項1又は請求項2に記載のディスク装置用ドライバプログラム。
The disk device according to claim 1, wherein each of the dual port disk device and each interface circuit of the computer performs communication using a protocol encapsulating a SCSI protocol. Driver program.
前記デュアルポートディスク装置、及び、前記コンピュータの各インタフェース回路が、ファイバーチャネルにより接続されるものである
ことを特徴とする請求項1乃至請求項3のいずれかに記載のディスク装置用ドライバプログラム。
4. The disk device driver program according to claim 1, wherein the dual port disk device and each interface circuit of the computer are connected by a fiber channel. 5.
請求項1乃至請求項4のいずれかに記載されたディスク装置用デバイスドライバがインストールされているコンピュータに、
操作者によって入力された,前記2つのインタフェース回路のいずれかを利用して実行すべき,前記デュアルポートディスク装置に対する一連の処理の内容と、それらの中の幾つかの処理の実行タイミングとを指定する情報に基づき、その情報を前記処理内容指定情報として記憶させるための指示を生成して前記受付・記憶処理に受け付けさせる指示生成手段と、
操作者からの指示に基づき前記実行処理を開始させる開始指示手段と、
前記出力処理が出力した情報を操作者に提示する情報提示手段
とを、備える装置として動作させることを特徴とするディスク装置テスト用プログラム。
A computer in which the device driver for a disk device according to any one of claims 1 to 4 is installed,
Specify the contents of a series of processes for the dual-port disk device that should be executed using either of the two interface circuits input by the operator, and the execution timing of some of them. Instruction generating means for generating an instruction for storing the information as the processing content designation information based on the information to be received and receiving the information in the reception / storage process;
Start instruction means for starting the execution process based on an instruction from an operator;
A disk device test program, comprising: an information presentation unit that presents information output by the output process to an operator.
JP2003294921A 2003-08-19 2003-08-19 Driver program for disk device and program for testing disk device Pending JP2005063286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003294921A JP2005063286A (en) 2003-08-19 2003-08-19 Driver program for disk device and program for testing disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003294921A JP2005063286A (en) 2003-08-19 2003-08-19 Driver program for disk device and program for testing disk device

Publications (1)

Publication Number Publication Date
JP2005063286A true JP2005063286A (en) 2005-03-10

Family

ID=34371314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003294921A Pending JP2005063286A (en) 2003-08-19 2003-08-19 Driver program for disk device and program for testing disk device

Country Status (1)

Country Link
JP (1) JP2005063286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007128409A (en) * 2005-11-07 2007-05-24 Hitachi Ltd Computer system, and band control method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007128409A (en) * 2005-11-07 2007-05-24 Hitachi Ltd Computer system, and band control method and program
JP4597038B2 (en) * 2005-11-07 2010-12-15 株式会社日立製作所 Computer system, bandwidth control method and program

Similar Documents

Publication Publication Date Title
EP3570175A1 (en) Method for implementing nvme over fabrics, terminal, server, and system
US7536596B2 (en) Remotely controlled channel emulator for testing of mainframe peripherals
GB2232514A (en) Programmable controller
US5590314A (en) Apparatus for sending message via cable between programs and performing automatic operation in response to sent message
CN109086175B (en) Board card testing method and device
US7400998B2 (en) Test apparatus and test method
WO2014108086A1 (en) Printing system, printing method therefor, and printer
JP2005063286A (en) Driver program for disk device and program for testing disk device
KR20200140576A (en) Power Synchronization Automatic Setting Method And System Of TV And Set-top Box
JP2006172128A (en) Processing method and information processing device for program cooperation system
JP2010136277A (en) Information recording and reproducing apparatus
JP2002099496A (en) Information processor, method, system and storage medium
JP3075664B2 (en) Communication protocol compatibility test equipment
JP2007317067A (en) Network file management system, device server, and file transmission method
WO2018041193A1 (en) Method, device, and computer storage medium for usb device redirection
JP2007213192A (en) Remote console device, remote control method, and remote console program
JP2005295306A (en) Communication monitoring device, communication monitoring method, and program
JP2001121786A (en) Printing system, printing method and computer readable recording medium housing printing program
KR100301585B1 (en) Operating command performance timeout method of the BSM system
JPH01288949A (en) Terminal equipment
JPH05120176A (en) On-line test device
JP2004098502A (en) Image output system
JP2003167836A (en) Device driver
JPH1195963A (en) Automatic remote client manipulator
JP2002207594A (en) Microprogram load method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070820

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071116

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080603