JP4920961B2 - Disk array device, control method, and program - Google Patents
Disk array device, control method, and program Download PDFInfo
- Publication number
- JP4920961B2 JP4920961B2 JP2005361522A JP2005361522A JP4920961B2 JP 4920961 B2 JP4920961 B2 JP 4920961B2 JP 2005361522 A JP2005361522 A JP 2005361522A JP 2005361522 A JP2005361522 A JP 2005361522A JP 4920961 B2 JP4920961 B2 JP 4920961B2
- Authority
- JP
- Japan
- Prior art keywords
- commands
- issued
- host device
- logical
- logical unit
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 26
- 238000006243 chemical reaction Methods 0.000 claims description 80
- 230000004044 response Effects 0.000 claims description 34
- 238000012423 maintenance Methods 0.000 claims description 33
- 230000008859 change Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、複数の上位装置が接続されるディスクアレイ装置に関し、特に、各上位装置に割り当てられている論理ユニットと、ディスクアレイ装置上の論理ディスクとの対応関係を保持することにより、上位装置がディスクアレイ装置の構成を意識することなくデータの入出力を行えるようにしたディスクアレイ装置において、上位装置が効率的にデータの入出力を行えるようにした入出力制御技術に関する。 The present invention relates to a disk array device to which a plurality of host devices are connected, and in particular, by maintaining the correspondence between the logical units assigned to each host device and the logical disks on the disk array device, The present invention relates to an input / output control technique that enables a host device to efficiently input and output data in a disk array device that can input and output data without being conscious of the configuration of the disk array device.
現在、インターネットといった既存のネットワークを利用して、ディスクアレイ装置などのストレージ装置を上位装置と直接に接続して運用することができるiSCSI(Internet Small Computer System Interface) プロトコルがIETF(Internet Engineering Task Force)により提案されている。このiSCSIプロトコルは、同IETFによって、Request For Comments(以下RFCと記述する)3720で仕様化がなされており、動作としてはRFC793、および、RFC1122で規定されているTCP(Transmission Control Protocol) 上でSCSI処理を行えるようにしたものである。 Currently, an iSCSI (Internet Small Computer System Interface) protocol that can be operated by directly connecting a storage device such as a disk array device to a host device using an existing network such as the Internet is IETF (Internet Engineering Task Force). Has been proposed. This iSCSI protocol is specified in Request For Comments (hereinafter referred to as RFC) 3720 by the IETF, and the operation is SCSI on TCP (Transmission Control Protocol) defined in RFC 793 and RFC 1122. It can be processed.
図5は、iSCSIにおけるSCSIコマンド発行までの流れを示したもので、上位装置は、まずディスクアレイ装置に対してログイン要求(Login Request)を発行する(S21)。ディスクアレイ装置は、上位装置からパスワード等を含むログイン要求が送られてくると、パスワード等に基づいてログインを許可するか否かを判定し、許可すると判定した場合は、ログイン応答 (Login Response)を返す(S22)。このログイン応答には、同時に発行可能なコマンドの最大数を示すMaxCmdSN(Max Command Sequence Number;発行可能コマンド数)が含まれている。なお、発行可能コマンド数としては、ディスクアレイ装置の管理者が指定した固定値が用いられるのが一般的である。これにより、上位装置は、ディスクアレイ装置に対して発行可能コマンド数分のSCSIコマンドを発行することが可能になる(S23〜S26)。 FIG. 5 shows the flow up to the issue of the SCSI command in iSCSI. The host device first issues a login request to the disk array device (S21). When a login request including a password is sent from the host device, the disk array device determines whether or not to allow login based on the password and the like. Is returned (S22). This login response includes MaxCmdSN (Max Command Sequence Number) indicating the maximum number of commands that can be issued simultaneously. As the number of commands that can be issued, a fixed value designated by the administrator of the disk array device is generally used. As a result, the host device can issue as many SCSI commands as the number of commands that can be issued to the disk array device (S23 to S26).
一方、ディスクアレイ装置としては、複数の上位装置と接続され、且つ、各上位装置に割り当てられている論理ユニットと、ディスクアレイ装置上の論理ディスクとの対応関係が登録された論理ユニット変換テーブルを備えたものが従来から知られている(例えば、特許文献1参照)。このような、ディスクアレイ装置によれば、各上位装置は、ディスクアレイ装置の構成を意識することなく、データを入出力することが可能になる。 On the other hand, as a disk array device, there is a logical unit conversion table in which the correspondence between logical units connected to a plurality of higher level devices and assigned to each higher level device and logical disks on the disk array device is registered. What is provided is conventionally known (for example, refer patent document 1). According to such a disk array device, each host device can input and output data without being aware of the configuration of the disk array device.
ところで、上記したような論理ユニット変換テーブルを備えたディスクアレイ装置を、iSCSIプロトコルを用いて複数の上位装置と接続して運用するようにした場合、各上位装置の発行可能コマンド数が、上位装置に割り当てられている論理ユニット数にかかわらず、一定となってしまうため、データの入出力を効率的に行えなくなってしまう上位装置が発生する恐れがある。 By the way, when the disk array device provided with the logical unit conversion table as described above is operated by connecting to a plurality of host devices using the iSCSI protocol, the number of commands that can be issued by each host device is determined as Regardless of the number of logical units assigned to, the number of logical units is constant, and there is a possibility that a higher-level device that cannot efficiently perform data input / output may occur.
今、例えば、ディスクアレイ装置に2台の上位装置A,Bが接続され、且つディスクアレイ装置が備えている論理ユニット変換テーブルの内容が図6に示すものであるとする。図6に示した論理ユニット変換テーブルには、上位装置Aに割り当てられている論理ユニットLUN0,LUN1上のアドレスをそれぞれ論理ディスクLDK0,LDK1上のアドレスに変換するためのLUN⇔LDK変換マップと、上位装置Bに割り当てられている論理ユニットLUN0〜LUN3上のアドレスをそれぞれ論理ディスクLDK2〜LDK5上のアドレスに変換するためのLUN⇔LDK変換マップが登録されている。即ち、上位装置Aには、2台の論理ユニットLUN0,LUN1が割り当てられ、上位装置Bには、4台の論理ユニットLUN0〜LUN3が割り当てられており、上位装置Aに割り当てられている論理ユニットLUN0,LUN1にはそれぞれ論理ディスクLDK0,LDK1が割り当てられ、上位装置Bに割り当てられている論理ユニットLUN0〜LUN3にはそれぞれ論理ディスクLDK2〜LDK5が割り当てられている。また、ディスクアレイ装置は、上位装置A,Bからログイン要求が送られてきた場合、例えば、発行可能コマンド数「12」を含むログイン応答を返すものとする。更に、各論理ディスクLKD0〜LDK5の受け付け可能コマンド数(同時に受け付けることが可能なコマンド数の最大値)は「6」であるとする。 Now, for example, assume that two upper devices A and B are connected to the disk array device, and the contents of the logical unit conversion table provided in the disk array device are as shown in FIG. The logical unit conversion table shown in FIG. 6 includes a LUN⇔LDK conversion map for converting addresses on the logical units LUN0 and LUN1 assigned to the upper apparatus A into addresses on the logical disks LDK0 and LDK1, respectively. A LUN⇔LDK conversion map for converting the addresses on the logical units LUN0 to LUN3 assigned to the host apparatus B into addresses on the logical disks LDK2 to LDK5 is registered. That is, two logical units LUN0 and LUN1 are allocated to the upper apparatus A, and four logical units LUN0 to LUN3 are allocated to the upper apparatus B. The logical units allocated to the upper apparatus A Logical disks LDK0 and LDK1 are assigned to LUN0 and LUN1, respectively, and logical disks LDK2 to LDK5 are assigned to logical units LUN0 to LUN3 assigned to the upper apparatus B, respectively. Further, when a log-in request is sent from the host device A or B, the disk array device returns a log-in response including, for example, the number of commands that can be issued “12”. Furthermore, it is assumed that the number of commands that can be received by each of the logical disks LKD0 to LDK5 (the maximum number of commands that can be received simultaneously) is “6”.
上記したように、発行可能コマンド数を「12」に固定すると、2台の論理ユニットLUN0,LUN1が割り当てられている上位装置Aにおいては、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「6」となり、4台の論理ユニットLUN0〜LUN3が割り当てられている上位装置Bにおいては、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「3」となる。ここで、各論理ユニットは、それぞれ1台の論理ディスクの割り当てられており、各論理ディスクは、それぞれ6個のコマンドを同時に受け付け可能なものであるので、各論理ユニットに対して均等にSCSIコマンドが発行され、各論理ユニットに対して発行されるSCSIコマンドの数が上記平均値であれば何の問題も生じない。 As described above, when the number of commands that can be issued is fixed to “12”, in the host device A to which two logical units LUN0 and LUN1 are assigned, the average number of SCSI commands issued to each logical unit The value is “6”, and in the upper apparatus B to which four logical units LUN0 to LUN3 are allocated, the average value of the number of SCSI commands issued to each logical unit is “3”. Here, each logical unit is assigned with one logical disk, and each logical disk can simultaneously receive six commands. Therefore, a SCSI command is equally distributed to each logical unit. If the number of SCSI commands issued to each logical unit is the above average value, no problem occurs.
しかし、実際には、各論理ユニットに対して均等にSCSIコマンドが発行されない場合があり、或る論理ユニットに対して発行されたSCSIコマンド数が受け付け可能コマンド数を超えてしまう場合がある。このような場合、ディスクアレイ装置は、SCSIコマンドの発行元の上位装置に対してコマンド受け付け不能を通知し、この通知を受けた上位装置は、受け付けを拒否されたSCSIコマンドを再発行することになる。 However, in practice, SCSI commands may not be issued equally to each logical unit, and the number of SCSI commands issued to a certain logical unit may exceed the number of commands that can be accepted. In such a case, the disk array device notifies the host device that issued the SCSI command that the command cannot be accepted, and the host device that has received this notification reissues the SCSI command that has been rejected. Become.
上位装置A,Bを比較した場合、上位装置Aにおいては、各論理ユニットに対するSCSIコマンドの発行数の平均値が「6」であり、受け付け可能コマンド数「6」と同じになっている。これに対して、上位装置Bにおいては、各論理ユニットに対するSCSIコマンドの発行数の平均値が「3」であり、受け付け可能コマンド数「6」に対してかなり余裕がある。つまり、上位装置Aは、受け付け可能コマンド数以上のSCSIコマンドを発行してしまう確率が高く、上位装置Bは、受け付け可能コマンド数以上のSCSIコマンドを発行してしまう確率が低い。従って、上位装置Aにおいては、ディスクアレイ装置からコマンド受け付け不能が通知される回数が多くなり、その度にSCSIコマンドを再発行しなければならないので、データの入出力を効率的に行えなくなってしまう。これに対して、上位装置Bにおいては、ディスクアレイ装置からコマンド受け付け不能が通知される回数が少なく、SCSIコマンドの再発行を行う回数が少ないので、データの入出力を効率的に行うことができる。 When the upper devices A and B are compared, in the upper device A, the average value of the number of SCSI commands issued to each logical unit is “6”, which is the same as the number of acceptable commands “6”. On the other hand, in the upper apparatus B, the average value of the number of SCSI commands issued to each logical unit is “3”, and there is a considerable margin for the number of commands that can be accepted “6”. That is, the upper apparatus A has a high probability of issuing SCSI commands that are greater than the number of commands that can be accepted, and the upper apparatus B is less likely to issue SCSI commands that are more than the number of commands that can be accepted. Accordingly, in the host apparatus A, the number of times that the disk array apparatus is notified that the command cannot be accepted increases, and the SCSI command must be reissued each time. Therefore, data input / output cannot be performed efficiently. . On the other hand, in the host device B, the number of times that the command acceptance is notified from the disk array device is small, and the number of times that the SCSI command is reissued is small, so that data can be input and output efficiently. .
〔発明の目的〕
そこで、本発明の目的は、上位装置に割り当てられている論理ユニットの数に応じて発行可能コマンド数を決定することにより、上位装置においてデータの入出力を効率的に行えるようにすることにある。
(Object of invention)
Accordingly, an object of the present invention is to enable efficient data input / output in the host device by determining the number of commands that can be issued according to the number of logical units assigned to the host device. .
本発明にかかる第1のディスクアレイ装置は、上記目的を達成するため、
複数の上位装置と接続され、上位装置からのログイン要求に応答して発行可能コマンド数を含んだログイン応答を返すディスクアレイ装置において、
上位装置からログイン要求があった時、前記上位装置に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を前記上位装置に返す制御手段を備えたことを特徴とする。
In order to achieve the above object, the first disk array device according to the present invention provides:
In a disk array device connected to a plurality of host devices and returning a login response including the number of commands that can be issued in response to a login request from the host device,
When there is a login request from the host device, the control device includes a control unit that returns a login response including the number of commands that can be issued according to the number of logical units assigned to the host device to the host device. .
本発明にかかる第2のディスクアレイ装置は、第1のディスクアレイ装置において、
前記制御手段が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係が登録されると共に、その上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルと、
上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記上位装置に割り当てる論理ユニットの台数に基づいて前記上位装置に対する発行可能コマンド数を決定し、該決定した発行可能コマンド数を前記論理ユニット変換テーブルに登録する発行可能コマンド数決定手段と、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理手段とを備えたことを特徴とする。
A second disk array device according to the present invention is the first disk array device,
The control means is
A logical unit conversion table in which a correspondence relationship between a logical unit assigned to the host device and a logical disk on the disk array device is registered for each host device, and the number of commands that can be issued to the host device is registered ,
When registering the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device in the logical unit conversion table, the number of commands that can be issued to the host device is determined based on the number of logical units assigned to the host device. Determining issuable command number determining means for registering the determined issuable command number in the logical unit conversion table;
Login processing means for returning a login response including the number of commands that can be issued to the host device registered in the logical unit conversion table to the host device when there is a login request from the host device. To do.
本発明にかかる第3のディスクアレイ装置は、第2のディスクアレイ装置において、
前記制御手段が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行可能コマンド数変更手段を備えたことを特徴とする。
A third disk array device according to the present invention is the second disk array device,
The control means is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table Issueable command number changing means is provided for changing the number of issueable commands to the number of issueable commands included in the issueable command number setting request.
本発明にかかる第4のディスクアレイ装置は、第2のディスクアレイ装置において、
前記ログイン処理手段が、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更する構成を有することを特徴とする。
A fourth disk array device according to the present invention is the second disk array device,
When the login processing means receives a login request including the number of commands that can be issued from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. The number of commands that can be issued is changed.
本発明にかかる第5のディスクアレイ装置は、第1〜第4のディスクアレイ装置において、
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とする。
The fifth disk array device according to the present invention is the first to fourth disk array devices,
Each of the host devices and the disk array device are connected by iSCSI.
本発明にかかる第1の制御方法は、
複数の上位装置と接続され、上位装置からのログイン要求に応答して発行可能コマンド数を含んだログイン応答を返すディスクアレイ装置の制御方法であって、
上位装置からログイン要求があった時、前記上位装置に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を前記上位装置に返すことを特徴とする。
The first control method according to the present invention includes:
A method for controlling a disk array device connected to a plurality of host devices and returning a login response including the number of commands that can be issued in response to a login request from the host device,
When there is a login request from the host device, a login response including the number of commands that can be issued according to the number of logical units assigned to the host device is returned to the host device.
本発明にかかる第2の制御方法は、第1の制御方法において、
前記ディスクアレイ装置が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係が登録されると共に、その上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルを備え、且つ、
上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記上位装置に割り当てる論理ユニットの台数に基づいて前記上位装置に対する発行可能コマンド数を決定し、該決定した発行可能コマンド数を前記論理ユニット変換テーブルに登録する発行可能コマンド数決定ステップと、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理ステップとを実行することを特徴とする。
A second control method according to the present invention is the first control method,
The disk array device is
A logical unit conversion table in which the correspondence relationship between the logical unit assigned to the host device and the logical disk on the disk array device is registered for each of the host devices, and the number of commands that can be issued to the host device is registered. Prepared, and
When registering the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device in the logical unit conversion table, the number of commands that can be issued to the host device is determined based on the number of logical units assigned to the host device. Determining the number of commands that can be issued and registering the determined number of commands that can be issued in the logical unit conversion table;
A login process step of returning a login response including the number of commands that can be issued to the host device registered in the logical unit conversion table to the host device when there is a login request from the host device. To do.
本発明にかかる第3の制御方法は、第2の制御方法において、
前記ディスクアレイ装置が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行可能コマンド数変更ステップを実行することを特徴とする。
A third control method according to the present invention is the second control method,
The disk array device is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table A step of changing the number of issueable commands is executed to change the number of issueable commands to the number of issueable commands included in the requestable command number setting request.
本発明にかかる第4の制御方法は、第2の制御方法において、
前記ログイン処理ステップでは、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更することを特徴とする。
According to a fourth control method of the present invention, in the second control method,
In the login processing step, when a login request including the number of commands that can be issued is sent from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. The number of commands that can be issued is changed.
本発明にかかる第5の制御方法は、第1〜第4の制御方法において、
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とする。
The fifth control method according to the present invention is the first to fourth control methods,
Each of the host devices and the disk array device are connected by iSCSI.
本発明にかかる第1のプログラムは、
複数の上位装置と接続され、上位装置からのログイン要求に応答して発行可能コマンド数を含んだログイン応答を返すディスクアレイ装置用のコンピュータを、
上位装置からログイン要求があった時、前記上位装置に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を前記上位装置に返す制御手段として機能させる。
The first program according to the present invention is:
A disk array device computer connected to a plurality of host devices and returning a login response including the number of commands that can be issued in response to a login request from the host device,
When there is a login request from the host device, it functions as a control means for returning to the host device a login response including the number of commands that can be issued according to the number of logical units assigned to the host device.
本発明にかかる第2のプログラムは、第1のプログラムにおいて、
前記制御手段が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係、及びその上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルに、上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記上位装置に割り当てる論理ユニットの台数に基づいて前記上位装置に対する発行可能コマンド数を決定し、該決定した発行可能コマンド数を前記論理ユニット変換テーブルに登録する発行可能コマンド数決定手段、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理手段を備えたことを特徴とする。
The second program according to the present invention is the first program,
The control means is
For each host device, the logical unit conversion table in which the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device and the number of commands that can be issued to the host device are registered in the host device. When registering the correspondence between the logical unit to be allocated and the logical disk on the disk array device in the logical unit conversion table, the number of commands that can be issued to the higher-level device is determined based on the number of logical units to be allocated to the higher-level device, Issuable command number determining means for registering the determined issuable command number in the logical unit conversion table;
When there is a login request from a higher-level device, there is provided login processing means for returning a login response including the number of commands that can be issued to the higher-level device registered in the logical unit conversion table to the higher-level device. .
本発明にかかる第3のプログラムは、第2のプログラムにおいて、
前記制御手段が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行コマンド数変更手段を備えたことを特徴とする。
A third program according to the present invention is the second program,
The control means is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table Issued command number changing means is provided for changing the number of issueable commands to the number of issueable commands included in the issueable command number setting request.
本発明にかかる第4のプログラムは、第2のプログラムにおいて、
前記ログイン処理手段が、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更する構成を有することを特徴とする。
A fourth program according to the present invention is the second program,
When the login processing means receives a login request including the number of commands that can be issued from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. The number of commands that can be issued is changed.
本発明にかかる第5のプログラムは、第1〜第4のプログラムにおいて、
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とする。
The fifth program according to the present invention is the first to fourth programs,
Each of the host devices and the disk array device are connected by iSCSI.
〔作用〕
ディスクアレイ装置には、iSCSIを介して複数の上位装置が接続されている。そして、ディスクアレイ装置は、上位装置からログイン要求があった場合、上記上位装置に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を返す。これにより、上位装置は、発行可能コマンド数分のSCSIコマンドを発行することが可能になる。その結果、各上位装置が1台の論理ユニットに対して発行するSCSIコマンド数の平均値は等しいものとなり、各上位装置における受け付け可能コマンド数と平均値の差分は等しいものとなる。
[Action]
A plurality of host devices are connected to the disk array device via iSCSI. When there is a login request from the host device, the disk array device returns a login response including the number of commands that can be issued according to the number of logical units allocated to the host device. As a result, the host device can issue as many SCSI commands as the number of commands that can be issued. As a result, the average value of the number of SCSI commands issued by each host device to one logical unit is the same, and the difference between the number of commands that can be accepted by each host device and the average value is the same.
本発明によれば、ディスクアレイ装置に接続されている各上位装置が、自装置に割り当てられている論理ユニット数にかかわらず、効率的にデータを入出力することが可能になるという効果を得ることができる。その理由は、ディスクアレイ装置が、上位装置からログイン要求があった時、上記上位装置に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を上記上位装置に返す制御手段を備えているからである。 According to the present invention, each host device connected to the disk array device can efficiently input / output data regardless of the number of logical units allocated to the device itself. be able to. The reason is that when the disk array device receives a login request from the host device, the disk array device returns a login response including the number of commands that can be issued according to the number of logical units assigned to the host device to the host device. It is because it has means.
例えば、ディスクアレイ装置に2台の上位装置A,Bが接続され、上位装置Aには、2台の論理ユニットLUN0,LUN1が割り当てられ、上位装置Bには、4台の論理ユニットLUN0〜LUN3が割り当てられており、上位装置Aに割り当てられている論理ユニットLUN0,LUN1にはそれぞれ論理ディスクLDK0,LDK1が割り当てられ、上位装置Bに割り当てられている論理ユニットLUN0〜LUN3にはそれぞれ論理ディスクLDK2〜LDK5が割り当てられているとする。また、各論理ディスクLDK0〜LDK5の受け付け可能コマンド数(同時に受け付けることが可能なコマンド数の最大値)は「6」であるとする。
For example, two upper devices A and B are connected to the disk array device, two logical units LUN0 and LUN1 are assigned to the upper device A, and four logical units LUN0 to LUN3 are assigned to the upper device B. and is assigned a logical unit assigned to the host device A LUN0, LUN1 logical disk LDK0, LDK1 respectively assigned to the
本発明では、上位装置からログイン要求があったとき、その上位装置に割り当てられている論理ユニット数に応じた発行可能コマンド数を含んだログイン応答を返すようにしているので、各上位装置の発行可能コマンド数は、その上位装置に割り当てられている論理ユニット数に応じたものとなる。例えば、2台の論理ユニットLUN0,LUN1が割り当てられている上位装置Aの発行可能コマンド数は「6」、4台の論理ユニットLUN0〜LUN3が割り当てられている上位装置Bの発行可能コマンド数は「12」と言うように、割り当てられている論理ユニット数に応じたものとなる。この場合、上位装置Aにおいては、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「3(=6÷2)」となり、上位装置Bにおいても、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「3(=12÷4)」となり、受け付け可能コマンド数「6」に対してかなり余裕がある。従って、割り当てられている論理ユニット数が少ない上位装置Aにおいても、割り当てられている論理ユニット数が多い上位装置Bにおいても、受け付け可能コマンド数以上のSCSIコマンドを発行してしまう確率が低くし、ディスクアレイ装置からコマンド受け付け不能が通知される回数を少なくすることができるので、データの入出力を効率的に行うことができる。 In the present invention, when there is a login request from the host device, a login response including the number of commands that can be issued according to the number of logical units assigned to the host device is returned. The number of possible commands depends on the number of logical units assigned to the host device. For example, the number of commands that can be issued by the host apparatus A to which two logical units LUN0 and LUN1 are assigned is “6”, and the number of commands that can be issued by the host apparatus B to which four logical units LUN0 to LUN3 are assigned is As described in “12”, this corresponds to the number of assigned logical units. In this case, in the host device A, the average value of the number of SCSI commands issued to each logical unit is “3 (= 6/2)”, and the host device B is also issued to each logical unit. The average value of the number of SCSI commands to be received is “3 (= 12 ÷ 4)”, which is considerably more than the number of commands that can be accepted “6”. Therefore, even in the host device A with a small number of assigned logical units and the host device B with a large number of assigned logical units, the probability of issuing more SCSI commands than the number of receivable commands is reduced. Since it is possible to reduce the number of times that the disk array device is notified that command reception is not possible, data input / output can be performed efficiently.
次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
〔実施の形態の構成の説明〕
図1は本発明にかかるディスクアレイ装置の実施の形態の構成例を示すブロック図であり、ディスクアレイ装置3には、iSCSIを介して複数の上位装置1、2が接続されている。更に、ディスクアレイ装置3には、保守系のコマンドをディスクアレイ装置3に対して発行する保守端末4が接続されている。上位装置1、2は、例えば、ホストコンピュータ等によって実現されるものであり、保守端末4は、例えば、パーソナルコンピュータ等によって実現されるものである。また、本実施の形態では、上位装置1、2には、それぞれ装置ID「J1」「J2」が付与されている。
[Description of Configuration of Embodiment]
FIG. 1 is a block diagram showing a configuration example of an embodiment of a disk array device according to the present invention. A plurality of
ディスクアレイ装置3は、制御部5と、論理ユニット変換テーブル6と、複数台のハードディスク等から構成される物理ディスク7と、物理ディスク7上に実現された複数の論理ディスクLDK0〜LDK5と、iSCSIインタフェース部8と、保守インタフェース部9とを備えている。
The
iSCSIインタフェース部8は、上位装置1、2と通信を行う機能を有し、保守インタフェース部9は、保守端末4と通信を行う機能を有する。
The iSCSI interface unit 8 has a function of communicating with the
論理ユニット変換テーブル6には、各上位装置1、2の装置ID「J1」「J2」に対応付けて、その上位装置の発行可能コマンド数(MaxCmdSN)と、その上位装置に割り当てられている論理ユニットとディスクアレイ装置3上の論理ディスクとの対応関係を示すLUN⇔LDK変換マップが登録されている。
The logical unit conversion table 6 associates the device IDs “J1” and “J2” of each of the higher-
図2は論理ユニット変換テーブル6の内容例を示す図である。同図に示した論理ユニット変換テーブル6には、上位装置1の装置ID「J1」に対応付けて、発行可能コマンド数(MaxCmdSN)「6」と、上位装置1に割り当てられている論理ユニットLUN0,LUN1上のアドレスをそれぞれ論理ディスクLDK0,LDK1上のアドレスに変換するためのLUN⇔LDK変換マップとが登録され、上位装置2の装置ID「J2」に対応付けて、発行可能コマンド数「12」と、上位装置2に割り当てられている論理ユニットLUN0〜LUN3上のアドレスをそれぞれ論理ディスクLDK2〜LDK5上のアドレスに変換するためのLUN⇔LDK変換マップとが登録されている。なお、各論理ディスクLDK0〜LDK5の受け付け可能コマンド数は、「6」になっているとする。
FIG. 2 is a diagram showing an example of the contents of the logical unit conversion table 6. In the logical unit conversion table 6 shown in the figure, the number of commands that can be issued (MaxCmdSN) “6” and the logical unit LUN0 assigned to the
制御部5は、ディスクアレイ装置3全体の制御を行うものであり、上位装置1、2からリード,ライトコマンドが送られてきたとき、コマンド中のリード,ライトアドレス(論理ユニット上のアドレス)を、論理ユニット変換テーブル6の内容に基づいて論理ディスク上のアドレスに変換し、アドレス変換後のリード,ライトコマンドをディスクインタフェース部10に渡す機能や、保守端末4からアクセス設定要求が送られてきたとき、論理ユニット変換テーブル6にLUN⇔LDK変換マップ及び発行可能コマンド数を登録する機能や、保守端末4から発行可能コマンド設定要求が送られてきたとき、この要求に従って論理ユニット変換テーブル6に登録されている発行可能コマンド数を変更する機能や、上位装置1、2からログイン要求が送られてきたとき、発行可能コマンド数を含むログイン応答を返す機能などを有する。
The
図3は、上記した機能を有する制御部5の構成例を示すブロック図である。同図を参照すると、制御部5は、解析手段51と、アクセス設定処理手段52と、発行可能コマンド数決定手段53と、発行可能コマンド数変更手段54と、ログイン処理手段55と、リードライト手段56とを備えている。
FIG. 3 is a block diagram illustrating a configuration example of the
解析手段51は、上位装置1、2や保守端末4から送られてくる要求やコマンドの種別を判定し、アクセス設定要求であった場合には、それをアクセス設定処理手段52に渡し、発行可能コマンド数設定要求であった場合には、それを発行可能コマンド数変更手段54に渡し、ログイン要求であった場合には、それをログイン処理手段55に渡し、リード,ライトコマンドであった場合は、それをリードライト手段56に渡す機能を有する。
The analysis unit 51 determines the type of request or command sent from the
リードライト手段56は、解析手段51から渡されたリード,ライトコマンドに含まれている論理ユニット上のアドレスを、論理ユニット変換テーブル6を参照して論理ディスク上のアドレスに変換し、アドレス変換後のリード,ライトアドレスをディスクインタフェース部10に渡す機能を有する。
The read / write means 56 converts the address on the logical unit included in the read / write command passed from the analyzing means 51 into an address on the logical disk with reference to the logical unit conversion table 6, and after the address conversion The read / write address is transferred to the
アクセス設定処理手段52は、解析手段51から渡されたアクセス設定要求(上位装置に割り当てる論理ユニットの論理ユニット名と、その論理ユニットに割り当てる論理ディスクの論理ディスク名とが含まれている)に従って論理ユニット変換テーブル6にLUN⇔LDK変換マップを登録する機能や、アクセス設定要求によって上位装置に割り当てることが指示されている論理ユニットの数を発行可能コマンド数決定手段53に渡して発行可能コマンド数を決定させる機能や、発行可能コマンド数決定手段53が決定した発行可能コマンド数を論理ユニット変換テーブル6に登録する機能を有する。 The access setting processing means 52 performs a logical operation in accordance with the access setting request (including the logical unit name of the logical unit assigned to the host device and the logical disk name of the logical disk assigned to the logical unit) passed from the analyzing means 51. The function of registering the LUN⇔LDK conversion map in the unit conversion table 6 and the number of logical units instructed to be assigned to the host device by the access setting request are passed to the issuable command number determining means 53 to determine the number of issuable commands. A function for determining the number of commands that can be issued, and a function for registering in the logical unit conversion table 6 the number of commands that can be issued determined by the issuable command number determination means 53
発行可能コマンド数決定手段53は、アクセス設定処理手段52から渡された論理ユニット数に基づいて発行可能コマンド数を決定する機能を有する。本実施の形態では、発行可能コマンド数決定手段53は、次式(1)に基づいて発行可能コマンド数を決定する。即ち、割り当てられている論理ユニットの数が多い上位装置ほど、発行可能コマンド数を多くする。
発行可能コマンド数=3×(論理ユニット数)……(1)
The issuable command
Number of commands that can be issued = 3 x (number of logical units) (1)
発行可能コマンド数変更手段54は、解析手段51から渡された発行可能コマンド数設定要求(発行可能コマンド数および上位装置の装置IDを含む)に従って、論理ユニット変換テーブル6に登録されている、上記装置IDによって特定される発行可能コマンド数を、発行可能コマンド数設定要求中の発行可能コマンド数に変更する機能を有する。
The issuable command
ログイン処理手段55は、解析手段51からログイン要求(発行元の上位装置の装置IDが含まれている)が渡されると、論理ユニット変換テーブル6から上記装置IDに対応付けて登録されている発行可能コマンド数を入力し、この発行可能コマンド数を含んだログイン応答を返す機能などを有する。
When the log-in
ディスクインタフェース部10は、制御部5から渡されたリード,ライトコマンドに従って、該当する論理ディスクに対してデータを読み書きする機能を有する。
The
なお、ディスクアレイ装置3は、コンピュータによって実現可能であり、コンピュータによって実現する場合は、例えば、次のようにする。コンピュータをディスクアレイ装置3として機能させるためのプログラムを記録したディスク、半導体メモリ、その他の記録媒体を用意し、コンピュータに上記プログラムを読み取らせる。コンピュータは、読み取ったプログラムに従って自身の動作を制御することにより、自コンピュータ上に制御部5、iSCSIインタフェース部8、保守インタフェース部9、およびディスクインタフェース部10を実現する。
The
〔実施の形態の動作の説明〕
次に、本実施の形態の動作について詳細に説明する。
[Description of Operation of Embodiment]
Next, the operation of the present embodiment will be described in detail.
〔上位装置に論理ユニットを割り当てる際の動作〕
先ず、上位装置に論理ユニットを割り当てる場合の動作について説明する。今、例えば、上位装置1に2個の論理ユニットLUN0,LUN1を割り当て、各論理ユニットLUN0,LUN1にそれぞれ論理ディスクLDK0,LDK1を割り当てるとすると、保守員は、上位装置1の装置ID「J1」と、論理ユニットLUN0,LUN1の論理ユニット名と、論理ディスクLDK0,LDK1の論理ディスク名とを含むアクセス設定要求を、保守端末4からディスクアレイ装置3へ送信する。
[Operation when allocating logical unit to host device]
First, an operation when a logical unit is assigned to a higher-level device will be described. Now, for example, if two logical units LUN0 and LUN1 are allocated to the
制御部5内の解析手段51は、保守インタフェース部9を通じて、保守端末4から上記アクセス設定要求を受信すると(図4のS401がはい)、受信したアクセス設定要求をアクセス設定処理手段52に渡す。
When the analysis unit 51 in the
これにより、アクセス設定処理手段52は、論理ユニット変換テーブル6に、上位装置1の装置ID「J1」と、論理ユニットLUN0,LUN1上のアドレスを論理ディスクLDK0,LDK1上のアドレスに変換するためのLUN⇔LDK変換マップとを対応付けて登録する(S402)。その後、アクセス設定処理手段52は、アクセス設定要求によって上位装置1に割り当てることが指定されている論理ユニット数(この例の場合は、2個)を、発行可能コマンド数決定手段53に渡す。
Thereby, the access setting processing means 52 converts the device ID “J1” of the higher-
これにより、発行可能コマンド数決定手段53は、前出の式(1)に示す演算を行うことにより、発行可能コマンド数を決定する(S403)。この例の場合、発行可能コマンド数=3×2なる演算が行われ、発行可能コマンド数は「6」と決定される。
Thereby, the issuable command
その後、アクセス設定処理手段52は、発行可能コマンド数決定手段53が決定した発行可能コマンド数を、上位装置1の発行可能コマンド数として論理ユニット変換テーブル6に登録する(S404)。 Thereafter, the access setting processing means 52 registers the number of issueable commands determined by the issueable command number determination means 53 in the logical unit conversion table 6 as the number of issueable commands of the higher-level device 1 (S404).
また、上位装置2に対して論理ユニットを割り当てる場合も、保守員は同様のアクセス設定要求を保守端末4からディスクアレイ装置3に発行する。例えば、上位装置2に対して4個の論理ユニットLUN0〜LUN3を割り当て、各論理ユニットLUN0〜LUN3にそれぞれ論理LDK2〜LDK5を割り当てるとすると、保守員は、上位装置2の装置ID「J2」と、論理ユニットLUN0〜LUN3の論理ユニット名と、論理ディスクLDK2〜LDK5の論理ディスク名とを含むアクセス要求を、保守端末4からディスクアレイ装置3に対して発行する。
Also, when assigning a logical unit to the
このようなアクセス設定要求が保守端末4から発行されると、制御部5内の解析手段51、アクセス設定処理手段52及び発行可能コマンド数決定手段53が前述した処理と同様の処理(S401〜S404)を行い、論理ユニット変換テーブル6に、上位装置2の装置IDと、発行可能コマンド数(この例の場合、発行可能コマンド数=3×4=12となる)と、論理ユニットLUN0〜LUN3上のアドレスを論理ディスクLDK2〜LDK5上のアドレスに変換するためのLUN⇔LDK変換マップとを対応付けて登録する。
When such an access setting request is issued from the
上記した処理が行われることにより、論理ユニット変換テーブル6の内容は、図2に示すものとなる。同図を参照して分かるように、割り当てられている論理ユニットの数が多い上位装置ほど、発行可能コマンド数が多くなっている。 By performing the above processing, the contents of the logical unit conversion table 6 are as shown in FIG. As can be seen with reference to the figure, the number of commands that can be issued increases as the host device has a larger number of assigned logical units.
〔ログイン時の動作〕
次に、上位装置1がディスクアレイ装置3にログインする場合の動作について説明する。
[Operation at login]
Next, the operation when the
上位装置1は、ディスクアレイ装置3にログインする場合、パラメータとして自装置の装置ID「J1」を含むログイン要求をディスクアレイ装置3に対して発行する。なお、上位装置1は、論理ユニット変換テーブル6に登録されている、自装置の発行可能コマンド数を変更する場合には、パラメータとして自装置の装置ID「J」及び変更後の発行可能コマンド数を含むログイン要求をディスク装置3に対して発行する。
When logging in to the
制御部5内の解析手段51は、iSCSIインタフェース部8を介してログイン要求を受信すると(S401,S405がいいえ、S406がはい)、それをログイン処理手段55に渡す。
When the analysis unit 51 in the
これにより、ログイン処理手段55は、先ず、ログイン要求にパラメータとして発行可能コマンド数が含まれているか否かを調べる(S407)。 Thereby, the login processing means 55 first checks whether or not the number of commands that can be issued is included as a parameter in the login request (S407).
そして、発行可能コマンド数が含まれていない場合(S407がいいえ)は、論理ユニット変換テーブル6から上位装置1に対する発行可能コマンド数を取り出し(S409)、取り出した発行可能コマンド数を含んだログイン応答を上位装置1に返す(S410)。これにより、上位装置1は、発行可能コマンド数までのSCSIコマンドを発行できるようになる。
If the number of commands that can be issued is not included (No in S407), the number of commands that can be issued to the higher-
これに対して、発行可能コマンド数が含まれている場合(S407がはい)は、論理ユニット変換テーブル6に登録されている、上位装置1の発行可能コマンド数を、ログイン要求中の発行可能コマンド数に変更した後(S408)、ステップS409の処理を行う。
On the other hand, if the number of commands that can be issued is included (Yes in S407), the number of commands that can be issued by the higher-
〔発行可能コマンド数変更時の動作〕
次に、保守員が保守端末4を用いて、論理ユニット変換テーブル6に登録されている上位装置の発行可能コマンド数を変更する場合の動作について説明する。今、例えば、上位装置2の発行可能コマンド数を変更するとすると、保守員は、上位装置2の装置ID「J2」と変更後の発行可能コマンド数とを含む発行可能コマンド数設定要求を、保守端末4からディスクアレイ装置3に対して発行する。
[Operation when changing the number of commands that can be issued]
Next, an operation when the maintenance staff changes the number of commands that can be issued by the host device registered in the logical unit conversion table 6 using the
制御部5内の解析手段51は、保守インタフェース部9を介して、上記した発行可能コマンド数設定要求を受信すると(S401がいいえ、S405がはい)、論理ユニット変換テーブル6に登録されている上位装置2の発行可能コマンド数を、発行可能コマンド数設定要求中の発行可能コマンド数に変更する(S404)。
When the analysis unit 51 in the
〔リード、ライト時の動作〕
次に、上位装置1がディスクアレイ装置3からデータを読み込む場合の動作を説明する。
[Operation when reading and writing]
Next, the operation when the
上位装置1は、ディスクアレイ装置3からデータを読み込む場合、リードアドレスとして、自装置1に割り当てられている論理ユニット上のアドレスを含んだリードコマンドをディスクアレイ装置3に対して発行する。
When reading data from the
制御部5内の解析手段51は、iSCSIインタフェース部8を介して上位装置1からのリードコマンドを受信すると(S401,S405,S406が全ていいえ)、リードコマンドをリードライト手段56に渡す。これにより、リードライト手段56は、論理ユニット変換テーブル6を参照して、リードコマンド中のリードアドレス(論理ユニット上のアドレス)を論理ディスク上のアドレスに変換し、アドレス変換後のリードコマンドをディスクインタフェース部10に渡す。ディスクインタフェース部10は、リードコマンドに従って該当する論理ディスクからデータを読み出し、リードライト手段56は、ディスクインタフェース部10が読み出したデータを、iSCSIインタフェース部8を介して上位装置1に返す(S411)。
When the analysis unit 51 in the
次に、上位装置1がディスクアレイ装置3にデータを書き込む場合の動作について説明する。
Next, the operation when the
上位装置1は、ディスク装置3にデータを書き込む場合、ライトデータおよびライトアドレス(自装置1に割り当てられている論理ユニット上のアドレス)を含んだライト要求をディスクアレイ装置3に対して発行する。
When writing data to the
制御部5内の解析手段51は、iSCSIインタフェース部8を介して上位装置1からのライトコマンドを受信すると(S401,S405,S406が全ていいえ)、それをリードライト手段56に渡す。これにより、リードライト手段56は、ライトコマンド中のライトアドレス(論理ユニット上のアドレス)を論理ディスク上のアドレスに変換し、アドレス変換後のライトコマンドをディスクインタフェース部10に渡す。ディスクインタフェース部10では、アドレス変換後のライトコマンドに従って、論理ディスクに対してディスクを書き込む(S411)。
When the analysis unit 51 in the
〔実施の形態の効果〕
本実施の形態によれば、ディスクアレイ装置3に接続されている各上位装置1、2が、自装置1,2に割り当てられている論理ユニット数にかかわらず、効率的にデータを入出力することが可能になるという効果を得ることができる。その理由は、ディスクアレイ装置3が、上位装置1、2からログイン要求があった時、上位装置1、2に割り当てられている論理ユニットの台数に応じた発行可能コマンド数を含んだログイン応答を上記上位装置1,2に返す制御部5を備えているからである。
[Effect of the embodiment]
According to the present embodiment, each higher-
例えば、ディスクアレイ装置3に2台の上位装置1、2が接続され、上位装置1には、2台の論理ユニットLUN0,LUN1が割り当てられ、上位装置2には、4台の論理ユニットLUN0〜LUN3が割り当てられており、上位装置1に割り当てられている論理ユニットLUN0,LUN1にはそれぞれ論理ディスクLDK0,LDK1が割り当てられ、上位装置2に割り当てられている論理ユニットLUN0〜LUN3にはそれぞれ論理ディスクLDK2〜LDK5が割り当てられているとする。また、各論理ディスクLDK0〜LDK5の受け付け可能コマンド数(同時に受け付けることが可能なコマンド数の最大値)は「6」であるとする。
For example, two
本実施の形態では、上位装置1、2からログイン要求があったとき、その上位装置に割り当てられている論理ユニット数に応じた発行可能コマンド数を含んだログイン応答を返すようにしているので、各上位装置1、2の発行可能コマンド数は、その上位装置1,2に割り当てられている論理ユニット数に応じたものとなる。例えば、2台の論理ユニットLUN0,LUN1が割り当てられている上位装置1の発行可能コマンド数は「6」、4台の論理ユニットLUN0〜LUN3が割り当てられている上位装置2の発行可能コマンド数は「12」と言うように、割り当てられている論理ユニット数に応じたものとなる。この場合、上位装置1においては、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「3(=6÷2)」となり、上位装置2においても、各論理ユニットに対して発行されるSCSIコマンド数の平均値は「3(=12÷4)」となり、受け付け可能コマンド数「6」に対してかなり余裕がある。従って、割り当てられている論理ユニット数が少ない上位装置1においても、割り当てられている論理ユニット数が多い上位装置2においても、受け付け可能コマンド数以上のSCSIコマンドを発行してしまう確率が低くし、ディスクアレイ装置3からコマンド受け付け不能が通知される回数を少なくすることができるので、データの入出力を効率的に行うことができる。
In this embodiment, when there is a login request from the
更に、本実施の形態によれば、保守端末4から各上位装置1、2の発行可能コマンド数を変更することが可能になる。その理由は、保守端末4から発行可能コマンド数および上位装置1,2の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、論理ユニット変換テーブル6に登録されている、上記装置IDによって特定される上位装置の発行可能コマンド数を、上記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行可能コマンド数変更手段54を備えているからである。
Furthermore, according to the present embodiment, it is possible to change the number of commands that can be issued from each of the
また、本実施の形態によれば、上位装置から、その上位装置に対して設定されている発行可能コマンド数を変更することが可能になる。その理由は、上位装置1、2から発行可能コマンド数を含むログイン要求が送られてきたとき、論理ユニット変換テーブル6に登録されている上記上位装置1,2に対する発行可能コマンド数を、上記ログイン要求に含まれている発行可能コマンド数に変更するログイン処理手段55を備えているからである。
Further, according to the present embodiment, it is possible to change the number of commands that can be issued set for a host device from the host device. The reason is that when a login request including the number of commands that can be issued is sent from the higher-
本発明は、複数のホストコンピュータが、インターネット等のネットワークを介してディスクアレイ装置を利用する場合に適用できる。 The present invention can be applied when a plurality of host computers use a disk array apparatus via a network such as the Internet.
1、2…上位装置
3…ディスクアレイ装置
4…保守端末
5…制御部
51…解析手段
52…アクセス設定処理手段
53…発行可能コマンド数決定手段
54…発行可能コマンド数変更手段
55…ログイン処理手段
56…リードライト手段
6…論理ユニット変換テーブル
7…物理ディスク
LDK0〜LDK5…論理ディスク
8…iSCSIインタフェース部
9…保守インタフェース部
10…ディスクインタフェース部
DESCRIPTION OF
Claims (15)
上位装置から前記ログイン要求があった時、ログイン応答に含ませる発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出する制御手段を備えたことを特徴とするディスクアレイ装置。 A command that is connected to a plurality of higher-level devices, has a logical unit assigned to each higher-level device, and a logical disk that has a corresponding relationship with the logical unit, and can be issued simultaneously in response to a login request from each higher-level device In a disk array device that returns a login response including the number of commands that can be issued, indicating the maximum number of
When the host device there is the login request, the issuable number of commands included in the login response, in proportion to the number of logical unit assigned to the host system, and a logical unit assigned the number can be issued commands The average value of the number of commands issued simultaneously to the logical unit from the host device , which is a value divided by the number of the number of commands, can be simultaneously received by the logical disk having a correspondence relationship with the logical unit. A disk array device comprising control means for calculating the number of commands that can be issued that is less than a maximum value.
前記制御手段が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係が登録されると共に、その上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルと、
上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記論理ユニット変換テーブルに登録する発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出する発行可能コマンド数決定手段と、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理手段とを備えたことを特徴とするディスクアレイ装置。 The disk array device according to claim 1,
The control means is
A logical unit conversion table in which a correspondence relationship between a logical unit assigned to the host device and a logical disk on the disk array device is registered for each host device, and the number of commands that can be issued to the host device is registered ,
When registering the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device in the logical unit conversion table, the number of issueable commands to be registered in the logical unit conversion table is assigned to the host device. The average value of the number of commands simultaneously issued to the logical unit from the host device , which is a value that is proportional to the number of logical units and is a value obtained by dividing the number of commands that can be issued by the number of the assigned logical units , Issuable command number determining means for calculating the number of commands that can be issued to be less than the maximum value of the number of commands that can be received simultaneously on the logical disk having a correspondence relationship with the logical unit;
Login processing means for returning a login response including the number of commands that can be issued to the host device registered in the logical unit conversion table to the host device when there is a login request from the host device. Disk array device to be used.
前記制御手段が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行可能コマンド数変更手段を備えたことを特徴とするディスクアレイ装置。 The disk array device according to claim 2, wherein
The control means is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table A disk array device comprising issueable command number changing means for changing the number of issueable commands to the number of issueable commands included in the issueable command number setting request.
前記ログイン処理手段が、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更する構成を有することを特徴とするディスクアレイ装置。 The disk array device according to claim 2, wherein
When the login processing means receives a login request including the number of commands that can be issued from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. A disk array device having a configuration in which the number of commands that can be issued is changed.
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とするディスクアレイ装置。 In the disk array device according to any one of claims 1 to 4,
Each of the host device and the disk array device are connected by iSCSI.
上位装置からログイン要求があった時、ログイン応答に含ませる発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出することを特徴とする制御方法。 A command that is connected to a plurality of higher-level devices, has a logical unit assigned to each higher-level device, and a logical disk that has a corresponding relationship with the logical unit, and can be issued simultaneously in response to a login request from each higher-level device A method of controlling a disk array device that returns a login response including the number of commands that can be issued indicating the maximum number of commands,
When there is a login request from the host device, the number of issueable commands included in the login response is proportional to the number of logical units assigned to the host device, and the number of issueable commands is The maximum number of commands that can be simultaneously received by the logical disk having a correspondence relationship with the logical unit , the average value of the number of commands issued simultaneously from the host device to the logical unit , which is a value divided by the number A control method characterized by calculating the number of issueable commands to be smaller than a value.
前記ディスクアレイ装置が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係が登録されると共に、その上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルを備え、且つ、
上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記論理ユニット変換テーブルに登録する発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出する発行可能コマンド数決定ステップと、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理ステップとを実行することを特徴とする制御方法。 The control method according to claim 6, wherein
The disk array device is
A logical unit conversion table in which the correspondence relationship between the logical unit assigned to the host device and the logical disk on the disk array device is registered for each of the host devices, and the number of commands that can be issued to the host device is registered. Prepared, and
When registering the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device in the logical unit conversion table, the number of issueable commands to be registered in the logical unit conversion table is assigned to the host device. The average value of the number of commands simultaneously issued to the logical unit from the host device , which is a value that is proportional to the number of logical units and is a value obtained by dividing the number of commands that can be issued by the number of the assigned logical units , An issuable command number determination step for calculating the number of commands that can be issued to be less than the maximum value of the number of commands that can be simultaneously received by the logical disk having a correspondence relationship with the logical unit;
A login process step of returning a login response including the number of commands that can be issued to the host device registered in the logical unit conversion table to the host device when there is a login request from the host device. Control method to do.
前記ディスクアレイ装置が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行可能コマンド数変更ステップを実行することを特徴とする制御方法。 The control method according to claim 7,
The disk array device is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table A control method, comprising: executing an issueable command number changing step of changing the number of issueable commands to the number of issueable commands included in the issueable command number setting request.
前記ログイン処理ステップでは、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更することを特徴とする制御方法。 The control method according to claim 7,
In the login processing step, when a login request including the number of commands that can be issued is sent from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. The number of commands that can be issued is changed to a control method.
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とする制御方法。 In the control method given in any 1 paragraph of Claims 6 thru / or 9,
Each of the host device and the disk array device are connected by iSCSI.
上位装置からログイン要求があった時、ログイン応答に含ませる発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出する制御手段として機能させるためのプログラム。 A command that is connected to a plurality of higher-level devices, has a logical unit assigned to each higher-level device, and a logical disk that has a corresponding relationship with the logical unit, and can be issued simultaneously in response to a login request from each higher-level device A computer for a disk array device that returns a login response including the number of commands that can be issued indicating the maximum number of
When there is a login request from the host device, the number of issueable commands included in the login response is proportional to the number of logical units assigned to the host device, and the number of issueable commands is The maximum number of commands that can be simultaneously received by the logical disk having a correspondence relationship with the logical unit , the average value of the number of commands issued simultaneously from the host device to the logical unit , which is a value divided by the number A program for functioning as a control means for calculating the number of commands that can be issued that is less than the value.
前記制御手段が、
前記各上位装置毎に、その上位装置に割り当てられる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係、及びその上位装置に対する発行可能コマンド数が登録される論理ユニット変換テーブルに、上位装置に割り当てる論理ユニットとディスクアレイ装置上の論理ディスクとの対応関係を前記論理ユニット変換テーブルに登録する際、前記論理ユニット変換テーブルに登録する発行可能コマンド数として、前記上位装置に割り当てられている論理ユニットの台数に比例し、且つ、発行可能コマンド数を前記割り当てられる論理ユニットの数で除算した値である、前記上位装置から論理ユニットに対して同時に発行されるコマンド数の平均値を、前記論理ユニットと対応関係を有する前記論理ディスクで同時に受け付けることが可能なコマンド数の最大値よりも少なくする発行可能コマンド数を算出する発行可能コマンド数決定手段、
上位装置からログイン要求があったとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を含んだログイン応答を前記上位装置に返すログイン処理手段を備えたことを特徴とするプログラム。 The program according to claim 11, wherein
The control means is
For each host device, the logical unit conversion table in which the correspondence between the logical unit assigned to the host device and the logical disk on the disk array device and the number of commands that can be issued to the host device are registered in the host device. When registering the correspondence between the logical unit to be assigned and the logical disk on the disk array device in the logical unit conversion table, the logical unit assigned to the host device as the number of issueable commands to be registered in the logical unit conversion table An average value of the number of commands simultaneously issued to the logical unit from the host device , which is a value obtained by dividing the number of commands that can be issued by the number of the assigned logical units, It is accepted simultaneously with the logical disk having a corresponding relationship between Issuable command number determining means for calculating the number of issuable commands to less than the maximum possible value of the number of commands,
When there is a login request from a higher-level device, there is provided login processing means for returning a login response including the number of commands that can be issued to the higher-level device registered in the logical unit conversion table to the higher-level device. program.
前記制御手段が、
保守端末から発行可能コマンド数および上位装置の装置IDを含んだ発行可能コマンド数設定要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている、前記装置IDによって特定される上位装置の発行可能コマンド数を、前記発行可能コマンド数設定要求に含まれている発行可能コマンド数に変更する発行コマンド数変更手段を備えたことを特徴とするプログラム。 The program according to claim 12,
The control means is
When a request for setting the number of commands that can be issued including the number of commands that can be issued and the device ID of the host device is sent from the maintenance terminal, the host device specified by the device ID registered in the logical unit conversion table A program comprising: an issue command number changing means for changing the number of issueable commands to the number of issueable commands included in the issueable command number setting request.
前記ログイン処理手段が、上位装置から発行可能コマンド数を含むログイン要求が送られてきたとき、前記論理ユニット変換テーブルに登録されている前記上位装置に対する発行可能コマンド数を、前記ログイン要求に含まれている発行可能コマンド数に変更する構成を有することを特徴とするプログラム。 The program according to claim 12,
When the login processing means receives a login request including the number of commands that can be issued from the host device, the number of commands that can be issued to the host device registered in the logical unit conversion table is included in the login request. A program having a configuration for changing to the number of commands that can be issued.
前記各上位装置と前記ディスクアレイ装置とはiSCSIによって接続されることを特徴とするプログラム。 The program according to any one of claims 11 to 14,
Each of the host device and the disk array device are connected by iSCSI.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005361522A JP4920961B2 (en) | 2005-12-15 | 2005-12-15 | Disk array device, control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005361522A JP4920961B2 (en) | 2005-12-15 | 2005-12-15 | Disk array device, control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007164572A JP2007164572A (en) | 2007-06-28 |
| JP4920961B2 true JP4920961B2 (en) | 2012-04-18 |
Family
ID=38247375
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005361522A Expired - Fee Related JP4920961B2 (en) | 2005-12-15 | 2005-12-15 | Disk array device, control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4920961B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4701267B2 (en) | 2008-06-04 | 2011-06-15 | 株式会社日立製作所 | Storage system and management method thereof |
| JP2011154556A (en) * | 2010-01-27 | 2011-08-11 | Toshiba Corp | Semiconductor storage device |
-
2005
- 2005-12-15 JP JP2005361522A patent/JP4920961B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007164572A (en) | 2007-06-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4383148B2 (en) | Magnetic disk array device with processing offload function module | |
| US7506037B1 (en) | Method determining whether to seek operator assistance for incompatible virtual environment migration | |
| US7305463B2 (en) | Operation management system, management apparatus, management method and management program | |
| JP6710790B2 (en) | Method and apparatus for operating a smart network interface card | |
| EP3627334B1 (en) | Extended storage device based on pcie bus | |
| US20090037924A1 (en) | Performance of a storage system | |
| JP2006195981A (en) | Usb device in application server environment | |
| CN108292196A (en) | Write data into the storage system of the storage device of storage device and Second Type including the first kind | |
| US8966130B2 (en) | Tag allocation for queued commands across multiple devices | |
| JP5104855B2 (en) | Load distribution program, load distribution method, and storage management apparatus | |
| US20090187707A1 (en) | System and method of maximization of storage capacity in a configuration limited system | |
| CN1818890A (en) | Rnic-based offload of iscsi data movement function by initiator | |
| WO2024155388A1 (en) | Multi-user virtual machine platform | |
| JP4920961B2 (en) | Disk array device, control method, and program | |
| CN100524267C (en) | Data processing system and data processing method | |
| JP5200646B2 (en) | Interrupt control device and image processing device | |
| JP4972932B2 (en) | Memory access device | |
| JP2006268766A (en) | Drive control device, drive control method, and drive control program | |
| JP5995427B2 (en) | Storage appliance system, method therefor, computer program and application server | |
| JP4509951B2 (en) | Simulation execution control device and program | |
| US20160142489A1 (en) | Connection control apparatus, storage apparatus, and non-transitory computer-readable recording medium having stored therein control program | |
| US20030135760A1 (en) | Access control unit, host apparatus, and computer product | |
| JPWO2018225747A1 (en) | Distributed system, data management device, data management method, and computer-readable recording medium | |
| US20080140798A1 (en) | Storage adapter and method thereof | |
| JP2020140669A (en) | Virtual machine management device, virtual machine management method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20090603 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090603 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100118 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100126 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100324 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100511 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100810 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111222 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120202 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150210 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |