JP5106093B2 - Storage system control method and storage control device - Google Patents
Storage system control method and storage control device Download PDFInfo
- Publication number
- JP5106093B2 JP5106093B2 JP2007338668A JP2007338668A JP5106093B2 JP 5106093 B2 JP5106093 B2 JP 5106093B2 JP 2007338668 A JP2007338668 A JP 2007338668A JP 2007338668 A JP2007338668 A JP 2007338668A JP 5106093 B2 JP5106093 B2 JP 5106093B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- logical volume
- disk array
- control device
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、記憶装置システムの制御方法および記憶制御装置に関する。 The present invention relates to a control method of a storage device system and a storage control device.
近年、IT技術の進展やブロードバンド化への対応など、情報システムをとりまく環境は急速に変化しつつある。これに伴い、例えば、取扱いデータ量の急激な増大が各所で問題となっている。
このようなデータ量の増大に対応すべく、データセンタなどで運用されている記憶装置システム(ストレージシステム)においては、ディスクアレイ装置などの記憶制御装置の大容量化、高性能化が進行している。このため、データセンタなどにおいては、急速な記憶制御装置の大容量化に対応するため、より高性能・大容量の記憶制御装置の導入や入れ換えが頻繁に行われている。
In recent years, the environment surrounding information systems has been changing rapidly, such as the progress of IT technology and support for broadbandization. Along with this, for example, a sudden increase in the amount of handled data has become a problem in various places.
In order to cope with such an increase in data volume, in storage device systems (storage systems) operated in data centers and the like, storage control devices such as disk array devices have increased in capacity and performance. Yes. For this reason, in data centers and the like, in order to cope with a rapid increase in capacity of storage control devices, introduction and replacement of storage controllers with higher performance and capacity are frequently performed.
ところで、記憶制御装置の導入の仕方には、例えば、旧記憶制御装置から新たに導入する記憶制御装置のみを用いた運用に完全に移行させてしまう方法、旧記憶制御装置も新たに導入する記憶制御装置もともに併存させた状態で運用する方法などがある。 By the way, as a method of introducing the storage control device, for example, a method of completely shifting from the old storage control device to an operation using only the new storage control device, a memory that also introduces the old storage control device. There is a method of operating with the control devices coexisting.
ここで前者の方法としては、例えば、特表平10−508967号公報に記載された技術があり、この場合には、全てのデータを高性能・高機能な新記憶制御装置で運用できることになるが、旧記憶制御装置についての有効利用は図れない。
一方、後者の方法では、旧記憶制御装置の有効利用は図れるが、両者を併存させることで、ネットワークに直結する記憶制御装置の数は必然的に多くなり、また、既存のネットワークに新たに記憶制御装置が導入されることで、ネットワーク構成情報を再構築しなければならず、移行や運用にかかる管理負荷の増大は必至である。
Here, as the former method, for example, there is a technique described in Japanese Patent Application Laid-Open No. 10-508967, and in this case, all data can be operated by a high-performance, high-function new storage control device. However, effective use of the old storage control device cannot be achieved.
On the other hand, with the latter method, the old storage control device can be used effectively, but by having both coexist, the number of storage control devices directly connected to the network is inevitably increased, and a new storage control device is newly stored in the existing network. With the introduction of the control device, the network configuration information must be reconstructed, and the management load for migration and operation is inevitable.
そこで、本発明の目的の一つは、例えば、既存の記憶装置システムに新たに記憶制御装置を導入する場合において、古い記憶制御装置の有効利用を図ることである。 Accordingly, one of the objects of the present invention is to effectively use an old storage control device, for example, when a new storage control device is introduced into an existing storage device system.
また、本発明の目的の一つは、記憶装置システムの管理負荷を増大させることなく、新たな記憶制御装置の導入後においても、旧記憶制御装置を利用できるようにすることであり、また、他の目的の一つは、この場合において、旧記憶制御装置に対する仕様変更や改造等を必要としない、もしくは、最小限とすることである。 One of the objects of the present invention is to make it possible to use an old storage control device even after the introduction of a new storage control device without increasing the management load of the storage device system. One of the other purposes is to not require or minimize the specification change or modification of the old storage control device in this case.
さらに、本発明の目的の一つは、既存の記憶装置システムに新たに記憶制御装置を導入する場合のみならず、記憶制御装置に別の記憶制御装置を連結して運用する場合において、ホストコンピュータに直結して利用されるように設計されている記憶制御装置を無改造もしくは必要最小限の仕様変更により、利用できるようにすることである。 Furthermore, one of the objects of the present invention is not only when a new storage control device is introduced into an existing storage device system, but also when another storage control device is connected to the storage control device and operated. The storage control device designed to be directly connected to the storage system can be used without modification or the minimum necessary specification change.
この目的を達成するための、本発明の主たる発明は、ホストコンピュータと、複数のディスクドライブによって構成される論理ボリューム及び制御装置を有する第一の記憶制御装置と、に接続され、仮想ボリュームを有する中継装置の制御方法であって、前記論理ボリュームに関する第一の情報を登録し、前記ホストコンピュータから前記仮想ボリュームに対して送られたデータ入出力要求を受信し、前記データ入出力要求に含まれる第二の情報を、前記第一の情報に変換し、前記変換されたデータ入出力要求を、前記第一の記憶制御装置に対して送信することとする。
また、本発明の主たる発明の他の一つは、ホストコンピュータと、複数のディスクドライブによって構成される第一の論理ボリューム及び制御装置を有する第一の記憶制御装置と、に接続され、仮想ボリュームを有する中継装置の制御方法であって、前記仮想ボリュームが作成される場合に、前記第一の論理ボリュームに関する第一の情報を要求する情報要求を、前記第一の記憶制御装置に対して送信し、前記第一の記憶制御装置から前記第一の情報を受信し、前記第一の情報と前記仮想ボリュームに関する第二の情報との関係を登録し、前記ホストコンピュータから前記仮想ボリュームに対して送られたデータ入出力要求を受信し、前記登録された関係に基づき、前記データ入出力要求に含まれる前記第二の情報を、前記第一の情報に変換し、前記第一の記憶制御装置が前記第一の論理ボリュームに対応する前記複数のディスクドライブに対してデータを入出力するために、前記変換されたデータ入出力要求を、前記第一の記憶制御装置に対して送信し、前記中継装置が、さらに、第二の記憶制御装置に接続され、前記第一の記憶制御装置から前記第二の記憶制御装置へのデータの送信を要求するためのデータ送信要求を受信し、前記第一の記憶制御装置から前記第二の記憶制御装置への前記データの送信を前記第一の記憶制御装置に要求することとする。
In order to achieve this object, a main invention of the present invention includes a virtual volume connected to a host computer and a first storage controller having a logical volume and a controller configured by a plurality of disk drives. A method for controlling a relay apparatus , wherein first information relating to the logical volume is registered , a data input / output request sent from the host computer to the virtual volume is received , and included in the data input / output request The second information is converted into the first information, and the converted data input / output request is transmitted to the first storage control device.
According to another aspect of the present invention, a virtual volume is connected to a host computer and a first storage control device having a first logical volume and control device configured by a plurality of disk drives. A method for controlling a relay device having an information request for transmitting first information about the first logical volume to the first storage control device when the virtual volume is created And receiving the first information from the first storage control device, registering the relationship between the first information and the second information related to the virtual volume, from the host computer to the virtual volume. Receiving the transmitted data input / output request, and converting the second information included in the data input / output request into the first information based on the registered relationship The first storage control device sends the converted data input / output request to the first storage control so as to input / output data to / from the plurality of disk drives corresponding to the first logical volume. Data to be transmitted to a device, and the relay device is further connected to a second storage control device and requests data transmission from the first storage control device to the second storage control device A transmission request is received, and the first storage control device is requested to transmit the data from the first storage control device to the second storage control device.
この発明によれば、例えば、既存の記憶装置システムに新たに記憶制御装置を導入する場合に、古い記憶制御装置を有効に利用するといったことが可能となる。 According to the present invention, for example, when a new storage control device is introduced into an existing storage device system, it is possible to effectively use the old storage control device.
===開示の概要===
以下の開示により、少なくともつぎのことが明らかにされる。
上記の発明において、第一および第二の記憶制御装置は、それぞれ、例えば、一製品としてユーザに提供されるディスクアレイ装置などのストレージである。より具体的には、例えば、第一の記憶制御装置は、第一および第二の通信手段に接続するための通信インタフェースと、前記第一のデータ入出力要求に対応してディスクドライブに対するデータ入出力処理を行うCPUと、前記データ入出力処理に際し前記ディスクドライブに入出力されるデータを記憶するキャッシュメモリとを有する。
また、第二の記憶制御装置は、前記第二の通信手段に接続する通信インタフェースと、前記第二のデータ入出力要求に対応して記憶デバイスに対するデータ入出力処理を行うCPUと、前記データ入出力処理に際し前記ディスクドライブに入出力されるデータを記憶するキャッシュメモリとを有する。
=== Summary of disclosure ===
The following disclosure will reveal at least the following.
In the above invention, each of the first and second storage control devices is a storage such as a disk array device provided to the user as one product, for example. More specifically, for example, the first storage control device includes a communication interface for connecting to the first and second communication means, and data input to the disk drive in response to the first data input / output request. A CPU that performs output processing; and a cache memory that stores data input to and output from the disk drive during the data input / output processing.
The second storage control device includes a communication interface connected to the second communication means, a CPU that performs data input / output processing for the storage device in response to the second data input / output request, and the data input And a cache memory for storing data input to and output from the disk drive during output processing.
第一および第二の記憶制御装置は、製品として、例えば、SANなどのネットワーク上に導入された場合に、それぞれが単体のディスクアレイ装置として動作するものであり、それぞれが単体でホストコンピュータから送信されるデータ入出力要求を受信してこれに応じたデータ入出力処理を、内蔵もしくは外部接続されるディスクドライブなどの記憶デバイスに対して実行することができる。 When the first and second storage control devices are installed on a network such as a SAN, for example, each operates as a single disk array device, and each transmits as a single device from a host computer. When a data input / output request is received, a data input / output process corresponding to the data input / output request can be executed for a storage device such as a built-in or externally connected disk drive.
上記構成において、第一の記憶制御装置と第二の記憶制御装置とはホストコンピュータからみて直列的に連結されており、この場合に第二の記憶制御装置を、例えば、第一の記憶制御装置の機能を拡張する装置として動作させることができる。具体的説明する。第一の記憶制御装置は、例えば、SANなどで構成される第一の通信経路(後述する第一のネットワークに相当する)を介し、ホストコンピュータから、自身に対するデータ入出力要求に加えて第二の記憶制御装置に対するデータ入出力要求についても第一のデータ入出力要求として受信する。ここで受信したデータ入出力要求が第二の記憶制御装置を対象とするものであった場合には、そのデータ入出力要求を第二の通信経路(後述する第二のネットワークに相当する)を介して第二の記憶制御装置に対して送信する。すなわち、第一の
記憶制御装置は、ホストコンピュータと第二の記憶制御装置との間の中継装置として機能することになる。
In the above configuration, the first storage control device and the second storage control device are connected in series as viewed from the host computer. In this case, the second storage control device is, for example, the first storage control device. It can be operated as a device that expands the functions of A specific explanation will be given. The first storage controller, for example, in addition to a data input / output request for itself from the host computer via a first communication path (corresponding to a first network described later) constituted by a SAN or the like. The data input / output request to the storage controller is also received as the first data input / output request. If the received data input / output request is directed to the second storage controller, the data input / output request is sent to the second communication path (corresponding to a second network described later). To the second storage controller. That is, the first storage control device functions as a relay device between the host computer and the second storage control device.
第一の記憶制御装置が第二の記憶制御装置に対して中継送信する第二のデータ入出力要求は、第一の記憶制御装置がホストコンピュータから受信した第一のデータ入出力要求におけるフォーマットやプロトコルのまま送信するようにしてもよいし、第一の記憶制御装置において第二の記憶制御装置のフォーマットやプロトコルに変換して送信するようにしてもよい。また、第一の記憶制御装置と第二の記憶制御装置との間の通信を、ANSI(American National Standards Institute)に準拠したSCSIコマンドや標準化・規格化されたフォーマットやプロトコルを用いて行うようにすれば、第二の記憶制御装置が標準的な通信インタフェースを有している限り、第二の記憶制御装置の構成として、特別な仕様は要求されない。従って、例えば、IDC(Internet Data Center)などのストレージセンタにおいて、新機種のディスクアレイ装置として第一の記憶制御装置を導入し、それまで使われていた旧いディスクアレイ装置を第一の記憶制御装置に直列的に接続して用いるような運用変更が行われた場合でも、第二の記憶制御装置に対して特別な仕様変更や改造を施す必要がない。第二の記憶制御装置が任意のブロックデバイス(ディスク装置に代表されるランダムなアクセス装置)であるならば、本発明を適用することができる。すなわち、第二の記憶制御装置が第一の記憶制御装置と同様の高度な制御機能を持つ大型記憶制御装置、ブロックアクセスインタフェースを備えた光ディスク装置である場合であっても本発明を適用することができる。 The second data input / output request relayed by the first storage control device to the second storage control device is the format in the first data input / output request received from the host computer by the first storage control device. The protocol may be transmitted as it is, or the first storage controller may be converted into the format or protocol of the second storage controller and transmitted. In addition, communication between the first storage control device and the second storage control device is performed using a SCSI command conforming to ANSI (American National Standards Institute) or a standardized / standardized format or protocol. In this case, as long as the second storage control device has a standard communication interface, no special specification is required for the configuration of the second storage control device. Therefore, for example, in a storage center such as an IDC (Internet Data Center), the first storage control device is introduced as a new type of disk array device, and the old disk array device used until then is replaced with the first storage control device. Even when an operation change is made such that it is connected in series to the second storage controller, no special specification change or modification is required for the second storage controller. If the second storage control device is an arbitrary block device (random access device represented by a disk device), the present invention can be applied. That is, the present invention is applied even when the second storage control device is a large-scale storage control device having an advanced control function similar to that of the first storage control device or an optical disk device having a block access interface. Can do.
第一の記憶制御装置が、第二の記憶制御装置がデータ入出力処理を行う記憶デバイスに関する情報を記憶し、第一の記憶制御装置が、記憶している前記記憶デバイスに関する情報に基づいて、第一のデータ入出力要求に対応する第二のデータ入出力要求を第二の記憶制御装置に送信するかどうかを決定するようにすることもできる。 The first storage control device stores information related to the storage device for which the second storage control device performs data input / output processing, and the first storage control device is based on the stored information related to the storage device, It is also possible to determine whether or not to transmit a second data input / output request corresponding to the first data input / output request to the second storage controller.
ここで記憶デバイスに関する情報としては、例えば、後述する構成情報管理テーブルに記述されている情報があげられる。具体例としては、前記記憶デバイスにより提供される記憶領域上に編成される一または複数の論理ボリュームの記憶領域の管理情報、その論理ボリュームの性能に関する情報、記憶容量に関する情報、残容量に関する情報などがある。 Here, examples of the information related to the storage device include information described in a configuration information management table described later. Specific examples include storage area management information of one or more logical volumes organized on a storage area provided by the storage device, information on the performance of the logical volume, information on storage capacity, information on remaining capacity, etc. There is.
第二のデータ入出力要求を第二の記憶制御装置に送信するかどうかの前記決定は、例えば、第一のデータ入出力要求がデータ書き込み要求であった場合には、そのデータ書き込み要求により第二の記憶制御装置の論理ボリュームに書き込もうとするデータのデータサイズが、前記論理ボリュームの記憶容量の範囲内であるかどうかに応じて行われる。そして、第一の記憶制御装置は、例えば、書き込みデータのデータサイズが前記論理ボリュームの容量を超えているなど、このデータ入出力要求が第二の記憶制御装置において正常に処理されないと判断した場合には、第二のデータ入出力要求を第二の記憶制御装置には中継送信しない。 For example, when the first data input / output request is a data write request, the determination as to whether or not the second data input / output request is to be transmitted to the second storage controller is made according to the data write request. This is performed depending on whether the data size of the data to be written to the logical volume of the second storage controller is within the storage capacity of the logical volume. When the first storage controller determines that the data input / output request is not normally processed in the second storage controller, for example, the data size of the write data exceeds the capacity of the logical volume The second data input / output request is not relayed to the second storage control device.
このように、本来ならば第二の記憶制御装置において行うべき処理を、第一の記憶制御装置が代行するようにしているので、上述のように第一の記憶制御装置に第二の記憶制御装置を直列的に接続する構成とした場合でも、第二の記憶制御装置に特別な仕組みを設ける必要がない。以上の機能によれば、ホストコンピュータに対しては、第二の記憶制御装置の論理ボリュームが、あたかも第一の記憶制御装置の論理ボリュームであるかのように提供されることになる。 Thus, since the first storage control device performs the processing that should normally be performed in the second storage control device, the second storage control is performed by the first storage control device as described above. Even when the devices are connected in series, it is not necessary to provide a special mechanism for the second storage control device. According to the above functions, the logical volume of the second storage controller is provided to the host computer as if it were the logical volume of the first storage controller.
第一の記憶制御装置が、第二の記憶制御装置がデータ入出力処理を行う記憶デバイスについてのアクセス制限情報を記憶し、第一の記憶制御装置が、第一のデータ入出力要求を受信した場合にその内容を前記アクセス制限情報に対照することで、当該第一のデータ入出力要求に対応する前記第二のデータ入出力要求を前記第二の記憶制御装置に送信するかどうかを決定するようにしてもよい。ここで第一の記憶制御装置が記憶する前記アクセス制限情報は、例えば、第一の記憶制御装置に接続された管理端末などから登録されたり、第二の記憶制御装置から第一の記憶制御装置に送信されてくるアクセス制限情報やその基になる情報を受信してこれに基づき第一の記憶制御装置が生成し記憶する場合などがある。 The first storage controller stores access restriction information for the storage device for which the second storage controller performs data input / output processing, and the first storage controller receives the first data input / output request. In this case, it is determined whether or not the second data input / output request corresponding to the first data input / output request is transmitted to the second storage control device by comparing the content with the access restriction information. You may do it. Here, the access restriction information stored in the first storage control device is registered from, for example, a management terminal connected to the first storage control device, or from the second storage control device to the first storage control device. In some cases, the first storage controller generates and stores the access restriction information and the information on the basis of the access restriction information transmitted to the first storage controller.
具体的には、例えば、第二の記憶制御装置が、自身がデータ入出力処理を行う前記記憶デバイスにより提供される記憶領域上に一または複数の論理ボリュームを編成している場合に、第一の記憶制御装置が、ホストコンピュータごとに付与されたIDと、このホストコンピュータがアクセス可能な前記論理ボリュームのIDとの対応づけXを記憶し、第一の記憶制御装置は、第一のデータ入出力要求に記述されている当該要求の送信元となるホストコンピュータのIDと、第一のデータ入出力要求に記述されている当該要求のデータ入出力処理の対象となる前記論理ボリュームとの対応づけと、前記対応づけXとを対照することで、第二の記憶制御装置に前記第二のデータ入出力要求を送信するかどうかを決定するようにする。 Specifically, for example, when the second storage control device organizes one or a plurality of logical volumes on a storage area provided by the storage device that performs data input / output processing, The storage control device stores a correspondence X between the ID assigned to each host computer and the ID of the logical volume accessible by the host computer, and the first storage control device stores the first data input. Correspondence between the ID of the host computer that is the transmission source of the request described in the output request and the logical volume that is the target of the data input / output processing of the request described in the first data input / output request And the correspondence X, it is determined whether to transmit the second data input / output request to the second storage controller.
ここで、例えば、IDCなどで運用される記憶装置システムにおいては、ディスクアレイ装置などの記憶制御装置が、複数のホストコンピュータに対してサービスを行うように運用されることが少なくない。このような場合には、セキュリティ面や管理面での理由により、ホストコンピュータごとにアクセス可能な記憶制御装置を制限していることが多い。ここでこのアクセス制限は、例えば、ホストコンピュータと記憶制御装置とをSANで接続している場合には、ゾーニングやLUマスキングなどのように、WWNやファイバチャネルスイッチのポート番号、スイッチ番号などの組合せを管理することで行われるのが一般的である。つまり、この方法は、このようなアクセス制限を、ホストコンピュータと第二の記憶制御装置の論理ボリュームとの間で施す必要がある場合に、このアクセス制限に関する処理を、第一の記憶制御装置に代行させるようにしたものである。 Here, for example, in a storage device system operated by an IDC or the like, a storage control device such as a disk array device is often operated so as to provide services to a plurality of host computers. In such a case, the storage control devices that can be accessed for each host computer are often limited for security and management reasons. Here, for example, when the host computer and the storage controller are connected by SAN, this access restriction is a combination of the port number and switch number of WWN and Fiber Channel switch, such as zoning and LU masking. This is generally done by managing That is, in this method, when it is necessary to apply such an access restriction between the host computer and the logical volume of the second storage controller, the process related to the access restriction is performed on the first storage controller. It is intended to be substituted.
第二の通信経路には複数の経路が含まれ、第一の記憶制御装置が、第二の通信経路上に存在する中継装置から当該第二の通信経路に関する情報を受信し、第一の記憶制御装置が、前記情報に基づいて、第二のデータ入出力要求を送信する経路を決定するようにすることもできる。ここで、第二の通信経路に関する情報とは、例えば、ファイバチャネル規格、もしくは、SCSI規格、iSCSI規格におけるネットワークトポロジー情報、ネットワーク内ノード情報などである。また、前記中継装置は、例えば、ファイバチャネルスイッチ、ファイバチャネルディレクタ、ファイバチャネルハブ、iSCSIルータ、iSCSIスイッチなどである。 The second communication path includes a plurality of paths, and the first storage control device receives information on the second communication path from the relay device existing on the second communication path, and stores the first storage path. The control device may determine a route for transmitting the second data input / output request based on the information. Here, the information regarding the second communication path is, for example, the fiber channel standard, the network topology information in the SCSI standard, the iSCSI standard, the node information in the network, or the like. The relay device is, for example, a fiber channel switch, a fiber channel director, a fiber channel hub, an iSCSI router, an iSCSI switch, or the like.
前記経路の決定は、例えば、前記第二の通信経路に関する情報に基づいて把握される、前記複数の経路の性能、信頼性、安定性の少なくともいずれかの条件に基づいて行われることになる。 The determination of the route is performed based on, for example, at least one of the performance, reliability, and stability conditions of the plurality of routes grasped based on information on the second communication route.
第一および第二の記憶制御装置は、自身がデータ入出力処理を行う前記記憶デバイスにより提供される記憶領域上に一または複数の論理ボリュームを編成し、第二の記憶制御装置は、第一の記憶制御装置がデータ入出力処理の対象とする第一の論理ボリュームのデータを記憶する、自身のデータ入出力処理の対象である第二の論理ボリュームを有し、第一の記憶制御装置は、前記ホストコンピュータからデータ入出力要求を受信してこれに応じて第一の論理ボリュームの内容を更新し、第一の記憶制御装置は、第二の論理ボリュームに対して前記更新に対応するデータ更新処理の実行を指示するデータ入出力要求を第二の記憶制御装置に送信し、第二の記憶制御装置は、前記データ入出力要求を受信してこれに応じて前記第二の論理ボリュームの内容を更新し、第一の記憶制御装置は、第一の論理ボリュームのデータのうち第二の論理ボリュームの論理ボリュームに未反映のデータを把握するための情報を記憶するようにすることもできる。ここで前記未反映のデータを把握するための情報とは、例えば、前記第一の論理ボリューム上の記憶領域上に区画された領域単位で、前記第一の論理ボリュームのデータが前記第二の論理ボリュームに反映されているかどうかを記述した情報である。 The first and second storage control devices organize one or a plurality of logical volumes on a storage area provided by the storage device that performs data input / output processing, and the second storage control device The storage control device has a second logical volume that is the target of data input / output processing, and stores the data of the first logical volume that is the target of data input / output processing. The first storage control device Receiving a data input / output request from the host computer and updating the contents of the first logical volume in response to the data input / output request, and the first storage control device sends data corresponding to the update to the second logical volume. A data input / output request instructing execution of the update process is transmitted to the second storage control device, and the second storage control device receives the data input / output request and responds to the second logical volume accordingly. The first storage controller may store information for grasping data not reflected in the logical volume of the second logical volume among the data of the first logical volume. it can. Here, the information for grasping the unreflected data is, for example, an area unit partitioned on the storage area on the first logical volume, and the data of the first logical volume is the second data. This information describes whether it is reflected in the logical volume.
このようにして把握される情報は、例えば、ネットワーク障害などにより第二の論理ボリュームに対する更新が行えない状態となっていたが、その後に障害が復旧し、第二の論理ボリュームに未反映のデータを反映させる際に利用される。具体的には、例えば、まず、第一の記憶制御装置が、前記未反映のデータを把握するための情報により把握した、第二の論理ボリュームに未反映のデータについての第二の論理ボリュームへのデータ書き込み要求を第二の記憶制御装置に送信し、第二の記憶制御装置が、前記データ入出力要求を受信して、前記データ書き込み要求に対応する書き込み処理を第二の論理ボリュームに対して実行する。このように第二の論理ボリュームにおいて未反映のデータを第一の記憶制御装置が把握するようにしたことで、第二の記憶制御装置に特別に仕組みを設ける必要がなくなる。 The information grasped in this way is, for example, a state in which the update to the second logical volume cannot be performed due to a network failure or the like, but the data is not reflected in the second logical volume after the failure is recovered. It is used when reflecting. Specifically, for example, first, the first storage control device moves to the second logical volume for the data not reflected in the second logical volume, which is grasped by the information for grasping the unreflected data. Data write request to the second storage control device, and the second storage control device receives the data input / output request and performs write processing corresponding to the data write request to the second logical volume. And execute. As described above, since the first storage control device grasps data not reflected in the second logical volume, it is not necessary to provide a special mechanism in the second storage control device.
第一および第二の記憶制御装置は、自身がデータ入出力処理を行う前記記憶デバイスにより提供される記憶領域上に一または複数の論理ボリュームを編成し、第一の記憶制御装置は、自身がデータ入出力処理を行う第一の論理ボリュームに新データを書き込むに際し、その書き込み前に前記新データの書き込み対象領域に記憶されている旧データのデータ書き込み要求を第二の記憶制御装置に送信し、第二の記憶制御装置は、前記データ書き込み要求を受信して前記旧データを自身のデータ入出力処理の対象である第二の論理ボリュームに書き込み、第二の記憶制御装置は、前記旧データの第二の論理ボリュームにおける記憶位置を第一の記憶制御装置に送信し、第一の記憶制御装置は、前記新データの第一の論理ボリュームにおける記憶位置と、前記送信されてくる前記旧データの第二の論理ボリュームにおける記憶位置とを対応づけて記憶するようにすることもできる。 The first and second storage control devices organize one or a plurality of logical volumes on a storage area provided by the storage device that performs data input / output processing, and the first storage control device itself When writing new data to the first logical volume that performs data input / output processing, a data write request for old data stored in the write target area of the new data is sent to the second storage controller before the new data is written. The second storage control device receives the data write request and writes the old data to the second logical volume that is the target of its data input / output processing, and the second storage control device The storage location in the second logical volume is transmitted to the first storage control device, and the first storage control device stores the storage location of the new data in the first logical volume. If it can also be made to association with each storage location in the second logical volume of the old data that the sent.
この方法の具体例は、例えば、後述するスナップショット機能である。この機能は、第一の記憶制御装置の論理ボリュームに記憶されていた過去の時点のデータを参照できるようにするものである。この方法において、過去の時点のデータ、すなわち、前記旧データは、第二の記憶制御装置の論理ボリュームに記憶される。 A specific example of this method is, for example, a snapshot function described later. This function makes it possible to refer to past data stored in the logical volume of the first storage controller. In this method, the data at the past time point, that is, the old data is stored in the logical volume of the second storage controller.
また、第一の記憶制御装置は、前記旧データの第二の記憶制御装置の論理ボリュームの記憶位置を指定する情報を、前記旧データが前記第一の記憶制御装置の論理ボリュームに記憶されていた際の記憶位置に対応づけて記憶しており、これを利用することで、第一の記憶制御装置は、例えば、ホストコンピュータから第一の論理ボリュームのある記憶位置に記憶されていた旧データに対する読み出し要求があった場合に、この読み出し要求に該当する旧データをホストコンピュータに提供することができる。 Further, the first storage control device stores information specifying the storage location of the logical volume of the second storage control device for the old data, and the old data is stored in the logical volume of the first storage control device. The first storage control device, for example, stores the old data stored in the storage location of the first logical volume from the host computer. When there is a read request for the old data, the old data corresponding to the read request can be provided to the host computer.
第一の記憶制御装置は、ホストコンピュータから自身がデータ入出力処理を行う第一の論理ボリュームへの新データのデータ書き込み要求を受信した場合に、前記新データを第一の論理ボリュームに書き込まずに前記新データのデータ書き込み要求を第二の記憶制御装置に送信し、第二の記憶制御装置は、前記データ入出力要求を受信して自身がデータ入出力処理を行う第二の論理ボリュームに前記新データを書き込み、第二の記憶制御装置は、前記新データの第二の論理ボリュームにおける記憶位置を第一の記憶制御装置に送信し、第一の記憶制御装置は、前記旧データの第一の論理ボリュームにおける記憶位置と、前記送信されてくる前記新データの第二の論理ボリュームにおける記憶位置とを対応づけて記憶するようにすることもできる。この方法も、スナップショット機能に関するものである。ここでこの方法では、前述のスナップショット機能と異なり、旧データを第一の記憶制御装置に記憶しておき、第一の記憶制御装置の論理ボリュームの最新のデータを第二の記憶制御装置側に記憶しておくようにしている。 The first storage controller does not write the new data to the first logical volume when receiving a data write request for new data from the host computer to the first logical volume for which data input / output processing is performed. To the second storage controller, and the second storage controller receives the data input / output request and sends it to the second logical volume on which it performs data input / output processing. The new data is written, the second storage control device transmits the storage location of the new data in the second logical volume to the first storage control device, and the first storage control device The storage position in one logical volume and the storage position in the second logical volume of the transmitted new data can be stored in association with each other. . This method also relates to the snapshot function. Here, in this method, unlike the snapshot function described above, old data is stored in the first storage controller, and the latest data in the logical volume of the first storage controller is stored on the second storage controller side. To remember.
以上のように、本発明によれば、データの複製を持つように運用する場合や、スナップショットなどのサービスを提供する場合に、第二の記憶制御装置を有効に利用することができる。とくに第一の記憶制御装置が、第二の記憶制御装置の代替機として導入されるような場合には、第一の記憶制御装置の導入後に、旧い第二の記憶制御装置を継続して有効に利用することができ、記憶装置システムの運用負荷の低減や、運用コストの低減などの効果がある。 As described above, according to the present invention, it is possible to effectively use the second storage control device when operating with data replication or providing services such as snapshots. Especially when the first storage control device is introduced as an alternative to the second storage control device, the old second storage control device continues to be effective after the introduction of the first storage control device. It can be used for the storage system, and there are effects such as reduction of the operation load of the storage device system and reduction of the operation cost.
===システムの概要===
図1に本発明の一実施例として説明する記憶装置システム(ストレージシステム)の構成を示す。この記憶装置システムは、例えば、IDCなどで運用される。この図において、第一の記憶制御装置10および第二の記憶制御装置20は、例えば、ディスクドライブなどの記憶デバイスをRAID(Redundant Array of Inexpensive Disks)などの方式で運用し、ホストコンピュータ30から送信されるデータ書き込み要求やデータ読み出し要求などのデータ入出力要求に応じてデータ入出力制御部19により記憶デバイスに対するデータ入出力を行い、ホストコンピュータ30に対するデータ記憶手段として機能するディスクアレイ装置である。
=== Outline of the system ===
FIG. 1 shows a configuration of a storage device system (storage system) described as an embodiment of the present invention. This storage device system is operated by, for example, an IDC. In this figure, the first
ホストコンピュータ30は、第一の記憶制御装置10と第一のネットワーク50を介して接続し、第二の記憶制御装置20は、第二のネットワーク51を介して第一の記憶制御装置10と接続する。第一および第二のネットワークは、例えば、ファイバチャネルに準拠したネットワーク機器で構成される、SAN(Storage Area Network)である。なお、ネットワークはこれに限定されるものではなく、例えば、LAN(Local Area Network)、公衆回線、専用回線、ESCON(Enterprise Systems Connection)、FICON(Fibre Connection)などに準拠したプロトコルなどのメインフレーム系のネットワークであってもよい。
The
第一の記憶制御装置10は、第一のネットワーク50を介してホストコンピュータ30から送信されてくるデータ入出力要求を受信する。第二の記憶制御装置20は、第二のネットワーク51を介して第一の記憶制御装置20からデータ入出力要求を受信する。第二の記憶制御装置20は、第一の記憶制御装置10と同一もしくはそれ以上の性能を有するものでもよいし、第一の記憶制御装置10よりも性能の劣るものでもよい。
The
なお、図1のような運用形態が採用される場合としては、例えば、ホストコンピュータ30に第二の記憶制御装置20が接続されて運用されていた記憶装置システムに、第二の記憶制御装置20の後継機種として新たに第一の記憶制御装置10を導入し、第二の記憶制御装置20を第一の記憶制御装置10の機能を拡張もしくは補助する装置として機能させるように運用変更した場合などがあげられる。
In the case where the operation form as shown in FIG. 1 is adopted, for example, the second
第一の記憶制御装置10の基本的な装置構成について説明する。第一の記憶制御装置10には、データ記憶領域を提供する記憶デバイスとしての、一または複数のディスクドライブを備える記憶装置60が実装されている。なお、記憶装置60は、SCSI規格の通信線などを介して筐体外部に接続している構成でもよい。ディスクドライブは、前述のように、例えば、RAID方式で運用される。
A basic device configuration of the first
第一の記憶制御装置10は、一または複数のディスクドライブにより提供される記憶領域上に、一または複数の論理的なボリューム11(以下、「論理ボリューム」と称する)を編成している。各論理ボリューム11には、それぞれ固有の識別子(以下、「LUN」(Logical Unit Number)と称する)が付与されている。ホストコンピュータ30が第一の記憶制御装置10に送信するデータ入出力要求には、データ記憶領域を指定するためのLUNが記述されている。第一の記憶制御装置10は、ホストコンピュータ30に対し、LUN指定により記憶領域を提供する機能を備える。
The
マイクロプロセッサ12(以下、「MP」と称する)は、例えば、ディスクドライブに対するデータ入出力処理などの、第一の記憶制御装置10の各種の処理を実行する。MP12は、一または複数のCPUで構成される。MP12は、機能に応じて特化したものが設けられることもある。キャッシュメモリ13は、ディスクドライブへの書き込みデータや、ディスクドライブからの読み出しデータなど、主としてディスクドライブに入出力されるデータの一時的な記憶のために用いられる。
The microprocessor 12 (hereinafter referred to as “MP”) executes various processes of the
制御メモリ14は、例えば、MP12のワークエリアとして利用されたり、各種制御データやテーブルなどの記憶に用いられる。例えば、後述する構成情報管理テーブル41、ビットマップ42、アクセス制限情報テーブル43、更新管理テーブル44なども、通常はこの制御メモリ14に記憶される。
The
外部インタフェース15は、ファイバチャネルインタフェースである。外部インタフェース15は、第一の記憶制御装置10を、第一のネットワーク50、もしくは、第二のネットワーク51に接続する。外部インタフェース15は、SANを構成するファイバチャネルスイッチのポートに接続される複数のポート16を備える。なお、ファイバチャネルの技術分野においては周知であるが、外部インタフェース15の各ポート16には、SAN上の機器を特定する識別子であるWWN(World Wide Name)が付与されている。また、記憶装置60は、デバイスインタフェース18のデバイスポートを介して第一の記憶制御装置10に接続する。
The
なお、以上、第一の記憶制御装置10について説明したが、第二の記憶制御装置20についても、各構成要素の性能や大きさ以外の基本的な構成については、第一の記憶制御装置10と同様の構成である。
一方、ホストコンピュータ30は、例えば、パソコンやワークステーション、汎用コンピュータなどであり、第一のネットワーク50に接続するためのインタフェースである、ファイバチャネルインタフェースであるHBA(Host Bus Adaptor)(不図示)を備える。HBAにもWWNが付与されている。
Although the first
On the other hand, the
===構成情報管理テーブル===
第二の記憶制御装置20は、第一の記憶制御装置10に対し、自身の論理ボリュームを第一の記憶制御装置10の論理ボリュームとして提供する。この機能を実現するため、第一の記憶制御装置10は、図2に示す構成情報管理テーブル41を記憶している。
=== Configuration Information Management Table ===
The second
この構成情報管理テーブル41には、第一の記憶制御装置10が取り扱う論理ボリュームに関する情報が記述されている。構成情報管理テーブル41には、第一の記憶制御装置10がデータ入出力処理を行う論理ボリューム(以下、「第一の論理ボリューム」と称する)だけでなく、第二の記憶制御装置20がデータ入出力処理を行う論理ボリューム(以下、「第二の論理ボリューム」と称する)についての情報も記述されている(なお、図2では第二の論理ボリューム21に関する情報のみが示してある)。
In this configuration information management table 41, information on the logical volume handled by the
図2において、ポートIDの欄210には、論理ボリュームが接続している外部インタフェースのポートIDが記述される。WWNの欄211には、ポートIDに対応するWWNが記述される。LUNの欄212には、各論理ボリュームのLUNが記述される。容量(Capacity)の欄213には、第一および第二の論理ボリューム11,21が提供する記憶領域の容量が記述される。
In FIG. 2, the
マッピングLUNの欄214には、そのポートおよびLUNに対応づけられている第二の論理ボリューム21の識別子が記述される。つまり、マッピングLUNの欄に記述のある場合は、その論理ボリュームは第二の論理ボリューム21であることを意味しており、それ以外の論理ボリュームは、第一の論理ボリューム11であるということである。
The
構成情報管理テーブル41の内容は、例えば、第一の記憶制御装置10に接続された管理端末(不図示)などからオペレータにより登録される。また、第一の記憶制御装置10は、後述する情報収集機能(ディスカバリ機能)を有している。この機能によれば、第一の記憶制御装置10は、第二のネットワーク51を通じて当該ネットワークに接続している装置を検出し、検出した装置の論理ボリュームに関する情報の送信要求をその装置に対して送信し、これにより送られてくる情報を受信して、その情報を構成情報管理テーブル41に登録する。
The contents of the configuration information management table 41 are registered by an operator from, for example, a management terminal (not shown) connected to the first
なお、第二のネットワーク51上に存在する装置は、情報の取得先となる装置があらかじめ固定的に定まっていてもよい。また、装置の型番を調べてあるメーカの製品のみを対象とするようにしたり、一定の容量以上の容量を有する論理ボリュームのみを対象とするようにしたり、所定のポートに接続されている論理ボリュームのみを対象とする、といった各種の条件設定も可能である。
Note that the devices that exist on the
第一の記憶制御装置10は、以上に説明した構成情報管理テーブル41を用い、後述する仕組みにより、第二の記憶制御装置20の第二の論理ボリューム21を、あたかも第一の記憶制御装置10の第一の論理ボリューム11であるかのように、ホストコンピュータ30に提供する。つまり、ホストコンピュータ30は、第二の記憶制御装置20の論理ボリューム21に対するデータ入出力要求を、第一の記憶制御装置10に対して行うことができる。
The first
また、このように第一の記憶制御装置10が構成情報管理テーブル41を記憶していることで、データ入出力要求のみならず、第一の記憶制御装置10は、例えば、第二の論理ボリューム21を対象として「Inquiry」や「Read Capacity」といったコマンドがホストコンピュータ30から送信されてきた場合でも、ホストコンピュータ30に適切な応答メッセージによる応答を送信する。
Since the first
===データ入出力処理===
つぎに、第一のネットワーク50を介し、ホストコンピュータ30から第一の記憶制御装置10に対し、第一の論理ボリューム11もしくは第二の論理ボリューム21に対するデータ入出力要求があった場合における、この記憶装置システムの動作について説明する。
=== Data I / O processing ===
Next, when there is a data input / output request for the first
図3は、ホストコンピュータ30から第一の記憶制御装置10に送信されるデータ入出力要求のデータフォーマットの一例である。この図において、ホストIDの欄310は、そのデータ入出力要求を送信したホストコンピュータ30の識別子であり、例えば、ホストコンピュータ30のHBAのWWNが記載される。ポートIDの欄311は、そのデータ入出力要求の処理対象となる論理ボリューム11,21が接続しているポートのポートIDである。LUNの欄312は、データ入出力要求の処理対象となる論理ボリュームのIDである。アドレスの欄313およびデータ長の欄314は、例えば、データ入出力要求がデータ読み出し要求である場合に設定され、この場合、アドレスの欄313には、読み出し先となる論理ボリューム11,21の読み出し先のデータが格納されている先頭アドレスが、データ長の欄314には、読み出し対象となるデータのデータ長が設定される。
FIG. 3 is an example of a data format of a data input / output request transmitted from the
ホストコンピュータ30から送信されたデータ入出力要求が、データ書き込み要求である場合における、記憶装置システムの処理を図4とともに説明する。まず、第一の記憶制御装置10は、第一のネットワーク50を介してホストコンピュータ30からデータ書き込み要求を受信して(S412)、このデータ書き込み要求とともに受信した書き込み対象データを、キャッシュメモリ13に記憶する(S413)。
The processing of the storage system when the data input / output request transmitted from the
つぎに、第一の記憶制御装置10は、構成情報管理テーブル41を参照し、このデータ書き込み要求を実行できるかどうかを判断する。ここで実行できない場合とは、例えば、データ入出力要求の処理対象となる論理ボリュームが存在するか、存在した場合でも、書き込み対象のデータが、論理ボリュームの記憶領域のサイズを超えている場合などである。
Next, the
第一の記憶制御装置10は、例えば、処理対象となる論理ボリュームが実在するか、このデータ書き込み要求により書き込まれる書き込みデータを書き込むだけの容量を書き込み先の論理ボリュームが有しているか、といったことを構成情報管理テーブル41を参照して調べ、そのデータ入出力要求に対応するデータ入出力要求を実行できるかどうかを判断する(S414)。ここで第一の記憶制御装置10は、この判断の結果、データ入出力要求を実行できないと判断すると、ホストコンピュータ30に対し、その旨を記載したメッセージを送信し、当該データ入出力要求に対応する処理を終了する(図4のS415)。
For example, whether the
また、第一の記憶制御装置10は、データ入出力要求の要求元のホストコンピュータ30のポートIDもしくはWWNと、データ入出力要求の要求先となる第一の論理ボリューム11もしくは第二の論理ボリューム21と、アクセス種別(読込み/書き込み)との組合せが登録されたアクセス制限情報テーブル43を制御メモリ14に記憶している。このアクセス制限情報テーブル43の内容は、第一の記憶制御装置10に接続された管理端末(不図示)などからオペレータにより登録される場合、第二の記憶制御装置20から送信されてくるアクセス制限情報やその基になる情報などを第一の記憶制御装置10が受信して、これらに基づいて第一の記憶制御装置が生成・記憶する場合などがある。なお、後者のような運用は、例えば、第二の記憶制御装置20自身が、自身の論理ボリューム21についてのアクセス制限機能に関する仕組みを備えている場合に実施される。
In addition, the
第一の記憶制御装置10は、当該データ入出力要求を受信したポートのID、もしくは、当該データ入出力要求に記述されている、送信元のホストコンピュータ30のWWNと、当該データ入出力要求において書き込み先として指定されている第一の論理ボリューム11もしくは第二の論理ボリューム21のポートIDとの組合せが、正当なアクセス条件に合致しているかどうかを調べる処理である、アクセス制限処理を実行する(S416)。
The first
図5(a)にアクセス制限処理の概念を示す。第一の記憶制御装置10は、ホストコンピュータ30からのデータ入出力要求が、アクセス制限情報テーブル43のアクセス制限に合致しているかどうかを調べ、合致していない場合には、そのデータ入出力要求に対応する処理を実行せず、ホストコンピュータ30に対し、その旨を記載したメッセージを送信し、当該データ入出力要求に対応する処理を終了する(S415)。
FIG. 5A shows the concept of access restriction processing. The
ここでアクセス制限に関する以上の処理は、そのデータ入出力要求の処理対象となる論理ボリュームが、第一の論理ボリューム11である場合だけでなく、第二の論理ボリューム21である場合にも行われる。すなわち、第一の記憶制御装置10は、第二の論理ボリューム21に対するアクセス制限の調査を代行していることになる。
Here, the above processing relating to the access restriction is performed not only when the logical volume to be processed of the data input / output request is the first
一方、図5(b)に示すように、ホストコンピュータ30から見ると、データ入出力要求の対象となる論理ボリュームが、第一もしくは第二の記憶制御装置20のいずれに所属するものであるかについての区別はなく、ホストコンピュータ30は、単に、ネットワーク上にアクセス可能・不可能な論理ボリュームが存在しているかどうかを把握しているだけである。
On the other hand, as shown in FIG. 5B, when viewed from the
以上の処理の結果、データ入出力要求の処理対象となる論理ボリュームが書き込み可能(論理ボリュームが存在し、容量も十分にあり、アクセス制限も問題ない)と判断された場合には、第一の記憶制御装置10は、第二の記憶制御装置20に対し、データ書き込み要求を送信する(S417)。第二の記憶制御装置20は、このデータ書き込み要求を受信して、書き込みデータを第二の論理ボリューム21に書き込む。
As a result of the above processing, if it is determined that the logical volume that is the target of the data input / output request is writable (the logical volume exists, the capacity is sufficient, and there is no problem with access restrictions), the first The
なお、この際のデータ書き込み要求は、第二の記憶制御装置20がホストコンピュータ30から直接に受信する場合のデータ書き込み要求と同一のプロトコル(例えば、データフォーマットが同一)に従うものである。従って、第二の記憶制御装置20が、第一の記憶制御装置10が新たに導入されることにより第一の記憶制御装置10に論理ボリュームを提供する装置として機能するように運用変更される場合には、第二の記憶制御装置20の装置構成や仕様についてとくに変更や改造をする必要が無く、最小限の手間で、かつ、低コストで第二の記憶制御装置20の有効利用が可能となる。
Note that the data write request at this time conforms to the same protocol (for example, the same data format) as the data write request when the
なお、以上に説明した第一の記憶制御装置10のアクセス制限機能は、第二の記憶制御装置20がもともとアクセス制限に関する機能を備えている場合のほか、第二の記憶制御装置20がアクセス制限機能を有しておらず、もっぱら第一の記憶制御装置10が第二の記憶制御装置20のアクセス制限機能をサポートするような場合、など様々な環境において適用される。
The access restriction function of the first
第一の記憶制御装置10は、第二の記憶制御装置20へのデータ入出力要求の送信を行うと、第二の記憶制御装置20からそのデータ入出力要求の処理の完了通知を待つことなく、ホストコンピュータ30に書き込み処理の完了を通信するメッセージを送信する(S415)。これによりホストコンピュータ30は、迅速にデータ入出力要求に対する応答を確認することができ、待ち時間も少なく、迅速に後続する処理を開始することができる。
When the first
ところで、以上は書き込み処理についての説明であったが、論理ボリュームからのデータの読み出し処理についても、以上の書き込みの場合とデータの転送の向きが逆になるだけで、それ以外は同様の仕組みで行われる。また書き込みもしくは読み出し以外のデータ入出力要求の場合には、第一の記憶制御装置10は、通常どおりの応答をホストコンピュータ30に返すことになる。
By the way, the above is the description of the write process, but the read process of the data from the logical volume also has the same mechanism except that the direction of data transfer is the reverse of the case of the above write. Done. In the case of a data input / output request other than writing or reading, the first
以上に説明したように、この記憶装置システムにおいては、ホストコンピュータ30は、それがあたかも第一の記憶制御装置10上の論理ボリュームであるかのように第二の論理ボリュームにアクセスする。また、データ入出力要求の対象となる論理ボリュームが、第二の記憶制御装置20を対象とするものであったとしても、第一の記憶制御装置10において、データ入出力要求を正常に処理できるかどうかの判断や、アクセス権限設定などの管理を集中的・集約的に行うことができるため、セキュリティに関する管理負荷や管理コストを低く抑えることができる。また、第二の記憶制御装置20の処理を第一の記憶制御装置10が代行して実行することで、第二の記憶制御装置20側の処理負荷が軽減される。
As described above, in this storage device system, the
===データ複製機能===
つぎに、この記憶装置システムにおいて実施される、データ複製機能について説明する。ここで説明する機能は、例えば、データレプリケーション、もしくは、データミラーリングなどの機能の実現に利用され、第一の記憶制御装置10の論理ボリュームと同一内容の論理ボリュームを、第二の記憶制御装置20にも持つようにする機能である。
=== Data replication function ===
Next, the data replication function implemented in this storage device system will be described. The function described here is used for realizing a function such as data replication or data mirroring, for example, and a logical volume having the same contents as the logical volume of the first
複製元の第一の論理ボリューム11と、複製先の第二の論理ボリューム21とは1:1の関係で設けられる場合のほか、1:Nの関係で設けられる場合もある。以下では、説明の簡単のため、1:1の関係で設けられている場合を例として説明するが、1:Nの関係で設けられる場合でも、1:1の関係が複数存在することになるだけで、基本的な処理は同様に行うことができる。
The replication source first
データ複製機能を実施するには、例えば、第二のネットワーク51に通信障害が発生した場合などに備えて、第一の論理ボリューム11と第二の論理ボリューム21との内容の差分を管理するための仕組みが必要となる。この仕組みとしては、第一の記憶制御装置10の論理ボリュームの記憶領域に区画編成したブロックやブロック群ごとにビットを対応させたビットマップを用意し、双方の論理ボリュームで差が生じているビットをオンにするようにするものが知られている。
In order to implement the data replication function, for example, in order to manage the difference between the contents of the first
図6はデータ複製機能に関する記憶装置システムの処理を説明する図である。第一の記憶制御装置10は、ホストコンピュータ30からその複製元となる論理ボリュームに対するデータ書き込み要求を受信すると(S611)、これを自身のキャッシュメモリ13に記憶する(S612)。なお、第一の記憶制御装置10は、書き込みデータがキャッシュメモリ13に記憶された段階で書き込み完了報告をホストコンピュータ30に送信する(S613)。
FIG. 6 is a diagram for explaining processing of the storage system related to the data replication function. When the
第一の記憶制御装置10は、前記書き込み完了通知報告をホストコンピュータ30に送信すると、この書き込みデータの書き込み先となる論理ボリュームの更新アドレスに対応するビットマップ42のビットをオンにする(S614)。
つぎに第一の記憶制御装置10は、管理端末(不図示)から指示があった場合などの適宜なタイミングで、複製元および複製先の双方の論理ボリューム11,21の内容を一致させる処理を開始する。
When the
Next, the first
まず、第一の記憶制御装置10は、ビットマップ42を参照し、内容の不一致がある、すなわちビットがオンとなっているブロックもしくはブロック群に対応する複製元の論理ボリューム11の記憶領域に記憶されているデータの書き込み要求を第二の記憶制御装置20に送信する(S615)。
第二の記憶制御装置20は、前記データ書き込み要求および書き込みデータを受信すると、複製先の第二の論理ボリューム21の該当の記憶領域に受信した書き込みデータを書き込み、第一の記憶制御装置10に書き込み完了報告を送信する(S616)。
First, the
When the second
第一の記憶制御装置10は、第二の記憶制御装置20からデータ書き込み完了報告があった時点で、複製先に書き込まれたデータの記憶領域に対応するビットマップ42のビットをオフに設定する(S617)。つまり、ビットマップ42の内容は、第一の論理ボリューム11と、第二の論理ボリューム21の内容が不一致の記憶領域に対応するビットのみがオンになるようにリアルタイムに管理されることになる。以上のようにして、複製元と複製先の論理ボリュームのデータの内容が同期することになる。
The first
ところで、複製元と複製先の論理ボリュームの記憶容量は、必ずしも同一である必要はない。このように複製元と複製先の論理ボリュームが異なる場合には、例えば、アドレスを変換して他の論理ボリュームに記憶するようにしたり、圧縮処理を用いて容量を減らして記憶するようにする。
また、以上の説明では、第一の論理ボリューム11を複製元とし、第二の論理ボリューム21を複製先としているが、これとは逆に、複製元を第二の論理ボリューム21とし、複製先を第一の論理ボリューム11とする構成でもよい。
By the way, the storage capacities of the copy source and copy destination logical volumes are not necessarily the same. When the replication source and the replication destination logical volumes are different in this way, for example, the addresses are converted and stored in another logical volume, or the capacity is reduced using compression processing and stored.
In the above description, the first
===再同期処理===
つぎに、例えば、第二の記憶制御装置20や第二のネットワーク51の障害などにより、第一の論理ボリューム11と第二の論理ボリューム21のデータの内容が不一致となり、その後、障害が復旧して双方の論理ボリューム11,22の内容を同期させることが可能となった場合に行われる再同期処理について説明する。
なお、第一の記憶制御装置10は、例えば、第二の記憶制御装置20との間の通信のタイムアウトなどにより、第二のネットワーク51の障害を検出する。また、前記の内容の不一致は、第二のネットワーク51の障害を原因とする場合だけでなく、バックアップ処理やアプリケーションテストなどのユーザ操作に起因して生じることもある。
=== Resynchronization processing ===
Next, the data contents of the first
Note that the first
まず、第一の記憶制御装置10が、第二のネットワーク51の障害を検知した場合の処理について説明する。第一の記憶制御装置10は、障害を検知すると、まず、前述した通常の運用状態から切離し状態に運用を切り替え(S621)、第二の記憶制御装置20への、更新差分データについてのデータ書き込み要求の送信処理を中止する。なお、第一の論理ボリューム11への書き込みに関しては(S611)〜(S614)の処理を続行する(S622)。これにより切離し状態の間に更新されたブロックやブロック群に対応するビットマップ上のビットがオンに設定され、第一の論理ボリューム11と第二の論理ボリューム21の差分が管理される。
First, processing when the first
つぎに、障害が復旧して第二の論理ボリューム21が利用可能となった場合には、まず、第一の記憶制御装置10は、ビットマップ42のビットがオンとなっているブロックもしくはブロック群に対応する、第一の論理ボリューム11の記憶領域に記憶されているデータについての第二の論理ボリューム21へのデータ書き込み要求を第二の記憶制御装置20に送信する。
Next, when the failure is recovered and the second
第二の記憶制御装置20は、前記データ書き込み要求を受信すると、この要求とともに受信した書き込みデータを、該当の論理ボリュームの対応する記憶領域に書き込む。この書き込みは、例えば、複製元の論理ボリューム11のあるアドレスの記憶領域に格納されているデータを、複製先の論理ボリューム21において同一のアドレスで指定される記憶領域に格納するような運用がなされている場合には、当該データが記憶されていた第一の論理ボリューム11におけるアドレスと同一のアドレスで指定される第二の論理ボリューム21の記憶領域に記憶されることになる(S623)。
When the
以上の処理では、第一の記憶制御装置10は、更新された記憶領域に記憶されているデータのみを第二の記憶制御装置20に送信するようにしている。従って、第二のネットワーク51に送信するデータ量は、ほぼ必要最小限に抑えられることになる。第一の記憶制御装置10は、以上のようにして双方の論理ボリュームの内容の再同期処理が完了すると、更新差分データのデータ書き込み要求の送信を再開する。
In the above processing, the first
なお、以上の処理は、複製元の論理ボリューム11が更新されない限り複製先の論理ボリューム21の更新も行われないことが前提となっているが、記憶装置システムの利用形態によっては、複製先の論理ボリューム11が複製元の論理ボリューム21の更新よりも先に行われることもある。この場合は、ビットマップ42を利用して双方の論理ボリュームの内容を再同期させることはできず、再同期処理は、例えば、第一の記憶制御装置10の論理ボリューム11の全てのデータを第二の記憶制御装置20の論理ボリューム21に転送するといった方法で行われることになる。
The above processing is based on the premise that the replication destination
ところで、第二の論理ボリューム21についてもビットマップを管理し、第二の論理ボリューム21についての更新状況を管理するようにしてもよい。なお、この場合、ビットマップは、例えば、第一の記憶制御装置10の制御メモリ14に記憶するか、第二の記憶制御装置20の制御メモリ(不図示)や論理ボリューム21に記憶する。また、この場合には、例えば、第二の論理ボリューム21に対して更新があったブロックやブロック群に記憶されているデータを、第一の論理ボリューム11から転送して書き込むようにすることで、再同期を行うことができる。
By the way, the bitmap may be managed for the second
===スナップショット===
(1) スナップショット機能1
つぎに、スナップショット機能について説明する。この機能はユーザが指定する過去の時点において論理ボリュームに記憶されていたデータを取得できるようにする機能である。なお、スナップショット機能を動作せるかどうかは、論理ボリュームごとに設定することができる。
=== Snapshot ===
(1)
Next, the snapshot function will be described. This function is a function that enables acquisition of data stored in the logical volume at a past time designated by the user. Whether to operate the snapshot function can be set for each logical volume.
第一の記憶制御装置10が、第一の論理ボリューム11についてのスナップショット機能を動作させる場合について説明する。ここで説明するスナップショット機能は、第一の論理ボリューム11に対して新データによる書き込みが行われた場合に、書き込み対象となる論理ボリューム11の記憶領域に記憶されていた旧データを、当該第二の論理ボリューム21に記憶しておくようにし、例えば、ホストコンピュータ30から事後的に旧データを利用できるようにするものである。
A case where the first
図7は記憶装置システムにおけるスナップショット機能を説明する図である。この処理において、第二の記憶制御装置20には、スナップショット機能における旧データを記憶するための論理ボリューム21が確保されている。なお、この場合、1の論理ボリューム21を、第一の記憶制御装置10の複数の第一の論理ボリューム11についてのスナップショットのために共用する構成としてもよい。
また、第一の記憶制御装置10は、制御メモリ14上に、第一論理ボリューム11の記憶領域のうち、書き込みがされた記憶領域を指定するアドレスと、その記憶領域に記憶されていた旧データの待避先となる第二の論理ボリューム21のアドレスとの対応づけが登録された更新管理テーブル44を記憶している。
FIG. 7 is a diagram for explaining the snapshot function in the storage system. In this process, the
Further, the first
スナップショット機能を実現する仕組みについて説明する。まず、第一の記憶制御装置10は、ホストコンピュータ30から送信されてくる第一の論理ボリューム11に対するデータ書き込み要求を受信すると(S711)、このデータ書き込み要求とともに受信した書き込みデータ(新データ)をキャッシュメモリ13に記憶する(S712)。
つぎに、第一の記憶制御装置10は、このデータ書き込み要求の処理対象となるデータの書き込み先となる第一の論理ボリューム11の記憶領域に既に記憶されているデータ(旧データ)を読み出して、これをキャシュメモリ13に記憶する(S713)。その後、第一の記憶制御装置10は、その記憶領域にホストコンピュータ30から受信した書き込みデータ(新データ)を書き込む(S714)。
なお、第一の記憶制御装置10は、ホストコンピュータ30への書き込み完了報告を、書き込みデータをキャッシュメモリ13に記憶した時点で送信する。このため、書き込みデータの第一の論理ボリューム11への実際の書き込みは、書き込み完了報告が行われた後で行われることもある。
A mechanism for realizing the snapshot function will be described. First, when receiving a data write request for the first
Next, the first
The first
つぎに、第一の記憶制御装置10は、キャッシュメモリ13に記憶している旧データを第二の記憶制御装置20に送信する。第二の記憶制御装置20は旧データを受信すると、そのデータを第二の論理ボリューム21に記憶する。ここで第二の記憶制御装置20は、旧データが記憶された第二の論理ボリューム21の記憶位置を、旧データが記憶されていた元の第一の記憶制御装置の論理ボリューム11の記憶位置を示すアドレス(このアドレスは、例えば前記書き込みデータとともに第一の記憶制御装置10から受信する。)とともに第一の記憶制御装置10に送信し、一方、第一の記憶制御装置10はこれを受信して、制御メモリ14の更新管理テーブル44に記憶する(S715)。以上のようにして、旧データ(以下、「スナップショット」と称する)が第二の記憶制御装置20の第二の論理ボリューム21に記憶されることになる。
Next, the first
第一の記憶制御装置10は、例えば、ホストコンピュータ30から、スナップショットの生成対象となる第一の論理ボリューム11に対するデータの読み出し要求を受信した場合には、第一の記憶制御装置10の第一の論理ボリューム11から通常の処理により読み出し処理を行い、読み出したデータをホストコンピュータ30に送信する。
一方、第一の記憶制御装置10は、例えば、ホストコンピュータ30からある論理ボリューム11の旧データに対するデータ読み出し要求を受信し、かつ、その読み出し要求で指定される記憶領域に対応する領域が更新管理テーブル44に記憶されている場合には、第二の記憶制御装置20に対して該当データの第二の論理ボリューム21からの読み出し要求を送信する。第二の記憶制御装置20は、これに応答して該当の旧データを第一の記憶制御装置10に送信する。そして、第一の記憶制御装置10は、送られてくる旧データを受信してこれをホストコンピュータ30に送信する。
他方、第一の記憶制御装置10は、読み出し要求で指定される記憶領域が更新管理テーブル44に記憶されていない場合には、第一の記憶制御装置10の第一の論理ボリューム11から該当のデータを読み出して、これをホストコンピュータ30に送信する。
For example, when the first
On the other hand, the first
On the other hand, when the storage area specified by the read request is not stored in the update management table 44, the first
(2)スナップショット機能2
つぎに、スナップショット機能を実現する他の方法について図8とともに説明する。
この方法では、ホストコンピュータ30から第一の記憶制御装置10の第一の論理ボリューム11に対するデータ書き込み要求が送信されてきた場合に、その第一の論理ボリューム11自体の更新は行わずに、書き込みデータ(新データ)を第二の記憶制御装置20の第二の論理ボリューム21に書き込むようにしている。すなわち、前述の方法とは異なり、通常の書き込み処理において、本来、第一の論理ボリューム11に書き込まれるはずの新データを、第一の論理ボリューム11には書き込まずに第一の論理ボリューム11には旧データをそのまま記憶しておき、新データについては第二の論理ボリューム21に記憶するようにしている。
(2)
Next, another method for realizing the snapshot function will be described with reference to FIG.
In this method, when a data write request to the first
この方法では、ホストコンピュータ30から、第一の記憶制御装置10の第一の論理ボリューム11に対するデータ書き込み要求が送信され、第一の記憶制御装置10がこのデータ書き込み要求を受信した場合(S811)、第一の記憶制御装置10はこのデータ書き込み要求とともに送られてくる書き込みデータ(新データ)をキャッシュメモリ13に記憶する(S812)。
In this method, a data write request for the first
つぎに、第一の記憶制御装置10は、キャッシュメモリ13に記憶した新データと、当該新データについてのデータ書き込み要求を、第二の記憶制御装置20に送信する。そしてこれを受信した第二の記憶制御装置20は、新データを第二の論理ボリューム21に記憶する。
このとき新データの第二の論理ボリューム21における記憶領域を指定するアドレスとしては、例えば、新データがまだ格納されていない新たなアドレスが指定される。また、このアドレスは、第二の記憶制御装置20から第一の記憶制御装置10に送信され、第一の記憶制御装置10は、前記アドレスを前記データ書き込み要求の書き込み先として指定されていたアドレスに対応づけて、更新管理テーブル44に記録する(S813)。なお、この対応づけは例えば第一の記憶制御装置10と第二の記憶制御装置20との間で対応づけのために必要な情報をやりとりすることで行われる。
Next, the first
At this time, as an address for designating the storage area of the new data in the second
以上のようにしてスナップショットが作成されている場合において、ホストコンピュータ30からデータ読み出し要求があった場合、第一の記憶制御装置10は、まず、更新管理テーブル44を確認し、更新管理テーブル44にその読み出し要求で指定される読み出し先のアドレスが含まれていない場合には、第一の論理ボリューム11から該当データを読み出して、そのデータをホストコンピュータ30に送信する。
In the case where a snapshot is created as described above, when there is a data read request from the
一方、更新管理テーブル44に前記読み出し先のアドレスが含まれている場合には、第一の記憶制御装置10は、そのアドレスに対応づけて更新管理テーブル44に記憶されている、第二の記憶制御装置20の第二の論理ボリューム21のアドレスのデータについての読み出し要求を、第二の記憶制御装置20に送信する。
第二の記憶制御装置20は、前記読み出し要求を受信すると、該当のデータを第二の論理ボリューム21から読み出して、これを第一の記憶制御装置10に送信する。第一の記憶制御装置10は、前記データを受信するとこれをホストコンピュータ30に送信する(S814)。
また、第一の記憶制御装置10は、例えば、ホストコンピュータ30からある第一の論理ボリューム11の旧データに対するデータ読み出し要求を受信し、かつ、その読み出し要求で指定される記憶領域が更新管理テーブル44に記憶されている場合には、第一の記憶制御装置10の論理ボリューム11から該当データを読み出して、そのデータをホストコンピュータ30に送信する。
On the other hand, if the update management table 44 includes the read destination address, the
When the
Also, the first
ところで、以上の説明では、更新管理テーブル44を、第一の記憶制御装置10の制御メモリ14に記憶するようにしているが、第二の記憶制御装置20の制御メモリ(不図示)や、第二の論理ボリューム21、あるいは第二の記憶制御装置20の別の論理ボリューム21に記憶するようにしてもよい。なお、このようにした場合でも、第二の記憶制御装置20に特別な仕組みを設けたりすることなく、スナップショット機能を実現することができる。
In the above description, the update management table 44 is stored in the
(3)新データの反映
ところで、(2)で説明したスナップショット機能2が動作している場合には第一の論理ボリューム11には新データが反映されなくなる。しかしながら、例えば、ユーザ業務の完了により第一の論理ボリューム11の旧データが用済みとなった場合など、第一の論理ボリューム11に旧データを記憶しておく必要が無くなり、第一の論理ボリューム11に第二の論理ボリューム21に記憶している新データを反映させたいことがある。また、第二の論理ボリューム21につぎつぎに記憶されていく新データにより第二の論理ボリューム21の記憶領域が減ってしまうので、定期的もしくは不定期なタイミングで新データを第一の論理ボリューム11に反映させたいこともある。そこで、以下ではこのような場合において、第一の論理ボリューム11に新データを反映させるための仕組みについて説明する。
(3) Reflecting New Data By the way, when the
図9とともに説明する。まず、第一の記憶制御装置10から第二の記憶制御装置20に新データの読み出し要求が送信される(S911)。なお、この読み出し要求には新データの第二の論理ボリューム21における記憶位置に関する情報が含まれている。
第二の記憶制御装置20は、前記読み出し要求を受信すると、前記情報から特定される記憶位置に記憶されている新データを第二の論理ボリューム21から読み出して、これを第一の記憶制御装置10に送信する。
第一の記憶制御装置10は、新データを受信するとこれをキャッシュメモリ13に記憶し(S912)、その新データを更新管理テーブル44により特定される第一の論理ボリューム11の記憶位置(すなわち、ホストコンピュータ30から送信されてくるデータ書き込み要求に指定されていた第一の論理ボリューム11の本来当該新データが記憶されるべき記憶位置)に書き込む(S913)。
This will be described with reference to FIG. First, a read request for new data is transmitted from the
When the second
When the
以上の仕組みにより第一の論理ボリューム11に新データが反映される。なお、新データは、第二の論理ボリューム21に記憶されている全ての新データを、あるタイミングで一斉に第一の論理ボリューム11に反映させるようにしてもよいし、新データが第二の論理ボリューム21に記憶された時間が一定時刻以前であるかどうかなどの条件に基づいて選出される特定の新データのみを第二の論理ボリューム21に反映させる仕組みとしてもよい。
以上の仕組みにより、ユーザ業務の完了により第一の論理ボリュームの旧データが用済みとなった場合や、第二の論理ボリュームの記憶領域を解放させたいような場合において、新データを第一の論理ボリュームに反映させることができる。
With the above mechanism, new data is reflected in the first
With the above mechanism, new data is transferred to the first logical volume when the old data of the first logical volume has been used due to the completion of user operations, or when the storage area of the second logical volume is to be released. It can be reflected in the volume.
ところで、以上の組みでは、第一の記憶制御装置10がホストコンピュータ30からのデータ書き込み要求を受信したタイミングで新データを一旦は自身のキャッシュメモリ13に記憶しているにもかかわらず(例えば、図8の(S813))、第一の論理ボリューム11に新データを反映させる際に、新データを第二の記憶制御装置20から読み出して第一の記憶制御装置10に送信させており、これでは第二のネットワーク51のトラフィックを無駄に増大させることになる。
By the way, in the above set, although the first
そこで、例えば、図10に示すように、第一の記憶制御装置10がデータ書き込み要求を受信した場合にキャッシュメモリ13に一次的に記憶される新データを記憶したままの状態としておき、新データを第一の論理ボリューム11に反映しようとする際には、図11に示すように第二の論理ボリューム21から新データを読み出さずにこのキャッシュメモリ13に記憶されている新データを第一の論理ボリューム11に書き込むようにしてもよい(S1111)。
なお、この場合において、新データをキャッシュメモリ13に記憶したままの状態としておいたかどうかは、例えば、図12のテーブル1200に示すように新データのキャッシュメモリ13上の記憶位置を指定するキャッシュアドレスに対応させたフラグのオンオフにより管理する。
Therefore, for example, as shown in FIG. 10, when the first
In this case, whether or not the new data is stored in the
また、この仕組みでは記憶されたままの状態になっている新データによりキャッシュメモリ13の記憶領域が減少する可能性がある。そこで、ホストコンピュータ30から第一の記憶制御装置10がデータ書き込み要求を受信した際、キャッシュメモリ13に新データを記憶したままの状態としておくかどうかを、キャッシュメモリ13の記憶領域の残量などの使用状況に応じて決定するようにしてもよい。なお、キャッシュメモリ13の残量は、例えば、図13のテーブル1300に示すように、キャッシュメモリ13の残量を管理することにより把握する。また、新データの第一の論理ボリューム11への反映に際しては、例えば、新データがキャッシュメモリ13に記憶されているのであればこれを利用し、また、記憶されていないのであれば第二の論理ボリューム21から取り寄せるようにしてもよい。
In addition, with this mechanism, there is a possibility that the storage area of the
新データの第一の論理ボリューム11への反映に際しては、新データがキャッシュメモリ13に記憶されているかどうかを調べ、記憶されている場合には、前記読み出し要求を送信せずにキャッシュメモリ13に記憶している新データを対応する第一の論理ボリューム11の記憶位置に記憶し、記憶されていない場合には、新データについての読み出し要求を第二の記憶制御装置20に送信しその応答として送られてくる新データを対応する第一の論理ボリューム11の記憶位置に記憶するようにすることもできる。この方法によれば、新データがキャッシュメモリに記憶されている場合といない場合とで処理を切り替えるので、新データがキャッシュメモリに必ずしも記憶されないシステムにも柔軟に対応することができる。なお、第一の記憶制御装置10は、キャッシュメモリ13の使用状況に応じて、前記新データを前記キャッシュメモリ13に記憶しておくかどうかを決定するようにしてもよい。
When the new data is reflected on the first
以上の仕組みによれば、第一の論理ボリューム11への新データの反映による第二のネットワーク21への影響を抑えることができる。また、第一の記憶制御装置10自身の処理のみで新データを第一の論理ボリューム11に反映させることができるため、第二の記憶制御装置20との間での通信が発生しない分、高速な処理が可能となる。
According to the above mechanism, the influence on the
===論理ボリュームの役割交代===
ところで、例えば、前述のデータ複製機能において、第一の論理ボリューム11と第二の論理ボリューム21についての複製元と複製先の役割を交代させたいことがある。また、前述のスナップショット機能の場合においても、第一の論理ボリューム11と第二の論理ボリューム21の役割を交代させたいことがある。
=== Role change of logical volume ===
By the way, for example, in the above-described data replication function, there are cases where the roles of the replication source and the replication destination for the first
このような場合には、例えば、第一および第二の記憶制御装置10,20間で第一の論理ボリューム11に記憶されているデータと第二の論理ボリューム21に記憶されているデータとを、第二のネットワーク51を介してそれぞれ相手方の論理ボリュームに伝送することで両者の内容の入れ換えを行い、その後に両者の役割を交代させるようにすることが考えられるが、これでは前記の伝送により第二のネットワーク51の通信に影響を与えてしまう。
In such a case, for example, the data stored in the first
そこで本実施例の第一の記憶制御装置10は、例えば、前述のデータ複製機能において複製元と複製先の論理ボリュームの内容が同期している場合や、前述のスナップショット機能において旧データを記憶していた論理ボリュームに新データを反映させた場合など、第一の論理ボリューム11の内容と第二の論理ボリューム21の内容とが一致しているタイミングで、それぞれの役割を交代させる仕組みを備えている。
Therefore, the first
すなわち、例えば、図14のテーブル1400に示すように、データ複製機能において、第一の論理ボリューム11が複製元に設定され、第二の論理ボリューム21が複製先に設定されている場合には、各論理ボリューム11,21の内容が一致しているタイミングで、図15のテーブル1500に示すように第一の論理ボリューム11を複製先に、第二の論理ボリュームを複製元としてデータ複製機能を実現しているプログラムに認識させるようにし、それぞれの役割を交代させる。また、スナップショット機能において、例えば、図16のテーブル1600に示すように、第一の論理ボリューム11が旧データの記憶に用いられ、第二の論理ボリューム21が新データの記憶に用いられている場合には、各論理ボリューム11,21の内容が一致しているタイミングで、図17のテーブル1700に示すように第一の論理ボリューム11を新データの記憶用に、第二の論理ボリューム21を旧データの記憶用に、スナップショット機能を実現しているプログラムに認識させるようにする。なお、以上の図14〜図17に示したテーブルは、例えば、制御メモリ14などに記憶する。
That is, for example, as shown in the table 1400 of FIG. 14, in the data replication function, when the first
以上の仕組みによれば、第二のネットワーク51を介してデータ伝送を行うことなく、データ複製機能やスナップショット機能などを実現しているプログラムに認識させている第一の論理ボリューム11と第二の論理ボリューム21の役割を交代させることができる。また、第二の記憶制御装置20が運用されている環境に、より高機能な第一の記憶制御装置10が導入されて図1の接続構成でデータ複製機能やスナップショット機能が適用される場合には、複製元により高機能を適用したいといった理由で各論理ボリューム11,21の役割を事後的に交代させたいことがある。しかしながらこのような場合でも以上の仕組みによれば第二のネットワーク51を圧迫することなくデータ複製機能やスナップショット機能を実現しているプログラムに認識させている各論理ボリューム11,21の役割を交代させることができる。
According to the above mechanism, the first
===チェックコード===
ところで、データの信頼性を確保する等の目的で、第一の記憶制御装置10は第一の論理ボリューム11に記憶されるデータにチェックコードを付帯させている。ここでチェックコードとは、例えば、チェックサム(check sum)、パリティビット(parity bit)、ハミング符号(Hamming Code)、CRC符号(Cyclic Redundancy Check Code)、などの誤り訂正符号(ECC:Error Correction Code)である。第一の記憶制御装置10は、チェックコードを例えば所定長さのデータごとに生成し、これをそのデータに付帯させている。
=== Check code ===
By the way, for the purpose of ensuring the reliability of data, the
第一の記憶制御装置10は、例えば、第一の論理ボリューム11にデータを読み書きする際に、データの整合性や妥当性、例えば、チェックコードを利用してそのデータにビット化けなどの誤りがないかどうかなどをチェックする仕組みを備えている。また、誤り訂正を行ったり、誤りを検知した旨を管理端末に通知する仕組みを備えている。そして、第一の記憶制御装置10は、このようなチェックコードに関する処理を、第二の記憶制御装置20の第二の論理ボリューム21に記憶されるデータについても行う仕組みを備えている。以下、この仕組みについて図18とともに説明する。
For example, when the first
ホストコンピュータ30から受信(S1811)したデータ書き込み要求が第二の記憶制御装置20の担当である場合、第一の記憶制御装置10はそのデータ書き込み要求に付帯してホストコンピュータ30から送信されてくる書き込みデータについてのチェックコードを生成し(S1812)、生成したチェックコードを付帯させた前記書き込みデータについてのデータ書き込み要求を第二の記憶制御装置20に送信する(S1813)。
When the data write request received from the host computer 30 (S1811) is in charge of the
第二の記憶制御装置20は、前記データ書き込み要求を受信して、前記チェックコードを付帯させた前記書き込みデータを、第二の論理ボリューム21に記憶する(S1814)。ここで書き込みデータとそのチェックコードとは、図18に示すように両者を第二の記憶制御装置20の異なる論理ボリュームに記憶するようにしてもよいし、それぞれを同一の論理ボリューム内の連続する記憶領域に記憶するようにしてもよい。また、同一の論理ボリューム内の不連続な記憶領域に記憶するようにしてもよい。
なおこの場合、各チェックコードには、それがどのデータについてのものであるのかを示す情報(例えば、対応するデータが格納されている論理ボリュームの識別子とアドレス)を付帯させるようにする。また、両者を異なる論理ボリュームに記憶する場合には、例えば、第一の記憶制御装置10からそれぞれに対応するデータ入出力要求を第二の記憶制御装置20に送信するようにする。
The second
In this case, each check code is accompanied by information (for example, the identifier and address of the logical volume in which the corresponding data is stored) indicating which data it is for. When both are stored in different logical volumes, for example, the first
以上の仕組みによれば、第一の記憶制御装置10が備えるチェックコードに関する仕組みを第二の記憶制御装置20が備えていない場合でも、第二の論理ボリューム21に記憶されるデータについてもチェックコードに関する仕組を適用することができる。
According to the above mechanism, even if the second
===コマンドの適用範囲の拡張===
第一の記憶制御装置10は、第二の記憶制御装置20が対応していないコマンド(以下、「特殊コマンド」と称する)を、解釈・実行する仕組を備えている。また、第一の記憶制御装置10は、第二の記憶制御装置20における第二の論理ボリューム21に記憶されるデータについても特殊コマンドを適用する仕組みを備えている。この仕組みは、例えば、第二の記憶制御装置20が特殊コマンドに対応していない場合に有効である。
=== Expanding the scope of command application ===
The first
第一の記憶制御装置10は、ホストコンピュータから第二の記憶制御装置20の記憶デバイスを対象とするデータ入出力要求を受信した場合、そのデータ入出力要求に記載されているコマンドが特殊コマンドであるかどうかを調べる。そして、そのコマンドが特殊コマンドである場合には、これに対応する処理を第二の記憶制御装置20に実行させるために第二の記憶制御装置20が解釈・実行可能なコマンドを生成し、そのコマンドを記載したデータ入出力要求を第二の記憶制御装置20に送信する。つまり、第一の記憶制御装置10は、第二の記憶制御装置20が解釈・実行できない特殊コマンドを第二の記憶制御装置20が解釈・実行可能なコマンドに変換する、いわばコマンド変換装置として機能する。
When the
なお、このように第一の記憶制御装置10が第二の記憶制御装置20に対してコマンド変換装置として機能することで、第二の記憶制御装置20がインテリジェントな機能を有していない場合でも、ホストコンピュータはあたかも第二の記憶制御装置20がそのような機能を有しているかのように(もしくは、第一の記憶制御装置10が第二の記憶制御装置と一体化しているように)、第二の記憶制御装置20の記憶資源を利用することができる。
Even when the second
また、第一の記憶制御装置10のみが解釈・実行できるコマンドの適用範囲を第二の記憶制御装置20にも拡張することができる。従って、例えば、第二の記憶制御装置20が設置されている環境に第一の記憶制御装置10を導入するような場合、既存の資産である第二の記憶制御装置20の記憶デバイスにより記憶資源の拡張を図りつつ、第二の記憶制御装置20の記憶資源の利用に際しても、第一の記憶制御装置10のみが解釈・実行できるコマンドを適用することができ、例えば、データセンタなどにおいては、既存の資産である第二の記憶制御装置20を有効に利用することができる。
Further, the application range of commands that can be interpreted and executed only by the
以下、以上の仕組みを実現するための具体的な構成について説明する。
図19に以下の説明で用いる第一の記憶制御装置10および第二の記憶制御装置20のハードウエア構成を、また、図20に、図19のハードウエアやこの上で動作するソフトウエアにより実現される第一の記憶制御装置10および第二の記憶制御装置20が有する主な機能ブロックを示す。なお、図20においては、記憶装置60の記載は省略している。
Hereinafter, a specific configuration for realizing the above mechanism will be described.
FIG. 19 shows the hardware configuration of the first
(1)特殊リザーブコマンド
まず、特殊コマンドが、SCSI規格に規定されている特殊リザーブコマンドである場合を一例として説明する。特殊リザーブコマンドには、従来のSCSI規格のリザーブコマンドの機能に加え、各LUについて、データ入出力要求に付帯するWWN(World Wide Name)(例えば、ホストコンピュータ30に付与されるWWN)ごとに書き込み可否、読み出し可否などの設定が可能である。
(1) Special Reserve Command First, a case where the special command is a special reserve command defined in the SCSI standard will be described as an example. In the special reserve command, in addition to the function of the conventional SCSI standard reserve command, each LU is written for each WWN (World Wide Name) attached to the data input / output request (for example, WWN assigned to the host computer 30). It is possible to set whether to permit or not to read.
図21は、第二の記憶制御装置20のLUNが第一の記憶制御装置10側でマッピングされて管理される様子を説明している。この図では記憶装置60は省略している。なお、具体的なマッピングの方法については、前述の図2で説明したものと同様であるのでここでは説明を省略する。
図22はホストコンピュータ31から第一の記憶制御装置10に対し、第二の記憶制御装置20の記憶デバイスを対象とする特殊リザーブコマンドが記載されたデータ入出力要求が送信された場合における、記憶装置システムの動作を説明している。なお、この図では記憶装置60は省略している。
FIG. 21 illustrates how the LUN of the
FIG. 22 shows storage in the case where a data input / output request describing a special reserve command for the storage device of the second
第一のホストコンピュータ31から第一の記憶制御装置10に特殊リザーブコマンドが送信され、第一の記憶制御装置10がこれを受信する(S2211)。第一の記憶制御装置10が受信した特殊リザーブコマンドは、第一の記憶制御装置10のコマンド解析・実行部1011により図23に示すLUマップ情報テーブル2300に対照される。これによりコマンド解析・実行部1011は、当該コマンドに設定されているLUが第二の記憶制御装置20の記憶デバイスを対象とするものであることを認知し(S2212)、図24に示すリザーブ情報テーブル2400のLUのリザーブフラグをオン(すなわち、リザーブ中)にするとともに、そのLUに対応づけて、当該データ入出力要求を送信してきたホストコンピュータ31のWWNをリザーブ情報テーブル2400に登録する(S2213)。
A special reserve command is transmitted from the
つぎに、第一のホストコンピュータ31から第一の記憶制御装置10に対し、データ書き込みコマンド(『Write』コマンド)が記載されたデータ入出力要求が送信されて、第一の記憶制御装置10がこれを受信する(S2214)。すると、コマンド解析・実行部1011は、受信したデータ入出力要求に記載されているWWNが、そのデータ入出力要求の対象となるLUについてリザーブ情報テーブル2400に登録されているWWNと一致するかどうかを調べる(S2215)。ここではWWNは一致しているので、コマンド解析・実行部1011は、データ書き込みコマンドについての処理を進める。
Next, a data input / output request in which a data write command (“Write” command) is written is transmitted from the
つぎに、コマンド解析・実行部1011は、データキャッシング部1013にデータ書き込みコマンドに付帯して受信した書き込み対象データをキャッシュメモリ13(図22において不図示)に記憶するよう指示し(S2216)、データキャッシング部1013は書き込み対象データをキャッシュメモリ13に記憶し、その旨をリモートI/O制御部1012に通知する(S2217)。
Next, the command analysis /
つぎに、コマンド解析・実行部1011はリモートI/O制御部1012を制御し(S2218)、リモートI/O制御部1012は、キャッシュメモリ13に記憶されている書き込みデータについてのデータ書き込みコマンドを第二の記憶制御装置20に送信する(S2219)。ここでこのデータ書き込みコマンドは、第二の記憶制御装置20においても解析・実行が可能なSCSI規格のコマンドである。
Next, the command analysis /
第二の記憶制御装置20において受信された前記データ書き込みコマンドは、第二の記憶制御装置20のコマンド解析・実行部2011において解析され、データキャッシング部2013は前記データ書き込みコマンドとともに受信した書き込み対象データをキャッシュメモリ(不図示)に記憶する(S2220)。そして、ディスク入出力制御部19は、第二の記憶制御装置20のキャッシュメモリに記憶されている書き込み対象データを記憶デバイス(不図示)に記憶する。
The data write command received by the second
一方、第一のホストコンピュータ31以外の、例えば、第二のホストコンピュータ32から第一の記憶制御装置10に対してリザーブ中のLUを対象とするコマンドが記載されたデータ入出力要求が送信された場合(S2231)には、第一の記憶制御装置10のコマンド解析・実行部1011は、受信したデータ入出力要求に記載されているWWNが、そのデータ入出力要求の対象となるLUについてリザーブ情報テーブル2400に登録されているWWNと一致するかどうかを調べる(S2232)。ここでこの場合にはWWNが不一致であるので、コマンド解析・実行部2011は、第二のホストコンピュータ32に対し、そのLUがリザーブ中である旨のメッセージを送信する(S2233)。
On the other hand, for example, the
以上の仕組みにより、第一の記憶制御装置10のみが解釈・実行することができる特殊リザーブコマンドの適用範囲を、第二の記憶制御装置20にも拡張することができる。従って、例えば、特殊リザーブコマンドを解釈・実行する機能を備えていない第二の記憶制御装置20が設置されている場合に、そのような機能を備えている第一の記憶制御装置10を導入したような場合には、既存の資産である第二の記憶制御装置20の記憶デバイスにより記憶資源の拡張を図りつつ、第二の記憶制御装置20の記憶資源の利用に際しても、特殊リザーブコマンドの機能を適用することができ、例えば、データセンタなどにおいては、既存の資産を有効に利用することができる。
With the above mechanism, the application range of the special reserve command that can be interpreted and executed only by the
(2)E−Copyコマンド
つぎに、特殊コマンドが、SCSIに規定されるE−Copyコマンド(Extended
Copy Command)である場合について説明する。このコマンドは、例えば、コマンドを発行したデバイス自身はデータのコピーを行わず他のデバイス間でデータのコピーを行わせる場合に利用されるコマンドである。
図25は、第一のホストコンピュータ31から第一の記憶制御装置10に対し、第二の記憶制御装置20の第二の論理ボリューム21のデータを第三の記憶制御装置80に接続するバックアップデバイス90への複製を指示するE−Copyコマンドが送信された場合における、記憶装置システムの動作について説明している。
(2) E-Copy Command Next, a special command is an E-Copy command (Extended
Copy Command) will be described. This command is used, for example, when the device that issued the command does not copy the data, but allows the data to be copied between other devices.
FIG. 25 shows a backup device for connecting the data of the second
まず、第一のホストコンピュータ31から第一の記憶制御装置10に対し、E−Copyコマンドが送信され、第一の記憶制御装置10がこれを受信する(S2511)。
第一の記憶制御装置10が受信したE−Copyコマンドは、第一の記憶制御装置10のコマンド解析・実行部1011により図23に示すLUマップ情報テーブル2300に対照され、これによりコマンド解析・実行部1011は、当該コマンドに指定されているコピー対象の論理ボリュームが、第二の記憶制御装置20の第二の論理ボリューム21を対象としているものであることを認知する(S2512)。また、コマンド解析・実行部は、当該コマンドに設定されているコピー元デバイス(第二の論理ボリューム)のアドレスであるソースアドレス(Source Address)と、コピー先デバイス(バックアップデバイス90)のアドレスであるデスティネーションアドレス(Destination Address)とを、制御用メモリ14上のコマンド制御バッファ1015に記憶する(S2513)。
First, an E-Copy command is transmitted from the
The E-Copy command received by the first
つぎに、コマンド解析・実行部1011は、リモートI/O実行部1012に対し、ソースアドレスで指定される第二の論理ボリューム21を編成している第二の記憶制御装置20にデータ読み出しコマンドを送信するように指示する(S2514)。そして、この指示を受信したリモートI/O実行部1012は、第二の記憶制御装置20に対し、第二の記憶制御装置20においても解析・実行が可能なSCSI規格のコマンドであるデータ読み出し(Read)コマンドを送信する(S2515)。
Next, the command analysis /
第二の記憶制御装置20が前記データ読み出し(Read)コマンドを受信すると、第二の記憶制御装置20のコマンド解析・実行部2011はこのコマンドを解析し、ディスク入出力制御部19への指示により読み出し対象となるデータを読み出して(S2516)、これを第一の記憶制御装置10に送信する(S2517)。なお、この読み出しは、第二の記憶制御装置20のキャッシュメモリに該当のデータが存在すればそのデータを利用して行われる。また、存在しなければディスク入出力制御部19が第二の論理ボリューム21から読み出してキャッシュメモリに記憶しこれを利用することで行われる。
When the second
つぎに、第一の記憶制御装置10のリモートI/O実行部1012は、第二の記憶制御装置20から送信されてくるデータを受信すると、その旨をデータキャッシング部1013に通知する(S2518)。この通知を受信したデータキャッシング部1013は、前記データをキャッシュメモリ13に記憶し、データを格納した旨をコマンド解析・実行部1011に通知する(S2519)。
Next, when receiving the data transmitted from the second
つぎに、この通知を受信したコマンド解析・実行部1011は、リモートI/O実行部1012に対し、デスティネーションアドレスで指定されるバックアップデバイス90が接続する第三の記憶制御装置80に対し、前記データおよび当該データについてのデータ書き込みコマンドを送信する旨を通知する(S2520)。この通知を受信したリモートI/O実行部1012は、第三の記憶制御装置80に前記データおよびデータ書き込みコマンドを送信する(S2521)。そして、第三の記憶制御装置80は、前記データおよび前記データ書き込みコマンドを受信すると、バックアップデバイス90を制御して、前記データの記憶媒体への書き込みを開始する(S2522)。なお、バックアップデバイス90としては、例えば、ディスクドライブ、DATテープドライブ、DVD−RAM、MO、CD−R、ディスクドライブ、カセットテープなどがある。
Next, the command analysis /
以上の仕組みにより、第一の記憶制御装置10のみが解釈・実行することができるE−Copyコマンドの適用範囲を第二の記憶制御装置20にまで拡張することができる。従って、例えば、E−Copyコマンドを解釈する機能を備えていない第二の記憶制御装置20が設置されている場合に、前記機能を備える第一の記憶制御装置10を導入したような場合には、第二の記憶制御装置20の記憶デバイスにより記憶資源の拡張を図りつつ、第二の記憶制御装置20の記憶資源の利用に際しても、E−Copyコマンドの機能を適用することが可能となり、旧い記憶制御装置を有効に利用することが可能となる。
With the above mechanism, the application range of the E-Copy command that can be interpreted and executed only by the
===情報収集機能の詳細===
つぎに、前述した情報収集機能の詳細について説明する。この機能は、例えば、記憶装置システムに新規に第一の記憶制御装置10が導入された際や、他の装置の構成が変更された際、または、ユーザによる起動指示がされた際などを契機として実行される。
=== Details of information collection function ===
Next, details of the above-described information collection function will be described. This function is triggered, for example, when the first
図26は、この機能の実行に際し、第一の記憶制御装置10が行う処理を説明するフローチャートである。この処理において、第一の記憶制御装置10は、まず、アクセス可能な第二のネットワーク51上の全てのポートに対し、例えば、ポートIDと各ポートに接続するデバイスのLUNを指定したSCSI規格の「Inquiry」コマンドを送信し、これにより第二の記憶制御装置20の候補としての、他の装置の構成を取得する(S2611,S2612)。第一の記憶制御装置10は、前記コマンドにより取得した装置名や装置の種類などの情報に基づいて、その装置が第二の記憶制御装置20として利用できる装置であるかどうかどうかを判断する。なお、第一の記憶制御装置10は、前記判断のため、各装置名もしくは装置の種類と、それらが第二の記憶制御装置20として利用できるかどうかの対応づけを制御メモリ14などに記憶している。
FIG. 26 is a flowchart for explaining processing performed by the first
前記判断において、第一の記憶制御装置10は、第二の記憶制御装置20として利用できる装置を発見すると、「Inquiry」コマンドに引続きその装置に対してSCSI規格の「Read Capacity」コマンドを送信する(S2613)。これによりその装置により提供される記憶容量などの情報を取得することができる。第一の記憶制御装置10は、このようにして取得した情報を構成情報管理テーブル41に記憶する(S2614)。
In the above determination, when the first
===経路の動的選択機能===
この記憶装置システムにおいて、第一の記憶制御装置10は、第二の記憶制御装置20との間のデータ伝送の経路を、動的に選択する機能を備えている。ここでは、この機能について詳述する。
まず、第一の記憶制御装置10が、この動的選択機能のために必要となる、第二のネットワーク51に関する情報を収集する仕組みについて説明する。まず、第一の記憶制御装置10は、第二のネットワーク51上の、例えば、ファイバチャネルスイッチなどの中継装置からネットワークに関する情報を取得して、これを制御メモリ14に記憶する。ここでネットワークに関する情報とは、ファイバチャネル規格、もしくは、SCSI規格、iSCSI規格などにおける、ネトワークトポロジー情報やネットワーク内ノード情報である。これらの情報は、ネットワークを構成しているスイッチ等の機器に記憶されている。
=== Dynamic selection function of route ===
In this storage device system, the first
First, a mechanism in which the first
以上のようにして収集した情報に基づき、例えば、第一の記憶制御装置10は、第二の記憶制御装置20に到達するネットワーク経路が複数存在する場合には、そのうちのいずれか一つを選択するか、または負荷分散等の目的で複数ポートに異なる経路を選択し、ネットワークに当該経路を設定指示する。この際、第一の記憶制御装置10は、ネットワークの混雑状態や第二の記憶制御装置20に対するアクセス状況等を勘案し、最適なネットワーク経路を動的に選択する。またネットワークの接続状態を確認し、障害等で選択された経路が遮断された場合には、経路を自動的に切り替える、動的な経路制御を行う。
Based on the information collected as described above, for example, when there are a plurality of network paths reaching the second
また、第一の記憶制御装置10は、セキュリティ向上などを目的として、ゾーニング設定の変更や、第二のネットワーク51に存在する他の装置との干渉が抑制されるように、動的に経路選択を行ったり、前述したアクセス制限の機能に連動させてアクセス許可された経路のみを自動的に選択する。
Also, the first
===他の実施形態===
以上、一実施形態に基づき本発明に係る記憶装置システムおよびその制御方法等について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることは勿論である。
=== Other Embodiments ===
As described above, the storage system and the control method thereof according to the present invention have been described based on one embodiment. However, the above-described embodiment is for facilitating the understanding of the present invention. It is not intended to limit. The present invention can be changed and improved without departing from the gist thereof, and the present invention includes the equivalents thereof.
ところで、以上の説明において、第一のネットワーク50と第二のネットワーク51とは、接続していてもよいし、独立していてもよい。
一台の第一の記憶制御装置10に対し、複数の第二の記憶制御装置が存在する構成でもよい。
また、以上では、第一の記憶制御装置10や第二の記憶制御装置20は、ディスクアレイ装置であるとして説明したが、これに限られるわけではなく、例えば、記憶デバイスとして半導体メモリを使用する半導体ディスク装置などであってもよい。
第一および第二の記憶制御装置間10,20の接続は、SCSI規格などに準拠した通信線で接続する構成でもよい。
By the way, in the above description, the
A configuration in which a plurality of second storage control devices exist for one first
In the above description, the first
The connection between the first and second
10 第一の記憶制御装置
11 論理ボリューム
12 マイクロプロセッサ
13 キャッシュメモリ
14 制御メモリ
15 外部インタフェース
20 第二の記憶制御装置
21 論理ボリューム
30 ホストコンピュータ
41 構成情報管理テーブル
42 ビットマップ
43 アクセス制限情報テーブル
44 更新管理テーブル
50 第一のネットワーク
51 第二のネットワーク
10
Claims (14)
前記仮想ボリュームが作成される場合に、少なくとも前記第一の論理ボリュームのLogical Unit Number(LUN)を含む第一の情報を要求する情報要求を、前記第一のディスクアレイ装置に対して送信し、
前記第一のディスクアレイ装置から前記第一の情報を受信し、
前記第一の情報と、前記仮想ボリュームのLUNを含む第二の情報との対応関係を登録し、
前記ホストコンピュータから前記仮想ボリュームに対して送られたデータ入出力要求を受信し、
前記登録された対応関係に基づき、前記データ入出力要求の宛先を前記第一のディスクアレイ装置に対して送信するように変換することにより、前記第一のディスクアレイ装置が前記第一の論理ボリュームに対応する前記複数のディスクドライブに対してデータを入出力すること
を特徴とする中継装置の制御方法。 A control method for a relay device connected to a host computer and a first disk array device having a first logical volume and a control device composed of a plurality of disk drives and having a virtual volume,
When the virtual volume is created, an information request for requesting first information including at least a logical unit number (LUN) of the first logical volume is transmitted to the first disk array device,
Receiving the first information from the first disk array device;
Register the correspondence between the second information including the first information, the LUN of the virtual volume,
Receiving a data input / output request sent from the host computer to the virtual volume;
Based on the registered correspondence , the first disk array device converts the destination of the data input / output request to be transmitted to the first disk array device, so that the first logical array A method for controlling a relay apparatus, comprising: inputting and outputting data to and from the plurality of disk drives corresponding to the;
前記中継装置には、前記第一の情報を当該中継装置に登録するかどうかを決定するのに利用される条件が設定されていること
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
A relay device control method, wherein a condition used to determine whether or not to register the first information in the relay device is set in the relay device.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置へのデータの送信を要求するためのデータ送信要求を受信し、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置への前記データの送信を前記第一のディスクアレイ装置に要求すること
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
The relay device further comprises:
Connected to the second disk array device,
Receiving a data transmission request for requesting transmission of data from the first disk array device to the second disk array device;
A method for controlling a relay device, comprising: requesting the first disk array device to transmit the data from the first disk array device to the second disk array device.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置にデータを送信するためのデータ送信要求を受信し、
前記関係と前記データ送信要求に含まれる前記第二の情報とに基づいて、前記第一の論理ボリュームから前記第二のディスクアレイ装置の第二の論理ボリュームへのデータ送信を行うか否かを決定し、
行う場合は、前記第一のディスクアレイ装置から前記第二のディスクアレイ装置への前記データの送信を前記第一のディスクアレイ装置に要求すること
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
The relay device further comprises:
Connected to the second disk array device,
Receiving a data transmission request for transmitting data from the first disk array device to the second disk array device;
Whether to perform data transmission from the first logical volume to the second logical volume of the second disk array device based on the relationship and the second information included in the data transmission request. Decide
When performing, the relay disk controller requests the first disk array device to transmit the data from the first disk array device to the second disk array device.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から当該中継装置へのデータ送信を前記第一のディスクアレイ装置に要求し、
前記第一のディスクアレイ装置からデータを受信し、
当該中継装置から前記第二のディスクアレイ装置に前記データを送信すること
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
The relay device further comprises:
Connected to the second disk array device,
Requesting the first disk array device to transmit data from the first disk array device to the relay device;
Receiving data from the first disk array device;
The relay apparatus control method, wherein the data is transmitted from the relay apparatus to the second disk array apparatus.
前記第一の情報を要求する情報要求は、SCSI(Small Computer System Interface)規格におけるInquiryコマンドであること
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
The information request for requesting the first information is an inquiry command in a SCSI (Small Computer System Interface) standard.
前記第一の情報を要求する情報要求は、前記第一の論理ボリュームに関する第一の情報を要求するものであり、
前記第一の情報には、前記第一の論理ボリュームの容量情報が含まれ、
前記第二の情報には、前記第一の論理ボリュームの容量情報が含まれ、
前記データ入出力要求がデータの書込み要求であり、前記書込み要求のデータのサイズが、前記書込み要求の対象である前記第一の論理ボリュームの容量を超える場合、前記書込み要求を前記第一のディスクアレイに送信しないこと
を特徴とする中継装置の制御方法。 It is the control method of the relay apparatus according to claim 1,
The information request for requesting the first information is for requesting the first information regarding the first logical volume,
The first information includes capacity information of the first logical volume ,
The second information includes capacity information of the first logical volume,
When the data input / output request is a data write request, and the size of the data of the write request exceeds the capacity of the first logical volume that is the target of the write request, the write request is transferred to the first disk. A method for controlling a relay device, characterized by not transmitting to an array .
仮想ボリュームを制御する制御部と、を有し、
前記制御部は、前記仮想ボリュームが作成される場合に、少なくとも前記第一の論理ボリュームのLogical Unit Number(LUN)を含む第一の情報を要求する情報要求を、前記第一のディスクアレイ装置に対して送信するように制御し、
前記第一のディスクアレイ装置から前記第一の情報を受信した場合、前記第一のLUNと、前記仮想ボリュームのLUNを含む第二の情報との対応関係を登録するように制御し、
前記ホストコンピュータから前記仮想ボリュームに対して送られたデータ入出力要求を受信した場合、前記登録された対応関係に基づき、前記データ入出力要求の宛先を前記第一のディスクアレイ装置に対して送信するように変換することにより、前記第一のディスクアレイ装置が前記第一の論理ボリュームに対応する前記複数のディスクドライブに対してデータを入出力すること
を特徴とする中継装置。 A port unit connected to a host computer and a first disk array device having a first logical volume and a control device configured by a plurality of disk drives;
A control unit for controlling the virtual volume,
When the virtual volume is created, the control unit sends an information request for requesting first information including at least a logical unit number (LUN) of the first logical volume to the first disk array device. Control to send to
When receiving the first information from the first disk array device, said first LUN, and controls so as to register the correspondence between the second information including LUN of the virtual volume,
When a data input / output request sent from the host computer to the virtual volume is received , the destination of the data input / output request is transmitted to the first disk array device based on the registered correspondence. By performing the conversion as described above, the first disk array device inputs and outputs data to and from the plurality of disk drives corresponding to the first logical volume.
前記中継装置には、前記第一の情報を当該中継装置に登録するかどうかを決定するのに利用される条件が設定されていること
を特徴とする中継装置。 The relay device according to claim 8,
The relay device is set with a condition used to determine whether or not to register the first information in the relay device.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置へのデータの送信を要求するためのデータ送信要求を受信し、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置への前記データの送信を前記第一のディスクアレイ装置に要求すること
を特徴とする中継装置。 The relay device according to claim 8,
The relay device further comprises:
Connected to the second disk array device,
Receiving a data transmission request for requesting transmission of data from the first disk array device to the second disk array device;
A relay device that requests the first disk array device to transmit the data from the first disk array device to the second disk array device.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から前記第二のディスクアレイ装置にデータを送信するためのデータ送信要求を受信し、
前記関係と前記データ送信要求に含まれる前記第二の情報とに基づいて、前記第一の論理ボリュームから前記第二のディスクアレイ装置の第二の論理ボリュームへのデータ送信を行うか否かを決定し、
行う場合は、前記第一のディスクアレイ装置から前記第二のディスクアレイ装置への前記データの送信を前記第一のディスクアレイ装置に要求すること
を特徴とする中継装置。 The relay device according to claim 8,
The relay device further comprises:
Connected to the second disk array device,
Receiving a data transmission request for transmitting data from the first disk array device to the second disk array device;
Whether to perform data transmission from the first logical volume to the second logical volume of the second disk array device based on the relationship and the second information included in the data transmission request. Decide
When performing, the relay apparatus requests the first disk array apparatus to transmit the data from the first disk array apparatus to the second disk array apparatus.
前記中継装置が、さらに、
第二のディスクアレイ装置に接続され、
前記第一のディスクアレイ装置から当該中継装置へのデータ送信を前記第一のディスクアレイ装置に要求し、
前記第一のディスクアレイ装置からデータを受信し、
当該中継装置から前記第二のディスクアレイ装置に前記データを送信すること
を特徴とする中継装置。 The relay device according to claim 8,
The relay device further comprises:
Connected to the second disk array device,
Requesting the first disk array device to transmit data from the first disk array device to the relay device;
Receiving data from the first disk array device;
The relay device, wherein the data is transmitted from the relay device to the second disk array device.
前記第一の情報を要求する情報要求は、SCSI(Small Computer System Interface)規格におけるInquiryコマンドであること
を特徴とする中継装置。 The relay device according to claim 8,
The information request for requesting the first information is an inquiry command in a SCSI (Small Computer System Interface) standard.
前記第一の情報を要求する情報要求は、前記第一の論理ボリュームに関する第一の情報を要求するものであり、
前記第一の情報には、前記第一の論理ボリュームの容量情報が含まれ、
前記第二の情報には、前記第一の論理ボリュームの容量情報が含まれ、
前記データ入出力要求がデータの書込み要求であり、前記書込み要求のデータのサイズが、前記書込み要求の対象である前記第一の論理ボリュームの容量を超える場合、前記書込み要求を前記第一のディスクアレイに送信しないこと
を特徴とする中継装置。 The relay device according to claim 8,
The information request for requesting the first information is for requesting the first information regarding the first logical volume,
The first information includes capacity information of the first logical volume ,
The second information includes capacity information of the first logical volume,
When the data input / output request is a data write request, and the size of the data of the write request exceeds the capacity of the first logical volume that is the target of the write request, the write request is transferred to the first disk. A relay device characterized by not transmitting to the array .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007338668A JP5106093B2 (en) | 2002-04-26 | 2007-12-28 | Storage system control method and storage control device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002127058 | 2002-04-26 | ||
JP2002127058 | 2002-04-26 | ||
JP2007338668A JP5106093B2 (en) | 2002-04-26 | 2007-12-28 | Storage system control method and storage control device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002333540A Division JP4704659B2 (en) | 2002-04-26 | 2002-11-18 | Storage system control method and storage control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008171420A JP2008171420A (en) | 2008-07-24 |
JP5106093B2 true JP5106093B2 (en) | 2012-12-26 |
Family
ID=39699399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007338668A Expired - Fee Related JP5106093B2 (en) | 2002-04-26 | 2007-12-28 | Storage system control method and storage control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5106093B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4809413B2 (en) | 2008-10-08 | 2011-11-09 | 株式会社日立製作所 | Storage system |
JP6604029B2 (en) | 2015-04-30 | 2019-11-13 | 富士通株式会社 | Control device, storage device, control program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000242434A (en) * | 1998-12-22 | 2000-09-08 | Hitachi Ltd | Storage device system |
JP2001075853A (en) * | 1999-09-03 | 2001-03-23 | Hitachi Ltd | Computer system, and computer and storage device used for the computer system |
JP4115093B2 (en) * | 2000-07-06 | 2008-07-09 | 株式会社日立製作所 | Computer system |
JP3617437B2 (en) * | 2000-09-13 | 2005-02-02 | 日本電気株式会社 | Data copy method and program recording medium recording data copy program |
-
2007
- 2007-12-28 JP JP2007338668A patent/JP5106093B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008171420A (en) | 2008-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4704659B2 (en) | Storage system control method and storage control device | |
JP4386694B2 (en) | Storage system and storage control device | |
JP4252301B2 (en) | Storage system and data backup method thereof | |
US8312233B2 (en) | Storage system that is connected to external storage | |
US7287116B2 (en) | Storage virtualization system and method having a virtualization switch | |
EP1489524B1 (en) | Storage area network with a cache server | |
US7165163B2 (en) | Remote storage disk control device and method for controlling the same | |
JP4297747B2 (en) | Storage device | |
US20060143422A1 (en) | Storage control system | |
JP2007141216A (en) | System, method and apparatus for multiple-protocol-accessible osd storage subsystem | |
WO2001029647A1 (en) | Storage area network system | |
JP2004192105A (en) | Connection device of storage device and computer system including it | |
JP2004227558A (en) | Virtual control unit and method for controlling data migration | |
JP2001075872A (en) | Data backup method, mainframe system storage system, and mainframe host computer | |
US11327653B2 (en) | Drive box, storage system and data transfer method | |
US7243196B2 (en) | Disk array apparatus, and method for avoiding data corruption by simultaneous access by local and remote host device | |
JP5106093B2 (en) | Storage system control method and storage control device | |
WO2021083780A1 (en) | Storage area network controller | |
JP2004078993A (en) | Multicomputer system and combined i/o system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100921 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101104 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110823 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111006 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120612 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120820 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20120827 |
|
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: 20121002 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121002 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5106093 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151012 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |