JP5232515B2 - Storage system, management method thereof, and storage control device - Google Patents

Storage system, management method thereof, and storage control device Download PDF

Info

Publication number
JP5232515B2
JP5232515B2 JP2008082042A JP2008082042A JP5232515B2 JP 5232515 B2 JP5232515 B2 JP 5232515B2 JP 2008082042 A JP2008082042 A JP 2008082042A JP 2008082042 A JP2008082042 A JP 2008082042A JP 5232515 B2 JP5232515 B2 JP 5232515B2
Authority
JP
Japan
Prior art keywords
logical volume
target
storage
name
character string
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
Application number
JP2008082042A
Other languages
Japanese (ja)
Other versions
JP2009237827A (en
Inventor
敦也 熊谷
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008082042A priority Critical patent/JP5232515B2/en
Priority to US12/155,971 priority patent/US7783833B2/en
Publication of JP2009237827A publication Critical patent/JP2009237827A/en
Application granted granted Critical
Publication of JP5232515B2 publication Critical patent/JP5232515B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、記憶システム及びその管理方法並びに記憶制御装置において、設定作業を行うためのインタフェース技術に関する。   The present invention relates to an interface technology for performing a setting operation in a storage system, a management method thereof, and a storage control device.

近年、ストレージ装置において、ネットワーク接続の機能が多く実現されてきている。このネットワーク接続の機能により、ストレージ装置は、ファイバチャネルやIP(Internet Protocol)ネットワークなどを介して、計算機とデータやコマンドの送受信を行うことができる。そして、TCP/IP(Transmission Control Protocol/Internet Protocol)によってSCSI(Small Computer System Interface)コマンドの送受信を行うプロトコルとして、iSCSI(Internet Small Computer Systems Interface)が標準化されており、このiSCSIを実装したストレージ装置が多く使用されるようになってきている。   In recent years, many network connection functions have been realized in storage devices. With this network connection function, the storage apparatus can send and receive data and commands to and from the computer via a fiber channel or IP (Internet Protocol) network. As a protocol for transmitting / receiving SCSI (Small Computer System Interface) commands by TCP / IP (Transmission Control Protocol / Internet Protocol), iSCSI (Internet Small Computer System Interface) is standardized, and a storage apparatus in which this iSCSI is implemented. Are increasingly being used.

従来、計算機とiSCSIを実装したストレージ装置を新規に接続し、計算機がiSCSIを実装したストレージ装置内の記憶領域をSCSI機器としてアクセスできる状態にするためには、管理者がiSCSIを実装したストレージ装置に対して、イニシエータ名、ターゲット名、等の情報の設定を行い、計算機のユーザに対してこれらの情報を通知する。そしてユーザが、これらの情報を計算機に対して設定する、という手続きを経る必要があった。   2. Description of the Related Art Conventionally, in order to connect a computer and a storage device equipped with iSCSI newly and allow the computer to access a storage area in the storage device equipped with iSCSI as a SCSI device, a storage device equipped with iSCSI For this, information such as an initiator name and a target name is set, and this information is notified to the computer user. The user has to go through a procedure of setting these pieces of information for the computer.

通常、この手続きはユーザ毎に必要となり、設定すべきLU(Logical Unit)のRAID(Redundant Array of Inexpensive Disks)レベルや容量もユーザによって異なるため、iSCSIを実装したストレージ装置を使用するユーザ数が増大するにつれて、管理者の負荷が増大するという問題があった。   Normally, this procedure is required for each user, and since the RAID (Redundant Array of Inexpensive Disks) level and capacity of LUs (Logical Units) to be set differ depending on the user, the number of users who use storage devices equipped with iSCSI increases. As a result, there is a problem that the load on the administrator increases.

この問題を解決する方法として、iSCSIを実装したストレージ装置に対する設定権限をユーザに対して委譲し、上記設定作業の一部をユーザに行わせるという技術が考えられる。   As a method for solving this problem, a technique is conceivable in which setting authority for a storage apparatus equipped with iSCSI is delegated to the user, and a part of the setting work is performed by the user.

なお、iSCSIを実装したストレージ装置内部でのデータ移動やデータコピーに関するストレージ装置内部の状態の変化に対応する技術が開示されている(特許文献1参照)。   In addition, a technique corresponding to a change in the internal state of a storage apparatus related to data movement or data copy within the storage apparatus mounted with iSCSI is disclosed (see Patent Document 1).

特開2004−192305号公報JP 2004-192305 A

しかし、iSCSIを実装したストレージ装置に対する設定権限をユーザに委譲する場合、ユーザがディスク領域を無制限に割り当てることにより、iSCSIを実装したストレージ装置のディスク上の空き領域が枯渇するという問題が新たに発生する。   However, when delegating the setting authority for a storage device equipped with iSCSI to a user, there is a new problem that the free space on the disk of the storage device equipped with iSCSI is depleted when the user allocates an unlimited amount of disk space. To do.

また、従来、管理者は管理用端末で設定作業を行うためにiSCSIを実装したストレージ装置に固有のソフトウェアを使用していた。このため、設定権限をユーザへ委譲するためには、iSCSIを実装したストレージ装置に固有のソフトウェアを個々の計算機にインストールする必要が生じるという問題が発生する。   Conventionally, an administrator uses software unique to a storage apparatus equipped with iSCSI in order to perform a setting operation on a management terminal. For this reason, in order to transfer the setting authority to the user, there arises a problem that it is necessary to install software unique to the storage apparatus equipped with iSCSI in each computer.

そこで、本発明は、iSCSIを実装したストレージ装置に固有のソフトウェアを個々の計算機にインストールすることなく、各ユーザが与えられた権限の範囲内で必要な設定を行うことができるiSCSIを実装したストレージ装置を実現することができる記憶システム及びその管理方法並びに記憶制御装置を提供することを目的とするものである。   Therefore, the present invention is a storage that implements iSCSI that allows each user to perform necessary settings within the range of authority given to each computer without installing software unique to the storage device that implements iSCSI. It is an object of the present invention to provide a storage system capable of realizing the device, a management method thereof, and a storage control device.

前記目的を達成するために、本発明においては、1又は複数のホスト計算機と、各前記ホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置とを有する記憶システムにおいて、前記記憶制御装置は、前記ホスト計算機からのコマンドに基づいて、前記ホスト計算機に割り当て又は未割り当ての前記論理ボリュームの情報に含まれる論理ボリュームの機能情報を識別する識別部と、前記識別部の識別結果に従って前記論理ボリュームに対する処理を実行する実行部と、を備えることを特徴とする。   In order to achieve the above object, in the present invention, one or a plurality of host computers, and a storage control device that provides a plurality of logical volumes that are storage areas for reading and writing data to each of the host computers, are provided. In the storage system, the storage control device, based on a command from the host computer, an identification unit for identifying functional information of the logical volume included in the information of the logical volume allocated or unallocated to the host computer; An execution unit that executes processing on the logical volume according to the identification result of the identification unit.

その結果、論理ボリュームの機能情報に応じた処理をストレージ装置内で行うことができる。   As a result, processing corresponding to the function information of the logical volume can be performed in the storage apparatus.

また、本発明においては、1又は複数のホスト計算機と、各前記ホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置とを有する記憶システムの管理方法において、前記記憶制御装置は、前記ホスト計算機からのコマンドに基づいて、前記ホスト計算機に割り当て又は未割り当ての前記論理ボリュームの情報に含まれる論理ボリュームの機能情報を識別する識別ステップと、前記識別ステップの識別結果に従って前記論理ボリュームに対する処理を実行する実行ステップと、を備えることを特徴とする。   In the present invention, a storage system management method comprising one or a plurality of host computers and a storage control device that provides a plurality of logical volumes each having a storage area for reading and writing data to and from each of the host computers. The storage control device is configured to identify, based on a command from the host computer, function information of a logical volume included in information on the logical volume allocated or unassigned to the host computer, and the identification step And executing a process for the logical volume according to the identification result.

その結果、論理ボリュームの機能情報に応じた処理をストレージ装置内で行うことができる。   As a result, processing corresponding to the function information of the logical volume can be performed in the storage apparatus.

さらに、本発明においては、1又は複数のホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置において、前記ホスト計算機からのコマンドに基づいて、前記ホスト計算機に割り当て又は未割り当ての前記論理ボリュームの情報に含まれる論理ボリュームの機能情報を識別する識別部と、前記識別部の識別結果に従って前記論理ボリュームに対する処理を実行する実行部と、を備えるを備えることを特徴とする。   Furthermore, in the present invention, in a storage control device that provides a plurality of logical volumes that are storage areas for reading and writing data to one or a plurality of host computers, the host is based on a command from the host computer. An identification unit that identifies function information of a logical volume included in information on the logical volume that is allocated or unallocated to a computer, and an execution unit that executes processing on the logical volume according to the identification result of the identification unit. It is characterized by that.

その結果、論理ボリュームの機能情報に応じた処理をストレージ装置内で行うことができる。   As a result, processing corresponding to the function information of the logical volume can be performed in the storage apparatus.

本発明によれば、ユーザがストレージ装置に固有のソフトウェアを使用することなく、与えられた権限の範囲内でストレージ装置に対する設定作業を行うことができるため、管理者の設定作業の負荷を軽減することができる。   According to the present invention, the setting work for the storage apparatus can be performed within the range of the given authority without the user using the software specific to the storage apparatus, so that the burden of the setting work of the administrator is reduced. be able to.

(1)第1の実施の形態
第1の実施の形態では、ストレージ装置が新規にLUを作成する場合の動作を例にとり、説明する。
(1) First Embodiment In the first embodiment, the operation when a storage apparatus newly creates an LU will be described as an example.

図1は、第1の実施の形態に係る記憶システムの概略図である。図1に示すように、記憶システム1は、インターネット、イントラネットなどのネットワーク120を介して互いに接続された、ストレージ装置100、複数のホスト計算機110、ストレージ装置100に接続された管理用端末150を備えて構成される。   FIG. 1 is a schematic diagram of a storage system according to the first embodiment. As shown in FIG. 1, the storage system 1 includes a storage device 100, a plurality of host computers 110, and a management terminal 150 connected to the storage device 100, which are connected to each other via a network 120 such as the Internet or an intranet. Configured.

ホスト計算機110は、データの入出力を伴うアプリケーションを実行する情報処理装置であり、ストレージ装置100にアクセスするためのイニシエータプログラム111及びイニシエータプログラム111を実行するためのホスト側CPU(Central Processing Unit)112を有している。   The host computer 110 is an information processing apparatus that executes an application that involves data input / output, and includes an initiator program 111 for accessing the storage apparatus 100 and a host side CPU (Central Processing Unit) 112 for executing the initiator program 111. have.

ストレージ装置100は、ストレージ側CPU101(制御部)と、メモリ(制御部)102と、アクセスを高速化するためのキャッシュ103と、ディスクコントローラ104と、1枚以上のディスク105と、ポート106a、106b(以下、まとめてポート106ともいう)と、フラッシュメモリ等からなる半導体メモリ107と、管理ポート108と、これらの装置を接続するバス109と、を有する。   The storage apparatus 100 includes a storage-side CPU 101 (control unit), a memory (control unit) 102, a cache 103 for speeding up access, a disk controller 104, one or more disks 105, and ports 106a and 106b. (Hereinafter collectively referred to as a port 106), a semiconductor memory 107 formed of a flash memory or the like, a management port 108, and a bus 109 for connecting these devices.

ストレージ側CPU101は、メモリ102に記憶されたターゲットプログラム201を実行することで、後記する各種の処理を行う。   The storage-side CPU 101 executes various processes described later by executing the target program 201 stored in the memory 102.

メモリ102は、後記するターゲットプログラム201及びデータを記憶するための装置である。   The memory 102 is a device for storing a target program 201 and data to be described later.

キャッシュ103は、書き込みデータを一時的に記憶するための装置である。
ディスクコントローラ104は、ディスク105へのデータの入出力を制御する装置である。なお、ディスクコントローラ104は、RAID(Redundant Array of Independent Disks)に相当する処理を行うものであってもよい。
The cache 103 is a device for temporarily storing write data.
The disk controller 104 is a device that controls input / output of data to / from the disk 105. The disk controller 104 may perform processing corresponding to RAID (Redundant Array of Independent Disks).

ディスク105は、ホスト計算機110が読み書きするデータを記憶する装置である。   The disk 105 is a device that stores data read and written by the host computer 110.

ポート106は、ストレージ装置100にLAN(Local Area Network)ケーブルを接続するためのネットワークカード等の装置であり、データの送受信処理を行う。なお、本実施形態では、ストレージ装置100が2つのポート106a、106bを有するものとするが、3つ以上のポート106を有するものであってもよい。   The port 106 is a device such as a network card for connecting a LAN (Local Area Network) cable to the storage device 100, and performs data transmission / reception processing. In this embodiment, the storage apparatus 100 has two ports 106a and 106b, but it may have three or more ports 106.

半導体メモリ107は、ストレージ装置100の起動時にメモリ102に読み出されるプログラム及びデータを記憶する装置である。   The semiconductor memory 107 is a device that stores a program and data read to the memory 102 when the storage device 100 is activated.

管理ポート108は、ストレージ装置100を管理用端末150へ接続するための装置である。   The management port 108 is a device for connecting the storage apparatus 100 to the management terminal 150.

管理用端末150は、ストレージ装置100の管理ポート108を通じて、後記するイニシエータ毎のLUの最大ディスク使用量の設定など、ストレージ装置100に対する設定作業を行うための計算機である。   The management terminal 150 is a computer for performing setting operations for the storage apparatus 100, such as setting of the maximum disk usage of the LU for each initiator, which will be described later, through the management port 108 of the storage apparatus 100.

図2は、ストレージ装置100のメモリ102に記憶されるプログラム及びデータを示したものである(適宜図1参照)。メモリ102には、ターゲットプログラム201と、ターゲット表202と、イニシエータ管理表203と、が記憶される。   FIG. 2 shows programs and data stored in the memory 102 of the storage apparatus 100 (see FIG. 1 as appropriate). The memory 102 stores a target program 201, a target table 202, and an initiator management table 203.

ターゲットプログラム201は、ホスト計算機110上で動作しているイニシエータプログラム111との間で、iSCSIの規格に従いiSCSI PDU(Protocol Data Unit)の送受信を行うためのプログラムである。またターゲットプログラム201は、ホスト側CPU112のイニシエータプログラム111の処理に基づくiSCSI Login PDUの受信を契機として、LUあるいはターゲットの新規作成、追加、削除を行ったりするが、このときの動作の詳細は図5から図8を用いて後記する。   The target program 201 is a program for transmitting and receiving iSCSI PDU (Protocol Data Unit) according to the iSCSI standard with the initiator program 111 operating on the host computer 110. The target program 201 creates, adds, or deletes an LU or a target in response to reception of an iSCSI Login PDU based on the processing of the initiator program 111 of the host side CPU 112. Details of the operation at this time are shown in FIG. This will be described later with reference to FIGS.

ターゲット表202は、イニシエータ、ターゲット、ポート、LUの対応関係及び、該当するLUの容量を示す表であるが、詳細については図3を用いて後記する。イニシエータ管理表203は、イニシエータ毎に割り当てられたLUの使用容量の上限を示す表であるが、詳細については図4を用いて後記する。   The target table 202 is a table showing the correspondence between initiators, targets, ports, and LUs, and the capacity of the corresponding LUs. Details will be described later with reference to FIG. The initiator management table 203 is a table showing the upper limit of the used capacity of the LU allocated for each initiator, and details will be described later with reference to FIG.

図3は、ターゲット表202の一例を示す図である。図3において、ターゲット表202は、「イニシエータ名」フィールド301、「ターゲット名」フィールド302、「割当ポート」フィールド303、「LUN」フィールド304及び「ディスク使用量」フィールド305の情報からなるテーブルである。   FIG. 3 is a diagram illustrating an example of the target table 202. In FIG. 3, the target table 202 is a table including information of an “initiator name” field 301, a “target name” field 302, an “assigned port” field 303, a “LUN” field 304, and a “disk usage” field 305. .

「イニシエータ名」フィールド301には、iSCSIイニシエータを識別する名前が格納されている。「ターゲット名」フィールド302には、iSCSIターゲットを識別する名前が格納されている。ターゲット名は、論理ボリュームのボリューム情報として構成され、この「ターゲット名」には、論理ボリュームの機能情報として、「iqn.init000−20gb−jbod−lu0」などの情報が格納されている。   The “initiator name” field 301 stores a name for identifying the iSCSI initiator. The “target name” field 302 stores a name for identifying the iSCSI target. The target name is configured as volume information of the logical volume, and information such as “iqn.init000-20gb-jbod-lu0” is stored in the “target name” as the function information of the logical volume.

「割当ポート」フィールド303には、ポート106がイニシエータのターゲットへのアクセスを許可するか否かを表す情報が格納されている。   The “assigned port” field 303 stores information indicating whether the port 106 allows the initiator to access the target.

例えば、アクセスを許可する場合「1」の値を、許可しない場合「0」の値を取るものとする。本実施の形態の一例ではストレージ100が2個のポート106a、106bを持つ場合を例に取って説明しており、これらのポートがそれぞれIPアドレス「192.168.0.1」及び「192.168.0.2」で識別されるものとしている。図3に示した一例では、イニシエータ名「initiator0」で識別されるイニシエータが、ターゲット名「iqn.init000−20gb−jbod−lu0」で識別されるターゲットに対して、IPアドレス「192.168.0.1」で識別されるポートを通じてアクセスできるが、IPアドレス「192.168.0.2」で識別されるポートを通じてアクセスできないことを意味する。   For example, assume that a value of “1” is taken when access is permitted, and a value of “0” is taken when access is not permitted. In the example of the present embodiment, the case where the storage 100 has two ports 106a and 106b is described as an example, and these ports are identified by IP addresses “192.168.0.1” and “192.168.0.2”, respectively. It is supposed to be done. In the example shown in FIG. 3, an initiator identified by the initiator name “initiator0” has an IP address “192.168.0.1” with respect to a target identified by the target name “iqn.init000-20gb-jbod-lu0”. This means that it can be accessed through the identified port, but cannot be accessed through the port identified by the IP address “192.168.0.2”.

「LUN」フィールド304には、各ホスト計算機110に割り当てたLUを識別するための番号が格納されている。「LUN」フィールド304内の「−」は、各ホスト計算機110に割り当てられていないLUを示している。   The “LUN” field 304 stores a number for identifying the LU assigned to each host computer 110. “-” In the “LUN” field 304 indicates an LU not assigned to each host computer 110.

「ディスク使用量」フィールド305は、該当するLUの容量を表す。本実施の形態では、ディスク使用量305はギガバイトを単位として表すものとする。図3に示した例では、イニシエータ名「initiator0」で識別されるイニシエータが、ターゲット名「iqn.init000−20gb−jbod−lu0」で識別されるターゲットへアクセスすることによって利用できるLUN番号「0」のLUの容量が20ギガバイトであることを意味する。   The “disk usage” field 305 represents the capacity of the corresponding LU. In this embodiment, it is assumed that the disk usage amount 305 is expressed in units of gigabytes. In the example shown in FIG. 3, the LUN number “0” that can be used by the initiator identified by the initiator name “initiator0” accessing the target identified by the target name “iqn.init000-20gb-jbod-lu0”. This means that the capacity of the LU is 20 gigabytes.

図4は、イニシエータ管理表203の一例を示す図である。イニシエータ管理表203は、「イニシエータ番号」フィールド401、「イニシエータ名」フィールド402及び「最大ディスク使用量」フィールド403の情報からなるテーブルである。   FIG. 4 is a diagram illustrating an example of the initiator management table 203. The initiator management table 203 is a table including information of an “initiator number” field 401, an “initiator name” field 402, and a “maximum disk usage” field 403.

「イニシエータ番号」フィールド401には、ストレージ装置100がイニシエータを識別するために付与する、ストレージ装置100の内部でのみ有効な番号が格納されている。「イニシエータ名」フィールド402には、前記の通り、イニシエータを識別するための名前が格納されている。   The “initiator number” field 401 stores a number that is given only to identify the initiator by the storage apparatus 100 and is valid only within the storage apparatus 100. As described above, the “initiator name” field 402 stores a name for identifying the initiator.

「最大ディスク使用量」フィールド403は、各イニシエータに割り当てられた容量の上限を示している。本実施の形態では、管理者が管理用端末150を用いてイニシエータ毎の最大のディスク使用量を設定するものとする。図4に示した例では、イニシエータ名「initiator0」にストレージ装置100が付与したイニシエータ番号は「000」であることを示し、このイニシエータに割り当てられた最大ディスク使用量の上限が80ギガバイトであることを意味する。   The “maximum disk usage” field 403 indicates the upper limit of the capacity allocated to each initiator. In the present embodiment, it is assumed that the administrator uses the management terminal 150 to set the maximum disk usage for each initiator. In the example shown in FIG. 4, the initiator number assigned to the initiator name “initiator0” by the storage apparatus 100 is “000”, and the upper limit of the maximum disk usage allocated to this initiator is 80 gigabytes. Means.

図5は、ホスト側CPU112がイニシエータプログラム111を用いてストレージ側CPU101にiSCSI Login Request PDUを送信したときのホスト側CPU112及びストレージ側CPU101の間のメッセージ及びデータのやり取りを表す図である。ストレージ側CPU101は、ターゲットプログラム201を用いて処理を行う。   FIG. 5 is a diagram illustrating the exchange of messages and data between the host CPU 112 and the storage CPU 101 when the host CPU 112 transmits an iSCSI Login Request PDU to the storage CPU 101 using the initiator program 111. The storage-side CPU 101 performs processing using the target program 201.

まず、ホスト側CPU112は、ディスカバリセッションを発行する。この発行によって、ターゲット名等の情報を得ることができる。そしてホスト側CPU112は、ディスカバリセッションの開始の要求とログインの要求をするため、iSCSI Login Request PDUをストレージ装置100側へ送信する(SP501)。   First, the host CPU 112 issues a discovery session. By this issuance, information such as a target name can be obtained. Then, the host side CPU 112 transmits an iSCSI Login Request PDU to the storage apparatus 100 side in order to request a discovery session start and a login request (SP501).

ストレージ側CPU101は、ディスカバリセッションへのiSCSI Login Request PDUを受信すると、処理A(SP502)を行った後、iSCSI Login Request PDUに対する応答としてiSCSI Login Request PDUをホスト計算機110へ送信する(SP503)。これによりホスト計算機110のログインを許可する。このとき、ストレージ側CPU101は、iSCSI Login Request PDU内のStatusフィールドの値に直前の処理A(SP502)の戻り値を設定する。なお、処理Aの詳細については、図6を用いながら後記する。   When the storage-side CPU 101 receives the iSCSI Login Request PDU for the discovery session, the storage-side CPU 101 performs processing A (SP502), and then transmits an iSCSI Login Request PDU to the host computer 110 as a response to the iSCSI Login Request PDU (SP503). Thereby, the login of the host computer 110 is permitted. At this time, the storage-side CPU 101 sets the return value of the immediately preceding process A (SP502) as the value of the Status field in the iSCSI Login Request PDU. Details of the processing A will be described later with reference to FIG.

ディスカバリセッションを確立したホスト側CPU112は、ターゲット名等の情報の通知を要求するText Request PDUをストレージ装置100側へ送信する(SP504)。   The host-side CPU 112 that has established the discovery session transmits a Text Request PDU requesting notification of information such as a target name to the storage apparatus 100 side (SP504).

ストレージ側CPU101は、ホスト側CPU112が送信したText Request PDUを受信すると、ターゲット表202を参照する。ストレージ側CPU101は、「イニシエータ名」フィールド301のイニシエータ名に対応するすべてのターゲット名をText Response PDUに含ませてホスト計算機110へ送信する(SP505)。これにより、複数のターゲット名をホスト計算機110側で表示することができるため、ユーザは、どのターゲット名にログインするかを判断することができる。   When the storage-side CPU 101 receives the Text Request PDU transmitted by the host-side CPU 112, the storage-side CPU 101 refers to the target table 202. The storage-side CPU 101 sends all the target names corresponding to the initiator name in the “initiator name” field 301 to the host computer 110 by including them in the Text Response PDU (SP505). Accordingly, since a plurality of target names can be displayed on the host computer 110 side, the user can determine which target name to log in to.

ディスカバリセッションによってターゲット名を通知されたホスト側CPU112は、ノーマルセッション(通常モードのログイン)で行うよう要求をするiSCSI Login PDUをストレージ装置100へ送信する(SP506)。   The host-side CPU 112 that has been notified of the target name by the discovery session transmits to the storage apparatus 100 an iSCSI Login PDU requesting to perform the normal session (normal mode login) (SP506).

ストレージ側CPU101は、通常モードでログインを行うよう要求をするiSCSILogin Request PDUを受信すると、処理A(SP507)を行った後、iSCSI Login Request PDUに対する応答として、Statusフィールドの値に直前の処理Aの戻り値を設定して、iSCSI Login Response PDUをホスト計算機110へ送信する(SP508)。すなわち、ストレージ側CPU101は、ホスト計算機110に対して特定したターゲットのログインを許可又は不許可した旨を送信する。なお、処理Aの詳細については、図6を用いながら後記する。   When the storage-side CPU 101 receives the iSCSI Login Request PDU requesting to log in in the normal mode, after performing the process A (SP507), the storage-side CPU 101 sets the value of the Status A field to the value of the Status A immediately before as a response to the iSCSI Login Request PDU. A return value is set, and an iSCSI Login Response PDU is transmitted to the host computer 110 (SP508). That is, the storage-side CPU 101 transmits to the host computer 110 that the specified target login is permitted or not permitted. Details of the processing A will be described later with reference to FIG.

図6は、ストレージ側CPU101がターゲットプログラム201を実行させ処理Aを行うフローチャートである。まず、ストレージ側CPU101は、ホスト計算機110からiSCSI Login PDUを受信すると(SP501)、iSCSI LoginPDUのコマンドに含まれている「Session Type」フィールドから値を読み出す。   FIG. 6 is a flowchart in which the storage-side CPU 101 executes the process A by executing the target program 201. First, when the storage-side CPU 101 receives an iSCSI Login PDU from the host computer 110 (SP501), the storage-side CPU 101 reads a value from the “Session Type” field included in the command of the iSCSI Login PDU.

そしてストレージ側CPU101は、iSCSI Login PDUの「Session Type」が「Discovery」であるか否かを判断する(SP601)。そしてストレージ側CPU101は、「Session Type」が「Discovery」であると判断した場合には(SP601:YES)、引き続き、iSCSI Login PDUのコマンドの中から「Initiator Name」フィールドが存在するか否かを判断する(SP603)。   Then, the storage-side CPU 101 determines whether or not the “Session Type” of the iSCSI Login PDU is “Discovery” (SP601). If the storage-side CPU 101 determines that “Session Type” is “Discovery” (SP601: YES), the storage-side CPU 101 continues to check whether an “Initiator Name” field is present from the iSCSI Login PDU command. Judgment is made (SP603).

ストレージ側CPU101は、当該コマンドに「Initiator Name」フィールドが存在すると判断した場合には(SP603:YES)、「Initiator Name」フィールドの値を引数として後記する処理Bを実行し(SP605)、ログイン成功の戻り値である「Success」にして(SP606)処理Aを終える。   When the storage-side CPU 101 determines that the “Initiator Name” field exists in the command (SP603: YES), the storage-side CPU 101 executes processing B described later with the value of the “Initiator Name” field as an argument (SP605), and the login is successful. (S606), the process A is finished.

一方、ステップSP603において、ストレージ側CPU101は、「Initiator Name」フィールドが存在しないと判断した場合には(SP603:NO)、ログイン失敗の戻り値である「Initiator Error」にして(SP607)処理Aを終える。   On the other hand, if the storage-side CPU 101 determines in step SP603 that the “Initiator Name” field does not exist (SP603: NO), the storage-side CPU 101 sets “Initiator Error” as the return value of the login failure (SP607). Finish.

また、ステップSP601において、ストレージ側CPU101は、「Session Type」フィールドの値が「Discovery」ではないと判断した場合には(SP601:NO)、ステップSP507の処理であると判断したため、次に、「Session Type」フィールドの値が「Normal」であるか否かを判断する(SP602)。   In step SP601, when the storage-side CPU 101 determines that the value of the “Session Type” field is not “Discovery” (SP601: NO), the storage-side CPU 101 determines that the processing is step SP507. It is determined whether or not the value of the “Session Type” field is “Normal” (SP602).

そして、ストレージ側CPU101は、「Session Type」フィールドの値が「Normal」であると判断した場合には(SP602:YES)、次に、iSCSI Login PDUのコマンドの中に「Initiator Name」フィールド及び「Target Name」フィールドが存在するかどうか判断する(SP604)。   If the storage-side CPU 101 determines that the value of the “Session Type” field is “Normal” (SP602: YES), then the “Initiator Name” field and “ It is determined whether the “Target Name” field exists (SP604).

ストレージ側CPU101は、これらのフィールドの両方が存在すると判断した場合には(SP604:YES)、「Initiator Name」フィールド及び「Target Name」フィールドの値を引数として後記する処理Cを実行する(SP608)。そして、ストレージ側CPU101は、ログイン成功又は失敗かの判断をした処理Cの戻り値を処理Aの戻り値として(SP609)、処理Aを終える。   When the storage-side CPU 101 determines that both of these fields exist (SP604: YES), the storage-side CPU 101 executes processing C described later with the values of the “Initiator Name” field and the “Target Name” field as arguments (SP608). . Then, the storage-side CPU 101 ends the process A with the return value of the process C that determines whether the login is successful or failed as the return value of the process A (SP609).

ストレージ側CPU101は、「Initiator Name」フィールド及び「Target Name」フィールドの少なくとも一方が存在しないと判断した場合には(SP604:NO)、ログイン失敗として処理Aの戻り値を「Initiator Error」にして(SP610)、処理Aを終える。   When the storage-side CPU 101 determines that at least one of the “Initiator Name” field and the “Target Name” field does not exist (SP604: NO), the return value of process A is set to “Initiator Error” as a login failure ( SP610) and the process A ends.

なお、ストレージ側CPU101は、「Session Type」のフィールドの値が「Discovery」ではなく(SP601:NO)、「Normal」でもないと判断した場合には(SP602:NO)、ログイン失敗として処理Aの戻り値を「Initiator Error」にして(SP610)、処理Aを終える。   If the storage-side CPU 101 determines that the value of the “Session Type” field is not “Discovery” (SP601: NO) and is not “Normal” (SP602: NO), the storage-side CPU 101 determines that the login has failed. The return value is set to “Initiator Error” (SP610), and the process A ends.

図7は、ストレージ側CPU101がターゲットプログラム201を実行させ処理Bを行うフローチャートである。図7において、具体的には、まずストレージ側CPU101は、引数として渡されたイニシエータ名がイニシエータ管理表203に登録されているかどうかを判断する(SP701)。   FIG. 7 is a flowchart in which the storage-side CPU 101 executes the process B by executing the target program 201. In FIG. 7, specifically, the storage-side CPU 101 first determines whether or not the initiator name passed as an argument is registered in the initiator management table 203 (SP701).

そして、ストレージ側CPU101は、イニシエータ名がイニシエータ管理表203に登録されていると判断した場合には(SP701:YES)、イニシエータ管理表203とターゲット表202とを参照する。ストレージ側CPU101は、当該イニシエータ名に該当する「最大ディスク使用量」フィールド403の最大ディスク使用量から既に割り当てた「ディスク使用量」フィールド305のディスク使用量を引いたものを、新規に割り当てることのできるディスク使用量とする。   When the storage-side CPU 101 determines that the initiator name is registered in the initiator management table 203 (SP701: YES), the storage-side CPU 101 refers to the initiator management table 203 and the target table 202. The storage-side CPU 101 newly assigns a value obtained by subtracting the disk usage in the “disk usage” field 305 already allocated from the maximum disk usage in the “maximum disk usage” field 403 corresponding to the initiator name. Use as much disk usage as possible.

そして、新規に割り当てることのできるディスク使用量に基づいて、ストレージ側CPU101は、1つ以上の新規割り当て可能なLUのRAIDレベルと容量の組を求める(SP702)。例えば、イニシエータ名「initiator0」のイニシエータに2個のLUが割り当てられており、それぞれのディスク使用量が20ギガバイトであるとき、同じイニシエータからのiSCSI Login Request PDUを、ホスト計算機110から受信したとすると、ストレージ側CPU101は、RAIDレベルでの構成ではなく通常の構成であるJBOD構成で最大40ギガバイト、RAIDレベル1の構成で20ギガバイトのLUを提供することができる。   Then, based on the disk usage amount that can be newly allocated, the storage-side CPU 101 obtains a pair of RAID level and capacity of one or more newly assignable LUs (SP702). For example, when two LUs are allocated to the initiator with the initiator name “initiator0” and the respective disk usage is 20 gigabytes, it is assumed that an iSCSI Login Request PDU from the same initiator is received from the host computer 110. The storage-side CPU 101 can provide a LU of 40 GB at maximum in the JBOD configuration, which is a normal configuration, and 20 GB in the RAID level 1 configuration, instead of the configuration at the RAID level.

次に、ストレージ側CPU101は、前ステップSP702で求めたLUのRAIDレベルと容量の組み合わせのそれぞれについて、ターゲット名を生成し、生成したターゲット名をターゲット表202に追加をする(SP703)。本実施の形態では、図3に示すように、文字列「iqn.init」、イニシエータ番号、文字「−」、LU容量、文字列「gb−」、RAIDレベル、文字列「−LU」及びLUNの文字列を左から順に連結させたターゲット名を作成して、ターゲット自体を作成している。ストレージ側CPU101は、このように作成した各ターゲットをターゲット表202に追加する。   Next, the storage-side CPU 101 generates a target name for each combination of LU RAID level and capacity obtained in the previous step SP702, and adds the generated target name to the target table 202 (SP703). In the present embodiment, as shown in FIG. 3, a character string “iqn.init”, an initiator number, a character “−”, an LU capacity, a character string “gb−”, a RAID level, a character string “−LU”, and a LUN. A target name is created by concatenating the character strings in order from the left to create the target itself. The storage-side CPU 101 adds each target created in this way to the target table 202.

なお、本実施の形態では、上記の通り作成したターゲットの「割当ポート」フィールド303はすべて「1」とし、「LUN」フィールド304及び「ディスク使用量」フィールド305は空欄とする。   In this embodiment, the “allocated port” fields 303 of the targets created as described above are all “1”, and the “LUN” field 304 and the “disk usage” field 305 are blank.

続いて、ストレージ側CPU101は、既に「LUN」が付与されているLUについて、文字列「iqn.init」、イニシエータ番号、文字列「−delete」、文字列「−lu」、LUNを左から順に連結したものをターゲット名とするターゲット(以下、これを削除用ターゲットと呼ぶ)をターゲット表202に追加する(SP704)。これらのターゲットについても、本実施の形態では、上記の通り作成したターゲットの「割当ポート」フィールド303はすべて「1」とし、「LUN」フィールド304及び「ディスク使用量」フィールド305は空欄とする。   Subsequently, the storage-side CPU 101 sequentially adds the character string “iqn.init”, the initiator number, the character string “−delete”, the character string “−lu”, and the LUN from the left to the LU already assigned “LUN”. A target whose target name is the concatenation (hereinafter referred to as a deletion target) is added to the target table 202 (SP704). Also for these targets, in the present embodiment, all the “allocated port” fields 303 of the targets created as described above are set to “1”, and the “LUN” field 304 and the “disk usage” field 305 are blank.

一方、ステップSP701において、ストレージ側CPU101は、引数として渡されたイニシエータ名がイニシエータ管理表203に登録されていないと判断した場合には(SP701:NO)、まず、イニシエータ番号を付与し、引数として渡されたイニシエータ名、イニシエータ番号及び予め管理者によって設定されている最大ディスク使用量をイニシエータ管理表203に追加する(SP705)。   On the other hand, if the storage-side CPU 101 determines in step SP701 that the initiator name passed as an argument is not registered in the initiator management table 203 (SP701: NO), first, an initiator number is assigned and used as an argument. The passed initiator name, initiator number, and maximum disk usage set in advance by the administrator are added to the initiator management table 203 (SP705).

次に、ストレージ側CPU101は、イニシエータ管理表203を参照して新規に付与したイニシエータ番号に該当する「最大ディスク使用量」フィールド403の最大ディスク使用量を新規割り当て可能なディスク使用量として、1つ以上の新規割り当て可能なLUのRAIDレベルと容量の組み合わせを計算する(SP706)。例えば、イニシエータ管理表203にイニシエータ名「initiator1」のデータが存在しない状態で、「initiator1」というイニシエータ名を持つiSCSI Login PDUをホスト計算機110から受信したとすると、ストレージ側CPU101は、JBOD構成で最大80ギガバイト、RAIDレベル1の構成で最大40ギガバイトのLUを提供できる。   Next, the storage-side CPU 101 refers to the initiator management table 203 and sets the maximum disk usage in the “maximum disk usage” field 403 corresponding to the newly assigned initiator number as one newly assignable disk usage. The combination of the RAID level and capacity of the LU that can be newly allocated is calculated (SP706). For example, if there is no data of the initiator name “initiator1” in the initiator management table 203 and an iSCSI Login PDU having an initiator name “initiator1” is received from the host computer 110, the storage-side CPU 101 has the maximum JBOD configuration. An LU of up to 40 GB can be provided in a configuration of 80 GB and RAID level 1.

次に、ストレージ側CPU101は、前ステップSP706で求めたLUのRAIDレベルと容量の組み合わせについて、ターゲット名を生成し、生成したターゲット名をターゲット表202に追加する(SP707)。なおターゲット名の生成方法は、ステップSP703で説明したものと同様であるので説明を省略する。   Next, the storage-side CPU 101 generates a target name for the combination of the RAID level and capacity of the LU obtained in the previous step SP706, and adds the generated target name to the target table 202 (SP707). Note that the target name generation method is the same as that described in step SP703, and thus the description thereof is omitted.

図8は、ストレージ側CPU101がターゲットプログラム201を実行させ処理Cを行うフローチャートである。図8において、具体的にはまず、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202に登録されているかどうかを判断する(SP801)。   FIG. 8 is a flowchart in which the storage-side CPU 101 executes the target program 201 and performs process C. In FIG. 8, specifically, the storage-side CPU 101 first determines whether or not a pair of initiator name and target name passed as an argument is registered in the target table 202 (SP801).

そして、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202に登録されていると判断した場合には(SP801:YES)、次に、ターゲット名に「delete」が含まれているかどうか判断する(SP802)。   If the storage-side CPU 101 determines that the combination of the initiator name and the target name passed as an argument is registered in the target table 202 (SP801: YES), next, “delete” is set in the target name. It is determined whether it is included (SP802).

判断した結果、ストレージ側CPU101は、ターゲット名に「delete」が含まれていると判断した場合には(SP802:YES)、当該ターゲット名を読み込み、ターゲット表202を参照して、削除の対象となるLUのLU番号を識別する。そうしてストレージ側CPU101は、識別したLU番号に該当する番号を「LUN」フィールド304から検出すると、該当する行をターゲット表202から削除して、LUを削除する(SP803)。   As a result of the determination, if the storage-side CPU 101 determines that “delete” is included in the target name (SP802: YES), the storage-side CPU 101 reads the target name, refers to the target table 202, and sets the target to be deleted. The LU number of the LU to be identified is identified. When the storage-side CPU 101 detects a number corresponding to the identified LU number from the “LUN” field 304, the storage-side CPU 101 deletes the corresponding row from the target table 202 and deletes the LU (SP803).

例えば、ストレージ側CPU101が認識したLU番号が「0」の場合、LU0がホスト計算機110に割り当てられていることを「LUN」フィールド304で確認すると、「LUN」フィールド304に「0」が格納されている行をターゲット表202から削除し、LU0を削除する。   For example, when the LU number recognized by the storage-side CPU 101 is “0”, if it is confirmed in the “LUN” field 304 that LU0 is assigned to the host computer 110, “0” is stored in the “LUN” field 304. Are deleted from the target table 202, and LU0 is deleted.

次にストレージ側CPU101は、識別したLUに対応する行を削除した旨の戻り値をログインのターゲットとなる対象がないとする「Target Removed」として(SP804)処理Cを終える。   Next, the storage-side CPU 101 sets the return value indicating that the row corresponding to the identified LU has been deleted as “Target Removed” (SP804), and ends the process C.

一方、ステップSP802において、ストレージ側CPU101は、ストレージ側CPU101は、ターゲット名に「delete」が含まれていないと判断した場合には(SP802:NO)、ターゲット名の文字列中、イニシエータ番号及び文字「−」以降のLU容量情報から読み込む。そしてストレージ側CPU101は、対応するLUのRAIDレベルと容量を認識し、ターゲット表202を参照して、該当するLUNとディスク使用量を追加する(SP805)。さらに、ストレージ側CPU101は、前ステップSP805で追加したRAIDレベル及び容量でLUを作成する(SP806)。   On the other hand, in step SP802, if the storage-side CPU 101 determines that “delete” is not included in the target name (SP802: NO), the initiator number and character in the character string of the target name Read from LU capacity information after “-”. Then, the storage-side CPU 101 recognizes the RAID level and capacity of the corresponding LU, refers to the target table 202, and adds the corresponding LUN and disk usage (SP805). Further, the storage-side CPU 101 creates an LU with the RAID level and capacity added in the previous step SP805 (SP806).

次に、ストレージ側CPU101は、ターゲット表202を参照して「LUN」フィールド304が空欄「−」となっているターゲットを削除し(SP807)、ログイン成功の戻り値である「Success」にして(SP808)処理Cを終える。   Next, the storage-side CPU 101 refers to the target table 202 and deletes the target whose “LUN” field 304 is blank “-” (SP807), and sets “Success” as the return value of successful login ( SP808) Processing C ends.

なお、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202に登録されていないと判断した場合は(SP801:NO)、ログイン失敗の戻り値である「Initiator Error」にして(SP809)処理Cを終える。   If the storage-side CPU 101 determines that the combination of the initiator name and the target name passed as an argument is not registered in the target table 202 (SP801: NO), “Initiator Error” which is the return value of the login failure. (SP809) The process C ends.

このようにして、ホスト計算機110からストレージ装置100にiSCSI Loginコマンドをストレージ装置が受信した場合に、ストレージ装置100はログイン許可応答(SP503)及びユーザがストレージ装置100に対して行うことのできる処理を表す文字列を持たせた応答(SP505)をすることができる。   In this way, when the storage apparatus receives an iSCSI login command from the host computer 110 to the storage apparatus 100, the storage apparatus 100 performs a login permission response (SP503) and processing that the user can perform on the storage apparatus 100. A response (SP505) having a character string to be represented can be made.

また、ホスト計算機110からストレージ装置100上の特定のターゲットの使用の開始が予想されるメッセージをストレージ装置100が受信した場合に(SP506)、ターゲットの名前に応じた処理(SP507)を行うことができる。   Further, when the storage apparatus 100 receives a message from the host computer 110 that is predicted to start using a specific target on the storage apparatus 100 (SP506), processing corresponding to the name of the target (SP507) may be performed. it can.

さらにストレージ装置100はターゲット名に応じて、LUを生成してホスト計算機110に提供することができる。   Furthermore, the storage apparatus 100 can generate an LU according to the target name and provide it to the host computer 110.

(2)第2の実施の形態
次に第2の実施の形態では、ストレージ装置100Aが新規に特定のファイルシステムでフォーマットされたLUを作成する場合の動作について説明する。
(2) Second Embodiment Next, in the second embodiment, an operation when the storage apparatus 100A newly creates an LU formatted with a specific file system will be described.

なお、本実施の形態の記憶システム1A構成は第1の実施の形態における記憶システム1構成と、メモリ102Aを除いて、同様である。また、本実施の形態におけるストレージ装置100Aの動作のうち、第1の実施の形態の図5で示されるシーケンス図及び図6で示される処理Aのフローチャートは同様であるため説明を省略する。本実施の形態では、第1の実施の形態と異なる箇所について説明をする。   The configuration of the storage system 1A in the present embodiment is the same as the configuration of the storage system 1 in the first embodiment except for the memory 102A. Also, among the operations of the storage apparatus 100A in the present embodiment, the sequence diagram shown in FIG. 5 and the flowchart of the process A shown in FIG. In the present embodiment, portions that are different from the first embodiment will be described.

図9は、本実施の形態におけるターゲット表202Aを示す。図9のターゲット表202Aには、ストレージ装置100Aが新規に特定のファイルシステムでフォーマットされたLUを作成するための文字列を追加している。   FIG. 9 shows the target table 202A in the present embodiment. In the target table 202A of FIG. 9, a character string for the storage apparatus 100A to newly create an LU formatted with a specific file system is added.

本実施の形態の処理Bについては、ストレージ側CPU101が、ターゲットプログラム201Aに基づいて処理を行う。本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP703を除いて同様である。   Regarding the process B of the present embodiment, the storage-side CPU 101 performs a process based on the target program 201A. The process B described in the present embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP703.

本実施の形態では、図7のステップSP703に相当するステップ(図示せず)において、第1の実施の形態で説明したターゲット名のほかに、文字列「iqn.init」、イニシエータ番号、文字「−」、LU容量、文字列「gb−」、RAIDレベル、文字「−」、ファイルシステム名、文字列「−LU」、LUNを左から順に連結したものをターゲット名として生成し、生成したターゲット名をターゲット表202Aに追加する。ここでファイルシステム名は「ntfs(NT File System)」「ext3」等の代表的なファイルシステムを設定するものとする。   In the present embodiment, in a step (not shown) corresponding to step SP703 in FIG. 7, in addition to the target name described in the first embodiment, a character string “iqn.init”, an initiator number, and a character “ -", LU capacity, character string" gb- ", RAID level, character"-", file system name, character string" -LU ", concatenated LUNs in order from the left are generated as target names, and the generated target The name is added to the target table 202A. Here, a typical file system such as “ntfs (NT File System)” or “ext3” is set as the file system name.

本実施の形態で説明をする処理Cは、図8で説明をした第1の実施の形態における処理Cと、ステップSP806を除いて同様である。本実施の形態では、図8のステップSP806に相当するステップ(図示せず)において、ターゲット名の文字列中でRAIDレベルとLUNの間にファイルシステム名が含まれていた場合、ストレージ側CPU101は、該当するファイルシステムをLUに書き込む。   The process C described in the present embodiment is the same as the process C in the first embodiment described in FIG. 8 except for step SP806. In the present embodiment, if a file system name is included between the RAID level and LUN in the character string of the target name in a step (not shown) corresponding to step SP806 in FIG. Write the corresponding file system to the LU.

このようにして、ホスト計算機110はストレージ100における特定のファイルシステムでフォーマットされたLUを周辺機器として使用できるようになる。   In this way, the host computer 110 can use an LU formatted with a specific file system in the storage 100 as a peripheral device.

(3)第3の実施の形態
第3の実施の形態では、ストレージ装置100Bが既存のLUのバックアップを作成する場合の動作について説明する。
(3) Third Embodiment In the third embodiment, an operation when the storage apparatus 100B creates a backup of an existing LU will be described.

なお、本実施の形態の記憶システム1B構成は、第1の実施の形態における記憶システム1構成と、メモリ102Bを除いて、同様である。また、本実施の形態におけるストレージ装置100Bの動作のうち、第1の実施の形態の図5で示されるシーケンス図及び図6で示される処理Aのフローチャートが同様であるため、説明を省略する。本実施の形態では、第1の実施の形態と異なる箇所について説明をする。   The configuration of the storage system 1B according to the present embodiment is the same as the configuration of the storage system 1 according to the first embodiment except for the memory 102B. Further, among the operations of the storage apparatus 100B in the present embodiment, the sequence diagram shown in FIG. 5 and the flowchart of the process A shown in FIG. In the present embodiment, portions that are different from the first embodiment will be described.

図10は、本実施の形態におけるターゲット表202Bを示す。図10のターゲット表202Bには、ストレージ装置100Bが既存のLUのバックアップを作成するための文字列を追加している。   FIG. 10 shows the target table 202B in the present embodiment. A character string for the storage apparatus 100B to create a backup of the existing LU is added to the target table 202B in FIG.

本実施の形態の処理Bについては、ストレージ側CPU101が、ターゲットプログラム201Bに基づいて処理を行う。本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP703を除いて同様である。   Regarding the process B of the present embodiment, the storage-side CPU 101 performs a process based on the target program 201B. The process B described in the present embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP703.

本実施の形態では、図7のステップ703に相当するステップにおいて、第1の実施の形態で説明したターゲット名のほかに、文字列「iqn.init」、イニシエータ番号、文字「−」、文字列「backup」、文字列「−LU」、LUNを左から順に連結したものをターゲット名として生成し、生成したターゲット名をターゲット表202Bに追加する。   In the present embodiment, in a step corresponding to step 703 in FIG. 7, in addition to the target name described in the first embodiment, a character string “iqn.init”, an initiator number, a character “−”, a character string A concatenation of “backup”, character string “-LU”, and LUN in order from the left is generated as a target name, and the generated target name is added to the target table 202B.

本実施の形態で説明をする処理Cは、以下に説明する。処理Cについても、ストレージ側CPU101がターゲットプログラム201Bに基づいて処理を行う。 具体的にはまず、図11に示すように、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Bに登録されているかどうかを判断する(SP901)。   The process C described in the present embodiment will be described below. Also for the process C, the storage-side CPU 101 performs a process based on the target program 201B. Specifically, first, as shown in FIG. 11, the storage-side CPU 101 determines whether or not a pair of initiator name and target name passed as an argument is registered in the target table 202B (SP901).

そして、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Bに登録されていると判断した場合には(SP901:YES)、次に、ターゲット名に「backup」が含まれているかどうか判断する(SP902)。ストレージ側CPU101は、ターゲット名に「backup」が含まれていると判断した場合には、ターゲット名を読み込み、ターゲット表202Bから当該LUに対応するLUNの番号を識別し、読み込まれたLUの複製を作成する(SP903)。従って複製されたLUは、読み込まれたLUと同一のRAIDレベル、容量及びデータを有することになる。   If the storage-side CPU 101 determines that the combination of the initiator name and the target name passed as an argument is registered in the target table 202B (SP901: YES), next, “backup” is set as the target name. It is determined whether it is included (SP902). If the storage-side CPU 101 determines that “backup” is included in the target name, it reads the target name, identifies the LUN number corresponding to the LU from the target table 202B, and copies the read LU. Is created (SP903). Therefore, the replicated LU has the same RAID level, capacity and data as the read LU.

次にストレージ側CPU101は、複製したLUのLUN及びディスク使用量をターゲット表202Bに追加する(SP904)。そしてストレージ側CPU101は、ターゲットであるLUが移動したとする戻り値である「Target Moved Temporarily」にして(SP905)処理Cを終える。なお戻り値は、通常のログインではないことをホスト計算機110が識別できるだけの戻り値でよく、「Target Moved Temporarily」に限られない。   Next, the storage-side CPU 101 adds the LUN and disk usage of the copied LU to the target table 202B (SP904). Then, the storage-side CPU 101 sets “Target Moved Temporarily”, which is a return value indicating that the target LU has moved (SP905), and ends the process C. The return value may be a return value that allows the host computer 110 to identify that it is not a normal login, and is not limited to “Target Moved Temporarily”.

なお、ステップSP906からステップSP910の処理は、上述した図8のステップSP805からSP809の処理と同じなので、説明を省略する。   Note that the processing from step SP906 to step SP910 is the same as the processing from step SP805 to SP809 in FIG.

このようにして、ホスト計算機110は必要に応じてLUのバックアップを作成することができる。   In this way, the host computer 110 can create an LU backup as necessary.

(4)第4の実施の形態
第4実施形態では、ストレージ装置100Cが既存のイニシエータの設定情報を提供する場合の動作について説明する。
(4) Fourth Embodiment In the fourth embodiment, an operation when the storage apparatus 100C provides the setting information of an existing initiator will be described.

本実施の形態の記憶システム1C構成は第1の実施の形態における記憶システム1構成と、メモリ102Cを除いて、同様である。また、本実施の形態におけるストレージ装置100Cの動作のうち、第1の実施の形態の図5で示されるシーケンス図及び図6で示される処理Aのフローチャートは同様であるので、説明を省略する。本実施の形態では、第1の実施の形態と異なる箇所について説明をする。   The storage system 1C configuration of the present embodiment is the same as the storage system 1 configuration of the first embodiment except for the memory 102C. Of the operations of the storage apparatus 100C in the present embodiment, the sequence diagram shown in FIG. 5 and the flowchart of the process A shown in FIG. In the present embodiment, portions that are different from the first embodiment will be described.

図12は、本実施の形態におけるターゲット表202Cを示す。図12のターゲット表202Cには、ストレージ装置100Cが既存のイニシエータの設定情報を提供するための文字列を追加している。本実施の形態の処理Bについては、ストレージ側CPU101がターゲットプログラム201Cに基づいて処理を行う。本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP703を除いて同様である。   FIG. 12 shows a target table 202C in the present embodiment. In the target table 202C of FIG. 12, a character string for the storage apparatus 100C to provide the setting information of the existing initiator is added. Regarding the process B of the present embodiment, the storage-side CPU 101 performs a process based on the target program 201C. The process B described in the present embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP703.

本実施の形態では、図7のステップ703に相当するステップにおいて、第1実施形態で説明したターゲット名のほかに、ターゲット名は、文字列「iqn.init」、イニシエータ番号、文字「−」、文字列「showconfig」、文字「−」、ファイルシステム名を左から順に連結したものをターゲット名として生成し、生成したターゲット名をターゲット表202Cに追加する。   In the present embodiment, in the step corresponding to step 703 in FIG. 7, in addition to the target name described in the first embodiment, the target name includes a character string “iqn.init”, an initiator number, a character “−”, A character string “showconfig”, a character “−”, and a file system name concatenated in order from the left are generated as a target name, and the generated target name is added to the target table 202C.

本実施の形態で説明をする処理Cは、以下に説明する。本実施の形態の処理Cについても、ストレージ側CPU101がターゲットプログラム201Cに基づいて処理を行う。   The process C described in the present embodiment will be described below. Also for the processing C of the present embodiment, the storage-side CPU 101 performs processing based on the target program 201C.

具体的にはまず、図13に示すように、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Cに登録されているかどうかを判断する(SP1001)。   Specifically, first, as shown in FIG. 13, the storage-side CPU 101 determines whether or not the combination of initiator name and target name passed as an argument is registered in the target table 202C (SP1001).

そして、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Cに登録されていると判断した場合には(SP1001:YES)、次に、ターゲット名に「showconfig」が含まれているかどうか判断する(SP1002)。   If the storage-side CPU 101 determines that the combination of the initiator name and the target name passed as an argument is registered in the target table 202C (SP1001: YES), then “showconfig” is set as the target name. It is determined whether it is included (SP1002).

ストレージ側CPU101は、ターゲット名に「showconfig」が含まれていると判断した場合には(SP1002:YES)、ターゲット名を読み込み、ターゲット表202Cから当該LUに対応するLUN及びディスク使用量をターゲット表202Cに追加し(SP1003)新規なLUを作成する(SP1004)。このときホスト計算機110に割当てるLUは、未割当てのLUであればよい。またディスク使用量は、後記する実行プログラムを記録できる容量であればよい。   When the storage-side CPU 101 determines that “showconfig” is included in the target name (SP1002: YES), the storage-side CPU 101 reads the target name and reads the LUN and disk usage corresponding to the LU from the target table 202C. Add to 202C (SP1003) and create a new LU (SP1004). At this time, the LU allocated to the host computer 110 may be an unallocated LU. The disk usage may be any capacity that can record an execution program to be described later.

そしてストレージ側CPU101は、ターゲット名を読み込んだ際にファイルシステム名を識別し、該当するファイルシステムをLUに書き込んだ上で、このLU上に、Windows(登録商標)、Linux等の代表的なOS上で実行できる実行プログラムを書き込む(SP1005)。この実行プログラムは、ホスト計算機110上で実行された時に、該当するイニシエータに割り当てられているターゲットのターゲット名、割り当てポート、LUN、ディスク使用量の組をホスト計算機110のディスプレイ等の出力装置へ表示するものとする。そしてストレージ側CPU101は、戻り値を「Target Moved Temporarily」にして(SP1006)処理Cを終える。   Then, the storage-side CPU 101 identifies the file system name when reading the target name, writes the corresponding file system in the LU, and a typical OS such as Windows (registered trademark) or Linux on this LU. An execution program that can be executed above is written (SP1005). When this execution program is executed on the host computer 110, it displays on the output device such as the display of the host computer 110 the set of the target name, assigned port, LUN, and disk usage of the target assigned to the relevant initiator. It shall be. Then, the storage-side CPU 101 sets the return value to “Target Moved Temporarily” (SP1006) and ends the process C.

なお、ステップSP1007からステップSP1011の処理は、上述した図8のステップSP805からSP809の処理と同じなので、説明を省略する。   Note that the processing from step SP1007 to step SP1011 is the same as the processing from step SP805 to SP809 in FIG.

このようにして、ユーザがホスト計算機110を操作することによって、ストレージ装置100Cに設定されている情報を必要に応じて確認することができる。   In this way, when the user operates the host computer 110, the information set in the storage apparatus 100C can be confirmed as necessary.

(5)第5の実施の形態
第5の実施の形態では、ストレージ装置100Dが特定のイニシエータのパスワードを変更する場合の動作について説明する。
(5) Fifth Embodiment In the fifth embodiment, an operation when the storage apparatus 100D changes the password of a specific initiator will be described.

本実施の形態の記憶システム1D構成は第1の実施の形態における記憶システム1構成と、メモリ102Dを除いて、同様である。また、本実施の形態におけるストレージ装置100Dの動作のうち、第1の実施の形態の図5で示されるシーケンス図及び図6で示される処理Aのフローチャートは同様であるため、説明を省略する。本実施の形態では、第1の実施の形態と異なる箇所について説明をする。   The storage system 1D configuration of the present embodiment is the same as the storage system 1 configuration of the first embodiment except for the memory 102D. Also, among the operations of the storage apparatus 100D in the present embodiment, the sequence diagram shown in FIG. 5 and the flowchart of the process A shown in FIG. In the present embodiment, portions that are different from the first embodiment will be described.

図14は、本実施の形態におけるターゲット表202Dを示す。図14のターゲット表202Dには、ストレージ装置100Dが特定のイニシエータのパスワードを変更するための文字列を追加している。   FIG. 14 shows a target table 202D in the present embodiment. A character string for the storage apparatus 100D to change the password of a specific initiator is added to the target table 202D in FIG.

図15は、本実施の形態におけるイニシエータ管理表203Dを示す。図15のイニシエータ管理表203Dは、図4で説明をした「イニシエータ番号」フィールド401、「イニシエータ名」フィールド402及び「最大ディスク使用量」フィールド403に加え、「パスワード」フィールド404から構成される。   FIG. 15 shows an initiator management table 203D in the present embodiment. The initiator management table 203D of FIG. 15 includes a “password” field 404 in addition to the “initiator number” field 401, the “initiator name” field 402, and the “maximum disk usage” field 403 described in FIG.

「パスワード」フィールド404には、イニシエータに対してユーザが設定したパスワードが格納されている。   The “password” field 404 stores a password set by the user for the initiator.

本実施の形態の処理Bについては、ストレージ側CPU101がターゲットプログラム201Dに基づいて処理を行う。本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP703を除いて同様である。   Regarding the process B of the present embodiment, the storage-side CPU 101 performs a process based on the target program 201D. The process B described in the present embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP703.

本実施の形態では、図7のステップ703に相当するステップにおいて、第1実施形態で説明したターゲット名のほかに、ターゲット名は、文字列「iqn.init」、イニシエータ番号、文字「−」、文字列「changepassword」、文字「−」、ファイルシステム名を左から順に連結したものをターゲット名として生成し、生成したターゲット名をターゲット表202Dに追加する。   In the present embodiment, in the step corresponding to step 703 in FIG. 7, in addition to the target name described in the first embodiment, the target name includes a character string “iqn.init”, an initiator number, a character “−”, A character string “changepassword”, a character “−”, and a file system name concatenated in order from the left are generated as a target name, and the generated target name is added to the target table 202D.

本実施の形態で説明をする処理Cは、以下に説明する。本実施の形態の処理Cについても、ストレージ側CPU101がターゲットプログラム201Dに基づいて処理を行う。   The process C described in the present embodiment will be described below. Also for the processing C of the present embodiment, the storage-side CPU 101 performs processing based on the target program 201D.

具体的にはまず、図16に示すように、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Dに登録されているかどうかを判断する(SP1101)。   Specifically, first, as shown in FIG. 16, the storage-side CPU 101 determines whether or not the combination of initiator name and target name passed as an argument is registered in the target table 202D (SP1101).

そして、ストレージ側CPU101は、引数として渡されたイニシエータ名及びターゲット名の組がターゲット表202Dに登録されていると判断した場合には(SP1101:YES)、次に、ターゲット名に「changepassword」が含まれているかどうか判断する(SP1102)。   If the storage-side CPU 101 determines that the combination of the initiator name and the target name passed as an argument is registered in the target table 202D (SP1101: YES), next, “changepassword” is added to the target name. It is determined whether it is included (SP1102).

ストレージ側CPU101は、ターゲット名に「changepassword」が含まれていると判断した場合には(SP1102:YES)、読み込んだターゲット名から該当するファイルシステムをLUに書き込んだ上で、Windows(登録商標)、Linux等の代表的なOS上で実行できる実行プログラムを書き込む(SP1103)。   If the storage-side CPU 101 determines that “changepassword” is included in the target name (SP1102: YES), it writes the corresponding file system from the read target name to the LU and then Windows (registered trademark). An execution program that can be executed on a typical OS such as Linux is written (SP1103).

次に、ストレージ側CPU101は、ストレージ装置100Dにおいて、実行プログラムの指定が未使用となっているUDPポート番号の1つを待受け状態とする(SP1104)。   Next, the storage-side CPU 101 sets one of the UDP port numbers for which execution program designation is unused in the storage apparatus 100D to be in a standby state (SP1104).

ホスト計算機110は上記実行プログラムを実行することで、ユーザは新しいパスワードを入力することができる。そうして、ユーザが新しいパスワードを入力すると、ホスト計算機110は、ストレージ装置100Dに当該パスワードを送信する。   By executing the execution program, the host computer 110 allows the user to input a new password. When the user inputs a new password, the host computer 110 transmits the password to the storage apparatus 100D.

そしてストレージ側CPU101は新しいパスワードを受信したか否かを判断する(SP1105)。ストレージ側CPU101は新しいパスワードを受信したと判断した場合には(SP1105:YES)、イニシエータ管理表203Dを更新し(SP1106)、UDPポート番号の待受け状態を解除する(SP1108)。   Then, the storage-side CPU 101 determines whether or not a new password has been received (SP1105). If the storage-side CPU 101 determines that a new password has been received (SP1105: YES), it updates the initiator management table 203D (SP1106) and cancels the standby state for the UDP port number (SP1108).

一方、ストレージ側CPU101は新しいパスワードを受信していないと判断した場合には(SP1105:NO)、待受け開始から一定時間を経過したかを判断する(SP1107)。ストレージ側CPU101は、待受け開始から一定時間を経過していないと判断した場合には(SP1107:NO)、ステップSP1105に戻る。   On the other hand, if the storage-side CPU 101 determines that a new password has not been received (SP1105: NO), the storage-side CPU 101 determines whether a predetermined time has elapsed since the start of standby (SP1107). When the storage-side CPU 101 determines that a certain time has not elapsed since the start of standby (SP1107: NO), the storage-side CPU 101 returns to step SP1105.

ストレージ側CPU101は、待受け開始から一定時間を経過していると判断した場合には(SP1107:NO)、UDPポート番号の待受け状態を解除する(SP1108)。そうして、ストレージ側CPU101は、戻り値を「Success」にして(SP1109)処理Cを終える。   If the storage-side CPU 101 determines that a certain time has elapsed since the start of standby (SP1107: NO), the storage-side CPU 101 cancels the standby state of the UDP port number (SP1108). Then, the storage-side CPU 101 sets the return value to “Success” (SP1109) and ends the process C.

なお、ステップSP1110からステップSP1114の処理は、上述した図8のステップSP805からSP809の処理と同じなので、説明を省略する。   Note that the processing from step SP1110 to step SP1114 is the same as the processing from step SP805 to SP809 in FIG.

このようにして、ユーザは必要に応じてストレージ装置100Dに設定されているパスワードを自ら変更することができる。   In this way, the user can change the password set in the storage apparatus 100D as needed.

(6)第6の実施の形態
第6の実施の形態では、ストレージ装置100Eが、LUの対の生成や、対となっているLU間のデータの再同期あるいは復元を行ったり、対となっているLUの状態を変更したりする場合の動作について説明する。本実施の形態においては、2つのLUが対をなすことができ、LUの対は正ボリュームと副ボリュームからなるものとする。
(6) Sixth Embodiment In the sixth embodiment, the storage apparatus 100E creates a pair of LUs, resynchronizes or restores data between the paired LUs, or makes a pair. The operation when changing the status of the LU being changed will be described. In this embodiment, it is assumed that two LUs can make a pair, and the LU pair consists of a primary volume and a secondary volume.

本実施の形態の記憶システム1E構成は第1の実施の形態における記憶システム1構成と、メモリ102Eを除いて、同様である。また、本実施の形態におけるストレージ装置100Eの動作のうち、第1の実施の形態の図5で示されるシーケンス図及び図6で示される処理Aのフローチャートは同様であるため、説明を省略する。本実施の形態では、第1の実施の形態と異なる箇所について説明をする。   The storage system 1E configuration of the present embodiment is the same as the storage system 1 configuration of the first embodiment except for the memory 102E. Further, among the operations of the storage apparatus 100E in the present embodiment, the sequence diagram shown in FIG. 5 and the flowchart of the processing A shown in FIG. In the present embodiment, portions that are different from the first embodiment will be described.

図17は、本実施の形態におけるメモリ102Eを示す。メモリ102Eには、ターゲットプログラム201Eと、ターゲット表202Eと、イニシエータ管理表203Eと、LU(管理)表204Eと、が記憶される。   FIG. 17 shows the memory 102E in the present embodiment. The memory 102E stores a target program 201E, a target table 202E, an initiator management table 203E, and an LU (management) table 204E.

ターゲットプログラム201Eは、ホスト計算機110上で動作しているイニシエータプログラム111との間で、iSCSIの規格に従いiSCSI PDU(Protocol Data Unit)の送受信を行うためのプログラムである。またターゲットプログラム201は、ホスト側CPU112のイニシエータプログラム111の処理に基づくiSCSI Login PDUの受信を契機として、LUの対の生成や、対となっているLU間のデータの再同期あるいは復元を行ったり、対となっているLUの状態の変更を行ったりするが、このときの動作の詳細は図18から図27を用いて後記する。   The target program 201E is a program for transmitting and receiving iSCSI PDU (Protocol Data Unit) according to the iSCSI standard with the initiator program 111 operating on the host computer 110. Also, the target program 201 generates an LU pair and resynchronizes or restores data between the paired LUs when receiving an iSCSI Login PDU based on the processing of the initiator program 111 of the host side CPU 112. The state of the paired LU is changed, and details of the operation at this time will be described later with reference to FIGS.

またターゲットプログラム201は、後記する「PAIR」の状態の正ボリュームへの書き込み要求をホスト計算機110から受信した場合、正ボリュームへのデータ書き込みと同時に、対応する副ボリュームへ同一のデータ書き込みを行う。またターゲットプログラム201は、後記する「PAIR」の状態または「COPY」の状態の副ボリュームへの書き込み要求をホスト計算機110から受信した場合、副ボリュームへの書き込みを行わず、ホスト計算機110へエラーを応答する。ターゲット表202Eおよびイニシエータ管理表203Eは、第1の実施の形態におけるものと同様のものである。   When the target program 201 receives a write request to the primary volume in the “PAIR” state, which will be described later, from the host computer 110, the target program 201 writes the same data to the corresponding secondary volume simultaneously with the data write to the primary volume. Further, when the target program 201 receives a write request to the secondary volume in the “PAIR” state or “COPY” state described later from the host computer 110, the target program 201 does not write to the secondary volume and gives an error to the host computer 110. respond. The target table 202E and the initiator management table 203E are the same as those in the first embodiment.

LU表204Eは、図18に示す通り、「イニシエータ名」フィールド1801、「LUN」フィールド1802、「P/S」フィールド1803、「状態」フィールド1804及び「経過時間」フィールド1805、「進捗率」フィールド1806、「スループット」フィールド1807、「残り時間」フィールド1808、「対LU」フィールド1809の情報からなるテーブルである。   As shown in FIG. 18, the LU table 204E includes an “initiator name” field 1801, a “LUN” field 1802, a “P / S” field 1803, a “status” field 1804, an “elapsed time” field 1805, and a “progress rate” field. 1806, a “throughput” field 1807, a “remaining time” field 1808, and a “vs. LU” field 1809.

「イニシエータ名」フィールド1801には、iSCSIイニシエータを識別する名前が格納されている。「LUN」フィールド1802には、LUを識別する番号が格納されている。「P/S」フィールド1803には、対となっているLUについて、正ボリュームを意味する「P」の文字か、副ボリュームを意味する「S」の文字が格納されている。「状態」フィールド1804には、LUの状態に関する情報が格納されている。   The “initiator name” field 1801 stores a name for identifying the iSCSI initiator. The “LUN” field 1802 stores a number for identifying the LU. In the “P / S” field 1803, for a pair of LUs, a letter “P” meaning primary volume or a letter “S” meaning secondary volume is stored. The “status” field 1804 stores information related to the LU status.

「SMPL」は、対となる他のLUを持たない状態を意味する。「PAIR」は、対となるボリュームとデータが同期しており、同一データの書き込みが行われる状態を意味する。「SUS」は、対となるボリュームの間でデータの同期を停止しており、書き込みが正ボリュームにのみ行われる状態を意味する。「COPY」は、正副ボリューム間でのデータコピーが行われている状態を意味する。   “SMPL” means a state where there is no other LU as a pair. “PAIR” means a state in which data is synchronized with a paired volume and the same data is written. “SUS” means a state in which data synchronization is stopped between the paired volumes, and writing is performed only to the primary volume. “COPY” means that data is being copied between primary and secondary volumes.

「経過時間」フィールド1805には、「COPY」状態のLUのLU間データコピーの経過時間が格納されている。「進捗率」フィールド1806には、「COPY」状態のLUのLU間データコピーの進捗率が格納されている。「スループット」フィールド1807には、「COPY」状態のLUのLU間データコピーのスループットが格納されている。「残り時間」フィールドには1808、「COPY」状態のLUのLU間データコピーの残り時間が格納されている。「対LU」フィールド1809には、対となっている相手のLUを識別する番号が格納されている。   The “elapsed time” field 1805 stores the elapsed time of the inter-LU data copy of the LU in the “COPY” state. The “progress rate” field 1806 stores the progress rate of the inter-LU data copy of the LU in the “COPY” state. The “throughput” field 1807 stores the throughput of the inter-LU data copy of the LU in the “COPY” state. In the “remaining time” field, 1808, the remaining time of the inter-LU data copy of the LU in the “COPY” state is stored. The “paired LU” field 1809 stores a number for identifying the partner LU of the pair.

コマンド表205Eは、図19に示す通り、「状態」フィールド1901、「paircreate」フィールド1902、「split」フィールド1903、「suspend」フィールド1904、「resync」フィールド1905、「restore」フィールド1906、「abort」フィールド1907の情報からなるテーブルである。   As shown in FIG. 19, the command table 205E includes a “status” field 1901, a “paircreate” field 1902, a “split” field 1903, a “suspend” field 1904, a “resync” field 1905, a “restore” field 1906, and “abort”. It is a table consisting of information in field 1907.

「paircreate」は、「SMPL」状態のLUを正ボリュームとして、副ボリュームとなるLUを新規に作成するコマンドである。「split」は、LUの対を解消するコマンドである。「suspend」は、「PAIR」状態のLU対の状態を「SUS」に変更し、副ボリュームへの書き込みを停止するコマンドである。   “Paircreate” is a command for newly creating an LU serving as a secondary volume using an LU in the “SMPL” state as a primary volume. “Split” is a command for canceling an LU pair. “Suspend” is a command that changes the state of the LU pair in the “PAIR” state to “SUS” and stops writing to the secondary volume.

「resync」は、正ボリュームのデータを副ボリュームに再同期させるコマンドである。「restore」は、副ボリュームのデータを正ボリュームに復元させるコマンドである。「abort」は、実行中のデータ再同期あるいはデータ復元を中止するコマンドである。 “Resync” is a command for resynchronizing the data of the primary volume with the secondary volume. “Restore” is a command for restoring the secondary volume data to the primary volume. “Abort” is a command for canceling data resynchronization or data restoration being executed.

各フィールドの値「1」は、該当する状態でコマンドが実行可能であることを、各フィールドの値「0」は、該当する状態でコマンドが実行不可能であることを表す。例えば、図19では、「SMPL」状態のLUに対して実行可能なコマンドは「paircreate」のみであることを表す。   A value “1” in each field indicates that the command can be executed in the corresponding state, and a value “0” in each field indicates that the command cannot be executed in the corresponding state. For example, FIG. 19 indicates that the only command that can be executed on an LU in the “SMPL” state is “paircreate”.

本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP703を除いて同様である。本実施の形態のターゲット表202Eは、 図14におけるターゲット表202Dと同様な構成である。   The process B described in the present embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP703. The target table 202E of the present embodiment has the same configuration as the target table 202D in FIG.

図20に、ディスカバリセッションのログインを受けたときにターゲットプログラム201Eが行う処理Bを示す。本実施の形態で説明をする処理Bは、図7で説明をした第1の実施の形態における処理Bと、ステップSP2002を除いて、(ステップSP2003〜SP2005は、SP703〜SP707と同様)同様である。   FIG. 20 shows processing B performed by the target program 201E when receiving a login of a discovery session. The process B described in this embodiment is the same as the process B in the first embodiment described in FIG. 7 except for step SP2002 (steps SP2003 to SP2005 are the same as SP703 to SP707). is there.

ステップSP2002では、LU表204Eとコマンド表205Eを参照することで、各LUに実行可能なコマンドを判断し、これをもとにターゲット名を生成する。例えば、イニシエータ名「initiator0」のLUN「0」のLUに対して実行可能なコマンドはpaircreateのみであるため、「iqn.init000-lu0-paircreate」というターゲット名のターゲットをターゲット表202Eに追加する。これに加えて、ターゲットプログラム201Eは、その時点での各LUの状態、経過時間、進捗率、スループット、残り時間をターゲット名に含めるよう、ターゲット表202Eを更新する。   In step SP2002, by referring to the LU table 204E and the command table 205E, a command executable for each LU is determined, and a target name is generated based on the command. For example, since the only command that can be executed for the LU of the LUN “0” having the initiator name “initiator0” is paircreate, the target having the target name “iqn.init000-lu0-paircreate” is added to the target table 202E. In addition to this, the target program 201E updates the target table 202E so that the state, elapsed time, progress rate, throughput, and remaining time of each LU at that time are included in the target name.

例えば、ターゲットプログラム201Eは、LUの機能情報である、「iqn.init000-lu0-」に、LUの状態に応じて実行可能な処理情報である、「paircreate」を付加したターゲット名(ボリューム情報)を生成するとともに、リアルタイムなLU内部状態を示す内部状態情報である、「各LUの状態、経過時間、進捗率、スループット、残り時間」などを付加したターゲット名(ボリューム情報)をホスト計算機110に対する応答情報として生成し、生成したターゲット名でターゲット表202Eを更新する。   For example, the target program 201E adds “paircreate”, which is processing information executable according to the state of the LU, to “iqn.init000-lu0-”, which is LU function information, and the target name (volume information). And the target name (volume information) to which the internal status information indicating the real-time LU internal status, including “the status of each LU, elapsed time, progress rate, throughput, remaining time” and the like, is added to the host computer 110. It is generated as response information, and the target table 202E is updated with the generated target name.

図21に、本実施の形態におけるターゲット表202Eの例を示す。ターゲット名「iqn.init000-lu5:p-copy-00:01:42-38.2percent-233mbps-00:02:45」は、LUN「5」のLUは正ボリュームであり、状態は「COPY」であり、コピーの経過時間が1分42秒であり、進捗率が38.2%であり、スループットが毎秒233メガバイトであり、残り時間が2分45秒であることを意味する。ホスト計算機110上のイニシエータプログラム111は、ディスカバリセッションのログインの応答(SP505)として、これらのターゲット名を受信する。   FIG. 21 shows an example of the target table 202E in the present embodiment. For the target name "iqn.init000-lu5: p-copy-00: 01: 42-38.2percent-233mbps-00: 02: 45", the LUN of LUN "5" is a primary volume and the status is "COPY" Yes, the copy elapsed time is 1 minute 42 seconds, the progress rate is 38.2%, the throughput is 233 megabytes per second, and the remaining time is 2 minutes 45 seconds. The initiator program 111 on the host computer 110 receives these target names as a discovery session login response (SP505).

以下、図5におけるステップSP506において、ストレージ側CPU101がホスト側CPU112から受信したiSCSI Login (Normal Session)が宛先とするターゲット名の末尾が、コマンド表205Eにおけるコマンドを表す文字列である場合のターゲットプログラム201Eの動作を説明する。   Hereinafter, in step SP506 in FIG. 5, the target program when the end of the target name destined for the iSCSI Login (Normal Session) received by the storage-side CPU 101 from the host-side CPU 112 is a character string representing a command in the command table 205E. The operation of 201E will be described.

図22は、ログイン先ターゲット名の末尾が「paircreate」であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2201:Yes)、該当するLUと同一の容量のLUを新規に作成し(SP2202)、初期コピーを開始し(SP2203)、前者のLUを正ボリューム、後者のLUを副ボリュームとして、状態を「COPY」とすべく、LU表204Eとターゲット表202Eを更新する(SP2204)。初期コピーが完了すると(SP2205:Yes)、これらのLUの状態を「PAIR」とすべく、LU表204Eとターゲット表202Eを更新する(SP2206)。   FIG. 22 shows the operation of the target program 201E when the end of the login destination target name is “paircreate”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2201: Yes), the target program 201E creates a new LU having the same capacity as the corresponding LU ( SP2202), the initial copy is started (SP2203), the LU table 204E and the target table 202E are updated so that the former LU is the primary volume and the latter LU is the secondary volume and the status is “COPY” (SP2204). When the initial copy is completed (SP2205: Yes), the LU table 204E and the target table 202E are updated so that the state of these LUs is “PAIR” (SP2206).

図23は、ログイン先ターゲット名の末尾が「split」であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2301:Yes)、該当するLUの対を解消し、両LUの状態を「SMPL」とすべく、LU表204Eとターゲット表202Eを更新する(SP2302)。   FIG. 23 shows the operation of the target program 201E when the end of the login destination target name is “split”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2301: Yes), the target program 201E cancels the corresponding LU pair and changes the status of both LUs to “ The LU table 204E and the target table 202E are updated to “SMPL” (SP2302).

図24は、ログイン先ターゲット名の末尾が「suspend」であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2401:Yes)、該当するLUの対の状態を「SUS」とすべく、LU表204Eとターゲット表202Eを更新する(SP2402)。   FIG. 24 shows the operation of the target program 201E when the login destination target name ends with “suspend”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2401: Yes), the target program 201E sets the corresponding LU pair status to “SUS”. The LU table 204E and the target table 202E are updated (SP2402).

図25は、ログイン先ターゲット名の末尾が「resync」であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2501:Yes)、該当する正ボリュームから副ボリュームへのデータ再同期を開始し(SP2502)、両LUの状態を「COPY」とすべく、LU表204Eとターゲット表202Eを更新する(SP2503)。再同期が完了すると(SP2504:Yes)、これらのLUの状態を「SUS」とすべく、LU表204Eとターゲット表202Eを更新する(SP2505)。   FIG. 25 shows the operation of the target program 201E when the login destination target name ends with “resync”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2501: Yes), the target program 201E starts data resynchronization from the corresponding primary volume to the secondary volume. (SP2502) The LU table 204E and the target table 202E are updated so that the state of both LUs is “COPY” (SP2503). When resynchronization is completed (SP2504: Yes), the LU table 204E and the target table 202E are updated so that the state of these LUs is “SUS” (SP2505).

図26は、ログイン先ターゲット名の末尾が「restore」であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2601:Yes)、該当する副ボリュームから正ボリュームへのデータ復元を開始し(SP2602)、両LUの状態を「COPY」とすべく、LU表204Eとターゲット表202Eを更新する(SP2603)。データ復元が完了すると(SP2604:Yes)、これらのLUの状態を「SUS」とすべく、LU表202Eとターゲット表202Eを更新する(SP2605)。   FIG. 26 shows the operation of the target program 201E when the login destination target name ends with “restore”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2601: Yes), the target program 201E starts data restoration from the corresponding secondary volume to the primary volume ( SP2602), the LU table 204E and the target table 202E are updated so that the state of both LUs is “COPY” (SP2603). When the data restoration is completed (SP2604: Yes), the LU table 202E and the target table 202E are updated so that the state of these LUs is “SUS” (SP2605).

図27は、ログイン先ターゲット名の末尾が「abort」に続く文字列であるときのターゲットプログラム201Eの動作を表す。ターゲットプログラム201Eは、iSCSIログイン要求に含まれるイニシエータ名・ターゲット名の組がターゲット表202Eに登録されているならば(SP2701:Yes)、該当するLU間のデータ再同期あるいはデータ復元を中止し(SP2702)、両LUの状態を「SUS」とすべく、LU表204Eとターゲット表202Eを更新する(SP2703)。   FIG. 27 shows the operation of the target program 201E when the end of the login destination target name is a character string following “abort”. If the initiator name / target name pair included in the iSCSI login request is registered in the target table 202E (SP2701: Yes), the target program 201E stops data resynchronization or data restoration between the corresponding LUs ( SP2702), the LU table 204E and the target table 202E are updated so that the state of both LUs is “SUS” (SP2703).

なお、ターゲット名の末尾において「abort」に続く文字列は、該当するボリュームのデータ再同期あるいはデータ復元の経過時間、進捗率、スループット、残り時間を表すものであり、ユーザはこれらの情報を確認した上でデータ再同期あるいはデータ復元を中止すべきかどうか判断することができる。   The character string following “abort” at the end of the target name indicates the elapsed time, progress rate, throughput, and remaining time of data resynchronization or data restoration of the corresponding volume. The user confirms this information. In addition, it is possible to determine whether or not to stop data resynchronization or data restoration.

以上述べた実施形態では、単一のiSCSIターゲットのターゲット名が、単一のLUに対するコマンド操作あるいは状態を表すものであったが、単一のiSCSIターゲットのターゲット名が、複数のLUに対するコマンド操作あるいは状態を表すという実施形態をとってもよい。この場合、例えば「iqn.init000-lu1-lu3-split」という名のターゲットが、LUNが1であるLUとLUNが3であるLUに対する対の解消を行うためのターゲットを意味するように本発明を実施することができる。   In the embodiments described above, the target name of a single iSCSI target represents a command operation or status for a single LU, but the target name of a single iSCSI target is a command operation for multiple LUs. Or you may take embodiment which represents a state. In this case, for example, the target named “iqn.init000-lu1-lu3-split” means a target for performing pair resolution for an LU with a LUN of 1 and an LU with a LUN of 3. Can be implemented.

このようにして、ユーザは、ストレージ製品の固有の管理ソフトウェアを使用することなく標準的なiSCSIイニシエータのみを使用してLU単位のバックアップ・リストアを行ったり、それらの進捗状況やスループットといったLUの内部状態を監視したり、各LUに対して可能な操作を把握したりすることができるようになる。   In this way, users can perform backup and restore in units of LUs using only standard iSCSI initiators without using the storage software's unique management software, or the internal status of LUs such as their progress and throughput. It is possible to monitor the status and grasp possible operations for each LU.

(7)他の実施の形態
なお、上述の実施の形態においては、ホスト計算機110に割り当て又は未割り当ての前記論理ボリュームの情報をボリューム情報(ターゲット名)として管理する管理部をメモリ102及びターゲット表202により構成し、ホスト計算機110からのコマンドに基づいて、必要な前記ボリューム情報を識別する識別部をCPU101及びターゲットプログラム201により構成し、識別部により識別した必要なボリューム情報に基づいて、ボリューム情報に含まれる論理ボリュームの機能情報に応じた所定の処理を論理ボリュームに対して実行する実行部をCPU101及びターゲットプログラム201により構成した場合について述べたが、本発明はこれに限らず、管理部、識別部及び実行部をそれぞれ個別のハードウェア構成としても良い。
(7) Other Embodiments In the above-described embodiment, the management unit that manages the information of the logical volume allocated or unallocated to the host computer 110 as volume information (target name) is the memory 102 and the target table. 202, and an identification unit for identifying the necessary volume information based on a command from the host computer 110 is configured by the CPU 101 and the target program 201, and volume information based on the necessary volume information identified by the identification unit. Although the execution unit that executes predetermined processing according to the function information of the logical volume included in the logical volume is configured by the CPU 101 and the target program 201, the present invention is not limited to this, and the management unit, Each identification unit and execution unit A hardware configuration may be used.

本発明は、1又は複数のストレージ装置を有する記憶システムや、その他の形態の記憶システムに広く適用することができる。   The present invention can be widely applied to a storage system having one or a plurality of storage devices and other forms of storage systems.

第1の実施の形態における記憶システムの概略図である。1 is a schematic diagram of a storage system according to a first embodiment. 第1の実施の形態におけるメモリ内のブロック図である。2 is a block diagram in a memory according to the first embodiment. FIG. 第1の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 1st embodiment. 第1の実施の形態におけるイニシエータ管理表を示す図表である。4 is a chart showing an initiator management table in the first embodiment. 第1の実施の形態におけるiSCSIログイン時のシーケンスを示す図である。It is a figure which shows the sequence at the time of iSCSI login in 1st Embodiment. 第1の実施の形態におけるターゲットプログラムの処理Aを示すフローチャートである。It is a flowchart which shows the process A of the target program in 1st Embodiment. 第1の実施の形態におけるターゲットプログラムの処理Bを示すフローチャートである。It is a flowchart which shows the process B of the target program in 1st Embodiment. 第1の実施の形態におけるターゲットプログラムの処理Cを示すフローチャートである。It is a flowchart which shows the process C of the target program in 1st Embodiment. 第2の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 2nd embodiment. 第3の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 3rd embodiment. 第3の実施の形態におけるターゲットプログラムの処理Cを示すフローチャートである。It is a flowchart which shows the process C of the target program in 3rd Embodiment. 第4の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 4th embodiment. 第4の実施の形態におけるターゲットプログラムの処理Cを示すフローチャートである。It is a flowchart which shows the process C of the target program in 4th Embodiment. 第5の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 5th embodiment. 第5の実施の形態におけるイニシエータ管理表を示す図表である。It is a chart which shows the initiator management table | surface in 5th Embodiment. 第5の実施の形態におけるターゲットプログラムの処理Cを示すフローチャートである。It is a flowchart which shows the process C of the target program in 5th Embodiment. 第6の実施の形態におけるメモリ内のブロック図である。It is a block diagram in a memory in a 6th embodiment. 第6の実施の形態におけるLU表を示す図表である。It is a chart which shows the LU table in 6th Embodiment. 第6の実施の形態におけるコマンド表を示す図表である。It is a figure which shows the command table in 6th Embodiment. 第6の実施の形態におけるターゲットプログラムの処理Bを示すフローチャートである。It is a flowchart which shows the process B of the target program in 6th Embodiment. 第6の実施の形態におけるターゲット表を示す図表である。It is a chart which shows the target table in a 6th embodiment. 第6の実施の形態におけるpaircreate受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of pair receive reception in 6th Embodiment. 第6の実施の形態におけるsplit受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of split reception in 6th Embodiment. 第6の実施の形態におけるsuspend受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the suspension reception in 6th Embodiment. 第6の実施の形態におけるresync受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of resync reception in 6th Embodiment. 第6の実施の形態におけるrestore受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of restore reception in 6th Embodiment. 第6の実施の形態におけるabort受信時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of abort reception in 6th Embodiment.

符号の説明Explanation of symbols

1……記憶システム、110……ホスト計算機、100……ストレージ装置、102……メモリ、201……ターゲットプログラム、202……ターゲット表202……イニシエータ管理表   DESCRIPTION OF SYMBOLS 1 ... Storage system, 110 ... Host computer, 100 ... Storage apparatus, 102 ... Memory, 201 ... Target program, 202 ... Target table 202 ... Initiator management table

Claims (15)

1又は複数のホスト計算機と、各前記ホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置とを有する記憶システムにおいて、
前記記憶制御装置は、
各前記論理ボリュームに対応するターゲット名を生成する生成部と、
各前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を各前記ホスト計算機に送信する送信部と、
前記ホスト計算機からコマンドを受信し前記コマンドに含まれる前記ターゲット名を識別する識別部と、
前記識別部の識別結果に従って前記ターゲット名に対応する前記論理ボリュームに対する処理を実行する実行部とを備え
前記生成部は、各前記ホスト計算機が前記記憶制御装置に実行を指示できる処理を表す文字列を含むターゲット名を生成し、
前記識別部は、前記ターゲット名に含まれている前記文字列を識別し、
前記実行部は、前記識別部が識別した前記文字列が表す前記処理を実行す
ことを特徴とする記憶システム。
In a storage system having one or a plurality of host computers and a storage control device that provides a plurality of logical volumes that are storage areas for reading and writing data to each of the host computers,
The storage controller is
A generation unit for generating a target name corresponding to each of the logical volumes;
A transmitting unit that transmits one or more target names corresponding to an initiator name identifying each of the host computers to each of the host computers;
An identification unit that receives a command from each of the host computers and identifies the target name included in the command ;
An execution unit that executes processing for the logical volume corresponding to the target name according to the identification result of the identification unit ;
The generation unit generates a target name including a character string representing a process in which each host computer can instruct the storage control device to execute,
The identification unit identifies the character string included in the target name,
Storage system wherein the execution unit, the identification unit is characterized in that that perform the processing represented by the string identified.
前記生成部は、何れかの前記ホスト計算機からのログイン要求に応じて前記ターゲット名を生成し、
前記送信部は、前記ログイン要求を発行したホスト計算機からの情報通知要求に応じて1以上の前記ターゲット名を送信する請求項1記載の記憶システム。
The generation unit generates the target name in response to a login request from any of the host computers,
The storage system according to claim 1 , wherein the transmission unit transmits one or more target names in response to an information notification request from a host computer that has issued the login request .
前記生成部は、何れかの前記ホスト計算機からのディスカバリセッションの開始要求に応じて前記ターゲット名を生成し、
前記送信部は、前記開始要求を発行したホスト計算機からの情報通知要求に応じて、前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を送信し、
前記識別部は、前記ホスト計算機から通常モードのログイン要求を受信し、前記ログイン要求に含まれる前記ターゲット名に前記文字列が含まれているか判断し、
前記実行部は、前記文字列が含まれている場合、前記文字列が表す前記処理を実行する請求項1に記載の記憶システム。
The generation unit generates the target name in response to a discovery session start request from any of the host computers,
In response to the information notification request from the host computer that has issued the start request, the transmission unit transmits one or more target names corresponding to an initiator name that identifies the host computer,
The identification unit receives a normal mode login request from the host computer, determines whether the character string is included in the target name included in the login request,
The storage system according to claim 1, wherein the execution unit executes the process represented by the character string when the character string is included .
前記処理は、前記論理ボリュームの作成、前記論理ボリュームの削除及び前記論理ボリュームの複製の作成を含み、
前記生成部は、前記処理に含まれる何れかを表す前記文字列を含む前記ターゲット名を生成する請求項1に記載の記憶システム。
The processing includes creation of the logical volume, deletion of the logical volume, and creation of a copy of the logical volume,
The storage system according to claim 1, wherein the generation unit generates the target name including the character string representing any one included in the processing .
前記処理は、更に、前記論理ボリュームの対となる副論理ボリュームの作成、対となっている前記論理ボリュームと前記副論理ボリュームとの間の対の解消、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの同期停止、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの再同期及び対となっている前記副論理ボリュームから前記論理ボリュームへのデータの復元を含み、
前記生成部は、前記処理に含まれる何れかを表す前記文字列に加え、前記論理ボリュームのリアルタイムな内部状態を示す内部状態情報を含む前記ターゲット名を生成する請求項に記載の記憶システム。
The processing further includes creation of a secondary logical volume that is a pair of the logical volume, cancellation of a pair between the paired logical volume and the secondary logical volume, and the paired logical volume and the Stop data synchronization with the secondary logical volume, resynchronize data between the paired logical volume and the secondary logical volume, and data from the paired secondary logical volume to the logical volume Including restoration of
The storage system according to claim 4 , wherein the generation unit generates the target name including internal state information indicating a real-time internal state of the logical volume , in addition to the character string representing any of the processes .
1又は複数のホスト計算機と、各前記ホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置とを有する記憶システムの管理方法において、
前記記憶制御装置は、各前記論理ボリュームに対応するターゲット名を生成する生成ステップと、
各前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を各前記ホスト計算機に送信する送信ステップと、
前記ホスト計算機からコマンドを受信し前記コマンドに含まれる前記ターゲット名を識別する識別ステップと、
前記識別ステップの識別結果に従って前記ターゲット名に対応する前記論理ボリュームに対する処理を実行する実行ステップとを実行し、
前記生成ステップでは、各前記ホスト計算機が前記記憶制御装置に実行を指示できる処理を表す文字列を含むターゲット名を生成し、
前記識別ステップでは、前記ターゲット名に含まれている前記文字列を識別し、
前記実行ステップでは、前記識別部が識別した前記文字列が表す前記処理を実行する
記憶システムの管理方法。
In a storage system management method comprising one or a plurality of host computers and a storage controller that provides a plurality of logical volumes comprising storage areas for reading and writing data to each of the host computers,
The storage control device generates a target name corresponding to each of the logical volumes;
Transmitting one or more target names corresponding to an initiator name identifying each of the host computers to each of the host computers;
An identification step of receiving a command from each of the host computers and identifying the target name included in the command ;
Executing the process for the logical volume corresponding to the target name according to the identification result of the identification step ;
In the generation step, a target name including a character string representing a process in which each of the host computers can instruct the storage control device to execute is generated.
In the identification step, the character string included in the target name is identified,
In the execution step, a storage system management method for executing the processing represented by the character string identified by the identification unit .
前記生成ステップでは、何れかの前記ホスト計算機からのログイン要求に応じて前記ターゲット名を生成し、
前記送信ステップでは、前記ログイン要求を発行したホスト計算機からの情報通知要求に応じて1以上の前記ターゲット名を送信する請求項6に記載の管理方法。
In the generation step, the target name is generated in response to a login request from any of the host computers,
The management method according to claim 6, wherein in the transmission step, one or more target names are transmitted in response to an information notification request from a host computer that has issued the login request .
前記生成ステップでは、何れかの前記ホスト計算機からのディスカバリセッションの開始要求に応じて前記ターゲット名を生成し、
前記送信ステップでは、前記開始要求を発行したホスト計算機からの情報通知要求に応じて、前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を送信し、
前記識別ステップでは、前記ホスト計算機から通常モードのログイン要求を受信し、前記ログイン要求に含まれる前記ターゲット名に前記文字列が含まれているか判断し、
前記実行ステップでは、前記文字列が含まれている場合、前記文字列が表す前記処理を実行する請求項6に記載の管理方法。
In the generation step, the target name is generated in response to a discovery session start request from any of the host computers,
In the transmission step, in response to an information notification request from the host computer that issued the start request, one or more target names corresponding to an initiator name that identifies the host computer are transmitted,
In the identification step, a normal mode login request is received from the host computer, and it is determined whether the character string is included in the target name included in the login request;
The management method according to claim 6, wherein, in the execution step, when the character string is included, the process represented by the character string is executed .
前記処理は、前記論理ボリュームの作成、前記論理ボリュームの削除及び前記論理ボリュームの複製の作成を含み、
前記生成ステップでは、前記処理に含まれる何れかを表す前記文字列を含むターゲット名を生成する請求項6に記載の管理方法。
The processing includes creation of the logical volume, deletion of the logical volume, and creation of a copy of the logical volume,
The management method according to claim 6, wherein in the generation step, a target name including the character string representing any one included in the processing is generated.
前記処理は、更に、前記論理ボリュームの対となる副論理ボリュームの作成、対となっている前記論理ボリュームと前記副論理ボリュームとの間の対の解消、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの同期停止、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの再同期及び対となっている前記副論理ボリュームから前記論理ボリュームへのデータの復元を含み、
前記生成ステップでは、前記処理に含まれる何れかを表す前記文字列に加え、前記論理ボリュームのリアルタイムな内部状態を示す内部状態情報を含む前記ターゲット名を生成する請求項に記載の管理方法。
The processing further includes creation of a secondary logical volume that is a pair of the logical volume, cancellation of a pair between the paired logical volume and the secondary logical volume, and the paired logical volume and the Stop data synchronization with the secondary logical volume, resynchronize data between the paired logical volume and the secondary logical volume, and data from the paired secondary logical volume to the logical volume Including restoration of
The management method according to claim 9 , wherein in the generation step, the target name including internal state information indicating a real-time internal state of the logical volume is generated in addition to the character string representing any one included in the processing .
1又は複数のホスト計算機に対してデータを読み書きするための記憶領域でなる複数の論理ボリュームを提供する記憶制御装置において、
各前記論理ボリュームに対応するターゲット名を生成する生成部と、
各前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を各前記ホスト計算機に送信する送信部と、
前記ホスト計算機からコマンドを受信し前記コマンドに含まれる前記ターゲット名を識別する識別部と、
前記識別部の識別結果に従って前記ターゲット名に対応する前記論理ボリュームに対する処理を実行する実行部とを備え、
前記生成部は、各前記ホスト計算機が前記記憶制御装置に実行を指示できる処理を表す文字列を含むターゲット名を生成し、
前記識別部は、前記ターゲット名に含まれている前記文字列を識別し、
前記実行部は、前記識別部が識別した前記文字列が表す前記処理を実行する
記憶制御装置。
In a storage control device that provides a plurality of logical volumes that are storage areas for reading and writing data to one or a plurality of host computers,
A generation unit for generating a target name corresponding to each of the logical volumes;
A transmitting unit that transmits one or more target names corresponding to an initiator name identifying each of the host computers to each of the host computers;
An identification unit that receives a command from each of the host computers and identifies the target name included in the command ;
An execution unit that executes processing for the logical volume corresponding to the target name according to the identification result of the identification unit ;
The generation unit generates a target name including a character string representing a process in which each host computer can instruct the storage control device to execute,
The identification unit identifies the character string included in the target name,
The execution control unit is a storage control device that executes the process represented by the character string identified by the identification unit.
前記生成部は、何れかの前記ホスト計算機からのログイン要求に応じて前記ターゲット名を生成し、
前記送信部は、前記ログイン要求を発行したホスト計算機からの情報通知要求に応じて1以上の前記ターゲット名を送信する請求項11に記載の記憶制御装置。
The generation unit generates the target name in response to a login request from any of the host computers,
The storage control device according to claim 11, wherein the transmission unit transmits one or more target names in response to an information notification request from a host computer that has issued the login request .
前記生成部は、何れかの前記ホスト計算機からのディスカバリセッションの開始要求に応じて前記ターゲット名を生成し、
前記送信部は、前記開始要求を発行したホスト計算機からの情報通知要求に応じて、前記ホスト計算機を識別するイニシエータ名に対応する1以上の前記ターゲット名を送信し、
前記識別部は、前記ホスト計算機から通常モードのログイン要求を受信し、前記ログイン要求に含まれる前記ターゲット名に前記文字列が含まれているか判断し、
前記実行部は、前記文字列が含まれている場合、前記文字列が表す前記処理を実行する請求項11に記載の記憶制御装置。
The generation unit generates the target name in response to a discovery session start request from any of the host computers,
In response to the information notification request from the host computer that has issued the start request, the transmission unit transmits one or more target names corresponding to an initiator name that identifies the host computer,
The identification unit receives a normal mode login request from the host computer, determines whether the character string is included in the target name included in the login request,
The storage control device according to claim 11, wherein the execution unit executes the processing represented by the character string when the character string is included .
前記処理は、前記論理ボリュームの作成、前記論理ボリュームの削除及び前記論理ボリュームの複製の作成を含み、
前記生成部は、前記処理に含まれる何れかを表す前記文字列を含む前記ターゲット名を生成する請求項11に記載の記憶制御装置。
The processing includes creation of the logical volume, deletion of the logical volume, and creation of a copy of the logical volume,
The storage control device according to claim 11, wherein the generation unit generates the target name including the character string representing any one included in the processing .
前記処理は、更に、前記論理ボリュームの対となる副論理ボリュームの作成、対となっている前記論理ボリュームと前記副論理ボリュームとの間の対の解消、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの同期停止、対となっている前記論理ボリュームと前記副論理ボリュームとの間のデータの再同期及び対となっている前記副論理ボリュームから前記論理ボリュームへのデータの復元を含み、
前記生成部は、前記処理に含まれる何れかを表す前記文字列に加え、前記論理ボリュームのリアルタイムな内部状態を示す内部状態情報を含む前記ターゲット名を生成する請求項14に記載の記憶制御装置。
The processing further includes creation of a secondary logical volume that is a pair of the logical volume, cancellation of a pair between the paired logical volume and the secondary logical volume, and the paired logical volume and the Stop data synchronization with the secondary logical volume, resynchronize data between the paired logical volume and the secondary logical volume, and data from the paired secondary logical volume to the logical volume Including restoration of
The storage control device according to claim 14 , wherein the generation unit generates the target name including internal state information indicating a real-time internal state of the logical volume in addition to the character string representing any one included in the processing. .
JP2008082042A 2006-09-28 2008-03-26 Storage system, management method thereof, and storage control device Expired - Fee Related JP5232515B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008082042A JP5232515B2 (en) 2008-03-26 2008-03-26 Storage system, management method thereof, and storage control device
US12/155,971 US7783833B2 (en) 2006-09-28 2008-06-12 Storage system, method for managing the same, and storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008082042A JP5232515B2 (en) 2008-03-26 2008-03-26 Storage system, management method thereof, and storage control device

Publications (2)

Publication Number Publication Date
JP2009237827A JP2009237827A (en) 2009-10-15
JP5232515B2 true JP5232515B2 (en) 2013-07-10

Family

ID=41251707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008082042A Expired - Fee Related JP5232515B2 (en) 2006-09-28 2008-03-26 Storage system, management method thereof, and storage control device

Country Status (1)

Country Link
JP (1) JP5232515B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2956543B1 (en) * 2010-02-17 2012-02-03 Evidian METHOD AND DEVICE FOR PROPAGATION OF SESSION MANAGEMENT EVENTS

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001318833A (en) * 2000-05-09 2001-11-16 Hitachi Ltd Storage device sub-system having volume copying function and computer system using the same
JP4452156B2 (en) * 2004-11-08 2010-04-21 日本電信電話株式会社 Shared PC usage method and server
JP2007072521A (en) * 2005-09-02 2007-03-22 Hitachi Ltd Storage control system and storage controller
JP2007079749A (en) * 2005-09-13 2007-03-29 Hitachi Ltd Storage device and disk control method
JP2008084094A (en) * 2006-09-28 2008-04-10 Hitachi Ltd Storage system, and management method and storage control device therefor

Also Published As

Publication number Publication date
JP2009237827A (en) 2009-10-15

Similar Documents

Publication Publication Date Title
US11340672B2 (en) Persistent reservations for virtual disk using multiple targets
JP4500057B2 (en) Data migration method
US7370229B2 (en) Storage system and setting method for storage configuration information
US7660946B2 (en) Storage control system and storage control method
US7596676B2 (en) Method of inheriting information identifying virtual volume and storage system using the same
EP1953636A2 (en) Storage module and capacity pool free capacity adjustment method
EP1837767B1 (en) Storage system and data management method
JP2008084094A (en) Storage system, and management method and storage control device therefor
US8112362B2 (en) Storage system and license management method
JP2008015768A (en) Storage system and data management method using the same
JP2004252686A (en) Information processing system
JP2007293828A (en) System and method for processing a plurality of kinds of event markers of continuous data protection
JP2007257317A (en) Memory system, storage area releasing method, and storage system
EP1837765A2 (en) Backup apparatus and backup method
US7783833B2 (en) Storage system, method for managing the same, and storage controller
US20080222214A1 (en) Storage system and remote copy system restoring data using journal
JP2007122117A (en) Storage system and storage control method
JP4629413B2 (en) Method, system, and program for assigning priorities
US8949562B2 (en) Storage system and method of controlling storage system
JP2008269469A (en) Storage system and management method therefor
JP2007286806A (en) Storage system and data storage method
US7721056B2 (en) Storage system, disk array apparatus, volume presentation method, and data consistency confirmation method
US20090228672A1 (en) Remote copy system and check method
JP5159353B2 (en) Storage system, release method, and secondary storage device
US8316205B2 (en) Storage system, copy method, and primary storage apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121001

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130325

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees