JP5501504B2 - Data migration control method for storage device - Google Patents

Data migration control method for storage device Download PDF

Info

Publication number
JP5501504B2
JP5501504B2 JP2013075630A JP2013075630A JP5501504B2 JP 5501504 B2 JP5501504 B2 JP 5501504B2 JP 2013075630 A JP2013075630 A JP 2013075630A JP 2013075630 A JP2013075630 A JP 2013075630A JP 5501504 B2 JP5501504 B2 JP 5501504B2
Authority
JP
Japan
Prior art keywords
storage area
migration
policy
data
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
Application number
JP2013075630A
Other languages
Japanese (ja)
Other versions
JP2013168162A (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 JP2013075630A priority Critical patent/JP5501504B2/en
Publication of JP2013168162A publication Critical patent/JP2013168162A/en
Application granted granted Critical
Publication of JP5501504B2 publication Critical patent/JP5501504B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は記憶装置の構成管理に関するものであり、特に記憶装置のデータ移行制御方法に関するものである。   The present invention relates to storage device configuration management, and more particularly to a data migration control method for a storage device.

近年、企業や個人の利用するデータの量は急激に増加している。そこで、ストレージサブシステムやホスト計算機をスイッチやハブで接続し、柔軟なデータ管理を可能にするSAN(Storage Area Network)や、NAS(Network Attached Storage)といった技術を利用したストレージシステムが広く利用されている。   In recent years, the amount of data used by businesses and individuals has increased rapidly. Therefore, storage systems using technologies such as SAN (Storage Area Network) and NAS (Network Attached Storage) that enable flexible data management by connecting storage subsystems and host computers with switches and hubs are widely used. Yes.

また近年では、記憶装置(以下、ストレージサブシステムとも表記する)の運用コストの低減がストレージシステムの管理において重要な課題となっている。これを解決する1つの方法として、データの新しさや利用頻度などに応じて、例えば新しいストレージサブシステムから古いストレージサブシステムにデータを再配置するといった、データのライフサイクル管理が重要になっている(なお、データの再配置元や再配置先のストレージサブシステム群をストレージ階層と呼ぶ)。   In recent years, reduction of the operation cost of a storage device (hereinafter also referred to as a storage subsystem) has become an important issue in storage system management. One way to solve this is to manage data lifecycle, such as relocating data from a new storage subsystem to an old storage subsystem, depending on the newness and frequency of use of the data. (Note that the storage subsystem group to which data is relocated and relocated is referred to as a storage tier).

データのライフサイクル管理を実現する技術として、ストレージサブシステムの記憶領域(以下「ボリューム」と呼ぶ)を利用するホスト計算機に影響を与えることなく、該ボリュームの内容を別のボリュームに移行する技術(以下、マイグレーションと表記する)が公開されている。   As a technology for realizing data life cycle management, a technology for migrating the contents of a volume to another volume without affecting a host computer that uses a storage area (hereinafter referred to as “volume”) of the storage subsystem ( (Hereinafter referred to as migration).

マイグレーションを行う方法には、例えば特許文献1、2、3にて開示されている方法がある。これら技術では、まず、あるボリュームから別のボリュームへデータをコピーし、コピー元のボリュームのデータを削除する。コピー元、コピー先データのアドレス管理はアドレス管理プログラムが処理する。データ移行中にホスト計算機から該アドレスにアクセスがあった場合で、データ読み込み要求の場合は、アクセス処理プログラムが、アドレス管理プログラムの管理するアドレスのデータをホストに提供する。データ書込みの場合はキャッシュメモリに書き込みデータを保持し、後で移行先ボリュームにデータを書き込む。以上の処理を行うことによってボリュームの入れ替えを実現している。データの移行先としては、同一ストレージサブシステム内のボリュームや(特許文献1参照)、異なるストレージサブシステムのボリュームや(特許文献2参照)、仮想的に1台のストレージサブシステムとして管理している、異なるストレージサブシステムのボリュームがある(特許文献3参照)。   As a method for performing migration, for example, there are methods disclosed in Patent Documents 1, 2, and 3. In these techniques, first, data is copied from one volume to another, and the data of the copy source volume is deleted. Address management program processes address management of copy source and copy destination data. When there is an access to the address from the host computer during data migration and the data read request is made, the access processing program provides the host with the address data managed by the address management program. In the case of data writing, the write data is held in the cache memory, and the data is later written in the migration destination volume. Volume replacement is realized by performing the above processing. As data migration destinations, volumes in the same storage subsystem (see Patent Document 1), volumes in different storage subsystems (see Patent Document 2), or virtually one storage subsystem are managed. There are different storage subsystem volumes (see Patent Document 3).

また特許文献4では、論理ボリュームの性能情報やI/O (Input/Output)アクセス頻度に基づいて、データを自動的にマイグレーションする方法を開示している。さらに特許文献5では、ホスト計算機から論理ボリュームへのI/Oアクセスの頻度などに応じて、論理ボリュームを構成するセグメント単位でデータをマイグレーションする方法を開示している。   Patent Document 4 discloses a method of automatically migrating data based on logical volume performance information and I / O (Input / Output) access frequency. Further, Patent Document 5 discloses a method for migrating data in units of segments constituting a logical volume in accordance with the frequency of I / O access from the host computer to the logical volume.

特許出願公開第2000−293317号明細書Patent Application Publication No. 2000-293317 米国特許第6108748号明細書US Pat. No. 6,108,748 特許出願公開第2003−345522号明細書Patent Application Publication No. 2003-345522 特許出願公開第2003−067187号明細書Patent Application Publication No. 2003-067187 特許出願公開第2007−066259号明細書Patent Application Publication No. 2007-066259

従来技術を用いることにより、ホスト計算機から論理ボリュームへのI/Oアクセスの頻度などに応じて、論理ボリューム単位または論理ボリュームを構成するセグメント単位でデータをマイグレーションすることで、データのライフサイクル管理を実現することができる。   By using conventional technology, data lifecycle management can be performed by migrating data in logical volume units or segment units that make up a logical volume according to the frequency of I / O access from the host computer to the logical volume. Can be realized.

しかし従来技術の方法では、データのマイグレーションにおいて論理ボリューム間の関連を考慮していない。例えば、ある論理ボリューム内のデータが別の論理ボリュームにコピーされているという関連(以下、コピーペアの関連と表記する)がある場合、一般的にコピー元ボリューム(以下、P-Volとも表記する)に対するI/Oアクセス頻度と、コピー先ボリューム(以下、S-Volとも表記する)に対するI/Oアクセス頻度は異なる。これは通常運用時においては、P-Volに対してはホスト計算機からの書き込み/読み込みのアクセスがあるのに対し、S-Volに対してはデータコピーのための書き込みアクセスのみがあるためである。このような構成において、従来技術の方法ではP-VolとS-Volは別々にアクセス頻度に基づいて、マイグレーションされることとなる。先に述べたように、一般的にP-Volに比べてS-Volの方がアクセス頻度が低いため、S-Volの方がP-Volに比べて、QoS (Quality of Service)の低いボリューム(またはセグメント)にマイグレーションされやすい。このため、例えばP-Volに障害が発生した際、ホスト計算機がS-Volを利用するとI/O性能が急激に劣化するなどの状況が起こり得る。このことは必ずしもユーザ要件に合っているとは限らない。   However, the prior art method does not consider the relationship between logical volumes in data migration. For example, if there is a relationship that data in one logical volume has been copied to another logical volume (hereinafter referred to as a copy pair relationship), it is generally expressed as a copy source volume (hereinafter also referred to as a P-Vol). ) And the I / O access frequency for the copy destination volume (hereinafter also referred to as S-Vol) are different. This is because, during normal operation, P-Vol has write / read access from the host computer, whereas S-Vol has only write access for data copy. . In such a configuration, according to the conventional method, the P-Vol and the S-Vol are migrated separately based on the access frequency. As mentioned earlier, since S-Vol is generally less frequently accessed than P-Vol, S-Vol is lower in quality of service (QoS) than P-Vol. Easily migrated to (or segment). For this reason, for example, when a failure occurs in the P-Vol, there may occur a situation in which the I / O performance deteriorates rapidly if the host computer uses the S-Vol. This does not necessarily meet user requirements.

本発明では、関連のあるボリュームのペア(またはグループ)に対して、関連元のボリューム(例えば、コピーペアの関連におけるP-Vol)のマイグレーションと、関連先のボリューム(例えば、コピーペアの関連におけるS-Vol)のマイグレーションとを、併せて制御する。具体的には、本発明の計算機システムは、複数の記憶領域を有する1又は複数の記憶装置と、データの移行を制御するコントローラと、を有するストレージシステムを備えており、コントローラが、第1記憶領域が有する第1データを第1記憶領域から第2記憶領域に移行する場合に、コントローラは、第1記憶領域と関連する第3記憶領域が有する第2データを、第3記憶領域から、第1記憶領域と関連する記憶領域に対して定められたポリシに従って選択される第4記憶領域に移行する。   In the present invention, with respect to a pair (or group) of related volumes, migration of a related source volume (for example, a P-Vol in a copy pair relationship) and a related destination volume (for example, a copy pair relationship). S-Vol) migration is also controlled. Specifically, the computer system of the present invention includes a storage system having one or more storage devices having a plurality of storage areas, and a controller for controlling data migration. When the first data in the area is transferred from the first storage area to the second storage area, the controller transfers the second data in the third storage area related to the first storage area from the third storage area to the second storage area. The process proceeds to the fourth storage area selected according to the policy determined for the storage area related to the one storage area.

本発明によれば、関連のあるボリュームのペア(またはグループ)に対して、ユーザ要件に合わせてマイグレーションを制御することができる。例えば、ボリュームがマイグレーションされたとき、当該ボリュームと関連のあるボリュームも合わせて、マイグレーションさせることができる。なお、マイグレーション対象の単位についてはボリュームや、ボリュームを構成するセグメントがあるが、本発明においてはマイグレーションの単位は限定しない。   According to the present invention, it is possible to control migration of related volume pairs (or groups) according to user requirements. For example, when a volume is migrated, a volume related to the volume can be migrated together. The migration target unit includes a volume and a segment constituting the volume, but the migration unit is not limited in the present invention.

第1実施例におけるシステム構成を示す図である。It is a figure which shows the system configuration | structure in 1st Example. ボリューム割当てテーブルの一例を示す図である。It is a figure which shows an example of a volume allocation table. 物理リソース割当てテーブルの一例を示す図である。It is a figure which shows an example of a physical resource allocation table. 構成情報テーブルの一例を示す図である。It is a figure which shows an example of a structure information table. ストレージ階層テーブルの一例を示す図である。It is a figure which shows an example of a storage hierarchy table. マイグレーションポリシテーブルの一例を示す図である。It is a figure which shows an example of a migration policy table. 関連ポリシテーブルの一例を示す図である。It is a figure which shows an example of a related policy table. ポリシ割当てテーブルの一例を示す図である。It is a figure which shows an example of a policy allocation table. I/O制御処理の一例を示す図である。It is a figure which shows an example of an I / O control process. 構成情報の取得処理の一例を示す図である。It is a figure which shows an example of the acquisition process of structure information. マイグレーション設定処理の一例を示す図である。It is a figure which shows an example of a migration setting process. ストレージ階層を設定するためのマイグレーション設定プログラムのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of the migration setting program for setting a storage hierarchy. マイグレーションポリシを設定するためのマイグレーション設定プログラムのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of the migration setting program for setting a migration policy. 関連ポリシを設定するためのマイグレーション設定プログラムのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of the migration setting program for setting a related policy. ポリシの割当てを設定するためのマイグレーション設定プログラムのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of the migration setting program for setting policy allocation. マイグレーション指示処理の一例を示す図である。It is a figure which shows an example of a migration instruction | indication process. 関連先ボリュームに対するマイグレーション指示処理の一例を示す図である。It is a figure which shows an example of the migration instruction | indication process with respect to a related destination volume. マイグレーション処理の一例を示す図である。It is a figure which shows an example of a migration process. コピーペア関係にある論理ボリューム間のデータ同期処理の一例を示す図である。It is a figure which shows an example of the data synchronization process between the logical volumes which have a copy pair relationship. コピーペア関係にある論理ボリューム間のデータ同期処理を行うための、構成管理プログラムのユーザインタフェースの一例を示す図である。It is a figure which shows an example of the user interface of the configuration management program for performing the data synchronization process between the logical volumes which have a copy pair relationship. コピーペアの反転処理の一例を示す図である。FIG. 10 is a diagram illustrating an example of copy pair inversion processing. 第2実施例におけるシステム構成を示す図である。It is a figure which shows the system configuration | structure in 2nd Example. 複数ストレージ間の関連を含む構成情報テーブルの一例を示す図である。It is a figure which shows an example of the structure information table containing the relationship between several storages. 階層間の対応関係を含むストレージ階層テーブルの一例を示す図である。It is a figure which shows an example of the storage hierarchy table | surface containing the correspondence between hierarchies. 第2実施例における関連先ボリュームに対するマイグレーション処理の一例を示す図である。It is a figure which shows an example of the migration process with respect to the related destination volume in 2nd Example. 第3実施例におけるシステム構成図を示す図である。It is a figure which shows the system block diagram in 3rd Example. ボリューム割当てテーブルの一例を示す図である。It is a figure which shows an example of a volume allocation table. マイグレーション状態を含む物理リソース割当てテーブルの一例を示す図である。It is a figure which shows an example of the physical resource allocation table containing a migration state. セグメント情報テーブルの一例を示す図である。It is a figure which shows an example of a segment information table. プール単位のストレージ階層テーブルの一例を示す図である。It is a figure which shows an example of the storage tier table of a pool unit. セグメント単位のI/O制御処理の一例を示す図である。It is a figure which shows an example of the I / O control process of a segment unit. セグメント情報を含む構成情報の取得処理の一例を示す図である。It is a figure which shows an example of the acquisition process of the structure information containing segment information. セグメント単位のマイグレーション指示処理の一例を示す図である。It is a figure which shows an example of the migration instruction process of a segment unit. 関連先ボリュームに対するセグメント単位のマイグレーション指示処理の一例を示す図である。It is a figure which shows an example of the migration instruction process of the segment unit with respect to a related destination volume. セグメント単位のマイグレーション処理の一例を示す図である。It is a figure which shows an example of the migration process of a segment unit. 第4実施例におけるシステム構成を示す図である。It is a figure which shows the system configuration | structure in 4th Example. マイグレーションポリシ、関連ポリシ、ポリシの割当て情報の送受信処理の一例を示す図である。It is a figure which shows an example of the transmission / reception process of a migration policy, a related policy, and policy allocation information. 第5実施例におけるシステム構成図を示す図である。It is a figure which shows the system block diagram in 5th Example. 階層間の対応関係を含むプール単位のストレージ階層テーブルの一例を示す図である。It is a figure which shows an example of the storage tier table of the pool unit containing the correspondence between tiers. 関連先ボリュームに対するセグメント単位のマイグレーション指示処理の一例を示す図である。It is a figure which shows an example of the migration instruction process of the segment unit with respect to a related destination volume.

本発明の1つの実施形態においては、関連元ボリュームおよび関連先ボリュームのマイグレーションに関するポリシ(以下、マイグレーションポリシと表記する)を設定し、当該ポリシに基づいてマイグレーションを制御する。マイグレーションポリシには、論理ボリュームまたは論理ボリュームを構成するセグメントをマイグレーションする条件と、マイグレーション先のストレージ階層と、を記述する。   In one embodiment of the present invention, a policy relating to migration of the related source volume and the related destination volume (hereinafter referred to as a migration policy) is set, and the migration is controlled based on the policy. The migration policy describes a condition for migrating a logical volume or a segment constituting the logical volume, and a migration destination storage tier.

関連元ボリュームのマイグレーションポリシでは、例えば論理ボリュームへのI/Oアクセス頻度(IOPS: Input Output Per Second)や、論理ボリュームに格納されるデータの、ある時刻における重要度などを条件としてポリシを記述することができる。また、関連先ボリュームのマイグレーションポリシでは、例えば関連元ボリュームのマイグレーションポリシを関連先ボリュームに対しても適用するというポリシや、関連元ボリュームのマイグレーションポリシとは独立に、関連先ボリュームに対するポリシ(マイグレーションの条件とマイグレーション先のストレージ階層)を記述することができる。   In the related source volume migration policy, for example, the policy is described on the condition of the I / O access frequency (IOPS: Input Output Per Second) to the logical volume and the importance of the data stored in the logical volume at a certain time. be able to. In addition, in the migration policy of the related destination volume, for example, the policy of applying the migration policy of the related source volume to the related destination volume or the policy (migration Condition and migration destination storage tier).

ストレージサブシステムやストレージ管理計算機は、当該ポリシに基づいて関連元ボリュームに対するマイグレーションと、関連先ボリュームに対するマイグレーションと、を制御する。   The storage subsystem and the storage management computer control migration to the related source volume and migration to the related destination volume based on the policy.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。なお、本実施例によって本発明が限定されることはない。
A.第1実施例:
B.第2実施例:
C.第3実施例:
D.第4実施例:
E.第5実施例:
Next, embodiments of the present invention will be described in the following order based on examples. In addition, this invention is not limited by this Example.
A. First embodiment:
B. Second embodiment:
C. Third embodiment:
D. Fourth embodiment:
E. Example 5:

A.第1実施例:
A1.システムの構成
図1は、本発明の一実施例としてデータ処理システムの構成を示す説明図である。このデータ処理システムは、ストレージサブシステム1000と、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000と、スイッチ装置5000と、を有している。図中では、ストレージサブシステム1000と、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000と、スイッチ装置5000と、がそれぞれ1台ずつ存在しているがこの限りではなく、1台以上存在すれば良い。
A. First embodiment:
A1. System Configuration FIG. 1 is an explanatory diagram showing the configuration of a data processing system as an embodiment of the present invention. This data processing system includes a storage subsystem 1000, a host computer 2000, a switch device 3000, a management computer 4000, and a switch device 5000. In the figure, there is one storage subsystem 1000, one host computer 2000, one switch device 3000, one management computer 4000, and one switch device 5000. However, this is not a limitation, and one or more storage subsystems exist. It ’s fine.

ストレージサブシステム1000とホスト計算機2000は、スイッチ装置3000を介してネットワーク接続されている。また、ストレージサブシステム1000と管理計算機4000は、スイッチ装置5000を介してネットワーク接続されている。なお、スイッチ装置3000とスイッチ装置5000は同一の装置であっても良い。   The storage subsystem 1000 and the host computer 2000 are connected to the network via the switch device 3000. The storage subsystem 1000 and the management computer 4000 are connected to the network via the switch device 5000. The switch device 3000 and the switch device 5000 may be the same device.

ストレージサブシステム1000は、ディスク装置1100と、ディスクコントローラ1200と、を有している。   The storage subsystem 1000 has a disk device 1100 and a disk controller 1200.

ディスク装置1100は、物理リソース1121と、プール1120と、を有している。ここで、物理リソース1121とは、HDD(Hard Disk Drive)やSSD(Solid State Drive)などの物理デバイスによって提供される記憶領域のリソースのことを表している。物理リソース1121を提供する物理デバイスの種類については特に限定しない。また、プール1120とは物理リソース1121のグループである。一般的にプール1120は、RAID (Redundant Array of Independent Disks)と呼ばれる技術を用いて、物理リソース1121を冗長化した上で構成されるが、この限りではなく、物理リソース1121をグループ化したものであれば良い。図中では、プール1120が1つ、物理リソース1121が5つ存在しているがこの限りではなく、1つ以上存在すれば良い。   The disk device 1100 has a physical resource 1121 and a pool 1120. Here, the physical resource 1121 represents a resource of a storage area provided by a physical device such as a hard disk drive (HDD) or a solid state drive (SSD). The type of physical device that provides the physical resource 1121 is not particularly limited. The pool 1120 is a group of physical resources 1121. Generally, the pool 1120 is configured by making the physical resources 1121 redundant by using a technique called RAID (Redundant Array of Independent Disks). However, the pool 1120 is not limited to this, and is a grouping of the physical resources 1121. I just need it. In the figure, there is one pool 1120 and five physical resources 1121, but this is not restrictive, and one or more pools may be present.

ディスクコントローラ1200は、メモリ1210と、制御装置1220と、スイッチ装置3000との接続のためのI/F (Interface)1230と、スイッチ装置5000との接続のためのI/F1240と、ディスク装置との接続のためのディスクI/F1250と、を有している。これらの構成要素はバスを通じて接続されている。   The disk controller 1200 includes a memory 1210, a control device 1220, an I / F (Interface) 1230 for connection to the switch device 3000, an I / F 1240 for connection to the switch device 5000, and a disk device. And a disk I / F 1250 for connection. These components are connected through a bus.

ディスクコントローラ1200は更に、論理ボリューム1110を有している。論理ボリューム1110は、1つ以上の物理リソースから構成され、ディスクコントローラ1200によって、ホスト計算機2000に提供される、論理的な記憶領域のことを表している。ここで、論理ボリューム1110(1)は、あらかじめ割当てられた、1又は複数の物理リソース1121から構成されており、論理ボリューム1110(1)の容量と、それを構成する物理リソース1121の合計の容量とは等しい。一方、論理ボリューム1110(2)は、ホスト計算機2000に対して提供される仮想的な論理ボリュームであり、ホスト計算機2000からの書き込み要求に応じて、物理リソース1121が割当てられるものである。具体的には、ディスクコントローラ1200は、論理ボリューム1110(2)に対するデータの書き込み要求を受領したとき、当該書き込み要求の対象領域に対して物理リソースが割当てられていない場合に、物理リソース1121の記憶領域を論理ボリューム1100(2)に割当て、当該割当てられた物理リソースの記憶領域にデータを書き込む。これによって、ホスト計算機2000に提供される論理ボリューム1110(2)の記憶容量を、実際に割り当てられている物理リソース1121の合計容量よりも、大きな容量とすることができる。   The disk controller 1200 further has a logical volume 1110. The logical volume 1110 is composed of one or more physical resources and represents a logical storage area provided to the host computer 2000 by the disk controller 1200. Here, the logical volume 1110 (1) is composed of one or a plurality of physical resources 1121 that are allocated in advance, and the capacity of the logical volume 1110 (1) and the total capacity of the physical resources 1121 constituting the logical volume 1110 (1). Is equal to On the other hand, the logical volume 1110 (2) is a virtual logical volume provided to the host computer 2000, and a physical resource 1121 is allocated in response to a write request from the host computer 2000. Specifically, when the disk controller 1200 receives a data write request to the logical volume 1110 (2), if the physical resource is not allocated to the target area of the write request, the disk controller 1200 stores the physical resource 1121. An area is allocated to the logical volume 1100 (2), and data is written to the storage area of the allocated physical resource. As a result, the storage capacity of the logical volume 1110 (2) provided to the host computer 2000 can be made larger than the total capacity of the physical resources 1121 that are actually allocated.

図中では、上述の2種類の論理ボリューム1110が1つずつ存在しているが、この限りでなく、どちらか一方のみ、若しくは2種類が混在していてもよく、1つ以上の論理ボリューム1110が存在していれば良い。   In the figure, the above-described two types of logical volumes 1110 exist one by one. However, the present invention is not limited to this, and either one or two types may be mixed, and one or more logical volumes 1110 may be present. As long as it exists.

メモリ1210は、制御装置1220が用いるプログラムとデータを記憶する。特にメモリ1210は、構成情報取得プログラム1211と、I/O制御プログラム1212と、ボリューム割当てテーブル1213と、物理リソース割当てテーブル1214と、データコピープログラム1215と、マイグレーションプログラム1216と、を有している。   The memory 1210 stores programs and data used by the control device 1220. In particular, the memory 1210 includes a configuration information acquisition program 1211, an I / O control program 1212, a volume allocation table 1213, a physical resource allocation table 1214, a data copy program 1215, and a migration program 1216.

構成情報取得プログラム1211は、ストレージサブシステム1000の構成情報を収集し、当該情報を他プログラムに送信するプログラムである。   The configuration information acquisition program 1211 is a program that collects configuration information of the storage subsystem 1000 and transmits the information to another program.

I/O制御プログラム1212は、ホスト計算機2000からストレージサブシステム1000が持つ論理ボリューム1110へのI/Oアクセスを制御するプログラムである。   The I / O control program 1212 is a program that controls I / O access from the host computer 2000 to the logical volume 1110 of the storage subsystem 1000.

ボリューム割当てテーブル1213は、ホスト計算機2000に割り当てられた論理ボリューム1110の情報を格納するテーブルであり、具体例を図2に示す。ボリューム割当てテーブル1213は、ホスト計算機が持つI/F2300を識別するためのInitiator ID12120と、ストレージサブシステム1000が持つI/F(A)1230を識別するためのTarget ID12121と、論理ボリューム1110を識別するためのLUN (Logical Unit Number)12122と、論理ボリューム1110に対するマイグレーション処理の状態を示すマイグレーション状態12123と、を有する。図2では、Initiator ID12120およびTarget ID12121に、それぞれホスト計算機2000が持つI/F2300のWWN (World Wide Name)と、ストレージサブシステム1000が持つI/F(A)のWWNと、を用いているが、この限りではなく、Initiator ID12120と、Target ID12121と、をそれぞれ一意に識別できる情報であれば良い。また図2では、論理ボリューム1110の識別子としてLUN12122を用いているが、この限りではなく、論理ボリューム1110を一意に識別できる情報であれば良い。さらに図2では、マイグレーション状態12123にて、ハイフンと、「マイグレーション中」という2種類の情報を用いている。ここで、ハイフンは当該ボリュームがマイグレーションされていない状態を示し、「マイグレーション中」は当該ボリュームがマイグレーションされている最中であることを示している。ただし、マイグレーション状態12123に格納する情報およびその表記方法はこの限りでなく、マイグレーションの状態を示す他の情報を格納しても良いし、他の表記方法にて状態を表現しても良い。   The volume allocation table 1213 is a table for storing information on the logical volume 1110 allocated to the host computer 2000, and a specific example is shown in FIG. The volume allocation table 1213 identifies the initiator ID 12120 for identifying the I / F 2300 possessed by the host computer, the Target ID 12121 for identifying the I / F (A) 1230 possessed by the storage subsystem 1000, and the logical volume 1110. LUN (Logical Unit Number) 12122 for this purpose, and a migration state 12123 indicating the state of migration processing for the logical volume 1110. In FIG. 2, the initiator ID 12120 and the target ID 12121 use the WWN (World Wide Name) of the I / F 2300 of the host computer 2000 and the WWN of the I / F (A) of the storage subsystem 1000, respectively. However, the present invention is not limited to this, and any information that can uniquely identify the initiator ID 12120 and the target ID 12121 may be used. In FIG. 2, the LUN 12122 is used as the identifier of the logical volume 1110. However, the present invention is not limited to this, and any information that can uniquely identify the logical volume 1110 may be used. Further, in FIG. 2, in the migration state 12123, two types of information “hyphen” and “migrating” are used. Here, a hyphen indicates that the volume is not migrated, and “migrating” indicates that the volume is being migrated. However, the information stored in the migration state 12123 and the notation method thereof are not limited to this, and other information indicating the migration state may be stored, or the state may be expressed by another notation method.

図3は、本実施例における、物理リソース割当てテーブル1214の一例を示す図である。物理リソース割当てテーブル1214は、論理ボリューム1110の各セグメントに対する物理リソースの割当ての情報を格納するテーブルである。物理リソース割当てテーブル1214は、論理ボリューム1110を識別するためのLUN12130と、論理ボリューム内のセグメントを識別するためのセグメントID12131と、論理ボリューム1110の各セグメントの領域を識別するためのボリュームLBA (Logical Block Address) 領域12132と、論理ボリューム1110の各セグメントに割り当てられた物理リソース1121を識別するための物理リソースID12133と、論理ボリューム1110の各セグメントに割り当てられた物理リソース1121の記憶領域を識別するためのLBA領域12134と、を有している。なお、LUN12130と、セグメントID12131と、物理リソースID12133と、はそれぞれ論理ボリューム1110と、論理ボリューム1110内のセグメントと、物理リソース1121と、を一意に識別できる情報であれば、図3の表記に限らず、他の情報でも良い。また、ボリュームLBA領域12132と、LBA領域12134と、はそれぞれ論理ボリューム1110内の各セグメントの領域と、物理リソース1121内の記憶領域と、を一意に識別できる情報であれば、図3の表記に限らず、他の情報でも良い。   FIG. 3 is a diagram illustrating an example of the physical resource allocation table 1214 in the present embodiment. The physical resource allocation table 1214 stores physical resource allocation information for each segment of the logical volume 1110. The physical resource allocation table 1214 includes a LUN 12130 for identifying the logical volume 1110, a segment ID 12131 for identifying a segment in the logical volume, and a volume LBA (Logical Block for identifying the area of each segment of the logical volume 1110. Address) area 12132, a physical resource ID 12133 for identifying the physical resource 1121 allocated to each segment of the logical volume 1110, and a storage area for the physical resource 1121 allocated to each segment of the logical volume 1110 LBA area 12134. The LUN 12130, the segment ID 12131, and the physical resource ID 12133 are not limited to the notation shown in FIG. 3 as long as the information can uniquely identify the logical volume 1110, the segment in the logical volume 1110, and the physical resource 1121, respectively. Other information may be used. Further, if the volume LBA area 12132 and the LBA area 12134 are information that can uniquely identify the area of each segment in the logical volume 1110 and the storage area in the physical resource 1121, respectively, the notation of FIG. Other information may be used.

データコピープログラム1215は、論理ボリューム1110内のデータを別の論理ボリューム1110にコピーするプログラムである。なお、データをコピーする単位は、論理ボリューム1110全体でも良いし、論理ボリューム1110を構成するセグメント単位でも良い。   The data copy program 1215 is a program for copying data in the logical volume 1110 to another logical volume 1110. The unit for copying data may be the entire logical volume 1110 or the segment unit constituting the logical volume 1110.

マイグレーションプログラム1216は、論理ボリューム1110を別の論理ボリューム1110にマイグレーションするプログラムである。マイグレーションプログラム1216は、論理ボリューム1110をマイグレーションする際、まず、当該ボリュームから別のボリュームへデータをコピーし、コピー元のボリュームのデータを削除する。コピー元、コピー先データのアドレス管理はアドレス管理プログラムが処理する。データ移行中にホスト計算機から該アドレスにアクセスがあった場合で、データ読み込み要求の場合は、アクセス処理プログラムが、アドレス管理プログラムの管理するアドレスのデータをホストに提供する。データ書込みの場合はキャッシュメモリに書き込みデータを保持し、後で移行先ボリュームにデータを書き込む。以上の処理を行うことによってマイグレーションプログラム1216は、論理ボリュームの入れ替えを実現する。なお、マイグレーションの方法はこの限りではなく、他の方法を用いても良い。   The migration program 1216 is a program for migrating a logical volume 1110 to another logical volume 1110. When migrating the logical volume 1110, the migration program 1216 first copies data from the volume to another volume, and deletes the copy source volume data. Address management program processes address management of copy source and copy destination data. When there is an access to the address from the host computer during data migration and the data read request is made, the access processing program provides the host with the address data managed by the address management program. In the case of data writing, the write data is held in the cache memory, and the data is later written in the migration destination volume. By performing the above processing, the migration program 1216 implements logical volume replacement. The migration method is not limited to this, and other methods may be used.

制御装置1220は、メモリ1210内のプログラムの実行やデータの入出力、ディスクコントローラが有する各I/Fを通じたデータや制御命令の入出力を制御する。   The control device 1220 controls execution of a program in the memory 1210, data input / output, and data / control command input / output through each I / F of the disk controller.

ストレージサブシステム1000は他に、物理リソース1121からプール1120を構成する機能や、プール1120から論理ボリューム1110を生成する機能、論理ボリュームをI/F(A)1230を通じてホスト計算機2000に割り当てる機能、管理計算機4000からストレージサブシステム1000の構成変更要求を受け付ける機能など、ストレージ装置として一般的な機能を有している。   In addition, the storage subsystem 1000 has a function to configure a pool 1120 from physical resources 1121, a function to generate a logical volume 1110 from the pool 1120, a function to allocate a logical volume to the host computer 2000 through the I / F (A) 1230, and management It has general functions as a storage device, such as a function of accepting a configuration change request for the storage subsystem 1000 from the computer 4000.

また、ストレージサブシステム1000は他に、ストレージサブシステム1000のユーザがデータを入力するための入力装置や、ストレージサブシステム1000のユーザに情報を提示するための出力装置を有していても良いが、本発明とは直接関係ないため、図示はしない。   In addition, the storage subsystem 1000 may include an input device for the user of the storage subsystem 1000 to input data and an output device for presenting information to the user of the storage subsystem 1000. Since it is not directly related to the present invention, it is not shown.

ホスト計算機2000は、メモリ2100と、制御装置2200と、スイッチ装置3000との接続のためのI/F2300と、を有している。これらの構成要素はバスを通じて接続されている。メモリ2100は、制御装置2200が用いるプログラムとデータを記憶する。特にメモリ2100は、アプリケーション2110を有する。アプリケーション2110はどのようなプログラムであっても構わない。制御装置2200は、メモリ2100内のプログラムの実行やデータの入出力、I/F2300を通じたデータや制御命令の入出力を制御する。   The host computer 2000 includes a memory 2100, a control device 2200, and an I / F 2300 for connecting to the switch device 3000. These components are connected through a bus. The memory 2100 stores programs and data used by the control device 2200. In particular, the memory 2100 has an application 2110. The application 2110 may be any program. The control device 2200 controls execution of a program in the memory 2100, input / output of data, and input / output of data and control commands through the I / F 2300.

ホスト計算機2000は他に、ホスト計算機2000のユーザがデータを入力するための入力装置や、ホスト計算機2000のユーザに情報を提示するための出力装置を有していても良いが、本発明とは直接関係ないため、図示はしない。   The host computer 2000 may further include an input device for the user of the host computer 2000 to input data and an output device for presenting information to the user of the host computer 2000. Since it is not directly related, it is not shown.

スイッチ装置3000は、ストレージサブシステム1000との接続のためのI/F3100と、ホスト計算機2000との接続のためのI/F3200と、を有している。ストレージサブシステム1000とホスト計算機2000および両者を接続するスイッチ装置3000との間で利用されるネットワークプロトコルには、FC (Fibre Channel)やiSCSIなどがあるが特に限定はしない。また、図中ではI/F3100が1つ、I/F3200が1つ存在しているがこの限りではなく、1つ以上存在すれば良い。   The switch device 3000 has an I / F 3100 for connection to the storage subsystem 1000 and an I / F 3200 for connection to the host computer 2000. Network protocols used between the storage subsystem 1000 and the host computer 2000 and the switch device 3000 connecting the two include FC (Fibre Channel) and iSCSI, but are not particularly limited. In the figure, there is one I / F 3100 and one I / F 3200. However, the present invention is not limited to this. One or more I / Fs may be present.

管理計算機4000は、メモリ4100と、制御装置4200と、スイッチ装置5000との接続のためのI/F4300と、を有している。メモリ4100は、制御装置4200が用いるプログラムとデータを記憶する。特にメモリ4100は、構成管理プログラム4110と構成情報テーブル4120と、マイグレーション設定プログラム4130と、ストレージ階層テーブル4140と、マイグレーションポリシテーブル4150と、関連ポリシテーブル4160と、ポリシ割当てテーブル4170と、マイグレーション指示プログラム4180と、を有している。   The management computer 4000 includes a memory 4100, a control device 4200, and an I / F 4300 for connection to the switch device 5000. The memory 4100 stores programs and data used by the control device 4200. In particular, the memory 4100 includes a configuration management program 4110, a configuration information table 4120, a migration setting program 4130, a storage tier table 4140, a migration policy table 4150, a related policy table 4160, a policy allocation table 4170, and a migration instruction program 4180. And have.

構成管理プログラム4110は、ストレージサブシステム1000の構成を管理するためのプログラムである。構成管理プログラム4110は特に、ストレージサブシステム1000が持つ構成情報取得プログラム1211と通信することによって、ストレージサブシステム1000の構成情報を取得する機能を有する。構成管理プログラム4110は他に、物理リソース1121からプール1120を構成する機能や、プール1120から論理ボリューム1110を生成する機能、論理ボリュームをI/F(A)1230を通じてホスト計算機2000に割り当てる機能、特定の時刻に特定の処理を行うスケジューラ機能を有していても良い。   The configuration management program 4110 is a program for managing the configuration of the storage subsystem 1000. In particular, the configuration management program 4110 has a function of acquiring the configuration information of the storage subsystem 1000 by communicating with the configuration information acquisition program 1211 of the storage subsystem 1000. In addition, the configuration management program 4110 includes a function for configuring the pool 1120 from the physical resource 1121, a function for generating the logical volume 1110 from the pool 1120, a function for allocating the logical volume to the host computer 2000 through the I / F (A) 1230, and a specification. It may have a scheduler function for performing a specific process at the time.

図4は、本実施例における、構成情報テーブル4120の一例を示す図である。構成情報テーブル4120は、ストレージサブシステム1000の構成情報を格納するためのテーブルである。構成情報テーブル4120は、ストレージサブシステム1000を識別するためのストレージサブシステムID41200と、ストレージサブシステム1000が持つ論理ボリューム1110を識別するためのLUN41201と、論理ボリューム1110の容量41202と、論理ボリューム1110を構成する物理リソースの種別を示すリソース種別41203と、論理ボリューム1110がホスト計算機2000に割当てられているか否かを示すパスフラグ41204と、ホスト計算機2000から論理ボリューム1110へのI/Oアクセス頻度を示すIOPS41205と、論理ボリューム1110が関連を持つ他の論理ボリューム1110を識別するための関連先LUN41206と、を有している。なお、構成情報テーブル4120に格納する情報はこれに限らず、ストレージサブシステム1000の構成に関する他の情報を格納しても良い。また、ストレージサブシステムID41200と、LUN41201と、関連先LUN41206と、は図中の表現に限らず、それぞれストレージサブシステム1000と、論理ボリューム1110と、論理ボリューム1110が関連を持つ他の論理ボリューム1110と、を一意に識別できる情報であれば良い。なお本実施例においては、関連先LUN41206にハイフンが格納されている場合は、当該ボリュームに関連する他の論理ボリューム1110が存在しないことを示し、関連先LUN41206に論理ボリュームの識別子が格納されている場合は、当該ボリューム即ちLUN41201で示される論理ボリュームを関連元ボリュームとし、関連先LUN41206で示される論理ボリュームを関連先論理ボリュームとする関連があることを示している。さらに、容量41202と、リソース種別41203と、パスフラグ41204と、IOPS41205と、は図中の表現に限らず、それぞれ論理ボリューム1110の容量と、論理ボリューム1110を構成する物理リソース1121の種別と、論理ボリューム1110がホスト計算機2000に割り当てられているか否かを示す情報と、ホスト計算機2000から論理ボリューム1110へのI/Oアクセス頻度を示す情報であれば良い。   FIG. 4 is a diagram illustrating an example of the configuration information table 4120 in the present embodiment. The configuration information table 4120 is a table for storing configuration information of the storage subsystem 1000. The configuration information table 4120 includes a storage subsystem ID 41200 for identifying the storage subsystem 1000, a LUN 41201 for identifying the logical volume 1110 of the storage subsystem 1000, a capacity 41202 of the logical volume 1110, and a logical volume 1110. A resource type 41203 indicating the type of physical resource to be configured, a path flag 41204 indicating whether the logical volume 1110 is allocated to the host computer 2000, and an IOPS 41205 indicating the frequency of I / O access from the host computer 2000 to the logical volume 1110 And a related LUN 41206 for identifying another logical volume 1110 with which the logical volume 1110 is related. The information stored in the configuration information table 4120 is not limited to this, and other information related to the configuration of the storage subsystem 1000 may be stored. Further, the storage subsystem ID 41200, LUN 41201, and related destination LUN 41206 are not limited to the expressions in the figure, and the storage subsystem 1000, logical volume 1110, and other logical volume 1110 with which the logical volume 1110 is related, respectively. As long as the information can be uniquely identified. In this embodiment, when a hyphen is stored in the related LUN 41206, it indicates that there is no other logical volume 1110 related to the volume, and the logical volume identifier is stored in the related LUN 41206. This case indicates that there is a relationship in which the relevant volume, that is, the logical volume indicated by the LUN 41201 is the related source volume, and the logical volume indicated by the related destination LUN 41206 is the related destination logical volume. Furthermore, the capacity 41202, the resource type 41203, the path flag 41204, and the IOPS 41205 are not limited to the expressions in the figure, and the capacity of the logical volume 1110, the type of the physical resource 1121 that constitutes the logical volume 1110, and the logical volume, respectively. Information indicating whether or not 1110 is assigned to the host computer 2000 and information indicating the frequency of I / O access from the host computer 2000 to the logical volume 1110 may be used.

マイグレーション設定プログラム4130は、論理ボリューム1110のマイグレーションに関する設定を行うプログラムである。本実施例においては、マイグレーション設定プログラム4130は、ストレージ階層の作成と、論理ボリューム1110のマイグレーションに関するポリシ(以下、マイグレーションポリシとも表記する)の設定と、当該ボリュームと関連を持った他の論理ボリューム1110のマイグレーションに関するポリシ(以下、関連ポリシとも表記する)の設定と、論理ボリュームへのマイグレーションポリシと関連ポリシの割当て設定と、を行う。本実施例においては、これらの設定は、マイグレーション設定プログラム4130が有するUI (User Interface)を通じて、ユーザ(ストレージ管理者)が、行う。ただしマイグレーションに関する設定を行う方法はこれに限らず、他の方法でも良い。例えばストレージ階層の設定は、論理ボリューム1110の内、リソース種別やRAIDレベルが同じものを集めて1つのストレージ階層にするという方法で、マイグレーション設定プログラム4130が自動的に行っても良い。また関連ポリシの設定は、論理ボリューム1110と他の論理ボリューム1110との関連の種類によって、マイグレーション設定プログラム4130が自動的に行っても良い。このための方法には例えば、ある論理ボリューム1110が別の論理ボリューム1110と同期コピーの関係にある場合は、関連元のボリュームをマイグレーションする際は、関連先のボリュームも合わせてマイグレーションするというポリシに設定する、という方法がある。   The migration setting program 4130 is a program for performing settings related to migration of the logical volume 1110. In this embodiment, the migration setting program 4130 creates a storage tier, sets a policy relating to migration of the logical volume 1110 (hereinafter also referred to as a migration policy), and another logical volume 1110 associated with the volume. Policy for migration (hereinafter also referred to as related policy), and allocation setting of migration policy and related policy to the logical volume. In this embodiment, these settings are made by a user (storage administrator) through a UI (User Interface) included in the migration setting program 4130. However, the method for setting the migration is not limited to this, and other methods may be used. For example, the storage tier setting may be automatically performed by the migration setting program 4130 by a method of collecting logical volumes 1110 having the same resource type and RAID level into one storage tier. The related policy may be set automatically by the migration setting program 4130 depending on the type of relationship between the logical volume 1110 and another logical volume 1110. For example, when a logical volume 1110 is in a synchronous copy relationship with another logical volume 1110, when migrating the related source volume, the policy is that the related destination volume is also migrated. There is a method of setting.

図5は、本実施例における、ストレージ階層テーブル4140の一例を示す図である。ストレージ階層テーブル4140は、ストレージ階層(データの再配置先の論理ボリューム群)の情報を格納するテーブルである。ストレージ階層テーブル4140は、ストレージ階層を識別するための階層ID41400と、ストレージ階層に含まれる論理ボリューム1110を持つストレージサブシステム1000を識別するためのストレージサブシステムID41401と、ストレージ階層に含まれる論理ボリューム1110を識別するLUN41402と、を有している。なお、階層ID41400と、ストレージサブシステムID41401と、LUN41402と、は図中の表現に限らず、それぞれストレージ階層と、ストレージサブシステム1000と、論理ボリューム1110と、を一意に識別できる情報であれば良い。   FIG. 5 is a diagram illustrating an example of the storage tier table 4140 in the present embodiment. The storage tier table 4140 is a table that stores information on storage tiers (logical volume group to which data is relocated). The storage tier table 4140 includes a tier ID 41400 for identifying the storage tier, a storage subsystem ID 41401 for identifying the storage subsystem 1000 having the logical volume 1110 included in the storage tier, and a logical volume 1110 included in the storage tier. And LUN 41402 for identifying. Note that the tier ID 41400, the storage subsystem ID 41401, and the LUN 41402 are not limited to the expressions in the figure, and may be any information that can uniquely identify the storage tier, the storage subsystem 1000, and the logical volume 1110, respectively. .

図6は、本実施例における、マイグレーションポリシテーブル4150の一例を示す図である。マイグレーションポリシテーブル4150は、論理ボリューム1110に対するマイグレーション処理に関するポリシ情報を格納するテーブルである。マイグレーションポリシテーブル4150は、マイグレーションポリシを識別するためのポリシID41500と、マイグレーションを行う条件を示すマイグレーション条件41501と、マイグレーション先のストレージ階層を識別するためのマイグレーション先階層ID41502と、を有している。本実施例においては、マイグレーション条件41501には、ホスト計算機2000から論理ボリューム1110へのI/Oアクセスの頻度(IOPS)を元に、当該ボリュームをマイグレーションするための条件を記述している。なお、ポリシID41500と、マイグレーション先階層ID41502と、は図中の表現に限らず、それぞれマイグレーションポリシと、マイグレーション先のストレージ階層と、を一意に識別できる情報であれば良い。また、マイグレーション条件41501は、図中の表現に限らず、論理ボリューム1110をマイグレーションするための条件を示す情報であれば良い。IOPS以外のマイグレーション条件としては例えば、論理ボリューム1110に格納されているデータの重要度や、論理ボリューム1110の運用コストなどがある。   FIG. 6 is a diagram illustrating an example of the migration policy table 4150 in the present embodiment. The migration policy table 4150 is a table that stores policy information related to migration processing for the logical volume 1110. The migration policy table 4150 includes a policy ID 41500 for identifying a migration policy, a migration condition 41501 indicating conditions for performing migration, and a migration destination tier ID 41502 for identifying a migration destination storage tier. In this embodiment, the migration condition 41501 describes conditions for migrating the volume based on the frequency (IOPS) of I / O access from the host computer 2000 to the logical volume 1110. The policy ID 41500 and the migration destination tier ID 41502 are not limited to the expressions in the figure, and may be any information that can uniquely identify the migration policy and the migration destination storage tier. Further, the migration condition 41501 is not limited to the expression in the figure, and may be information indicating a condition for migrating the logical volume 1110. Examples of migration conditions other than IOPS include the importance of data stored in the logical volume 1110 and the operation cost of the logical volume 1110.

図7は、本実施例における、関連ポリシテーブル4160の一例を示す図である。関連ポリシテーブル4160は、論理ボリューム1110と関連を持った別の論理ボリューム1110に対するマイグレーション処理に関するポリシ情報を格納するテーブルである。関連ポリシテーブル4160は、関連ポリシを識別するための関連ポリシID41600と、関連先の論理ボリューム1110をマイグレーションするタイミング41601と、関連先の論理ボリューム1110をマイグレーションする条件41602と、関連先の論理ボリューム1110に対するマイグレーションのポリシ41603と、を有している。なお、関連ポリシID41600は図中の表現に限らず、関連ポリシを一意に識別できる情報であれば良い。また、タイミング41601と、条件41602と、ポリシ41603と、は図中の表現に限らず、それぞれ関連先ボリュームをマイグレーションするタイミングと、その条件と、そのポリシを示す情報であれば良い。関連先ボリュームをマイグレーションするタイミングとしては、例えば関連元の論理ボリューム1110をマイグレーションする時や、関連元ボリュームから関連先ボリュームへのデータコピーの同期時や、ユーザが指定した任意のタイミング、などがある。関連先ボリュームをマイグレーションする条件としては、例えば関連元ボリュームのリソース種別が、SSD (Solid State Drive)など特定の種別である場合などがある。この条件を設定することにより、具体的には、関連元ボリュームがSAS (Serial Attached SCSI)へマイグレーションしたとき、関連先ボリュームもSASへマイグレーションするが、関連元ボリュームがSSDへマイグレーションしたとき、関連先ボリュームの移動は行わないようにすることができる。これにより、高価な物理リソースであるSSDの浪費を防ぐことができる。関連先ボリュームをマイグレーションする際のポリシについては、例えば関連元ボリュームのマイグレーションポリシに従うというポリシや、関連元ボリュームとは独立に、ユーザが指定した条件でマイグレーションを行うというポリシ、関連元ボリュームのマイグレーション先の階層IDを関連元ボリュームのマイグレーション先の階層IDと同じにするというポリシなどがある。ポリシIDを用いて、関連先ボリュームをマイグレーションする際のポリシの設定を行う場合、マイグレーション条件が重複しない限り、複数のポリシIDを設定できる。また、誤って、重複するマイグレーション条件のポリシIDを設定した場合も、アラートを出すなどして、ユーザに通知する。   FIG. 7 is a diagram illustrating an example of the related policy table 4160 in the present embodiment. The association policy table 4160 is a table that stores policy information related to migration processing for another logical volume 1110 that is associated with the logical volume 1110. The related policy table 4160 includes a related policy ID 41600 for identifying a related policy, a timing 41601 for migrating the related logical volume 1110, a condition 41602 for migrating the related logical volume 1110, and a related logical volume 1110. A migration policy 41603. The related policy ID 41600 is not limited to the expression in the figure, and may be any information that can uniquely identify the related policy. Further, the timing 41601, the condition 41602, and the policy 41603 are not limited to the expressions in the figure, and may be any information indicating the timing of migrating the associated destination volume, its condition, and its policy. The timing of migrating the related destination volume includes, for example, when the related source logical volume 1110 is migrated, when data copy is synchronized from the related source volume to the related destination volume, and at any timing specified by the user. . As a condition for migrating the related destination volume, for example, the resource type of the related source volume may be a specific type such as SSD (Solid State Drive). By setting this condition, specifically, when the related source volume migrates to SAS (Serial Attached SCSI), the related destination volume also migrates to SAS, but when the related source volume migrates to SSD, the related destination volume It is possible not to move the volume. As a result, it is possible to prevent waste of the SSD, which is an expensive physical resource. Regarding the policy for migrating the related destination volume, for example, a policy that follows the migration policy of the related source volume, a policy that performs migration under the conditions specified by the user independently of the related source volume, and the migration destination of the related source volume There is a policy such that the tier ID is the same as the tier ID of the migration destination of the related source volume. When setting a policy for migrating the related destination volume using the policy ID, a plurality of policy IDs can be set as long as the migration conditions do not overlap. In addition, even when a policy ID with an overlapping migration condition is set by mistake, an alert is issued to notify the user.

図8は、本実施例における、ポリシ割当てテーブル4170の一例を示す図である。ポリシ割当てテーブル4170は、論理ボリューム1110に対する、マイグレーションポリシと関連ポリシの割当ての情報を示すテーブルである。ポリシ割当てテーブル4170は、論理ボリューム1110を持つストレージサブシステム1000を識別するためのストレージサブシステムID41700と、論理ボリューム1110を識別するためのLUN41701と、マイグレーションポリシを識別するためのポリシID41702と、関連ポリシを識別するための関連ポリシID41703と、を有している。なお、ストレージサブシステムID41700と、LUN41701と、ポリシID41702と、関連ポリシID41703と、は図中の表現に限らず、それぞれストレージサブシステム1000と、論理ボリューム1110と、マイグレーションポリシと、関連ポリシと、を一意に識別できる情報であれば良い。さらに、本実施例におけるポリシ割当てテーブルでは、論理ボリューム1110ごとにマイグレーションポリシおよび関連ポリシを割り当てているが、この限りでなく、例えば論理ボリューム1110のグループや、ストレージサブシステムに対してマイグレーションポリシおよび関連ポリシを割り当てても良い。   FIG. 8 is a diagram illustrating an example of the policy allocation table 4170 in the present embodiment. The policy allocation table 4170 is a table showing information on allocation of migration policies and related policies to the logical volume 1110. The policy allocation table 4170 includes a storage subsystem ID 41700 for identifying the storage subsystem 1000 having the logical volume 1110, a LUN 41701 for identifying the logical volume 1110, a policy ID 41702 for identifying the migration policy, and an associated policy. Associated policy ID 41703 for identifying the. The storage subsystem ID 41700, the LUN 41701, the policy ID 41702, and the related policy ID 41703 are not limited to the expressions in the figure, and the storage subsystem 1000, the logical volume 1110, the migration policy, and the related policy, respectively. Any information that can be uniquely identified may be used. Furthermore, in the policy allocation table in this embodiment, a migration policy and a related policy are allocated to each logical volume 1110. However, the present invention is not limited to this. For example, a migration policy and a related policy are assigned to a group of logical volumes 1110 and a storage subsystem. A policy may be assigned.

マイグレーション指示プログラム4180は、ストレージサブシステム1000が持つマイグレーションプログラム1216に対して、論理ボリューム1110に対するマイグレーション処理の実行を指示するプログラムである。本実施例では、マイグレーション指示プログラム4180は、マイグレーションプログラム1216に対して、マイグレーション先の論理ボリューム1110を識別するためのストレージサブシステムIDおよびLUNを送信し、マイグレーションの実行を指示する。   The migration instruction program 4180 is a program that instructs the migration program 1216 of the storage subsystem 1000 to execute migration processing for the logical volume 1110. In this embodiment, the migration instruction program 4180 transmits a storage subsystem ID and LUN for identifying the migration destination logical volume 1110 to the migration program 1216, and instructs execution of migration.

制御装置4200は、メモリ4100内のプログラムの実行やデータの入出力、I/F4300を通じたデータや制御命令の入出力を制御する。   The control device 4200 controls execution of a program in the memory 4100, data input / output, and data / control command input / output through the I / F 4300.

管理計算機4000は他に、管理計算機4000のユーザがデータを入力するための入力装置や、管理計算機4000のユーザに情報を提示するための出力装置を有していても良い。   The management computer 4000 may further include an input device for the user of the management computer 4000 to input data and an output device for presenting information to the user of the management computer 4000.

なお、図1では管理計算機4000とストレージサブシステム1000は別々の装置として示されているが、この限りではなく、管理計算機4000はストレージサブシステム1000と同一の筐体内に存在しても良い。また、管理計算機4000のメモリ4100内のプログラムをストレージサブシステム1000のメモリ1210内に有し、制御装置1220によって当該プログラムを実行することで、管理計算機4000と同様の機能を実現しても良い。   In FIG. 1, the management computer 4000 and the storage subsystem 1000 are shown as separate devices. However, the present invention is not limited to this, and the management computer 4000 may exist in the same casing as the storage subsystem 1000. Further, the same function as the management computer 4000 may be realized by having the program in the memory 4100 of the management computer 4000 in the memory 1210 of the storage subsystem 1000 and executing the program by the control device 1220.

スイッチ装置5000は、ストレージサブシステム1000との接続のためのI/F5100と、管理計算機4000との接続のためのI/F5200と、を有している。ストレージサブシステム1000と管理計算機4000および両者を接続するスイッチ装置5000との間で利用されるネットワークプロトコルには、TCP/IPなどがあるが特に限定はしない。また、図中ではI/F5100が1つ、I/F5200が1つ存在しているがこの限りではなく、1つ以上存在すれば良い。   The switch device 5000 has an I / F 5100 for connection to the storage subsystem 1000 and an I / F 5200 for connection to the management computer 4000. Network protocols used between the storage subsystem 1000, the management computer 4000, and the switch device 5000 that connects the two include TCP / IP, but are not particularly limited. In the figure, there is one I / F 5100 and one I / F 5200, but this is not restrictive, and one or more may be present.

A2.データ処理手順の説明
本実施例におけるデータ処理手順を説明する。
A2. Description of Data Processing Procedure A data processing procedure in this embodiment will be described.

図9は、本実施例においてI/O制御プログラム1212が、ホスト計算機2000から論理ボリューム1110へのI/Oを制御する際の処理のシーケンスを示している。   FIG. 9 shows a sequence of processing when the I / O control program 1212 controls I / O from the host computer 2000 to the logical volume 1110 in this embodiment.

当該処理では、まずステップS1000にて、アプリケーション2110がストレージサブシステム1000に対してI/Oアクセスを行う。   In this process, first, in step S1000, the application 2110 performs I / O access to the storage subsystem 1000.

次にステップS1010にて、I/O制御プログラム1212が、I/Oの種類を特定する。ここでは、I/Oの種類は「読み込み」または「書き込み」であるとする。   In step S1010, the I / O control program 1212 specifies the type of I / O. Here, it is assumed that the type of I / O is “read” or “write”.

I/Oの種類が「読み込み」の場合、ステップS1020にて、I/O制御プログラム1212がボリューム割当てテーブル1213と、物理リソース割当てテーブル1214と、を参照し、読み込みアクセス先のLBA領域12134を特定する。   If the I / O type is “read”, in step S1020, the I / O control program 1212 refers to the volume allocation table 1213 and the physical resource allocation table 1214 to identify the read access destination LBA area 12134. To do.

さらにステップS1030にて、I/O制御プログラム1212が、アプリケーション2110からの読み込みアクセスを、ステップS1020で特定したLBA領域12134に対して行うように制御する。   Further, in step S1030, the I / O control program 1212 controls the read access from the application 2110 to the LBA area 12134 specified in step S1020.

I/Oの種類が「書き込み」の場合、ステップS1040にてI/O制御プログラム1212がボリューム割当てテーブル1213を参照し、書き込みアクセス先の論理ボリューム1110のLUN12122と、そのマイグレーション状態12123と、を特定する。   If the I / O type is “write”, the I / O control program 1212 refers to the volume allocation table 1213 in step S1040 to identify the LUN 12122 of the logical volume 1110 that is the write access destination and its migration state 12123. To do.

次にI/O制御プログラム1212が、ステップS1050にて、当該ボリュームのマイグレーション状態12123が「マイグレーション中」であるか否かを判定する。   Next, in step S1050, the I / O control program 1212 determines whether the migration state 12123 of the volume is “migrating”.

マイグレーション状態12123が「マイグレーション中」である場合、ステップS1060にてI/O制御プログラム1212が、アプリケーション2110からの書き込みアクセスを、メモリ1210に対して行うように制御する。なお、ここでの書き込みアクセス先はメモリ1210に限らず、制御装置1220が備えるキャッシュメモリや、他の論理ボリューム1110などであっても良い。   If the migration state 12123 is “migrating”, the I / O control program 1212 controls the memory 1210 to perform write access from the application 2110 in step S1060. The write access destination here is not limited to the memory 1210, but may be a cache memory provided in the control device 1220, another logical volume 1110, or the like.

さらにステップS1070にて、I/O制御プログラム1212が、物理リソース割当てテーブル1214を更新し、書き込みアクセスのあったボリュームLBA領域12132に対応する物理リソースIDをメモリ1210の識別子に、LBA領域12134をメモリ1210上の記憶領域の識別子に、それぞれ設定する。   In step S 1070, the I / O control program 1212 updates the physical resource allocation table 1214, the physical resource ID corresponding to the volume LBA area 12132 that has been accessed for writing is used as the identifier of the memory 1210, and the LBA area 12134 is stored in the memory. The identifier of the storage area on 1210 is set respectively.

マイグレーション状態12123が「マイグレーション中」でない場合、ステップS1080にてI/O制御プログラム1212がボリューム割当てテーブル1213と、物理リソース割当てテーブル1214と、を参照し、書き込みアクセス先のLBA領域12134を特定する。   If the migration status 12123 is not “migrating”, the I / O control program 1212 refers to the volume allocation table 1213 and the physical resource allocation table 1214 in step S1080 to identify the write access destination LBA area 12134.

次にI/O制御プログラム1212が、ステップS1080にて書き込みアクセス先のLBA領域12134が既に割り当てられているか否かを判定する。本実施例においては、物理リソース割当てテーブル1214にてLBA領域12134にハイフンのみが格納されている場合、該当するボリュームLBA領域には物理リソースのLBA領域が割り当てられていないと判定する。   Next, the I / O control program 1212 determines whether or not the write access destination LBA area 12134 has already been allocated in step S1080. In this embodiment, when only a hyphen is stored in the LBA area 12134 in the physical resource allocation table 1214, it is determined that the LBA area of the physical resource is not allocated to the corresponding volume LBA area.

書き込みアクセス先のLBA領域12134が既に割当てられている場合、ステップS1110にてI/O制御プログラム1212が、アプリケーション2110からの書き込みI/Oを、当該LBA領域に対して行うように制御する。   If the write access destination LBA area 12134 has already been allocated, the I / O control program 1212 controls to perform write I / O from the application 2110 to the LBA area in step S1110.

書き込みアクセス先のLBA領域12134が割当てられていない場合、ステップS1100にてI/O制御プログラム1212が、I/Oアクセス対象の論理ボリューム1110のボリュームLBA領域12132に、新たに物理リソースのLBA領域を割り当てる。なお、新規に割り当てる物理リソースのLBA領域を決定する方法には、物理リソースのLBA領域を先頭から検索し、必要な容量を満たす最初の領域を選択するなどの方法があるが、特に限定はしない。ステップS1100の実行後、ステップS1110に進む。   If the write access destination LBA area 12134 is not allocated, the I / O control program 1212 newly assigns an LBA area of the physical resource to the volume LBA area 12132 of the logical volume 1110 to be accessed in step S1100. assign. Note that there is a method for determining the LBA area of the physical resource to be newly allocated, such as searching the LBA area of the physical resource from the top and selecting the first area that satisfies the required capacity, but there is no particular limitation. . After execution of step S1100, the process proceeds to step S1110.

図10は、本実施例において、構成管理プログラム4110が、ストレージサブシステム1000の構成情報を取得する際の処理のシーケンスを示している。なお本実施例においては、図10の処理シーケンスは管理計算機4000が持つプログラムの他の処理とは並列に実行されるものとする。   FIG. 10 shows a processing sequence when the configuration management program 4110 acquires the configuration information of the storage subsystem 1000 in this embodiment. In this embodiment, it is assumed that the processing sequence of FIG. 10 is executed in parallel with other processing of the program of the management computer 4000.

当該処理では、まずステップS2000にて、構成管理プログラム4110が構成情報取得プログラム1211に、ストレージサブシステム1000の構成情報の提供を要求する。   In this process, first, in step S2000, the configuration management program 4110 requests the configuration information acquisition program 1211 to provide the configuration information of the storage subsystem 1000.

次にステップS2010にて、構成情報取得プログラム1211がストレージサブシステム1000の構成情報を収集し、構成管理プログラム4110に当該情報を返す。なお本実施例においては、構成情報取得プログラム1211は、ストレージサブシステム1000の構成情報として、構成情報テーブル4120に示す情報を返すものとするが、これに加えて他の情報を返しても良い。   In step S2010, the configuration information acquisition program 1211 collects the configuration information of the storage subsystem 1000 and returns the information to the configuration management program 4110. In this embodiment, the configuration information acquisition program 1211 returns the information shown in the configuration information table 4120 as the configuration information of the storage subsystem 1000. However, in addition to this, other information may be returned.

ステップS2020にて構成管理プログラム4110が、ストレージサブシステム1000の構成情報を構成情報テーブル4120に格納する。   In step S2020, the configuration management program 4110 stores the configuration information of the storage subsystem 1000 in the configuration information table 4120.

次にステップS2030にて構成管理プログラム4110が、一定時間が経過するのを待った後、ステップS2000に進む。構成管理プログラム4110がステップS2030にて待つ時間の長さは、構成管理プログラム4110にて予め決めておいても良いし、ユーザが設定するなどの他の方法で決定しても良い。   Next, in step S2030, the configuration management program 4110 waits for a fixed time to elapse, and then proceeds to step S2000. The length of time that the configuration management program 4110 waits in step S2030 may be determined in advance by the configuration management program 4110, or may be determined by other methods such as a user setting.

図11は、本実施例において論理ボリューム1110のマイグレーションに関する設定を行う際の処理のシーケンスを示している。   FIG. 11 shows a processing sequence when performing settings related to migration of the logical volume 1110 in this embodiment.

当該処理では、まずステップS3000にてマイグレーション設定プログラム4130が、マイグレーション設定プログラム4130のユーザインタフェースを通じて、ユーザ(ストレージ管理者)からのストレージ階層の設定を受け付ける。   In this process, first, in step S3000, the migration setting program 4130 receives a storage tier setting from a user (storage administrator) through the user interface of the migration setting program 4130.

図12は、本実施例においてユーザがストレージ階層の設定に用いるユーザインタフェースUI1000を示している。ユーザインタフェースUI1000は、論理ボリューム1110の一覧を表示するテーブルUI1100と、ストレージ階層の一覧を表示するテーブルUI1200と、論理ボリューム1110をストレージ階層に追加するためのボタンUI1300と、ストレージ階層から論理ボリューム1110を削除するためのボタンUI1400と、を有している。なお、論理ボリュームの一覧テーブルUI1100およびストレージ階層の一覧テーブルUI1200は、チェックボックスを有しており、ユーザは各テーブルの各行を選択できるものとする。   FIG. 12 shows a user interface UI 1000 used by the user for setting the storage tier in this embodiment. The user interface UI 1000 includes a table UI 1100 that displays a list of logical volumes 1110, a table UI 1200 that displays a list of storage tiers, a button UI 1300 for adding a logical volume 1110 to the storage tier, and logical volumes 1110 from the storage tier. And a button UI 1400 for deletion. The logical volume list table UI 1100 and the storage tier list table UI 1200 have check boxes, and the user can select each row of each table.

ユーザは論理ボリュームの一覧テーブルUI1100からストレージ階層に追加したい論理ボリューム1110を選択し、ストレージ階層の一覧テーブルUI1200から論理ボリューム1110を追加する対象のストレージ階層を選択する。なお本実施例においては、ストレージ階層の一覧テーブルUI1200にてストレージ階層を1つも選択しなかった場合は、新規のストレージ階層が生成されるものとする。ユーザがボタンUI1300を押すと、論理ボリューム1110がストレージ階層に追加される。ストレージ階層から論理ボリューム1110を削除する場合は、ユーザはストレージ階層の一覧テーブルUI1200から削除対象の行を選択し、ボタンUI1400を押す。なお本実施例においては、ストレージ階層に含まれる論理ボリューム1100が1つも無くなった際、当該ストレージ階層は自動的に削除されるものとする。   The user selects the logical volume 1110 to be added to the storage tier from the logical volume list table UI1100, and selects the target storage tier to which the logical volume 1110 is added from the storage tier list table UI1200. In this embodiment, if no storage tier is selected in the storage tier list table UI1200, a new storage tier is generated. When the user presses the button UI 1300, the logical volume 1110 is added to the storage tier. When deleting the logical volume 1110 from the storage tier, the user selects a row to be deleted from the storage tier list table UI1200 and presses the button UI1400. In the present embodiment, when no logical volume 1100 is included in the storage tier, the storage tier is automatically deleted.

次にステップS3010にて、マイグレーション設定プログラム4130は、ストレージ階層の情報をストレージ階層テーブル4140に格納する。   In step S3010, the migration setting program 4130 stores the storage tier information in the storage tier table 4140.

次にステップS3020にて、マイグレーション設定プログラム4130が、マイグレーション設定プログラム4130のユーザインタフェースを通じて、ユーザからのマイグレーションポリシの設定を受け付ける。   In step S3020, the migration setting program 4130 receives a migration policy setting from the user through the user interface of the migration setting program 4130.

図13は、本実施例においてユーザがマイグレーションポリシの設定に用いるユーザインタフェースUI2000を示している。UI2000はマイグレーションポリシの一覧を表示するテーブルUI2100と、マイグレーションポリシを削除するためのボタンUI2200と、マイグレーションポリシを入力するためのフィールドUI2300と、を有している。マイグレーションを入力するためのフィールドUI2300は、マイグレーション条件を入力するためのテキストフィールドUI2310と、マイグレーション先のストレージ階層を選択するためのドロップダウンリストUI2320と、マイグレーションポリシを追加するためのボタンUI2330と、を有している。なお、マイグレーションポリシの一覧テーブルUI2100は、チェックボックスを有しており、ユーザは各テーブルの各行を選択できるものとする。   FIG. 13 shows a user interface UI2000 used by the user for setting the migration policy in this embodiment. The UI 2000 includes a table UI 2100 for displaying a list of migration policies, a button UI 2200 for deleting a migration policy, and a field UI 2300 for inputting a migration policy. A field UI 2300 for inputting migration includes a text field UI 2310 for inputting migration conditions, a drop-down list UI 2320 for selecting a migration destination storage tier, and a button UI 2330 for adding a migration policy. Have. Note that the migration policy list table UI 2100 has a check box, and the user can select each row of each table.

ユーザはテキストフィールドUI2310に、マイグレーション条件を入力する。なお、マイグレーション条件を記述するための文法は特に限定しない。さらにユーザはドロップダウンリストUI2320から、マイグレーション先のストレージ階層を選択し、ボタンUI2330を押す。これによりマイグレーション条件とマイグレーション先階層と、がマイグレーションポリシとして追加される。マイグレーションポリシを削除する場合、ユーザはマイグレーションポリシの一覧テーブルUI2100から削除対象の行を選択し、ボタンUI2200を押す。   The user inputs a migration condition in the text field UI2310. The grammar for describing migration conditions is not particularly limited. Further, the user selects a migration destination storage tier from the drop-down list UI 2320 and presses a button UI 2330. As a result, the migration condition and the migration destination hierarchy are added as a migration policy. When deleting a migration policy, the user selects a row to be deleted from the migration policy list table UI 2100 and presses a button UI 2200.

次にステップS3030にて、マイグレーション設定プログラム4130が、マイグレーションポリシの情報をマイグレーションポリシテーブル4150に格納する。   In step S3030, the migration setting program 4130 stores the migration policy information in the migration policy table 4150.

次にステップS3040にて、マイグレーション設定プログラム4130が、マイグレーション設定プログラム4130のユーザインタフェースを通じて、ユーザからの関連ポリシの設定を受け付ける。   Next, in step S3040, the migration setting program 4130 receives the setting of the related policy from the user through the user interface of the migration setting program 4130.

図14は、本実施例においてユーザが関連ポリシの設定に用いるユーザインタフェースUI3000を示している。UI3000は、関連ポリシの一覧を表示するテーブルUI3100と、関連ポリシを削除するためのボタンUI3200と、関連ポリシを入力するためのフィールドUI3300と、を有している。関連ポリシを入力するためのフィールドUI3300は、関連先ボリュームをマイグレーションするタイミングを選択するためのドロップダウンリストUI3310と、関連先ボリュームをマイグレーションするための条件を入力するためのフィールドUI3320と、関連先ボリュームをマイグレーションする際のポリシを選択するためのドロップダウンリストUI3330と、関連先ボリュームをマイグレーションする際のポリシとして既存のポリシIDを選択する際に利用するマイグレーションポリシの一覧テーブルUI3340と、関連ポリシを追加するためのボタンUI3350と、を有する。なお、関連ポリシの一覧テーブルUI3100およびマイグレーションポリシの一覧テーブルUI3340は、チェックボックスを有しており、ユーザは各テーブルの各行を選択できるものとする。   FIG. 14 shows a user interface UI 3000 used by the user for setting related policies in this embodiment. The UI 3000 includes a table UI 3100 for displaying a list of related policies, a button UI 3200 for deleting the related policies, and a field UI 3300 for inputting the related policies. A field UI 3300 for inputting a related policy includes a drop-down list UI 3310 for selecting a timing for migrating the related destination volume, a field UI 3320 for inputting a condition for migrating the related destination volume, and a related destination volume. Drop-down list UI3330 for selecting a policy for migrating a policy, a migration policy list table UI3340 used for selecting an existing policy ID as a policy for migrating the related destination volume, and a related policy And a button UI3350. The related policy list table UI 3100 and the migration policy list table UI 3340 have check boxes, and the user can select each row of each table.

ユーザはドロップダウンリストUI3310から、関連先ボリュームをマイグレーションするタイミングを選択する。また、ユーザはドロップダウンリストUI3321と、ドロップダウンリストUI3322と、テキストフィールドUI3323を用いて、関連先ボリュームをマイグレーションする条件を入力する。具体的には、ユーザはドロップダウンリストUI3321から条件の対象を選択し、ドロップダウンリストUI3322から条件の比較演算子を選択し、テキストフィールドUI3323に条件を入力する。さらにユーザは、ドロップダウンリストUI3330から、関連先ボリュームをマイグレーションする際のポリシを選択する。その際、「ポリシID(下記で指定)に従う」を選択した場合は、マイグレーションポリシの一覧テーブルUI3340から、関連先ボリュームのマイグレーションポリシとして設定するポリシを選択する。最後にユーザがボタンUI3350を押すことで、関連ポリシが設定される。関連ポリシを削除する場合は、ユーザは関連ポリシの一覧テーブルUI3100から削除対象の関連ポリシを選択し、ボタンUI3200を押す。   The user selects the timing for migrating the related destination volume from the drop-down list UI3310. In addition, the user uses the drop-down list UI 3321, the drop-down list UI 3322, and the text field UI 3323 to input conditions for migrating the related destination volume. Specifically, the user selects a condition target from the drop-down list UI 3321, selects a condition comparison operator from the drop-down list UI 3322, and inputs the condition in the text field UI 3323. Further, the user selects a policy for migrating the related destination volume from the drop-down list UI 3330. At this time, if “Follow policy ID (specified below)” is selected, the policy to be set as the migration policy of the related destination volume is selected from the migration policy list table UI3340. Finally, when the user presses the button UI3350, the related policy is set. When deleting a related policy, the user selects a related policy to be deleted from the related policy list table UI3100 and presses a button UI3200.

次にステップS3050にて、マイグレーション設定プログラム4130が関連ポリシの情報を関連ポリシテーブル4160に格納する。   In step S3050, the migration setting program 4130 stores related policy information in the related policy table 4160.

次にステップS3060にて、マイグレーション設定プログラム4130が、マイグレーション設定プログラム4130のユーザインタフェースを通じて、ユーザからのポリシの割当て設定を受け付ける。   In step S3060, the migration setting program 4130 receives policy assignment settings from the user through the user interface of the migration setting program 4130.

図15は、本実施例においてユーザがポリシの割当て設定に用いるユーザインタフェースUI4000を示している。UI4000は、論理ボリューム1110の一覧を表示するテーブルUI4100と、マイグレーションポリシの一覧を表示するテーブルUI4200と、関連ポリシの一覧を表示するテーブルUI4300と、マイグレーションポリシおよび関連ポリシを論理ボリューム1110に割り当てるためのボタンUI4400と、を有している。なお、論理ボリュームの一覧テーブルUI4100と、マイグレーションポリシの一覧テーブルUI4200と、関連ポリシの一覧テーブルUI4300と、はチェックボックスを有しており、ユーザは各テーブルの各行を選択できるものとする。   FIG. 15 shows a user interface UI 4000 used by the user for policy assignment setting in this embodiment. The UI 4000 is a table UI 4100 that displays a list of logical volumes 1110, a table UI 4200 that displays a list of migration policies, a table UI 4300 that displays a list of related policies, and a migration policy and a related policy for allocating to the logical volumes 1110. A button UI4400. The logical volume list table UI 4100, the migration policy list table UI 4200, and the related policy list table UI 4300 have check boxes, and the user can select each row of each table.

ユーザは論理ボリュームの一覧テーブルUI4100から、マイグレーションポリシおよび関連ポリシを割り当てる対象の論理ボリューム1110を選択する。またユーザは、マイグレーションポリシの一覧テーブルUI4200から、論理ボリューム1110に割り当てるマイグレーションポリシを選択する。さらにユーザは関連ポリシの一覧テーブルUI4300から、論理ボリューム1110に割り当てる関連ポリシを選択する。最後にユーザがボタンUI4400を押すことで、論理ボリューム1110へのマイグレーションポリシおよび関連ポリシの割当て設定が行われる。   The user selects a logical volume 1110 to which a migration policy and a related policy are assigned from the logical volume list table UI4100. The user also selects a migration policy to be allocated to the logical volume 1110 from the migration policy list table UI4200. Further, the user selects a related policy to be assigned to the logical volume 1110 from the related policy list table UI4300. Finally, when the user presses the button UI 4400, the allocation setting of the migration policy and the related policy to the logical volume 1110 is performed.

次にステップS3070にて、マイグレーション設定プログラム4130が、ポリシの割当て設定の情報をポリシ割当てテーブル4170に格納する。以上の処理により、マイグレーションに関する設定が行われる。   In step S3070, the migration setting program 4130 stores policy allocation setting information in the policy allocation table 4170. With the above processing, settings related to migration are performed.

図16は、本実施例におけるマイグレーション指示処理のシーケンスを示している。   FIG. 16 shows a sequence of migration instruction processing in the present embodiment.

図16の処理では、まずステップS4000にて、構成管理プログラム4110が持つスケジューラ機能が、一定時間ごとにマイグレーション指示プログラム4180を実行する。構成管理プログラム4110が持つスケジューラ機能がマイグレーション指示プログラムを実行する時間の間隔は、構成管理プログラム4110にて予め決めておいても良いし、ユーザが設定するなどの他の方法で決定しても良い。   In the process of FIG. 16, first, in step S4000, the scheduler function of the configuration management program 4110 executes the migration instruction program 4180 at regular intervals. The interval at which the scheduler function of the configuration management program 4110 executes the migration instruction program may be determined in advance by the configuration management program 4110 or may be determined by other methods such as a user setting. .

次にステップS4010にて、マイグレーション指示プログラム4180が、構成情報テーブル4120と、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、マイグレーション条件を満たす論理ボリューム1110を探す。   In step S4010, the migration instruction program 4180 refers to the configuration information table 4120, the migration policy table 4150, and the policy allocation table 4170 to search for a logical volume 1110 that satisfies the migration condition.

次にステップS4020にて、マイグレーション指示プログラム4180が、マイグレーション条件を満たす論理ボリューム1110が存在するか否かを判定する。該当する論理ボリューム1110が存在しない場合は、本処理を終了する。該当する論理ボリューム1110が存在する場合は、ステップS4030に進む。   Next, in step S4020, the migration instruction program 4180 determines whether there is a logical volume 1110 that satisfies the migration condition. If the corresponding logical volume 1110 does not exist, this process ends. If the corresponding logical volume 1110 exists, the process proceeds to step S4030.

ステップS4030では、マイグレーション指示プログラム4180が、ストレージ階層テーブル4140と、構成情報テーブル4120と、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS4010で発見した論理ボリューム1110に割り当てられたポリシの情報からマイグレーション先のストレージ階層を特定し、当該ストレージ階層の中からマイグレーション先の論理ボリューム1110を選択する。なお、マイグレーション先の論理ボリュームを選択する方法には、例えば、ストレージ階層に含まれる論理ボリューム1110の内、ステップS4010で発見した論理ボリューム1110より容量が大きく、パスフラグが「なし」のものを選択するなどの方法があるが、特に限定はしない。   In step S4030, the migration instruction program 4180 is allocated to the logical volume 1110 found in step S4010 with reference to the storage tier table 4140, configuration information table 4120, migration policy table 4150, and policy allocation table 4170. The migration destination storage tier is identified from the policy information, and the migration destination logical volume 1110 is selected from the storage tier. As a method of selecting a migration destination logical volume, for example, a logical volume 1110 included in the storage tier having a capacity larger than that of the logical volume 1110 discovered in step S4010 and a path flag of “None” is selected. There are methods, but there is no particular limitation.

次にステップS4040にて、マイグレーション指示プログラム4180が、ステップS4010で発見した論理ボリューム1110に対するマイグレーションを行うよう、マイグレーションプログラム1216に指示する。   Next, in step S4040, the migration instruction program 4180 instructs the migration program 1216 to perform migration for the logical volume 1110 found in step S4010.

次にステップS4050にて、マイグレーションプログラム1216が、マイグレーション処理を実行する。マイグレーション処理の詳細は後述する。   In step S4050, the migration program 1216 executes migration processing. Details of the migration process will be described later.

次にステップS4060にて、構成管理プログラム4110が、マイグレーション指示プログラム4180に、ステップS4050にてマイグレーションされた論理ボリューム1110を通知し、当該ボリュームに関連を持つ論理ボリューム1110に対するマイグレーション処理を行うよう要求する。   Next, in step S4060, the configuration management program 4110 notifies the migration instruction program 4180 of the logical volume 1110 migrated in step S4050 and requests to perform migration processing for the logical volume 1110 associated with the volume. .

次にステップS4070にて、マイグレーション指示プログラム4180が、ステップS4050にてマイグレーションされた論理ボリューム1110と関連を持った論理ボリューム1110(関連先ボリューム)に対するマイグレーション指示処理を行う。   Next, in step S4070, the migration instruction program 4180 performs migration instruction processing for the logical volume 1110 (related destination volume) associated with the logical volume 1110 migrated in step S4050.

図17は、本実施例における関連先ボリュームに対するマイグレーション指示処理のシーケンスを示している。   FIG. 17 shows a sequence of migration instruction processing for the related destination volume in this embodiment.

当該処理では、まずステップS5000にてマイグレーション指示プログラム4180が、ポリシ割当てテーブル4170を参照し、構成管理プログラム4110から指定された論理ボリューム1110と関連のある論理ボリューム1110を探す。   In this processing, first, in step S5000, the migration instruction program 4180 refers to the policy allocation table 4170 and searches for a logical volume 1110 associated with the logical volume 1110 designated by the configuration management program 4110.

次にステップS5010にて、マイグレーション指示プログラム4180が、該当するボリュームが存在するか否かを判定する。該当するボリュームが存在しない場合は本処理を終了する。該当するボリュームが存在する場合は、ステップS5020に進む。   In step S5010, the migration instruction program 4180 determines whether the corresponding volume exists. If the corresponding volume does not exist, this process ends. If the corresponding volume exists, the process proceeds to step S5020.

ステップS5020では、マイグレーション指示プログラム4180が、関連ポリシテーブル4160を参照し、ステップS5000で発見した論理ボリューム1110をマイグレーションするタイミングを特定する。   In step S5020, the migration instruction program 4180 refers to the related policy table 4160 and identifies the timing for migrating the logical volume 1110 found in step S5000.

次にステップS5030にて、マイグレーション指示プログラム4180が、現時点がステップS5020で特定したタイミングに該当するか否かを判定する。該当しない場合は本処理を終了する。該当する場合はステップS5040に進む。   Next, in step S5030, the migration instruction program 4180 determines whether the current time corresponds to the timing specified in step S5020. If not applicable, the process is terminated. If applicable, the process proceeds to step S5040.

ステップS5040では、マイグレーション指示プログラム4180が、関連ポリシテーブルを参照し、ステップS5000で発見した論理ボリューム1110をマイグレーションする条件を特定する。   In step S5040, the migration instruction program 4180 refers to the related policy table and identifies conditions for migrating the logical volume 1110 found in step S5000.

次にステップS5050にて、マイグレーション指示プログラム4180が、ステップS5040で特定した条件が満たされているか否かを判定する。条件が満たされていない場合は本処理を終了する。条件が満たされている場合は、ステップS5060に進む。   In step S5050, the migration instruction program 4180 determines whether the condition specified in step S5040 is satisfied. If the condition is not satisfied, this process is terminated. If the condition is satisfied, the process proceeds to step S5060.

ステップS5060では、マイグレーション指示プログラム4180が、関連ポリシテーブル4160を参照し、ステップS5000で発見した論理ボリューム1110をマイグレーションするポリシ(関連ポリシ)を特定する。   In step S5060, the migration instruction program 4180 refers to the related policy table 4160 and identifies a policy (related policy) for migrating the logical volume 1110 found in step S5000.

次にステップS5070にて、マイグレーション指示プログラム4180が、構成情報テーブル4120と、ストレージ階層テーブル4140と、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS5000で発見した論理ボリューム1110のマイグレーション先の論理ボリューム1110を選択する。なお、マイグレーション先の論理ボリュームを選択する方法には、例えば、ストレージ階層に含まれる論理ボリューム1110の内、ステップS5000で発見した論理ボリューム1110より容量が大きく、パスフラグが「なし」のものを選択するなどの方法があるが、特に限定はしない。また、マイグレーション先の論理ボリュームが1つも無い場合には、ログ出力などの方法により、その旨をユーザに通知する。   Next, in step S5070, the migration instruction program 4180 refers to the configuration information table 4120, the storage tier table 4140, the migration policy table 4150, and the policy allocation table 4170, and finds the logical volume 1110 found in step S5000. The migration destination logical volume 1110 is selected. As a method of selecting a migration destination logical volume, for example, a logical volume 1110 included in a storage tier having a capacity larger than that of the logical volume 1110 discovered in step S5000 and a path flag “None” is selected. There are methods, but there is no particular limitation. If there is no migration destination logical volume, the fact is notified to the user by a method such as log output.

次にステップS5080にて、マイグレーション指示プログラム4180が、ステップS5000で発見した論理ボリュームに対するマイグレーション処理を行うよう要求する。   In step S5080, the migration instruction program 4180 requests that the logical volume found in step S5000 be migrated.

図18は、本実施例におけるマイグレーション処理のシーケンスを示している。当該処理では、まずステップS6000にて、マイグレーションプログラム1216が、ボリューム割当てテーブル1213を参照し、マイグレーション指示プログラム4180に指定された論理ボリューム1110のマイグレーション状態を「マイグレーション中」に設定する。これにより、図9に示したように当該ボリュームに対する書き込みI/Oは、本時点以降、当該ボリュームに対してではなく、メモリに対して行うようにI/O制御プログラム1212によって制御される。   FIG. 18 shows a sequence of migration processing in the present embodiment. In this process, first, in step S6000, the migration program 1216 refers to the volume allocation table 1213, and sets the migration state of the logical volume 1110 specified in the migration instruction program 4180 to “migrating”. As a result, as shown in FIG. 9, write I / O to the volume is controlled by the I / O control program 1212 so that it is performed not on the volume but on the memory after this time.

次にステップS6010にて、マイグレーションプログラム1216が、データコピープログラム1215に、マイグレーション元の論理ボリューム1110に格納されたデータを、マイグレーション先の論理ボリューム1110にコピーするように指示する。   In step S6010, the migration program 1216 instructs the data copy program 1215 to copy the data stored in the migration source logical volume 1110 to the migration destination logical volume 1110.

次にステップS6020にて、データコピープログラム1215が、マイグレーション元の論理ボリューム1110に格納されたデータを、マイグレーション先の論理ボリューム1110にコピーする。   In step S6020, the data copy program 1215 copies the data stored in the migration source logical volume 1110 to the migration destination logical volume 1110.

次にステップS6030にて、マイグレーションプログラム1216が、I/O制御プログラム1212に、一時的に書き込みI/Oを停止するように要求する。   Next, in step S6030, the migration program 1216 requests the I / O control program 1212 to temporarily stop the write I / O.

次にステップS6040にて、I/O制御プログラム1212が、現在、書き込み中のI/O処理が終了した後で、一時的に書き込みI/Oを停止する。なお、本実施例においては、書き込みI/O停止中もストレージサブシステム1000はホスト計算機2000からのI/O(読み込み、書き込み)を受け付け、そのI/O要求をメモリ1210またはキャッシュメモリなどに保持しておくものとする。   In step S6040, the I / O control program 1212 temporarily stops the write I / O after the currently written I / O processing is completed. In this embodiment, the storage subsystem 1000 accepts I / O (reading and writing) from the host computer 2000 even when write I / O is stopped, and holds the I / O request in the memory 1210 or the cache memory. Shall be kept.

次にステップS6050にて、マイグレーションプログラム1216が、I/O制御プログラム1212に、マイグレーション元の論理ボリューム1110に関して、メモリ上に書き込まれているデータをマイグレーション先の論理ボリューム1110の該当領域に書き込むように要求する。   In step S6050, the migration program 1216 causes the I / O control program 1212 to write the data written in the memory regarding the migration source logical volume 1110 to the corresponding area of the migration destination logical volume 1110. Request.

次にステップS6060にて、I/O制御プログラム1212は、物理リソース割当てテーブル1214を参照し、マイグレーション元の論理ボリューム1110のボリュームLBA領域の内、メモリ上のLBA領域に書き込まれているデータを全て、マイグレーション先の論理ボリューム1110に割り当てられた物理リソース上のLBA領域に書き込む。   Next, in step S6060, the I / O control program 1212 refers to the physical resource allocation table 1214, and all the data written in the LBA area on the memory in the volume LBA area of the migration source logical volume 1110 Then, write to the LBA area on the physical resource allocated to the migration destination logical volume 1110.

次にステップS6070にて、マイグレーションプログラム1216が、物理リソース割当てテーブル1214を参照し、マイグレーション元の論理ボリューム1110のLUNと、マイグレーション先の論理ボリューム1110のLUNと、を入れ替える。   In step S6070, the migration program 1216 refers to the physical resource allocation table 1214 and switches the LUN of the migration source logical volume 1110 and the LUN of the migration destination logical volume 1110.

次にステップS6080にて、マイグレーションプログラム1216が、I/O制御プログラム1212に、書き込みI/Oを再開するように要求する。   In step S6080, the migration program 1216 requests the I / O control program 1212 to resume the write I / O.

次にステップS6090にて、I/O制御プログラム1212が、書き込みI/Oを再開する。   Next, in step S6090, the I / O control program 1212 resumes the write I / O.

図19は、本実施例において、コピーペア関係にあり、関連元ボリュームのみマイグレーションされた論理ボリューム1110のペア間のデータ同期処理を行う際のシーケンスを示している。   FIG. 19 shows a sequence when performing data synchronization processing between pairs of logical volumes 1110 that are in a copy pair relationship and have only been migrated in the associated source volume in this embodiment.

関連元ボリュームにデータが書き込まれた際、すぐに関連先ボリュームへデータが書き込まれないことがある。そこで、関連元ボリュームと関連先ボリュームのデータの同期化後に、関連先ボリュームのマイグレーションを行うことで、関連元ボリュームと関連先ボリュームの間のデータに不整合が生じず、マイグレーションすることができる。図19の処理では、まずステップ7000にて、マイグレーションプログラム1216が、関連ポリシテーブル4160のタイミングが、「同期時」である関連ポリシIDが割り当てられた関連元ボリュームのマイグレーション処理を実行する。   When data is written to the related source volume, the data may not be immediately written to the related destination volume. Therefore, by performing migration of the related destination volume after synchronizing the data of the related source volume and the related destination volume, the data between the related source volume and the related destination volume can be migrated without causing any inconsistency. In the process of FIG. 19, first, in step 7000, the migration program 1216 executes the migration process of the related source volume to which the related policy ID whose timing of the related policy table 4160 is “synchronized” is assigned.

次に、ステップS7010にて構成管理プログラム4110が、構成管理プログラム4110の持つユーザインタフェースを通じて、ユーザによる、コピーペア関係にある論理ボリューム1110間でデータの同期を取る処理を実行する指示を受け付ける。   In step S <b> 7010, the configuration management program 4110 receives an instruction to execute data synchronization processing between the logical volumes 1110 having a copy pair relationship by the user through the user interface of the configuration management program 4110.

図20は、本実施例においてユーザが、コピーペア関係にある論理ボリューム1110間でデータの同期を取る処理を実行するために用いるユーザインタフェースUI5000を示している。ユーザインタフェースUI5000は、コピーペア関係にある論理ボリューム1110の一覧を表示するテーブルUI5100と、コピーペア関係にある論理ボリューム1110間でデータを同期するためのボタンUI5200と、を有している。なお、コピーペア関係にある論理ボリューム1110の一覧テーブルはチェックボックスを有しており、ユーザは各行を選択できるものとする。   FIG. 20 shows a user interface UI 5000 that is used by the user in this embodiment to execute processing for synchronizing data between logical volumes 1110 having a copy pair relationship. The user interface UI 5000 includes a table UI 5100 that displays a list of logical volumes 1110 that have a copy pair relationship, and a button UI 5200 that synchronizes data between the logical volumes 1110 that have a copy pair relationship. It is assumed that the list table of logical volumes 1110 that have a copy pair relationship has a check box, and the user can select each row.

ユーザはコピーペア関係にある論理ボリュームの一覧テーブルUI5100から、データを同期化したいペアを選択し、ボタンUI5200を押す。これにより、当該ペア間でデータが同期化される。   The user selects a pair whose data is to be synchronized from the logical volume list table UI5100 having a copy pair relationship, and presses a button UI5200. Thereby, data is synchronized between the pair.

次にステップS7020にて、構成管理プログラム4110が、データコピープログラム1215に対して、当該ボリュームのペア間でデータを同期するように要求する。   In step S7020, the configuration management program 4110 requests the data copy program 1215 to synchronize data between the pair of volumes.

次にステップS7030にて、データコピープログラム1215が、当該ボリュームのペア間でデータを同期する。この処理は、コピー元の論理ボリューム1110に書き込まれたデータの内、コピー先の論理ボリューム1110に反映されていないデータを、コピー先の論理ボリュームに対して書き込むことで行われる。   In step S7030, the data copy program 1215 synchronizes data between the pair of volumes. This processing is performed by writing data that is not reflected in the copy destination logical volume 1110 among the data written in the copy source logical volume 1110 to the copy destination logical volume.

次にステップS7040にて、構成管理プログラム4110が、マイグレーション指示プログラム4180に、ステップS7030にてデータの同期化を実行された論理ボリューム1110を通知し、当該ボリュームに関連を持つ論理ボリューム1110に対するマイグレーション指示処理を行うよう要求する。   In step S7040, the configuration management program 4110 notifies the migration instruction program 4180 of the logical volume 1110 that has been synchronized in step S7030, and instructs the migration to the logical volume 1110 related to the volume. Requests processing.

次にステップS7050にて、マイグレーション指示プログラム4180が、ステップS7030にてデータの同期化を実行された論理ボリューム1110と関連を持った論理ボリューム1110(関連先ボリューム)に対するマイグレーション指示処理を行う。   Next, in step S7050, the migration instruction program 4180 performs migration instruction processing for the logical volume 1110 (related destination volume) associated with the logical volume 1110 that has been synchronized in step S7030.

図21は、本実施例において、コピーペアの関係にある論理ボリューム1110間で、コピーペアの関係を反転する際の処理のシーケンスを示している。ここでコピーペアの反転とは、コピー元の論理ボリューム1110をコピー先とし、コピー先の論理ボリューム1110をコピー元とする処理のことである。   FIG. 21 shows a processing sequence when the relationship of copy pairs is reversed between logical volumes 1110 having a copy pair relationship in this embodiment. Here, the copy pair reversal is a process in which the copy source logical volume 1110 is the copy destination and the copy destination logical volume 1110 is the copy source.

当該処理では、まずステップS8000にて、構成管理プログラム4110が、構成管理プログラム4110の持つユーザインタフェースを通じて、ユーザによる、コピーペア関係にある論理ボリュームの間で、コピーペアの関係を反転する処理を実行する指示を受け付ける。   In this process, first, in step S8000, the configuration management program 4110 executes a process of inverting the copy pair relationship between logical volumes in a copy pair relationship by the user through the user interface of the configuration management program 4110. Accept instructions to do.

次にステップS8010にて、構成管理プログラム4110が、データコピープログラム1215に対し、当該ボリュームのペア間でコピーペアの関係を反転するように要求する。   In step S8010, the configuration management program 4110 requests the data copy program 1215 to invert the copy pair relationship between the pair of volumes.

次にステップS8020にて、データコピープログラム1215が、当該ボリュームのペア間でコピーペアの関係を反転する。   In step S8020, the data copy program 1215 inverts the copy pair relationship between the volume pairs.

次にステップS8030にて、構成管理プログラム4110が、構成情報テーブル4120を参照し、新たにコピー先となった論理ボリューム1110(以下、オリジナルP-Volと記載する)の関連先LUNにハイフンを格納する。さらに構成管理プログラム4110は、新たにコピー元となった論理ボリューム1110(以下、オリジナルS-Volと記載する)の関連先LUNに、オリジナルP-VolのLUNを格納する。   In step S8030, the configuration management program 4110 refers to the configuration information table 4120 and stores a hyphen in the associated LUN of the logical volume 1110 (hereinafter referred to as the original P-Vol) that is the new copy destination. To do. Further, the configuration management program 4110 stores the LUN of the original P-Vol in the associated LUN of the logical volume 1110 (hereinafter referred to as the original S-Vol) that has become the new copy source.

次にステップS8040にて、構成管理プログラム4110が、ポリシ割当てテーブル4170を参照し、オリジナルP-VolとオリジナルS-Volとの間で、マイグレーションポリシおよび関連ポリシを入れ替える。   Next, in step S8040, the configuration management program 4110 refers to the policy assignment table 4170 and replaces the migration policy and the related policy between the original P-Vol and the original S-Vol.

以上が第1実施例におけるデータ処理手順の説明である。これらの処理により、任意の論理ボリューム1110に対して、マイグレーションやデータコピーなどの処理を行った際、当該ボリュームに関連を持った論理ボリューム1110についてマイグレーション処理を行うことができる。その結果、関連のあるボリュームのペア(またはグループ)に対して、ユーザ要件に合わせてマイグレーションを制御することができる。また、図21に示した処理によって、論理ボリューム1110間の関連が変化した際にも、ポリシを入れ替えることによって、当該ペア(またはグループ)のマイグレーションを適切に制御することができる。   The above is the description of the data processing procedure in the first embodiment. With these processes, when a process such as migration or data copy is performed on an arbitrary logical volume 1110, the migration process can be performed on the logical volume 1110 associated with the volume. As a result, the migration can be controlled in accordance with the user requirements for the related volume pair (or group). Further, even when the relationship between the logical volumes 1110 is changed by the processing shown in FIG. 21, the migration of the pair (or group) can be appropriately controlled by replacing the policy.

B.第2実施例:
B1.システムの構成
図22は、本発明の一実施例としてデータ処理システムの構成を示す説明図である。このデータ処理システムは、ストレージサブシステム1000bと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000と、スイッチ装置5000と、第二のストレージサブシステム6000と、を有している。図中では、ストレージサブシステム1000bと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000と、スイッチ装置5000と、第二のストレージサブシステム6000と、がそれぞれ1台ずつ存在しているがこの限りではなく、1台以上存在すれば良い。本構成の大部分は第1実施例の構成と同等であるため、以降は差分のみを説明する。
B. Second embodiment:
B1. System Configuration FIG. 22 is an explanatory diagram showing the configuration of a data processing system as an embodiment of the present invention. This data processing system includes a storage subsystem 1000b, a host computer 2000, a switch device 3000, a management computer 4000, a switch device 5000, and a second storage subsystem 6000. In the figure, there is one storage subsystem 1000b, a host computer 2000, a switch device 3000, a management computer 4000, a switch device 5000, and a second storage subsystem 6000. It is not limited, and one or more units may be present. Since most of this configuration is the same as the configuration of the first embodiment, only the differences will be described below.

図1に示すデータ処理システムとの差異は、ストレージサブシステム1000bが、リモートコピー機能を持ったデータコピープログラム1215bを有している点と、管理計算機4000bが、複数ストレージ間の関連を含む構成情報テーブル4120bおよび階層間の対応関係を含むストレージ階層テーブル4140bを有している点と、第二のストレージサブシステム6000が存在している点、である。なお、第二のストレージサブシステム6000の構成はストレージサブシステム1000と同等であるため説明は省略する。   The difference from the data processing system shown in FIG. 1 is that the storage subsystem 1000b has a data copy program 1215b having a remote copy function, and the management computer 4000b has configuration information including a relation between a plurality of storages. The table 4120b and the storage tier table 4140b including the correspondence relationship between the tiers, and the second storage subsystem 6000 exist. Note that the configuration of the second storage subsystem 6000 is the same as that of the storage subsystem 1000, and a description thereof will be omitted.

リモートコピー機能を持ったデータコピープログラム1215bは、ストレージサブシステム1000bが持つ論理ボリューム1110から第二のストレージサブシステム6000が持つ論理ボリューム1110に、データをコピーするプログラムである。当該プログラムによるデータのコピーは、ストレージサブシステム1000のI/F(A)1230と、スイッチ装置5000の持つI/F(A)5100と、第二のストレージサブシステム6000が持つI/F(A)1230と、を通じてデータを転送することで実現される。   The data copy program 1215b having a remote copy function is a program for copying data from the logical volume 1110 of the storage subsystem 1000b to the logical volume 1110 of the second storage subsystem 6000. Data copy by this program is performed by the I / F (A) 1230 of the storage subsystem 1000, the I / F (A) 5100 of the switch device 5000, and the I / F (A (A) of the second storage subsystem 6000). ) 1230 and the data is transferred.

図3に示す構成情報テーブル4120と、図23に示す複数ストレージ間の関連を含む構成情報テーブル4120bとの差異は、複数ストレージ間の関連を含む構成情報テーブル4120bが、関連先ストレージサブシステムID41206bを有している点である。関連先ストレージサブシステムID41206bは、ある論理ボリューム1110と関連を持った論理ボリュームを有しているストレージサブシステム1000または第二のストレージサブシステム6000を識別する情報である。第1実施例においては、関連先の論理ボリューム1110は、関連先LUN41206にて一意に識別されたが、本実施例においては関連先の論理ボリューム1110は、関連先ストレージサブシステムID41206bと、関連先LUN41206との組み合わせで一意に識別される。   The difference between the configuration information table 4120 shown in FIG. 3 and the configuration information table 4120b including the relationship between the plurality of storages shown in FIG. 23 is that the configuration information table 4120b including the relationship between the plurality of storages indicates the related storage subsystem ID 41206b. It is a point. The related storage subsystem ID 41206b is information for identifying the storage subsystem 1000 or the second storage subsystem 6000 having a logical volume associated with a certain logical volume 1110. In the first embodiment, the related logical volume 1110 is uniquely identified by the related LUN 41206, but in this embodiment, the related logical volume 1110 is related to the related storage subsystem ID 41206b and the related destination. Uniquely identified by combination with LUN 41206.

図4に示すストレージ階層テーブル4140と、図24に示す階層間の対応関係を含むストレージ階層テーブル4140bとの差異は、階層間の対応関係を含むストレージ階層テーブル4140bが第二のストレージサブシステムID41403bと、第二のLUN41404bと、を有している点である。第二のストレージサブシステムID41403bと、第二のLUN41404bは、第二のストレージサブシステム6000が持つ論理ボリューム1110を識別する情報である。   The difference between the storage tier table 4140 shown in FIG. 4 and the storage tier table 4140b including the correspondence relationship between tiers shown in FIG. 24 is that the storage tier table 4140b including the correspondence relationship between tiers is different from the second storage subsystem ID 41403b. The second LUN 41404b. The second storage subsystem ID 41403b and the second LUN 41404b are information for identifying the logical volume 1110 that the second storage subsystem 6000 has.

リモートコピーの関係のように、論理ボリューム1110が複数のストレージサブシステムに跨った関係を持つ場合、ストレージサブシステム1000と第二のストレージサブシステム6000の構成が全く同じである保証がない。例えば、ストレージサブシステム1000が物理リソース1121としてSSD (Solid State Drive) を有していたとしても、第二のストレージサブシステム6000はSSDを有していない可能性がある。このため、例えば関連元ボリュームがストレージサブシステム1000の論理ボリューム1110であり、関連先ボリュームが第二のストレージサブシステム6000の論理ボリューム1110である場合、関連ポリシとして「関連元ボリュームに合わせる」を設定しても、関連元ボリュームに合わせることができない可能性がある。   When the logical volume 1110 has a relationship across a plurality of storage subsystems as in the remote copy relationship, there is no guarantee that the configurations of the storage subsystem 1000 and the second storage subsystem 6000 are exactly the same. For example, even if the storage subsystem 1000 has an SSD (Solid State Drive) as the physical resource 1121, the second storage subsystem 6000 may not have an SSD. Therefore, for example, when the related source volume is the logical volume 1110 of the storage subsystem 1000 and the related destination volume is the logical volume 1110 of the second storage subsystem 6000, “match to related source volume” is set as the related policy. However, it may not be possible to match the related source volume.

このため、階層間の対応関係を含むストレージ階層テーブル4140bは、ストレージサブシステム1000におけるストレージ階層と、第二のストレージサブシステム6000におけるストレージ階層との対応関係の情報を含んでいる。関連元ボリュームがストレージサブシステム1000の論理ボリューム1110であり、関連先ボリュームが第二のストレージサブシステム6000の論理ボリューム1110である場合、関連ポリシとして「関連元ボリュームに合わせる」を設定すると、関連元ボリュームのマイグレーション先はストレージサブシステム1000のストレージ階層から選択され、関連先ボリュームのマイグレーション先は第二のストレージサブシステム6000のストレージ階層から選択される。   Therefore, the storage tier table 4140b including the correspondence relationship between tiers includes information on the correspondence relationship between the storage tier in the storage subsystem 1000 and the storage tier in the second storage subsystem 6000. When the related source volume is the logical volume 1110 of the storage subsystem 1000 and the related destination volume is the logical volume 1110 of the second storage subsystem 6000, if “match to related source volume” is set as the related policy, the related source The migration destination of the volume is selected from the storage tier of the storage subsystem 1000, and the migration destination of the related destination volume is selected from the storage tier of the second storage subsystem 6000.

B2.データ処理手順の説明
本実施例の動作の大部分は第1実施例の動作と同じであるため、以降は差分のみを説明する。第1実施例の処理シーケンスと本実施例の処理シーケンスでは、関連先ボリュームに対するマイグレーション処理が異なる。
B2. Description of Data Processing Procedure Since most of the operation of this embodiment is the same as that of the first embodiment, only the difference will be described below. In the processing sequence of the first embodiment and the processing sequence of this embodiment, the migration processing for the related destination volume is different.

図25に、本実施例における関連先ボリュームに対するマイグレーション処理のシーケンスを示す。図25のステップS5000、S5010、S5020、S5030、S5040、S5050、S5060、は図17のステップS5000、S5010、S5020、S5030、S5040、S5050、S5060と同じであるため、説明は省略する。   FIG. 25 shows a migration processing sequence for the associated destination volume in this embodiment. Steps S5000, S5010, S5020, S5030, S5040, S5050, and S5060 in FIG. 25 are the same as steps S5000, S5010, S5020, S5030, S5040, S5050, and S5060 in FIG.

本実施例における関連先ボリュームに対するマイグレーション処理では、ステップS5070bにて、マイグレーション指示プログラム4180が、複数ストレージ間の関連を含む構成情報テーブル4120bと、階層間の対応関係を含むストレージ階層テーブル4140bと、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS5000で発見した論理ボリューム1110のマイグレーション先の論理ボリューム1110を選択する。このとき、ステップS5000で発見した論理ボリューム1110がストレージサブシステム1000の持つ論理ボリューム1110であれば、ストレージサブシステム1000のストレージ階層からマイグレーション先の論理ボリューム1110を選択する。ステップS5000で発見した論理ボリューム1110が第二のストレージサブシステム6000の持つ論理ボリューム1110であれば、第二のストレージサブシステム6000のストレージ階層からマイグレーション先の論理ボリューム1110を選択する。なお、マイグレーション先の論理ボリュームを選択する方法には、例えば、ストレージ階層に含まれる論理ボリューム1110の内、ステップS5000で発見した論理ボリューム1110より容量が大きく、パスフラグが「なし」のものを選択するなどの方法があるが、特に限定はしない。また、マイグレーション先の論理ボリュームが1つも無い場合には、ログ出力などの方法により、その旨をユーザに通知する。   In the migration process for the related destination volume in the present embodiment, in step S5070b, the migration instruction program 4180 includes a configuration information table 4120b including a relationship between a plurality of storages, a storage tier table 4140b including a correspondence relationship between tiers, and a migration. With reference to the policy table 4150 and the policy allocation table 4170, the migration destination logical volume 1110 of the logical volume 1110 found in step S5000 is selected. At this time, if the logical volume 1110 found in step S5000 is the logical volume 1110 of the storage subsystem 1000, the migration destination logical volume 1110 is selected from the storage tier of the storage subsystem 1000. If the logical volume 1110 found in step S5000 is the logical volume 1110 of the second storage subsystem 6000, the migration destination logical volume 1110 is selected from the storage tier of the second storage subsystem 6000. As a method of selecting a migration destination logical volume, for example, a logical volume 1110 included in a storage tier having a capacity larger than that of the logical volume 1110 discovered in step S5000 and a path flag “None” is selected. There are methods, but there is no particular limitation. If there is no migration destination logical volume, the fact is notified to the user by a method such as log output.

次にステップS5080bにて、マイグレーション指示プログラム4180が、ステップS5000で発見した論理ボリュームに対するマイグレーション処理を行うよう要求する。処理を要求する対象は、当該ボリュームを持つストレージサブシステム1000上のマイグレーションプログラム1216、または第二のストレージサブシステム6000上のマイグレーションプログラム1216である。   Next, in step S5080b, the migration instruction program 4180 requests the migration processing for the logical volume found in step S5000. The target of processing is the migration program 1216 on the storage subsystem 1000 having the volume or the migration program 1216 on the second storage subsystem 6000.

以上が第2実施例におけるデータ処理の手順である。これらの処理により、リモートコピーの関係のように、論理ボリューム1110が複数ストレージサブシステム間に跨った関係を持つ場合においても、関連のあるボリュームのペア(またはグループ)に対して、ユーザ要件に合わせてマイグレーションを制御することができる。   The above is the data processing procedure in the second embodiment. With these processes, even when the logical volume 1110 has a relationship across multiple storage subsystems, such as a remote copy relationship, the relevant volume pair (or group) is matched to the user requirements. Migration can be controlled.

C.第3実施例:
C1.システムの構成
図26は、本発明の一実施例としてデータ処理システムの構成を示す説明図である。このデータ処理システムは、ストレージサブシステム1000cと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000cと、スイッチ装置5000と、を有している。図中では、ストレージサブシステム1000cと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000cと、スイッチ装置5000と、がそれぞれ1台ずつ存在しているがこの限りではなく、1台以上存在すれば良い。本構成の大部分は第1実施例の構成と同等であるため、以降は差分のみを説明する。
C. Third embodiment:
C1. System Configuration FIG. 26 is an explanatory diagram showing the configuration of a data processing system as an embodiment of the present invention. This data processing system has a storage subsystem 1000c, a host computer 2000, a switch device 3000, a management computer 4000c, and a switch device 5000. In the figure, one storage subsystem 1000c, one host computer 2000, one switch device 3000, one management computer 4000c, and one switch device 5000 are present, but this is not a limitation, and one or more storage devices exist. It ’s fine. Since most of this configuration is the same as the configuration of the first embodiment, only the differences will be described below.

図1に示すデータ処理システムとの差異は、ストレージサブシステム1000cが、リソース種別ごとのプール1120cと、ボリューム単位割当てテーブル1213cと、マイグレーション状態を含む物理リソース割当てテーブル1214cと、セグメント単位のデータコピープログラム1215cと、セグメント単位のマイグレーションプログラム1216cと、を有している点と、管理計算機4000cが、セグメント情報テーブル4125cと、プール単位のストレージ階層テーブル4140cと、セグメント単位のマイグレーション指示プログラム4180cと、を有している点、である。ここで、セグメントとはボリュームを構成する論理的な記憶領域の単位であり、当然のことながら、セグメントのサイズはボリュームよりも小さい。   1 is different from the data processing system shown in FIG. 1 in that the storage subsystem 1000c has a pool 1120c for each resource type, a volume unit allocation table 1213c, a physical resource allocation table 1214c including a migration state, and a segment unit data copy program. 1215c and a segment unit migration program 1216c, and the management computer 4000c has a segment information table 4125c, a pool unit storage tier table 4140c, and a segment unit migration instruction program 4180c. It is a point. Here, the segment is a unit of a logical storage area constituting the volume, and the size of the segment is naturally smaller than the volume.

リソース種別ごとのプール1120cは、物理リソース1121を種別ごとに分類した上でグループ化したプールである。   The pool 1120c for each resource type is a pool in which the physical resources 1121 are grouped after being classified for each type.

図2に示すボリューム単位割当てテーブル1213と、図27に示すボリューム単位割当てテーブル1213cとの差異は、マイグレーション状態を示す12123cが、当該ボリュームを構成するセグメントが1つでもマイグレーション中の場合「マイグレーション中」とし、当該ボリュームを構成するセグメントすべてがマイグレーション中でない場合、ハイフンとする点である。ただし、マイグレーション状態12123cに格納する情報およびその表記方法はこの限りでなく、ボリュームを構成するセグメントのマイグレーションの状態を示すほかの情報を格納しても良いし、他の表記方法にて状態を表現しても良い。また、マイグレーション状態を表示する12123cは、ボリューム割当てテーブル1213cになくても良い。   The difference between the volume unit allocation table 1213 shown in FIG. 2 and the volume unit allocation table 1213c shown in FIG. 27 is that the migration state 12123c is “migrating” when even one segment constituting the volume is being migrated. If all the segments that make up the volume are not being migrated, a hyphen is used. However, the information stored in the migration status 12123c and the notation method thereof are not limited to this, and other information indicating the migration status of the segments constituting the volume may be stored, and the status may be expressed by other notation methods. You may do it. Further, the migration status 12123c may not be in the volume allocation table 1213c.

図3に示す物理リソース割当てテーブル1214と、図28に示すマイグレーション状態を含む物理リソース割当てテーブル1214cとの差異は、マイグレーション状態を含む物理リソース割当てテーブル1214cが、セグメント単位のマイグレーション状態12135cを有している点である。   3 is different from the physical resource allocation table 1214c including the migration state illustrated in FIG. 28 in that the physical resource allocation table 1214c including the migration state has a segment unit migration state 12135c. It is a point.

セグメント単位のデータコピープログラム1215cは、論理ボリューム1110間で、セグメント単位でデータをコピーする機能を有するプログラムである。   The segment unit data copy program 1215c is a program having a function of copying data between the logical volumes 1110 in segment units.

セグメント単位のマイグレーションプログラム1216cは、論理ボリューム1110間で、セグメント単位でマイグレーションする機能を有するプログラムである。   The segment unit migration program 1216c is a program having a function of migrating between logical volumes 1110 in segment units.

セグメント情報テーブル4125cは、ストレージサブシステム1000cが持つ論理ボリューム1110のセグメントの情報を格納するテーブルである。当該テーブルは、図29に示すように、ストレージサブシステムID41250と、LUN41251と、セグメントID41252と、リソース種別41253と、IOPS41254と、を有している。なお、セグメント情報テーブル4125cに格納する情報はこれに限らず、他の情報を格納しても良い。   The segment information table 4125c is a table that stores information on the segments of the logical volume 1110 that the storage subsystem 1000c has. As shown in FIG. 29, the table has a storage subsystem ID 41250, LUN 41251, segment ID 41252, resource type 41253, and IOPS 41254. The information stored in the segment information table 4125c is not limited to this, and other information may be stored.

図4に示すストレージ階層テーブル4140と、図30に示すプール単位のストレージ階層テーブル4140cとの差異は、プール単位のストレージ階層テーブル4140cが、プールID41402cと、空き容量41403cと、リソース種別41404cと、を有している点である。   The difference between the storage tier table 4140 shown in FIG. 4 and the pool tier storage tier table 4140c shown in FIG. 30 is that the pool tier storage tier table 4140c includes a pool ID 41402c, free capacity 41403c, and resource type 41404c. It is a point.

セグメント単位のマイグレーション指示プログラム4180cは、ストレージサブシステム1000cの論理ボリューム1110を構成するセグメント単位で、マイグレーションを指示するプログラムである。   The segment unit migration instruction program 4180c is a program for instructing migration in segment units constituting the logical volume 1110 of the storage subsystem 1000c.

C2.データ処理手順の説明
本実施例の動作の大部分は第1実施例の動作と同じであるため、以降は差分のみを説明する。第1実施例の処理シーケンスと本実施例の処理シーケンスでは、マイグレーションの処理がセグメント単位で行われる点が異なる。
C2. Description of Data Processing Procedure Since most of the operation of this embodiment is the same as that of the first embodiment, only the difference will be described below. The processing sequence of the first embodiment is different from the processing sequence of the present embodiment in that migration processing is performed in segment units.

図31は本実施例におけるセグメント単位のI/O制御処理のシーケンスを示している。当該処理のステップS1000、S1010、S1020、S1030、S1060、S1090、S1100、S1110は、図9に示すI/O制御処理のステップS1000、S1010、S1020、S1030、S1060、S1090、S1100、S1110と同じであるため、説明は省略する。   FIG. 31 shows a sequence of segment unit I / O control processing in this embodiment. Steps S1000, S1010, S1020, S1030, S1060, S1090, S1100, and S1110 of the process are the same as steps S1000, S1010, S1020, S1030, S1060, S1090, S1100, and S1110 of the I / O control process shown in FIG. Therefore, the description is omitted.

当該処理では、ステップS1040cにて、I/O制御プログラム1212が、ボリューム割当てテーブル1213と、マイグレーション状態を含む物理リソース割当てテーブル1214cと、を参照し、I/Oアクセス先のボリュームLBA領域と、そのマイグレーション状態を特定する。   In this process, in step S1040c, the I / O control program 1212 refers to the volume allocation table 1213 and the physical resource allocation table 1214c including the migration state, and the I / O access destination volume LBA area, Identify the migration status.

次にステップS1050cにて、I/O制御プログラム1212が、当該ボリュームLBA領域のマイグレーション状態が「マイグレーション中」か否かを判定する。マイグレーション状態が「マイグレーション中」の場合はステップS1060に進む。マイグレーション状態が「マイグレーション中」でない場合は、ステップS1090に進む。   In step S1050c, the I / O control program 1212 determines whether the migration status of the volume LBA area is “migrating”. If the migration state is “migrating”, the process advances to step S1060. If the migration status is not “migrating”, the process advances to step S1090.

ステップS1070cでは、I/O制御プログラム1212が、マイグレーション状態を含む物理リソース割当てテーブル1214cを更新し、書き込みアクセスのあったボリュームLBA領域12132に対応する物理リソースIDをメモリ1210の識別子に、LBA領域12134をメモリ1210上の記憶領域の識別子に、それぞれ設定する。   In step S1070c, the I / O control program 1212 updates the physical resource allocation table 1214c including the migration state, and sets the physical resource ID corresponding to the volume LBA area 12132 that has been accessed for writing as the identifier of the memory 1210, and the LBA area 12134. Are set as identifiers of storage areas on the memory 1210, respectively.

図32は、本実施例において、ストレージサブシステム1000cのセグメント情報を含む構成情報を取得する際の処理シーケンスを示している。当該処理のステップS2030は、図10に示す構成情報の取得処理ステップS2030と同じであるため説明を省略する。   FIG. 32 shows a processing sequence when acquiring configuration information including segment information of the storage subsystem 1000c in this embodiment. Step S2030 of the processing is the same as the configuration information acquisition processing step S2030 shown in FIG.

当該処理では、まずステップS2000cにて、構成管理プログラム4110が、構成情報取得プログラム1211に、ストレージサブシステム1000cのセグメント情報を含む構成情報を提供するよう要求する。   In this process, first, in step S2000c, the configuration management program 4110 requests the configuration information acquisition program 1211 to provide configuration information including the segment information of the storage subsystem 1000c.

次にステップS2010cにて、構成情報取得プログラム1211が、ストレージサブシステム1000cのセグメント情報を含む構成情報を取得し、構成管理プログラム4110に当該情報を返す。   In step S2010c, the configuration information acquisition program 1211 acquires configuration information including the segment information of the storage subsystem 1000c, and returns the information to the configuration management program 4110.

次にステップS2020cにて、構成管理プログラム4110が、ストレージサブシステム1000cのセグメント情報をセグメント情報テーブル4125cに格納し、セグメント情報以外の構成情報を構成情報テーブル4120に格納する。   In step S2020c, the configuration management program 4110 stores the segment information of the storage subsystem 1000c in the segment information table 4125c and stores configuration information other than the segment information in the configuration information table 4120.

図33は、本実施例におけるセグメント単位のマイグレーション指示処理のシーケンスを示している。   FIG. 33 shows the sequence of the segment unit migration instruction process in this embodiment.

当該処理では、まずステップS4000cにて、構成管理プログラム4110が持つスケジューラ機能が、一定時間ごとにセグメント単位のマイグレーション指示プログラム4180cを実行する。構成管理プログラム4110が持つスケジューラ機能がセグメント単位のマイグレーション指示プログラムを実行する時間の間隔は、構成管理プログラム4110にて予め決めておいても良いし、ユーザが設定するなどの他の方法で決定しても良い。   In this process, first, in step S4000c, the scheduler function of the configuration management program 4110 executes the segment unit migration instruction program 4180c at regular intervals. The interval at which the scheduler function of the configuration management program 4110 executes the segment unit migration instruction program may be determined in advance by the configuration management program 4110, or determined by other methods such as a user setting. May be.

次にステップS4010cにて、セグメント単位のマイグレーション指示プログラム4180cが、構成情報テーブル4120と、セグメント情報テーブル4125cと、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、マイグレーション条件を満たすセグメントを探す。   Next, in step S4010c, the segment unit migration instruction program 4180c refers to the configuration information table 4120, the segment information table 4125c, the migration policy table 4150, and the policy allocation table 4170, and selects a segment that satisfies the migration condition. look for.

次にステップS4020cにて、セグメント単位のマイグレーション指示プログラム4180cが、マイグレーション条件を満たすセグメントが存在するか否かを判定する。該当するセグメントが存在しない場合は、本処理を終了する。該当するセグメントが存在する場合は、ステップS4030cに進む。   Next, in step S4020c, the segment unit migration instruction program 4180c determines whether there is a segment that satisfies the migration condition. If there is no corresponding segment, this process is terminated. If the corresponding segment exists, the process proceeds to step S4030c.

ステップS4030cでは、セグメント単位のマイグレーション指示プログラム4180が、プール単位のストレージ階層テーブル4140cと、構成情報テーブル4120と、セグメント情報テーブル4125cと、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS4010cで発見したセグメントを持つ論理ボリューム1110に割り当てられたポリシの情報からマイグレーション先のストレージ階層を特定し、当該ストレージ階層の中からマイグレーション先のプール1120cを選択する。なお、マイグレーション先のプールを選択する方法には、例えば、ストレージ階層に含まれるプール1120cの内、ステップS4010で発見したセグメントより空き容量が大きいものを選択するなどの方法があるが、特に限定はしない。また、マイグレーション先のプール1120cが1つも無い場合には、ログ出力などの方法により、その旨をユーザに通知する。   In step S4030c, the segment unit migration instruction program 4180 refers to the pool unit storage tier table 4140c, configuration information table 4120, segment information table 4125c, migration policy table 4150, and policy allocation table 4170. The migration destination storage tier is identified from the policy information assigned to the logical volume 1110 having the segment found in step S4010c, and the migration destination pool 1120c is selected from the storage tier. The migration destination pool can be selected by, for example, selecting a pool 1120c included in the storage tier that has a larger free space than the segment found in step S4010. do not do. If there is no migration destination pool 1120c, the fact is notified to the user by a method such as log output.

次にステップS4040cにて、セグメント単位のマイグレーション指示プログラム4180cが、ステップS4010cで発見したセグメントに対するマイグレーションを行うよう、セグメント単位のマイグレーションプログラム1216cに指示する。   Next, in step S4040c, the segment unit migration instruction program 4180c instructs the segment unit migration program 1216c to perform migration for the segment found in step S4010c.

次にステップS4050cにて、セグメント単位のマイグレーションプログラム1216cが、マイグレーション処理を実行する。セグメント単位のマイグレーション処理の詳細は後述する。   Next, in step S4050c, the segment unit migration program 1216c executes the migration process. Details of the segment-by-segment migration process will be described later.

次にステップS4060cにて、構成管理プログラム4110が、セグメント単位のマイグレーション指示プログラム4180cに、ステップS4050cにてマイグレーションされたセグメントを持つ論理ボリューム1110を通知し、当該ボリュームに関連を持つ論理ボリューム1110に対して、セグメント単位のマイグレーション処理を行うよう要求する。   Next, in step S4060c, the configuration management program 4110 notifies the segment unit migration instruction program 4180c of the logical volume 1110 having the segment migrated in step S4050c, to the logical volume 1110 associated with the volume. Request to perform segment-by-segment migration processing.

次にステップS4070cにて、セグメント単位のマイグレーション指示プログラム4180cが、ステップS4050cにてマイグレーションされたセグメントを持つ論理ボリューム1110と関連を持った論理ボリューム1110に対して、セグメント単位のマイグレーション指示処理を行う。   In step S4070c, the segment unit migration instruction program 4180c performs segment unit migration instruction processing on the logical volume 1110 associated with the logical volume 1110 having the segment migrated in step S4050c.

図34は、本実施例において、関連先ボリュームに対するセグメント単位のマイグレーション指示処理を行う際のシーケンスを示している。   FIG. 34 shows a sequence for performing the segment unit migration instruction process for the related destination volume in this embodiment.

当該処理では、まずステップS5000cにてセグメント単位のマイグレーション指示プログラム4180cが、ポリシ割当てテーブル4170を参照し、構成管理プログラム4110から指定された論理ボリューム1110と関連のある論理ボリューム1110を探す。   In this processing, first, in step S5000c, the segment unit migration instruction program 4180c refers to the policy allocation table 4170 and searches for a logical volume 1110 associated with the logical volume 1110 designated by the configuration management program 4110.

次にステップS5010cにて、セグメント単位のマイグレーション指示プログラム4180が、該当するボリュームが存在するか否かを判定する。該当するボリュームが存在しない場合は本処理を終了する。該当するボリュームが存在する場合は、ステップS5020cに進む。   Next, in step S5010c, the segment unit migration instruction program 4180 determines whether the corresponding volume exists. If the corresponding volume does not exist, this process ends. If the corresponding volume exists, the process proceeds to step S5020c.

ステップS5020cでは、セグメント単位のマイグレーション指示プログラム4180cが、関連ポリシテーブル4160を参照し、ステップS5000cで発見した論理ボリューム1110をセグメント単位でマイグレーションするタイミングを特定する。   In step S5020c, the segment unit migration instruction program 4180c refers to the related policy table 4160, and identifies the timing for migrating the logical volume 1110 found in step S5000c in segment units.

次にステップS5030cにて、セグメント単位のマイグレーション指示プログラム4180cが、現時点がステップS5020cで特定したタイミングに該当するか否かを判定する。該当しない場合は本処理を終了する。該当する場合はステップS5040cに進む。   Next, in step S5030c, the segment unit migration instruction program 4180c determines whether or not the current time corresponds to the timing specified in step S5020c. If not applicable, the process is terminated. If applicable, the process proceeds to step S5040c.

ステップS5040cでは、セグメント単位のマイグレーション指示プログラム4180cが、関連ポリシテーブルを参照し、ステップS5000cで発見した論理ボリューム1110をセグメント単位でマイグレーションする条件を特定する。   In step S5040c, the segment unit migration instruction program 4180c refers to the related policy table, and specifies conditions for migrating the logical volume 1110 found in step S5000c in segment units.

次にステップS5050cにて、セグメント単位のマイグレーション指示プログラム4180が、ステップS5040cで特定した条件が満たされているか否かを判定する。条件が満たされていない場合は本処理を終了する。条件が満たされている場合は、ステップS5060cに進む。   Next, in step S5050c, the segment unit migration instruction program 4180 determines whether the condition specified in step S5040c is satisfied. If the condition is not satisfied, this process is terminated. If the condition is satisfied, the process proceeds to step S5060c.

ステップS5060cでは、セグメント単位のマイグレーション指示プログラム4180cが、関連ポリシテーブル4160を参照し、ステップS5000cで発見した論理ボリューム1110をセグメント単位でマイグレーションするポリシ(関連ポリシ)を特定する。   In step S5060c, the segment unit migration instruction program 4180c refers to the related policy table 4160, and identifies a policy (related policy) for migrating the logical volume 1110 found in step S5000c in segment units.

次にステップS5070cにて、セグメント単位のマイグレーション指示プログラム4180cが、構成情報テーブル4120と、セグメント情報テーブル4125cと、プール単位のストレージ階層テーブル4140cと、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS5000cで発見した論理ボリューム1110のセグメントをマイグレーションする先のプール1120cを選択する。さらにセグメント単位のマイグレーション指示プログラム4180cは、選択したプール1120cに含まれる物理リソース1121の中から空き領域を選択する。なお、マイグレーション先のプール1120cを選択する方法には、例えば、ストレージ階層に含まれるプール1120cの内、ステップS4010で発見したセグメントより空き容量が大きいものを選択するなどの方法があるが、特に限定はしない。また、マイグレーション先のプール1120cやプール内の空き領域が1つも無い場合には、ログ出力などの方法により、その旨をユーザに通知する。   Next, in step S5070c, the segment unit migration instruction program 4180c displays the configuration information table 4120, segment information table 4125c, pool unit storage tier table 4140c, migration policy table 4150, and policy allocation table 4170. The pool 1120c to which the segment of the logical volume 1110 found in step S5000c is migrated is selected. Further, the segment unit migration instruction program 4180c selects a free area from the physical resources 1121 included in the selected pool 1120c. The migration destination pool 1120c can be selected by, for example, selecting a pool 1120c included in the storage tier that has a larger free space than the segment found in step S4010. I do not. If there is no migration destination pool 1120c or free space in the pool, the fact is notified to the user by a method such as log output.

次にステップS5080cにて、セグメント単位のマイグレーション指示プログラム4180cが、ステップS5000cで発見した論理ボリュームに対するセグメント単位のマイグレーション処理を行うよう要求する。なお、前述のように本実施例においては、関連ボリュームのセグメントの内、ステップS4020にて処理の対象となった論理ボリューム1110のセグメントに対応するセグメントをマイグレーションする。   Next, in step S5080c, the segment unit migration instruction program 4180c requests to perform the segment unit migration process for the logical volume found in step S5000c. As described above, in this embodiment, of the related volume segments, the segment corresponding to the segment of the logical volume 1110 that is the target of processing in step S4020 is migrated.

図35は、本実施例におけるセグメント単位のマイグレーション処理のシーケンスを示している。当該処理のステップS6040、S6090は、図18に示すマイグレーション処理のステップS6040、S6090と同じであるため、説明は省略する。   FIG. 35 shows a sequence of segment unit migration processing in this embodiment. Steps S6040 and S6090 of the process are the same as steps S6040 and S6090 of the migration process shown in FIG.

当該処理では、まずステップS6000cにて、セグメント単位のマイグレーションプログラム1216cが、マイグレーション状態を含む物理リソース割当てテーブル1214cを参照し、セグメント単位のマイグレーション指示プログラム4180cに指定されたセグメントのマイグレーション状態を「マイグレーション中」に設定する。これにより、図31に示したように当該セグメントに対する書き込みI/Oは、本時点以降、当該セグメントに対してではなく、メモリに対して行うようにI/O制御プログラム1212によって制御される。   In this process, first, in step S6000c, the segment unit migration program 1216c refers to the physical resource allocation table 1214c including the migration state, and sets the migration state of the segment specified in the segment unit migration instruction program 4180c to “Migrating”. To "". As a result, as shown in FIG. 31, the write I / O to the segment is controlled by the I / O control program 1212 so that it is performed not on the segment but on the memory after this time.

次にステップS6010cにて、セグメント単位のマイグレーションプログラム1216cが、セグメント単位のデータコピープログラム1215cに、マイグレーション元のセグメントに格納されたデータを、マイグレーション先のセグメントにコピーするように指示する。   In step S6010c, the segment unit migration program 1216c instructs the segment unit data copy program 1215c to copy the data stored in the migration source segment to the migration destination segment.

次にステップS6020cにて、セグメント単位のデータコピープログラム1215cが、マイグレーション元のセグメントに格納されたデータを、マイグレーション先のセグメントにコピーする。   In step S6020c, the segment unit data copy program 1215c copies the data stored in the migration source segment to the migration destination segment.

次にステップS6030cにて、セグメント単位のマイグレーションプログラム1216cが、I/O制御プログラム1212に、一時的に書き込みI/Oを停止するように要求する。   Next, in step S6030c, the segment unit migration program 1216c requests the I / O control program 1212 to temporarily stop the write I / O.

ステップS6050cにて、セグメント単位のマイグレーションプログラム1216cが、I/O制御プログラム1212に、マイグレーション元のセグメントに関して、メモリ上に書き込まれているデータをマイグレーション先のセグメントに書き込むように要求する。   In step S6050c, the segment unit migration program 1216c requests the I / O control program 1212 to write the data written in the memory with respect to the migration source segment to the migration destination segment.

次にステップS6060cにて、I/O制御プログラム1212は、物理リソース割当てテーブル1214を参照し、マイグレーション元のセグメントの内、メモリ上のLBA領域に書き込まれているデータを全て、マイグレーション先のセグメントに割り当てられた物理リソース上のLBA領域に書き込む。   Next, in step S6060c, the I / O control program 1212 refers to the physical resource allocation table 1214, and all the data written in the LBA area on the memory in the migration source segment is converted to the migration destination segment. Write to the LBA area on the allocated physical resource.

次にステップS6070cにて、セグメント単位のマイグレーションプログラム1216cが、マイグレーション状態を含む物理リソース割当てテーブル1214cを参照し、マイグレーション元のセグメントの物理リソースIDおよびLBA領域と、マイグレーション先のセグメントの物理リソースIDおよびLBA領域と、を入れ替える。   Next, in step S6070c, the segment-by-segment migration program 1216c refers to the physical resource allocation table 1214c including the migration state, and the physical resource ID and LBA area of the migration source segment, the physical resource ID of the migration destination segment, and Swap the LBA area.

次にステップS6080cにて、セグメント単位のマイグレーションプログラム1216cが、I/O制御プログラム1212に、書き込みI/Oを再開するように要求する。   Next, in step S6080c, the segment unit migration program 1216c requests the I / O control program 1212 to resume the write I / O.

以上が第3実施例におけるデータ処理の手順である。これらの処理により、セグメント単位のマイグレーション機能を有するストレージサブシステム1000cにおいても、関連のあるボリュームのペア(またはグループ)に対して、ユーザ要件に合わせてマイグレーションを制御することができる。   The above is the data processing procedure in the third embodiment. With these processes, even in the storage subsystem 1000c having a segment unit migration function, migration can be controlled in accordance with user requirements for a pair (or group) of related volumes.

D.第4実施例:
D1.システムの構成
図36は、本発明の一実施例としてデータ処理システムの構成を示す説明図である。このデータ処理システムは、ストレージサブシステム1000dと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000dと、スイッチ装置5000と、を有している。図中では、ストレージサブシステム1000dと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000dと、スイッチ装置5000と、がそれぞれ1台ずつ存在しているがこの限りではなく、1台以上存在すれば良い。本構成の大部分は第3実施例の構成と同等であるため、以降は差分のみを説明する。
D. Fourth embodiment:
D1. System Configuration FIG. 36 is an explanatory diagram showing the configuration of a data processing system as an embodiment of the present invention. This data processing system includes a storage subsystem 1000d, a host computer 2000, a switch device 3000, a management computer 4000d, and a switch device 5000. In the figure, one storage subsystem 1000d, one host computer 2000, one switch device 3000, one management computer 4000d, and one switch device 5000 exist, but this is not a limitation, and one or more storage devices exist. It ’s fine. Since most of this configuration is the same as the configuration of the third embodiment, only the differences will be described below.

図26に示すデータ処理システムとの差異は、ストレージサブシステム1000dがマイグレーション設定受信プログラム1217dと、セグメント情報テーブル4125cと、プール単位のストレージ階層テーブル4140cと、マイグレーションポリシテーブル4150と、関連ポリシテーブル4160と、ポリシ割当てテーブル4170と、を有している点と、管理計算機4000dがセグメント情報テーブル4125cと、プール単位のストレージ階層テーブル4140cと、マイグレーションポリシテーブル4150と、関連ポリシテーブル4160と、ポリシ割当てテーブル4170と、を有していない点と、管理計算機4000dがマイグレーション設定送信プログラム4190dを有している点、である。   26 differs from the data processing system shown in FIG. 26 in that the storage subsystem 1000d has a migration setting reception program 1217d, a segment information table 4125c, a pool-by-pool storage tier table 4140c, a migration policy table 4150, and an associated policy table 4160. A policy allocation table 4170, and the management computer 4000d has a segment information table 4125c, a pool-level storage tier table 4140c, a migration policy table 4150, a related policy table 4160, and a policy allocation table 4170. And the management computer 4000d has a migration setting transmission program 4190d.

マイグレーション設定受信プログラム1217dは、マイグレーション設定送信プログラム4190dから送信されるマイグレーションに関する設定情報を受信するプログラムである。   The migration setting reception program 1217d is a program that receives setting information related to migration transmitted from the migration setting transmission program 4190d.

マイグレーション設定送信プログラム4190dは、ユーザがマイグレーション設定プログラム4130のユーザインタフェースを通じて入力した、マイグレーションポリシと、関連ポリシと、ポリシの割当て情報と、をマイグレーション受信プログラム1217dに送信するプログラムである。   The migration setting transmission program 4190d is a program that transmits a migration policy, a related policy, and policy allocation information input by the user through the user interface of the migration setting program 4130 to the migration reception program 1217d.

セグメント情報テーブル4125cと、プール単位のストレージ階層テーブル4140cと、マイグレーションポリシテーブル4150と、関連ポリシテーブル4160と、ポリシ割当てテーブル4170は、第3実施例において管理計算機4000cが有していたテーブルと同じである。第4実施例においては、これらのテーブルをストレージサブシステム1000dが保持する点が異なっている。   The segment information table 4125c, the pool tier storage tier table 4140c, the migration policy table 4150, the related policy table 4160, and the policy allocation table 4170 are the same as the tables that the management computer 4000c had in the third embodiment. is there. The fourth embodiment is different in that these tables are held by the storage subsystem 1000d.

D2.データ処理手順の説明
本実施例の動作の大部分は第3実施例の動作と同じであるため、以降は差分のみを説明する。第3実施例の処理シーケンスと本実施例の処理シーケンスでは、論理ボリューム1110のセグメントに対するマイグレーション処理と、当該ボリュームに関連を持つ論理ボリューム1110のセグメントに対するマイグレーション処理と、をストレージサブシステム1000d内のプログラムが行う点、および当該処理に必要となるポリシの設定情報を、管理計算機4000dがストレージサブシステム1000dに送信する点である。
D2. Description of Data Processing Procedure Since most of the operation of this embodiment is the same as that of the third embodiment, only the difference will be described below. In the processing sequence of the third embodiment and the processing sequence of this embodiment, the migration processing for the segment of the logical volume 1110 and the migration processing for the segment of the logical volume 1110 related to the volume are performed in the program in the storage subsystem 1000d The management computer 4000d transmits the policy setting information necessary for the processing to the storage subsystem 1000d.

図37は、本実施例においてマイグレーションポリシと、関連ポリシと、ポリシの割当て情報と、を管理計算機4000dからストレージサブシステム1000dに送信する処理のシーケンスを示している。   FIG. 37 shows a sequence of processing for transmitting the migration policy, the related policy, and policy allocation information from the management computer 4000d to the storage subsystem 1000d in this embodiment.

当該処理では、まずステップS9000にて、マイグレーション設定プログラム4130が、マイグレーション設定送信プログラム4090dに、ユーザが設定したマイグレーションポリシの情報と、関連ポリシの情報と、ポリシの割当ての情報と、をマイグレーション設定受信プログラム1217dに送信するように要求する。   In this process, first, in step S9000, the migration setting program 4130 receives the migration policy information, the related policy information, and the policy allocation information set by the user in the migration setting transmission program 4090d. Request to send to program 1217d.

次にステップS9010にて、マイグレーション設定送信プログラム4090dが、マイグレーションポリシの情報と、関連ポリシの情報と、ポリシの割当ての情報と、をマイグレーション設定受信プログラム1217dに送信する。   In step S9010, the migration setting transmission program 4090d transmits the migration policy information, the related policy information, and the policy allocation information to the migration setting reception program 1217d.

次にステップS9020にて、マイグレーション設定受信プログラム1217dが、マイグレーションポリシの情報と、関連ポリシの情報と、ポリシの割当ての情報と、をそれぞれ、マイグレーションポリシテーブル4150と、関連ポリシテーブル4160と、ポリシ割当てテーブル4170と、に格納する。   Next, in step S9020, the migration setting reception program 1217d sends the migration policy information, the related policy information, and the policy allocation information to the migration policy table 4150, the related policy table 4160, and the policy allocation, respectively. Stored in the table 4170.

この他のプログラムによる処理の内容は第3実施例と同じため説明は省略する。   Since the contents of the processing by other programs are the same as those of the third embodiment, the description thereof is omitted.

以上が第3実施例におけるデータ処理の手順である。これらの処理により、ストレージサブシステム1000d上のプログラムによって、第3実施例と同じ効果を得ることができる。   The above is the data processing procedure in the third embodiment. By these processes, the same effect as that of the third embodiment can be obtained by the program on the storage subsystem 1000d.

E.第5実施例:
E1.システムの構成
図38は、本発明の一実施例としてデータ処理システムの構成を示す説明図である。このデータ処理システムは、ストレージサブシステム1000eと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000eと、スイッチ装置5000と、を有している。図中では、ストレージサブシステム1000eと、ホスト計算機2000と、スイッチ装置3000と、管理計算機4000eと、スイッチ装置5000と、がそれぞれ1台ずつ存在しているがこの限りではなく、1台以上存在すれば良い。本構成の大部分は第3実施例の構成と同等であるため、以降は差分のみを説明する。
E. Example 5:
E1. System Configuration FIG. 38 is an explanatory diagram showing the configuration of a data processing system as an embodiment of the present invention. This data processing system includes a storage subsystem 1000e, a host computer 2000, a switch device 3000, a management computer 4000e, and a switch device 5000. In the figure, one storage subsystem 1000e, one host computer 2000, one switch device 3000, one management computer 4000e, and one switch device 5000 are present, but this is not a limitation, and one or more devices exist. It ’s fine. Since most of this configuration is the same as the configuration of the third embodiment, only the differences will be described below.

図26に示すデータ処理システムとの差異は、本実施例におけるデータ処理システムが第二のストレージサブシステム6000を有している点と、ストレージサブシステム1000eがリモートコピー機能を持ったセグメント単位のデータコピープログラム1215eを有している点と、管理計算機4000eが、階層間の対応関係を含むプール単位のストレージ階層テーブル4140eを有している点、である。   The difference from the data processing system shown in FIG. 26 is that the data processing system in this embodiment has the second storage subsystem 6000 and the segment unit data in which the storage subsystem 1000e has a remote copy function. The point is that it has a copy program 1215e, and the point that the management computer 4000e has a storage tier table 4140e for each pool including the correspondence between tiers.

第二のストレージサブシステム6000はストレージサブシステム1000eと同等であるため、説明は省略する。   Since the second storage subsystem 6000 is equivalent to the storage subsystem 1000e, description thereof is omitted.

リモートコピー機能を持ったセグメント単位のデータコピープログラム1215eは、ストレージサブシステム1000eが持つ論理ボリューム1110から第二のストレージサブシステム6000が持つ論理ボリューム1110に、セグメント単位でデータをコピーするプログラムである。当該プログラムによるデータのコピーは、ストレージサブシステム1000のI/F(A)1230と、スイッチ装置5000の持つI/F(A)5100と、第二のストレージサブシステム6000が持つI/F(A)1230と、を通じてデータを転送することで実現される。   A segment unit data copy program 1215e having a remote copy function is a program for copying data in segment units from the logical volume 1110 of the storage subsystem 1000e to the logical volume 1110 of the second storage subsystem 6000. Data copy by this program is performed by the I / F (A) 1230 of the storage subsystem 1000, the I / F (A) 5100 of the switch device 5000, and the I / F (A (A) of the second storage subsystem 6000). ) 1230 and the data is transferred.

図30に示すプール単位のストレージ階層テーブル4140cと、図39に示す階層間の対応関係を含むプール単位のストレージ階層テーブル4140eとの差異は、階層間の対応関係を含むプール単位のストレージ階層テーブル4140eが、第二のストレージサブシステムID41405eと、第二のプールID41406eと、第二の空き容量41407eと、第二のリソース種別41408eと、を有している点である。   The difference between the pool tier storage tier table 4140c shown in FIG. 30 and the pool tier storage tier table 4140e including the correspondence between tiers shown in FIG. However, it has a second storage subsystem ID 41405e, a second pool ID 41406e, a second free capacity 41407e, and a second resource type 41408e.

E2.データ処理手順の説明
本実施例の動作の大部分は第3実施例の動作と同じであるため、以降は差分のみを説明する。第3実施例の処理シーケンスと本実施例の処理シーケンスでは、関連先ボリュームに対するセグメント単位のマイグレーション指示処理が異なる。
E2. Description of Data Processing Procedure Since most of the operation of this embodiment is the same as that of the third embodiment, only the difference will be described below. In the processing sequence of the third embodiment and the processing sequence of this embodiment, the segment unit migration instruction processing for the related destination volume is different.

図40は、本実施例における関連先ボリュームに対するセグメント単位のマイグレーション指示処理のシーケンスを示している。   FIG. 40 shows the sequence of the segment unit migration instruction process for the related destination volume in this embodiment.

当該処理のステップS5000c、S5010、S5020c、S5030c、S5040c、S5050c、S5060cは、図34に示す関連先ボリュームに対するセグメント単位のマイグレーション指示処理のステップS5000c、S5010、S5020c、S5030c、S5040c、S5050c、S5060cと同じため、説明は省略する。   Steps S5000c, S5010, S5020c, S5030c, S5040c, S5050c, and S5060c of the process are the same as steps S5000c, S5010, S5020c, S5030c, S5040c, S5050c, and S5060c of the segment unit migration instruction process for the related destination volume shown in FIG. Therefore, explanation is omitted.

当該処理では、ステップS5070eにて、セグメント単位のマイグレーション指示プログラム4180cが、複数ストレージ間の関連を含む構成情報テーブル4120bと、階層間の対応関係を含むプール単位のストレージ階層テーブル4140eと、セグメント情報テーブル4125cと、マイグレーションポリシテーブル4150と、ポリシ割当てテーブル4170と、を参照し、ステップS5000cで発見したボリュームのセグメントのマイグレーション先の領域を選択する。   In this processing, in step S5070e, the segment unit migration instruction program 4180c executes a configuration information table 4120b including a relationship between a plurality of storages, a pool unit storage tier table 4140e including a correspondence relationship between tiers, and a segment information table. 4125c, the migration policy table 4150, and the policy allocation table 4170 are referred to, and the migration destination area of the volume segment found in step S5000c is selected.

次にステップS5080eにて、セグメント単位のマイグレーション指示プログラム4180cが、ステップS5000cで発見したボリュームに対するセグメント単位のマイグレーションを、該当するストレージサブシステムが持つセグメント単位のマイグレーションプログラム1216cに指示する。   Next, in step S5080e, the segment unit migration instruction program 4180c instructs the segment unit migration program 1216c of the corresponding storage subsystem to perform segment unit migration for the volume found in step S5000c.

この他のプログラムによる処理の内容は第3実施例と同じため説明は省略する。   Since the contents of the processing by other programs are the same as those of the third embodiment, the description thereof is omitted.

以上が第5実施例におけるデータ処理の手順である。これらの処理により、リモートコピーの関係のように、論理ボリューム1110が複数ストレージサブシステム間に跨った関係を持つ場合においても、第3実施例と同じ効果を得ることができる。   The above is the data processing procedure in the fifth embodiment. With these processes, even when the logical volume 1110 has a relationship across a plurality of storage subsystems, such as a remote copy relationship, the same effect as in the third embodiment can be obtained.

1000、1000b、1000c、1000d、1000e ストレージサブシステム
1100 ディスク装置
1110 論理ボリューム
1120 プール
1120c リソース種別ごとのプール
1121 物理リソース
1200 ディスクコントローラ
1210 メモリ
1211 構成情報取得プログラム
1212 I/O制御プログラム
1213 ボリューム割当てテーブル
1213c ボリューム単位割当てテーブル
1214 物理リソース割当てテーブル
1214c マイグレーション状態を含む物理リソース割当てテーブル
1215 データコピープログラム
1215b リモートコピー機能を持ったデータコピープログラム
1215c セグメント単位のデータコピープログラム
1215e リモートコピー機能を持ったセグメント単位のデータコピープログラム
1216 マイグレーションプログラム
1216c セグメント単位のマイグレーションプログラム
1217d マイグレーション設定受信プログラム
1220 制御装置
1230 I/F(A)
1240 I/F(B)
1250 ディスクI/F
2000 ホスト計算機
2100 メモリ
2110 アプリケーション
2200 制御装置
2300 I/F
3000 スイッチ装置
3100 I/F(A)
3200 I/F(B)
4000 管理計算機
4100 メモリ
4110 構成管理プログラム
4120 構成情報テーブル
4120b 複数ストレージ間の関連を含む構成情報テーブル
4125c セグメント情報テーブル
4130 マイグレーション設定プログラム
4140 ストレージ階層テーブル
4140c プール単位のストレージ階層テーブル
4140b 階層間の対応関係を含むストレージ階層テーブル
4140e 階層間の対応関係を含むプール単位のストレージ階層テーブル
4150 マイグレーションポリシテーブル
4160 関連ポリシテーブル
4170 ポリシ割当てテーブル
4180 マイグレーション指示プログラム
4180c セグメント単位のマイグレーション指示プログラム
4190d マイグレーション設定送信プログラム
4200 制御装置
4300 I/F
5000 スイッチ装置
5100 I/F(A)
5200 I/F(B)
6000 第二のストレージサブシステム
1000, 1000b, 1000c, 1000d, 1000e Storage subsystem 1100 Disk device 1110 Logical volume 1120 Pool 1120c Pool for each resource type 1121 Physical resource 1200 Disk controller 1210 Memory 1211 Configuration information acquisition program 1212 I / O control program 1213 Volume allocation table 1213c Volume unit allocation table 1214 Physical resource allocation table 1214c Physical resource allocation table including migration status 1215 Data copy program 1215b Data copy program 1215c with remote copy function Segment unit data copy program 1215e Segment unit data with remote copy function copy Program 1216 migration program 1216c segment unit migration program 1217d migration setting reception program 1220 controller 1230 I / F (A)
1240 I / F (B)
1250 Disk I / F
2000 Host computer 2100 Memory 2110 Application 2200 Controller 2300 I / F
3000 Switch device 3100 I / F (A)
3200 I / F (B)
4000 management computer 4100 memory 4110 configuration management program 4120 configuration information table 4120b configuration information table 4125c segment information table 4130 including the relationship between multiple storages migration setting program 4140 storage tier table 4140c storage tier table 4140b for pool unit Storage tier table 4140e Storage unit tier table 4150 including correspondence between tiers Migration policy table 4160 Related policy table 4170 Policy allocation table 4180 Migration instruction program 4180c Segment unit migration instruction program 4190d Migration setting transmission program 4200 Controller 4300 I / F
5000 Switch device 5100 I / F (A)
5200 I / F (B)
6000 Second storage subsystem

Claims (8)

複数の記憶領域を有する複数の記憶装置と、ホスト計算機に複数の仮想論理ボリュームを提供しデータの移行を制御するコントローラと、
を有するストレージシステムと、
前記ストレージシステムを管理する管理計算機と、を備える計算機システムであって、
前記複数の記憶装置は、前記複数の記憶領域により構成される、それぞれ性能の異なる複数の記憶階層を提供し、
前記コントローラは、前記ホスト計算機から仮想論理ボリュームへの書き込みデータを受領した場合、必要に応じて、当該仮想論理ボリュームに対して前記複数の記憶領域の一又は複数を割り当て、当該割当てられた記憶領域に前記書き込みデータを書き込むものであり、
前記コントローラは、仮想論理ボリュームへのアクセス頻度とデータが移行される記憶階層との対応関係を定めた移行ポリシを用いて、データの移行を制御し、
前記コントローラは、第1仮想論理ボリュームに割り当てられた第1記憶階層の第1記憶領域が有する第1データを、前記移行ポリシに基づいて、前記第1記憶領域から、第2記憶階層の第2記憶領域に移行し、前記第1記憶領域に替えて前記第2記憶領域を前記第1仮想論理ボリュームに割り当て、
前記管理計算機は、
入力を受け付ける入力装置を備え、
前記入力装置を介して、前記第1記憶領域と関連する関連先記憶領域のデータの移行先とする記憶階層を前記第1データの移行先との関係を用いて定義する、前記第1記憶領域に対する関連ポリシの設定を受け付け、
前記コントローラが、前記移行ポリシに基づいて前記第1データを移行した場合、第2仮想論理ボリュームに割り当てられた、前記第1記憶領域と関連する第3記憶階層の第3記憶領域が有する、前記第1データの複製である第2データを、前記第3記憶領域から、前記設定を受け付けた関連ポリシに従って選択される第4記憶階層の第4記憶領域へ移行することを前記コントローラに指示し、
前記コントローラが、前記第2データを、前記第3記憶領域から前記第4記憶領域に移行し、前記第3記憶領域に替えて前記第4記憶領域を前記第2仮想論理ボリュームに割り当てることを特徴とする計算機システム。
A plurality of storage devices having a plurality of storage areas; a controller that provides a plurality of virtual logical volumes to the host computer and controls data migration;
A storage system having
A computer system comprising a management computer for managing the storage system,
The plurality of storage devices provide a plurality of storage hierarchies each having a different performance, each configured by the plurality of storage areas,
When the controller receives write data to the virtual logical volume from the host computer, the controller allocates one or more of the plurality of storage areas to the virtual logical volume as necessary, and the allocated storage area To write the write data to
The controller controls the migration of data using a migration policy that defines the correspondence between the access frequency to the virtual logical volume and the storage tier to which the data is migrated,
The controller transfers the first data of the first storage area of the first storage hierarchy allocated to the first virtual logical volume from the first storage area to the second of the second storage hierarchy based on the migration policy. Transition to a storage area, assign the second storage area to the first virtual logical volume instead of the first storage area,
The management computer is
It has an input device that accepts input,
The first storage area that defines, via the input device, a storage hierarchy as a data transfer destination of the related storage area related to the first storage area using a relationship with the transfer destination of the first data Accept related policy settings for
When the controller migrates the first data based on the migration policy, the controller has a third storage area of a third storage hierarchy associated with the first storage area, which is assigned to a second virtual logical volume, Instructing the controller to transfer the second data, which is a copy of the first data, from the third storage area to the fourth storage area of the fourth storage hierarchy selected according to the associated policy that accepted the setting;
The controller migrates the second data from the third storage area to the fourth storage area, and assigns the fourth storage area to the second virtual logical volume instead of the third storage area. A computer system.
請求項1記載の計算機システムであって、
設定を受け付ける前記第1記憶領域に対する関連ポリシには、前記第1記憶領域と関連する関連先記憶領域のデータを、前記第1データの移行先と同じ記憶階層の記憶領域に移行するポリシを含むことを特徴とする計算機システム。
The computer system according to claim 1,
The associated policy for the first storage area that accepts the setting includes a policy for migrating the data in the associated storage area related to the first storage area to the storage area in the same storage hierarchy as the migration destination of the first data A computer system characterized by that.
請求項1または請求項2に記載の計算機システムであって、
前記管理計算機は、
前記第1記憶領域と、前記第3記憶領域とがペア関係にあることを示す情報を有する構成情報テーブルと、を有し、
前記コントローラが、前記第1データを、前記第1記憶領域から前記第2記憶領域へ移行する場合、
前記管理計算機が、前記構成情報テーブルを参照して、前記第1記憶領域とペア関係にある前記第3記憶領域を特定し、前記第1記憶領域に対する設定を受け付けた前記関連ポリシに従って、前記第4記憶領域を、前記第2データの移行先として選択し、
前記第2データを、前記第3記憶領域から前記第4記憶領域へ移行することを前記コントローラに指示することを特徴とする計算機システム。
The computer system according to claim 1 or 2,
The management computer is
A configuration information table having information indicating that the first storage area and the third storage area are in a pair relationship;
When the controller transfers the first data from the first storage area to the second storage area,
The management computer refers to the configuration information table, identifies the third storage area that is paired with the first storage area, and receives the setting for the first storage area according to the associated policy. 4 storage areas are selected as the migration destination of the second data,
A computer system for instructing the controller to transfer the second data from the third storage area to the fourth storage area.
請求項1または請求項2に記載の計算機システムであって、
前記管理計算機は、
前記第1記憶領域と、前記第3記憶領域とがペア関係にあることを示す情報を有する構成情報テーブルと、
他の記憶領域とペア関係にある記憶領域が有するデータの移行先としていずれの記憶領域を選択すべきかを示す複数の関連ポリシを有する関連ポリシテーブルと、
前記複数の記憶領域に対して、前記複数の関連ポリシのいずれを割当てるかを示すポリシ割当てテーブルと、
を有し、
前記管理計算機は、前記入力装置を介して、前記複数の記憶領域のうちの少なくとも1の記憶領域に対する、前記複数の関連ポリシのうち1のポリシの選択を受け付け、前記ポリシ割り当てテーブルに格納し、
前記コントローラが、前記第1データを、前記第1記憶領域から前記第2記憶領域へ移行する場合、
前記管理計算機が、前記構成情報テーブルを参照して、前記第1記憶領域とペア関係にある前記第3記憶領域を特定し、
前記管理計算機が、前記ポリシ割当てテーブルと、前記関連ポリシテーブルと、を参照して、前記第3記憶領域の移行先として前記第4記憶領域を選択し、
前記管理計算機が、前記第2データを、前記第3記憶領域から前記第4記憶領域へ移行することを、前記コントローラに指示し、
前記コントローラが、前記第2データを、前記第3記憶領域から前記第4記憶領域へ移行することを特徴とする計算機システム。
The computer system according to claim 1 or 2,
The management computer is
A configuration information table having information indicating that the first storage area and the third storage area are in a pair relationship;
A related policy table having a plurality of related policies indicating which storage area should be selected as a data transfer destination of a storage area having a pair relationship with another storage area;
A policy allocation table indicating which of the plurality of related policies is allocated to the plurality of storage areas;
Have
The management computer receives selection of one policy among the plurality of related policies for at least one storage area of the plurality of storage areas via the input device, and stores the selected policy in the policy allocation table;
When the controller transfers the first data from the first storage area to the second storage area,
The management computer refers to the configuration information table, identifies the third storage area that is paired with the first storage area,
The management computer refers to the policy allocation table and the related policy table, and selects the fourth storage area as a migration destination of the third storage area,
The management computer instructs the controller to transfer the second data from the third storage area to the fourth storage area;
The computer system, wherein the controller migrates the second data from the third storage area to the fourth storage area.
請求項4に記載の計算機システムであって、
前記関連ポリシテーブルは、
前記第2データを移行するタイミングの情報と、
前記第2データを移行するときの、前記第1記憶領域の条件と、を有し、
前記管理計算機が、前記ポリシ割当てテーブルと、前記関連ポリシテーブルと、を参照した場合、
前記参照したタイミングが、前記関連ポリシテーブルの前記タイミングに該当し、
前記第1記憶領域が、前記関連ポリシテーブルの前記第1記憶領域の条件に該当するとき、
前記管理計算機が、前記第2データを移行することを、前記コントローラへ指示することを特徴とする計算機システム。
A computer system according to claim 4, wherein
The related policy table is:
Information on timing of migrating the second data;
A condition of the first storage area when the second data is migrated, and
When the management computer refers to the policy allocation table and the related policy table,
The referenced timing corresponds to the timing of the related policy table,
When the first storage area satisfies the condition of the first storage area of the related policy table,
The computer system, wherein the management computer instructs the controller to transfer the second data.
請求項4または請求項5に記載の計算機システムであって、
前記管理計算機は、前記入力装置を介して関連ポリシの入力を受け付け、前記関連ポリシテーブルに格納することを特徴とする計算機システム。
A computer system according to claim 4 or claim 5, wherein
The management computer receives an input of a related policy via the input device and stores it in the related policy table.
請求項1乃至請求項6のいずれか1つに記載の計算機システムであって、
前記第1記憶領域は、複数の第1部分記憶領域から構成され、
前記第2記憶領域は、複数の第2部分記憶領域から構成され、
前記第3記憶領域は、複数の第3部分記憶領域から構成され、
前記第4記憶領域は、複数の第4部分記憶領域から構成され、
前記コントローラが、前記第1部分記憶領域が有する第1部分データを、当該第1部分記憶領域から前記第2部分記憶領域へ移行する場合、
前記コントローラが、当該第1部分記憶領域と関連を持つ前記複数の第3部分記憶領域が有する第2部分データを、当該第3部分記憶領域から、前記第4部分記憶領域へ移行することを特徴とする計算機システム。
A computer system according to any one of claims 1 to 6,
The first storage area is composed of a plurality of first partial storage areas,
The second storage area is composed of a plurality of second partial storage areas,
The third storage area is composed of a plurality of third partial storage areas,
The fourth storage area is composed of a plurality of fourth partial storage areas,
When the controller moves the first partial data of the first partial storage area from the first partial storage area to the second partial storage area,
The controller transfers the second partial data included in the plurality of third partial storage areas related to the first partial storage area from the third partial storage area to the fourth partial storage area. A computer system.
請求項7に記載の計算機システムであって、
前記管理計算機は、
前記第1記憶領域と、前記第3記憶領域との関連を示す情報を有する構成情報テーブルと、
前記記憶領域と、前記部分記憶領域との関連を示す情報を有する部分記憶領域情報テーブルと、
を有し、
前記コントローラが、前記第1部分データを、前記第1部分記憶領域から前記第2部分記憶領域へ移行した場合、
前記管理計算機が、前記構成情報テーブルと、前記部分記憶領域情報テーブルと、を参照して、前記第1部分記憶領域と関連のある前記第3部分記憶領域を特定し、
前記管理計算機が、前記第2部分データを、前記第3部分記憶領域から前記第4部分記憶領域へ移行することを前記コントローラに指示することを特徴とする計算機システム。
The computer system according to claim 7,
The management computer is
A configuration information table having information indicating an association between the first storage area and the third storage area;
A partial storage area information table having information indicating an association between the storage area and the partial storage area;
Have
When the controller moves the first partial data from the first partial storage area to the second partial storage area,
The management computer refers to the configuration information table and the partial storage area information table to identify the third partial storage area related to the first partial storage area;
The computer system, wherein the management computer instructs the controller to transfer the second partial data from the third partial storage area to the fourth partial storage area.
JP2013075630A 2013-04-01 2013-04-01 Data migration control method for storage device Expired - Fee Related JP5501504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013075630A JP5501504B2 (en) 2013-04-01 2013-04-01 Data migration control method for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013075630A JP5501504B2 (en) 2013-04-01 2013-04-01 Data migration control method for storage device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009231107A Division JP5241671B2 (en) 2009-10-05 2009-10-05 Data migration control method for storage device

Publications (2)

Publication Number Publication Date
JP2013168162A JP2013168162A (en) 2013-08-29
JP5501504B2 true JP5501504B2 (en) 2014-05-21

Family

ID=49178454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013075630A Expired - Fee Related JP5501504B2 (en) 2013-04-01 2013-04-01 Data migration control method for storage device

Country Status (1)

Country Link
JP (1) JP5501504B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6022116B1 (en) * 2014-12-24 2016-11-09 株式会社東芝 Hierarchical storage system, storage controller, and replication initialization method
JP6443170B2 (en) 2015-03-26 2018-12-26 富士通株式会社 Hierarchical storage apparatus, hierarchical storage control apparatus, hierarchical storage control program, and hierarchical storage control method
JP5976980B1 (en) * 2015-08-25 2016-08-24 株式会社東芝 Hierarchical storage system, computer using hierarchical storage device, and method for correcting count of access to file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3918394B2 (en) * 2000-03-03 2007-05-23 株式会社日立製作所 Data migration method
JP4643395B2 (en) * 2004-08-30 2011-03-02 株式会社日立製作所 Storage system and data migration method
JP4728031B2 (en) * 2005-04-15 2011-07-20 株式会社日立製作所 System that performs remote copy pair migration
JP2008269344A (en) * 2007-04-20 2008-11-06 Toshiba Corp Logic disk management method and device

Also Published As

Publication number Publication date
JP2013168162A (en) 2013-08-29

Similar Documents

Publication Publication Date Title
JP5241671B2 (en) Data migration control method for storage device
US8799600B2 (en) Storage system and data relocation control device
US8984221B2 (en) Method for assigning storage area and computer system using the same
JP5438827B2 (en) Storage control device and virtual volume control method
TWI432959B (en) Storage subsystem and storage system architecture performing storage virtualization and method thereof
US9921781B2 (en) Storage system including multiple storage apparatuses and pool virtualization method
JP2007280089A (en) Transfer method for capacity expansion volume
US20110246701A1 (en) Storage apparatus and its data control method
JP2007279845A (en) Storage system
US8612776B2 (en) Storage control apparatus to which thin provisioning is applied
JP2011186794A (en) Management system and data allocation control method for controlling allocation of data in storage system
JP2008134712A (en) File sharing system, file sharing device, and method for migrating volume for file sharing
WO2013111331A1 (en) Computer system
JP5501504B2 (en) Data migration control method for storage device
WO2015198441A1 (en) Computer system, management computer, and management method
JP5421201B2 (en) Management system and management method for managing computer system
JP5439329B2 (en) Computer system, storage management computer, and storage management method
JP2016143166A (en) Control apparatus, storage system, and control program
JP2010204703A (en) Computer system and data deleting method
JP5690913B2 (en) Computer system, storage management computer, and storage management method
JP7140807B2 (en) virtual storage system

Legal Events

Date Code Title Description
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: 20140212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140311

LAPS Cancellation because of no payment of annual fees