JP2016532927A - System and method for managing logical volumes - Google Patents

System and method for managing logical volumes Download PDF

Info

Publication number
JP2016532927A
JP2016532927A JP2016520693A JP2016520693A JP2016532927A JP 2016532927 A JP2016532927 A JP 2016532927A JP 2016520693 A JP2016520693 A JP 2016520693A JP 2016520693 A JP2016520693 A JP 2016520693A JP 2016532927 A JP2016532927 A JP 2016532927A
Authority
JP
Japan
Prior art keywords
logical volume
volume
logical
state
host system
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.)
Granted
Application number
JP2016520693A
Other languages
Japanese (ja)
Other versions
JP6227771B2 (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
Publication of JP2016532927A publication Critical patent/JP2016532927A/en
Application granted granted Critical
Publication of JP6227771B2 publication Critical patent/JP6227771B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0634Configuration or reconfiguration of storage systems by changing the state or mode of one or more devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0685Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

管理システムが、ホストシステムに接続されたストレージシステム内の複数の論理ボリュームを管理する。複数の論理ボリュームは、ホストシステムに提供される第1の論理ボリュームと、第2の論理ボリュームとを含む。管理システムは、第2の論理ボリュームを、第1の論理ボリュームの複製ボリュームとし、且つ、ホストシステムに提供された論理ボリュームである第1の状態のボリュームとして管理する。管理システムは、第2の論理ボリュームを、第1の論理ボリュームに関連付けられた第2の状態のボリュームに変更する。第2の状態のボリュームは、ホストシステムに提供された論理ボリュームではなく、ホストシステムによる将来の使用のためにスタンバイ状態にある。管理システムは、第1の論理ボリュームにデータが新たに格納される場合、第2の状態のボリュームである第2の論理ボリュームに格納されているデータと、第2の論理ボリュームに関連付けられた第1の論理ボリュームに格納されたデータとの間のデータ差分を管理する。【選択図】図1The management system manages a plurality of logical volumes in the storage system connected to the host system. The plurality of logical volumes includes a first logical volume and a second logical volume provided to the host system. The management system manages the second logical volume as a replica volume of the first logical volume and as a volume in the first state that is a logical volume provided to the host system. The management system changes the second logical volume to a volume in the second state associated with the first logical volume. The volume in the second state is not a logical volume provided to the host system, but is in a standby state for future use by the host system. When data is newly stored in the first logical volume, the management system stores the data stored in the second logical volume that is the volume in the second state and the second logical volume associated with the second logical volume. A data difference from data stored in one logical volume is managed. [Selection] Figure 1

Description

本発明は、概して、論理ボリュームの管理に関する。   The present invention generally relates to management of logical volumes.

データセンタは、リソースを効率的に利用し、ボトルネック及び障害を迅速に解消又は軽減するために、最近では、データセンタのコンピュータ、ネットワーク及びストレージに、仮想化されたリソースを動的に割り当てるようになっている。詳細には、単一の論理ボリュームでは満たすことができない、サービスの読出し作業負荷需要の予期された又は予期されていない増大を満たすために、ボリュームスケールアウトが実行される。さらに、ディスク性能需要(例えば、SATAからSSDへの変更を要求する)の予期された又は予期されていない増大を満たし、いくつかのストレージの作業負荷の平衡をとるために、ボリュームマイグレーションが実行される。マイグレーションは、ホストと、その提供される論理ボリュームとの間のI/Oパスにおいて問題が生じるときにサービスを再開するのにも必要とされる場合がある。しかしながら、ボリュームスケールアウト及びボリュームマイグレーションを実行することは、完全なデータコピーが必要とされるため、長い時間がかかる。   In recent years, data centers have dynamically allocated virtualized resources to data center computers, networks, and storage in order to efficiently use resources and quickly eliminate or reduce bottlenecks and failures. It has become. Specifically, volume scale-out is performed to meet an expected or unexpected increase in service read workload demand that cannot be met with a single logical volume. In addition, volume migration is performed to meet the expected or unexpected increase in disk performance demand (eg, requiring a change from SATA to SSD) and balance some storage workload. The Migration may also be required to resume service when a problem occurs in the I / O path between the host and its provided logical volume. However, performing volume scale-out and volume migration takes a long time because a complete data copy is required.

他方で、論理ボリューム間で大量のデータ量をコピーすることを回避するために、データ再利用方法が存在する。特許文献1は、アプリケーションデータを削除するコマンドを用いる場合であっても、記憶されたアプリケーションデータが削除されず、同じアプリケーションによる将来の再利用のために記憶されたままにされるシステムを開示している。この方法は、バックアップを作成し、再利用される必要があるアプリケーションデータをリストアするという時間のかかるタスクを回避するものである。   On the other hand, there is a data reuse method to avoid copying a large amount of data between logical volumes. Patent Document 1 discloses a system in which stored application data is not deleted, but is stored for future reuse by the same application, even when a command for deleting application data is used. ing. This method avoids the time consuming task of creating a backup and restoring application data that needs to be reused.

米国特許出願公開第2012/0179823号US Patent Application Publication No. 2012/0179823

特許文献1によって開示されている関連技術は、以前に破棄されたデータのコピーとしてデータを再利用する目的で用いられる。しかしながら、この技術は、論理ボリュームのスケールアウト又はマイグレーションのために用いることができない。なぜなら、これらの事例では、少なくとも1つの論理ボリュームが依然としてホストに提供されるためである。したがって、元のデータに対し一旦複製されたデータを再利用するためには、元のデータ間の関係の管理が必要とされる。例えば、論理ボリュームが新たな論理ボリュームにマイグレーションされるとき、通常、元のボリュームは削除される。ソース論理ボリュームにおけるデータが削除されず保持される場合であっても、これを、ホストに提供される、デスティネーション論理ボリューム内のデータのコピーとして用いることができない。なぜなら、特許文献1のシステムにおいて、(1)保持されるデータは、元のデータに関連付けられているのではなく、アプリケーションに関連付けられており、(2)保持されるデータは、関係する元データの変更に応じて更新されないためである。結果として、論理ボリュームスケールアウト及び論理ボリュームマイグレーションのうちの少なくとも1つのような管理オペレーションを実行するときに、時間及びリソースを消費する、論理ボリュームをコピーするタスク、を回避するために、保持されるデータを再利用することが不可能である。論理ボリュームスケールアウト及び論理ボリュームマイグレーションは、ダウンタイム及び性能不良が生じる前に、予期されない問題及び需要を解決するために短時間で行われる必要があるオペレーションである。   The related art disclosed in Patent Document 1 is used for the purpose of reusing data as a copy of previously discarded data. However, this technique cannot be used for logical volume scale-out or migration. This is because in these cases, at least one logical volume is still provided to the host. Therefore, in order to reuse the data once copied with respect to the original data, it is necessary to manage the relationship between the original data. For example, when a logical volume is migrated to a new logical volume, the original volume is usually deleted. Even if the data in the source logical volume is retained without being deleted, it cannot be used as a copy of the data in the destination logical volume provided to the host. This is because, in the system of Patent Document 1, (1) retained data is not associated with the original data, but is associated with the application, and (2) retained data is related to the original data. It is because it is not updated according to the change of. As a result, when performing management operations such as at least one of logical volume scale-out and logical volume migration, it is retained to avoid the task of copying logical volumes, which consumes time and resources. It is impossible to reuse data. Logical volume scale-out and logical volume migration are operations that need to be done in a short time to resolve unexpected problems and demands before downtime and poor performance occur.

管理システムが、ホストシステムに接続されたストレージシステム内の複数の論理ボリュームを管理する。複数の論理ボリュームは、ホストシステムに提供される第1の論理ボリュームと、第2の論理ボリュームとを含む。管理システムは、第2の論理ボリュームを、第1の論理ボリュームの複製ボリュームとし、且つ、ホストシステムに提供された論理ボリュームである第1の状態のボリュームとして管理する。管理システムは、第2の論理ボリュームを、第1の論理ボリュームに関連付けられた第2の状態のボリュームに変更する。第2の状態のボリュームは、ホストシステムに提供された論理ボリュームではなく、ホストシステムによる将来の使用のためにスタンバイ状態にある。管理システムは、第1の論理ボリュームにデータが新たに格納される場合、第2の状態のボリュームである第2の論理ボリュームに格納されているデータと、第2の論理ボリュームに関連付けられた第1の論理ボリュームに格納されたデータとの間のデータ差分を管理する。   The management system manages a plurality of logical volumes in the storage system connected to the host system. The plurality of logical volumes includes a first logical volume and a second logical volume provided to the host system. The management system manages the second logical volume as a replica volume of the first logical volume and as a volume in the first state that is a logical volume provided to the host system. The management system changes the second logical volume to a volume in the second state associated with the first logical volume. The volume in the second state is not a logical volume provided to the host system, but is in a standby state for future use by the host system. When data is newly stored in the first logical volume, the management system stores the data stored in the second logical volume that is the volume in the second state and the second logical volume associated with the second logical volume. A data difference from data stored in one logical volume is managed.

本発明によれば、データセンタにおいて、自動化プロセス又は管理者は、時間のかかる論理ボリュームコピーを必要とすることなく、スケールアウト及びマイグレーションのうちの少なくとも1つのような計画されていない管理オペレーションを実行することができる。   In accordance with the present invention, in a data center, an automated process or administrator performs unplanned management operations such as at least one of scale-out and migration without requiring time-consuming logical volume copies. can do.

本発明の一実施形態に係る、実行された管理オペレーションに応答した、ストレージシステムにおける、ホストと論理ボリュームとの関連付け及び論理ボリューム状態の経時的展開を示す図である。FIG. 3 is a diagram showing the association of a host and a logical volume and the development of a logical volume state over time in a storage system in response to an executed management operation according to an embodiment of the present invention. 実施形態に係る計算機システムの概略構成を示す図である。It is a figure which shows schematic structure of the computer system which concerns on embodiment. 管理計算機において提供される論理ボリューム関連付けテーブルの構成例を示す図である。It is a figure which shows the structural example of the logical volume correlation table provided in a management computer. 管理計算機において提供される論理ボリュームペアリングテーブルの構成例を示す図である。It is a figure which shows the structural example of the logical volume pairing table provided in a management computer. 管理計算機において提供される論理ボリューム管理テーブルの構成例を示す図である。It is a figure which shows the structural example of the logical volume management table provided in a management computer. 管理計算機において提供されるストレージ管理テーブルの構成例を示す図である。It is a figure which shows the structural example of the storage management table provided in a management computer. 論理ボリューム複製要求が到達する時点において管理計算機によって実行される処理を説明するためのフローチャートを示す図である。FIG. 6 is a diagram illustrating a flowchart for explaining processing executed by a management computer at the time when a logical volume replication request arrives. 論理ボリューム削除要求が到達する時点において管理計算機によって実行される処理を説明するためのフローチャートを示す図である。It is a figure for demonstrating the process performed by the management computer at the time of a logical volume deletion request reaching. 管理計算機によって、例えば短い時間間隔で周期的に実行されるプロセスを説明するためのフローチャートを示す図である。It is a figure which shows the flowchart for demonstrating the process periodically performed by a management computer, for example with a short time interval.

本発明の一実施形態を以下で説明する。   One embodiment of the present invention is described below.

以下の説明において、「aaaテーブル」という表現を用いて情報を説明するが、情報は、テーブル以外のデータ構造で表すこともできる。データ構造からの独立性を表すために、「aaaテーブル」という用語は「aaa情報」という用語と置き換えることができる。   In the following description, information is described using the expression “aaa table”, but the information can also be expressed by a data structure other than a table. To represent independence from the data structure, the term “aaa table” can be replaced with the term “aaa information”.

ID(識別子)が以下の説明におけるターゲットを識別するための情報として用いられるが、IDは、他の種類の識別情報と置き換えることができる。   An ID (identifier) is used as information for identifying a target in the following description, but the ID can be replaced with other types of identification information.

以下の説明において、「プログラム」という用語が、プロセスを説明するための主格として用いられることがある。しかしながら、プログラムは、ストレージユニット(例えば、メモリ)及びインターフェースユニット(例えば、通信ポート)のうちの少なくとも1つを用いて決定されたプロセスを実行するプロセッサユニット(例えば、CPU(中央処理装置))によって実行される。したがって、プロセスの主体はプロセッサユニットとすることができる。プロセスの一部はハードウェア回路によって実行することができ、プロセッサユニットはハードウェア回路を備えることができる。プログラムはプログラムソースからインストールすることができる。プログラムソースは、例えば、プログラム分散サーバ又はポータブルストレージ媒体とすることができる。   In the following description, the term “program” may be used as a principal for describing a process. However, the program is executed by a processor unit (eg, CPU (Central Processing Unit)) that executes a process determined using at least one of a storage unit (eg, memory) and an interface unit (eg, communication port). Executed. Therefore, the process subject can be a processor unit. Part of the process can be performed by a hardware circuit, and the processor unit can comprise a hardware circuit. The program can be installed from the program source. The program source can be, for example, a program distributed server or a portable storage medium.

以下の説明では、論理ボリュームを管理し、表示用の情報を表示するように構成された1つ又は複数のコンピュータの集合体を「管理システム」と呼ぶ場合がある。管理計算機が表示用の情報を表示する例では、管理計算機は管理システムとしての役割を果たすことができる。さらに、管理計算機及び表示コンピュータの組合せも、管理システムとしての役割を果たすことができる。管理プロセスの速度及び信頼性を向上させるために、複数のコンピュータを用いて、管理計算機によって実行されるプロセスと同一であるか又は類似したプロセスを達成することができる。この場合、複数のコンピュータ(表示コンピュータが表示用に用いられる場合は表示コンピュータを含む場合がある)が管理システムとしての役割を果たすことができる。実施形態において、管理計算機は管理システムとしての役割を果たすことができる。「管理計算機が情報を表示する」というフレーズは、管理計算機によって保有される表示デバイス上に情報が表示されることを表すこともできるし、表示用の情報が管理計算機に接続された表示コンピュータに送信されることを表すこともできる。後者の場合、表示コンピュータが情報を表示し、この情報は、この表示コンピュータによって保有される表示デバイス上の表示用の情報によって表される。   In the following description, a collection of one or more computers configured to manage logical volumes and display information for display may be referred to as a “management system”. In the example in which the management computer displays information for display, the management computer can serve as a management system. Furthermore, a combination of a management computer and a display computer can also serve as a management system. To improve the speed and reliability of the management process, multiple computers can be used to achieve a process that is the same as or similar to the process performed by the management computer. In this case, a plurality of computers (may include a display computer when a display computer is used for display) can serve as a management system. In the embodiment, the management computer can serve as a management system. The phrase “the management computer displays information” can indicate that information is displayed on a display device held by the management computer, or the display information is displayed on a display computer connected to the management computer. It can also represent being transmitted. In the latter case, the display computer displays information, which is represented by information for display on a display device held by this display computer.

以下の説明において、「論理ボリューム」という用語は、論理ストレージデバイスを表す。論理ボリュームは、実論理ボリュームとすることもできるし、仮想論理ボリュームとすることもできる。「実論理ボリューム」という用語は、1つ又は複数のPDEVに基づく論理ボリュームを表す。「PDEV」という用語は、HDD(ハードディスクドライブ)又はSSD(ソリッドステートドライブ)等の不揮発性物理ストレージデバイスの略記である。複数のPDEVは複数のRAID(独立(又は安価)ディスクの冗長アレイ)グループを形成することができる。RAIDグループを「パリティグループ」と呼ぶことができる。「仮想論理ボリューム」の例は、ストレージ仮想化技術に従う論理ボリュームを含むことができ、これは、仮想論理ボリュームと、容量仮想化技術(通常、シンプロビジョニング)に従う論理ボリュームと、元の論理ボリュームのスナップショットとして提供される論理ボリュームとを有するストレージ装置に接続された外部ストレージ装置のストレージリソース(例えば、論理ボリューム)に基づく。   In the following description, the term “logical volume” represents a logical storage device. The logical volume can be a real logical volume or a virtual logical volume. The term “real logical volume” refers to a logical volume based on one or more PDEVs. The term “PDEV” is an abbreviation for a non-volatile physical storage device such as an HDD (Hard Disk Drive) or SSD (Solid State Drive). Multiple PDEVs can form multiple RAID (redundant arrays of independent (or inexpensive) disks) groups. A RAID group can be referred to as a “parity group”. An example of a “virtual logical volume” can include a logical volume that follows storage virtualization technology, which includes a virtual logical volume, a logical volume that follows capacity virtualization technology (usually thin provisioning), and the original logical volume. Based on a storage resource (for example, a logical volume) of an external storage device connected to a storage device having a logical volume provided as a snapshot.

<実施形態の概要> <Outline of Embodiment>

図1に示す図を参照することによって、実施形態の概要が説明される。   An overview of the embodiment will be described with reference to the diagram shown in FIG.

図1は、4つの異なる時点におけるストレージシステム内の論理ボリューム2212の状態を示す。時点は、早いものから後のものへと順に、(t)、(t+1)、(t+2)及び(t+3)である。各時点は、前の時点から任意の期間が経過した後に生じる。論理ボリュームは、管理計算機によって管理される3つの状態のうちの1つを有する(図5)。3つの状態は、「提供済み」、「スタンバイ」及び「フォーマット済み」である。フォーマット済み論理ボリュームは、データを有さず、ストレージシステムに接続されたホスト計算機2000等のホストシステムに提供されていない論理ボリュームである。言い換えれば、フォーマット済み論理ボリュームは、ホスト計算機によって管理されず、ホスト計算機によって認識されることが不可能である。(ホストシステムは、図1による例において、Host1及びHost2という名称の2つのホスト計算機を備える)。フォーマット済み論理ボリュームは、フォーマットされた論理ボリュームとすることができる。スタンバイ論理ボリュームは、データを有し、ホストシステムに提供されていない論理ボリュームである。スタンバイ論理ボリュームは、ホストシステムによる将来の使用のためにスタンバイ状態にある。提供済み論理ボリュームは、データを有し、ホスト計算機2000に提供されている論理ボリュームである。すなわち、ホスト計算機2000は、提供済み論理ボリューム内のデータに対する読出しアクセス及び/又は書込みアクセスを有することができる。   FIG. 1 shows the state of the logical volume 2212 in the storage system at four different times. The time points are (t), (t + 1), (t + 2), and (t + 3) in order from the earliest to the later. Each time point occurs after an arbitrary period of time has elapsed since the previous time point. The logical volume has one of three states managed by the management computer (FIG. 5). The three states are “provided”, “standby” and “formatted”. The formatted logical volume is a logical volume that has no data and is not provided to a host system such as the host computer 2000 connected to the storage system. In other words, the formatted logical volume is not managed by the host computer and cannot be recognized by the host computer. (The host system comprises two host computers named Host1 and Host2 in the example according to FIG. 1). The formatted logical volume can be a formatted logical volume. The standby logical volume is a logical volume that has data and is not provided to the host system. The standby logical volume is in a standby state for future use by the host system. The provided logical volume is a logical volume that has data and is provided to the host computer 2000. That is, the host computer 2000 can have read access and / or write access to data in the provided logical volume.

時点(t)は、サービスを提供するHost1という名称のホスト計算機を表す。論理ボリューム1という名称の提供済み論理ボリューム、以後LV1、がHost1に接続される(図5)。LV2及びLV3という名称の2つの論理ボリュームがフォーマット済み状態に留まっている。   The time (t) represents a host computer named Host1 that provides the service. The provided logical volume named logical volume 1, hereinafter LV1, is connected to Host1 (FIG. 5). Two logical volumes named LV2 and LV3 remain in the formatted state.

時点(t)の後、Host1によって提供されるサービスは、LV1単独では満たすことができない重い読出し作業負荷に対する一時的な需要を有する。したがって、スケールアウトが要求される。LV1は、スタンバイ論理ボリュームと一切関連付けられていないので、スケールアウトは以下のように実行される(図7)。(1)管理システムからの要求に応答して、ストレージシステムによって、論理ボリュームLV1に格納されたデータ全体をLV2にコピーし、(2)コピー後に、ストレージシステムによって、自律的に、又は管理システムからの要求に応答して、Host2という名称の別のホスト計算機にLV2を提供する(LV2はHost2の代わりにHost1に提供されてもよい)。結果として、論理ボリュームがコピーされた後に需要が満たされる。これは、論理ボリュームのサイズに依拠してかなり長い時間を要する場合がある。さらに、LV1をLV2にコピーすることは、LV1が最も必要とされているとき、LV1の性能に負の影響を与える場合がある。   After time (t), the service provided by Host1 has a temporary demand for heavy read workload that cannot be met by LV1 alone. Therefore, scale out is required. Since LV1 is not associated with any standby logical volume, scale-out is executed as follows (FIG. 7). (1) In response to a request from the management system, the entire data stored in the logical volume LV1 is copied to the LV2 by the storage system. (2) After copying, autonomously by the storage system or from the management system LV2 is provided to another host computer named Host2 in response to the request (LV2 may be provided to Host1 instead of Host2). As a result, the demand is met after the logical volume is copied. This may take quite a long time depending on the size of the logical volume. Furthermore, copying LV1 to LV2 may negatively impact LV1 performance when LV1 is most needed.

時点(t+1)は、スケールアウトタスクが終了し、LV2が、Host2に接続された提供済み論理ボリュームであるときの状態を表す。サービスの重い読出し作業負荷は、Host1とHost2との間で分割され又は平衡をとられる。LV1及びLV2におけるデータは、論理ボリュームのうちの一方に到達した変化(書込み)を他方の論理ボリュームに伝搬することによって、同じに保たれる。変化は、ストレージシステム、ホストシステム及び管理システムのうちの少なくとも1つによって伝搬することができる。論理ボリュームLV1及びLV2は、ストレージシステムによってそれらの同期が保たれるので、ペアリング関係にあるとみなされる。LV1の近時の読み書きレートが管理システムによって管理される。読み書きレートは、読出し周波数(例えば、IOPS(1秒あたりのI/O))を読出し周波数及び書込み周波数で除算した値として表される。さらに、ストレージシステムは、LV1とLV2との間のペアリング関係を管理し、それらのデータの同期を保つことができる。   The time (t + 1) represents a state when the scale-out task is finished and LV2 is a provided logical volume connected to Host2. The heavy read workload of the service is split or balanced between Host1 and Host2. Data in LV1 and LV2 is kept the same by propagating changes (writes) reaching one of the logical volumes to the other logical volume. The change can be propagated by at least one of the storage system, the host system, and the management system. The logical volumes LV1 and LV2 are considered to be in a pairing relationship because their synchronization is maintained by the storage system. The recent read / write rate of LV1 is managed by the management system. The read / write rate is expressed as a value obtained by dividing the read frequency (for example, IOPS (I / O per second)) by the read frequency and the write frequency. Further, the storage system can manage the pairing relationship between LV1 and LV2 and keep their data synchronized.

時点(t+1)の後、重い読出し作業負荷に対するサービス需要が終了する。ストレージシステムリソースを効率的に用いるために、Host2はサービスから解放され、Host2及びLV2を接続するためのリソースが解放される。管理システムは、LV1の近時の読み書きレートに基づいて、LV2がスタンバイ論理ボリュームになるのに適していると判断する。これは、サービスが重い読出し作業負荷を有し、重い書込み作業負荷を有していないことを表す(図8)。また、管理システムは、ストレージシステムに、LV2のステータスを提供済みからスタンバイに変更することを要求することができる。要求に応答して、ストレージシステムは、LV2をスタンバイ論理ボリュームとして管理することができる。   After time (t + 1), the service demand for heavy read workload ends. In order to use the storage system resources efficiently, Host2 is released from the service, and resources for connecting Host2 and LV2 are released. The management system determines that LV2 is suitable for becoming a standby logical volume based on the recent read / write rate of LV1. This represents that the service has a heavy read workload and no heavy write workload (FIG. 8). In addition, the management system can request the storage system to change the status of the LV2 from provided to standby. In response to the request, the storage system can manage LV2 as a standby logical volume.

LV2がスタンバイ論理ボリュームになるとき、LV2は、LV1と同じデータを保有するが、それらのデータは、書込みがLV1に到達すると異なったものになる。LV1とLV2との間の関連付け及びデータ差分は、管理システム及びストレージシステムのうちの少なくとも1つによって管理される(図3)。ある条件に達すると、ストレージシステムによって、自律的に、又は管理システムからの要求に応答して、LV1及びLV2を部分的に又は完全に同期させるために(図9)、異なるデータをLV1からLV2にコピーすることができる。計算機システムの空き領域又はフォーマット済み論理ボリュームがなくなると、スタンバイ論理ボリュームLV2が削除又はフォーマットされる(図7)。   When LV2 becomes a standby logical volume, LV2 will hold the same data as LV1, but those data will be different once the write reaches LV1. The association and data difference between LV1 and LV2 are managed by at least one of the management system and the storage system (FIG. 3). When certain conditions are reached, the different data is transferred from LV1 to LV2 in order to synchronize LV1 and LV2 partially or fully by the storage system, either autonomously or in response to a request from the management system (FIG. 9). Can be copied to. When there is no more free space or formatted logical volume in the computer system, the standby logical volume LV2 is deleted or formatted (FIG. 7).

時点(t+2)は、LV1及びLV2が関連付けられ、それらのデータ差分が、管理システム及びストレージシステムのうちの少なくとも1つによって管理されるときの状態を表す。LV1は提供済み論理ボリュームであり、LV2はスタンバイ論理ボリュームである。時点(t+2)において、データ差分の量が閾値を超える場合、管理されるデータ差分を、その量が閾値未満となるように、ストレージシステムによって、自律的に、又は管理システムからの要求に応答して、完全に又は部分的にLV1からLV2にコピーすることができる。結果として、時点(t+2)の後にLV1及びLV2を同期させることが可能である。   The time point (t + 2) represents a state when LV1 and LV2 are associated and the data difference between them is managed by at least one of the management system and the storage system. LV1 is a provided logical volume, and LV2 is a standby logical volume. When the amount of data difference exceeds the threshold at time (t + 2), the managed data difference is autonomously responded to the request from the management system or by the storage system so that the amount is less than the threshold. And can be copied completely or partially from LV1 to LV2. As a result, it is possible to synchronize LV1 and LV2 after time (t + 2).

時点(t+2)の後、Host1によって提供されるサービスは、ここでも、LV1単独では満たすことができない重い読出し作業負荷に対する一時的な需要を有する。したがって、スケールアウトが要求される。LV1は、スタンバイ論理ボリュームと関連付けられているので、スケールアウトは以下のように短時間で実行される(図7)。(1)LV1及びLV2を完全に同期させるために、管理されているデータ差分をLV1からLV2にコピーし、(2)コピー後に、LV2を、Host2という名称のホストに提供する。結果として、需要は、データのごく一部分又は任意の部分をコピーした後に、かなり迅速に満たされる。LV1がいくつかのスタンバイ論理ボリュームに関連付けられているとき、提供されるのに最も適したボリュームは、LV1との最も小さなデータ差分を有するスタンバイ論理ボリュームとして選択される。   After time (t + 2), the service provided by Host1 again has a temporary demand for heavy read workload that cannot be met by LV1 alone. Therefore, scale out is required. Since LV1 is associated with the standby logical volume, the scale-out is executed in a short time as follows (FIG. 7). (1) To completely synchronize LV1 and LV2, the managed data difference is copied from LV1 to LV2, and (2) after copying, LV2 is provided to a host named Host2. As a result, demand is met fairly quickly after copying only a small portion or any portion of the data. When LV1 is associated with several standby logical volumes, the most suitable volume to be offered is selected as the standby logical volume with the smallest data difference from LV1.

時点(t+3)は、時点(t+1)において表される状態と同様に、スケールアウトタスクが終了したときの状態を表す。   The time point (t + 3) represents the state when the scale-out task is completed, similarly to the state represented at the time point (t + 1).

上記の概要において記載されたように、(1)削除されることを要求された論理ボリュームを保持し、(2)保持された論理ボリュームを、ホストに提供されるその元の論理ボリュームに関連付け、(3)論理ボリューム間のデータ差分を管理することによって、元の論理ボリュームの1つの複製された論理ボリュームを、その論理ボリュームが最初に複製されるときにその論理ボリュームの完全なコピーを実行することにより、複数回提供することができる。さらに、実施形態に係る管理システムは、いずれの論理ボリュームが保持されるか、どの程度の期間保持されるか、及びいつ再利用又は削除されるべきであるかを判定する負担に対処するので、管理システムは、オートスケール及びマイグレーション等の自動化されたプロセスによって用いることもでき、論理ボリューム複製及び論理ボリューム削除のオペレーションを要求するスキルのないユーザ及び管理者によって用いることもできる。   As described in the overview above, (1) keep the logical volume requested to be deleted, (2) associate the held logical volume with its original logical volume provided to the host, (3) By managing the data difference between the logical volumes, a complete copy of the logical volume is performed on one replicated logical volume of the original logical volume when the logical volume is first replicated Can be provided multiple times. Furthermore, the management system according to the embodiment addresses the burden of determining which logical volumes are retained, how long they are retained, and when they should be reused or deleted. The management system can be used by automated processes such as autoscaling and migration, and can also be used by unskilled users and administrators who require logical volume replication and logical volume deletion operations.

<計算機システムの構成>   <Configuration of computer system>

図2は、本発明の実施形態に係る計算機システムの概略構成を示す図である。   FIG. 2 is a diagram showing a schematic configuration of a computer system according to the embodiment of the present invention.

計算機システム100は、ストレージシステムと、SAN(ストレージエリアネットワーク)等のネットワークを介してストレージシステムに接続されたホストシステムとを備える。複数の論理ボリューム2212を管理する管理システムが、LAN(ローカルエリアネットワーク)等の同じ又は別のネットワークを介してストレージシステム及びホストシステムに接続される。   The computer system 100 includes a storage system and a host system connected to the storage system via a network such as a SAN (Storage Area Network). A management system that manages a plurality of logical volumes 2212 is connected to the storage system and the host system via the same or different network such as a LAN (local area network).

ホストシステムは少なくとも1つのホスト計算機2000である。ホスト計算機2000は、ストレージ装置2200によって提供される論理ボリューム2212を用いるコンピュータであり、特に、ホスト計算機2000は、論理ボリューム2212をストレージ装置2200に指定するI/O(入出力)要求を発行する。ホスト計算機200は、インターフェースユニットと、ストレージユニットと、入力ユニットと、出力ユニットと、これらに接続されたプロセッサユニットとを備える。インターフェースユニットは、データI/F2015及び管理I/F2016等の少なくとも1つのインターフェースデバイスである。データI/F2015(例えば、SANのインターフェースデバイス)は、ストレージシステムに接続される。管理I/F2016(例えば、LANのインターフェースデバイス)は、管理システムに接続される。データI/F2015及び管理I/F2016は同じとすることができる。ストレージユニットは、メモリ2014等の少なくとも1つのストレージデバイスである。入力ユニットは、キーボード、ポインティングデバイス等の少なくとも1つの入力デバイス2011である。出力ユニットは、表示デバイス等の少なくとも1つの出力デバイス2013である。プロセッサユニットは、CPU2012等の少なくとも1つのプロセッサである。メモリ2014は、アプリケーション2021等のプログラムを記憶し、CPU2012は、アプリケーション2021を実行する。アプリケーション2021は、提供済み論理ボリュームを使用するためのプログラムを含む。   The host system is at least one host computer 2000. The host computer 2000 is a computer that uses the logical volume 2212 provided by the storage apparatus 2200. In particular, the host computer 2000 issues an I / O (input / output) request that designates the logical volume 2212 as the storage apparatus 2200. The host computer 200 includes an interface unit, a storage unit, an input unit, an output unit, and a processor unit connected thereto. The interface unit is at least one interface device such as a data I / F 2015 and a management I / F 2016. A data I / F 2015 (for example, a SAN interface device) is connected to the storage system. A management I / F 2016 (for example, a LAN interface device) is connected to the management system. The data I / F 2015 and the management I / F 2016 can be the same. The storage unit is at least one storage device such as the memory 2014. The input unit is at least one input device 2011 such as a keyboard and a pointing device. The output unit is at least one output device 2013 such as a display device. The processor unit is at least one processor such as the CPU 2012. The memory 2014 stores a program such as the application 2021, and the CPU 2012 executes the application 2021. The application 2021 includes a program for using the provided logical volume.

ストレージシステムは少なくとも1つのストレージ装置2200である。ストレージ装置2200は、複数のディスクデバイス2213と、複数のディスクデバイス2213に接続されたストレージコントローラユニットとを備える。   The storage system is at least one storage device 2200. The storage apparatus 2200 includes a plurality of disk devices 2213 and a storage controller unit connected to the plurality of disk devices 2213.

各ディスクデバイス2213はPDEVの一例である。複数のディスクデバイス2213は、少なくとも1つのRAIDグループとすることができる。複数の論理ボリューム2212は、複数のディスクデバイス2213に基づく。   Each disk device 2213 is an example of a PDEV. The plurality of disk devices 2213 can be at least one RAID group. The plurality of logical volumes 2212 are based on a plurality of disk devices 2213.

ストレージコントローラユニットは、ディスクコントローラ2211等の少なくとも1つのストレージコントローラである。ディスクコントローラ2211は、インターフェースユニットと、メモリ2244等のストレージユニットと、インターフェースユニット及びストレージユニットに接続されたCPU2223等のプロセッサユニットとを備える。インターフェースユニットは、ホストシステムに接続されたデータI/F2211と、管理システムに接続された管理I/F2222と、複数のディスクデバイス2213に接続されたディスクI/F2215とを備える。メモリ2224は、管理情報2231及び制御プログラム2232を記憶する。管理情報2231は、複数の論理ボリューム2212に関する情報である。管理情報2231は、テーブル2121からテーブル2124と同じテーブルを含むことができる。CPU2223は制御プログラム2232を実行する。ディスクコントローラ2211は、論理ボリューム2212を指定するI/O要求と、論理ボリュームの基礎となるディスクデバイス2213における/からの書込み/読出しデータとを受信する。ディスクコントローラ2211は、第1の論理ボリュームに格納されたデータと、第1の論理ボリュームとある特定の関係を有する第2の論理ボリュームに格納されたデータとの間のデータ差分を管理する。実施形態において、第1の論理ボリュームは、セカンダリ論理ボリューム(コピー先論理ボリューム)とのペアリング関係を有するプライマリ論理ボリューム(コピー元論理ボリューム)等の提供済み論理ボリュームであるか、又はコピー対を形成していないがスタンバイ論理ボリュームと関連付けられている論理ボリュームである。第2の論理ボリュームは、プライマリ論理ボリュームとペアリング関係を有するセカンダリ論理ボリューム、プライマリ論理ボリュームと関連付けられたスタンバイ論理ボリューム、又はフォーマット済み論理ボリュームである。ディスクコントローラ2211は、自律的に、又は管理システムからの要求に応答して、1つのボリュームから別のボリュームへのデータ(全てのデータ又は差分データ)のコピーを実行することによって、同じ対(グループ)内のボリュームを同じに保つように構成される。さらに、ディスクコントローラ2211は、自律的に、又は管理システムからの要求に応答して、提供済み論理ボリュームに格納されたデータと、提供済み論理ボリュームに関連付けられたスタンバイ論理ボリュームに格納されたデータとの間のデータ差分を完全に又は部分的にコピーするように構成される。さらに、ディスクコントローラ2211は、ホストシステムからI/O要求によって指定された論理ボリューム内のデータ及びこの論理ボリュームからのデータを入力(書込み)及び出力(読出し)するように構成される。さらに、ディスクコントローラ2211は、管理システムからの要求に応答して、管理情報2231内の情報を設定するように構成される。この種類の処理に必要な情報は、管理情報2231に格納される。例えば、管理情報2231は、論理ボリュームごとに、ボリュームID、ボリュームタイプ(例えば、プライマリ、セカンダリ、提供済み又はスタンバイ)、関係付けられたボリュームID(例えば、ペアリングされたボリュームID又は関連付けられたスタンバイ論理ボリュームID)を定義する情報を含むことができる。   The storage controller unit is at least one storage controller such as the disk controller 2211. The disk controller 2211 includes an interface unit, a storage unit such as a memory 2244, and a processor unit such as a CPU 2223 connected to the interface unit and the storage unit. The interface unit includes a data I / F 2211 connected to the host system, a management I / F 2222 connected to the management system, and a disk I / F 2215 connected to a plurality of disk devices 2213. The memory 2224 stores management information 2231 and a control program 2232. The management information 2231 is information regarding a plurality of logical volumes 2212. The management information 2231 can include the same tables as the tables 2121 to 2124. The CPU 2223 executes the control program 2232. The disk controller 2211 receives an I / O request designating the logical volume 2212 and write / read data from / to the disk device 2213 that is the basis of the logical volume. The disk controller 2211 manages the data difference between the data stored in the first logical volume and the data stored in the second logical volume having a specific relationship with the first logical volume. In the embodiment, the first logical volume is a provided logical volume such as a primary logical volume (copy source logical volume) having a pairing relationship with a secondary logical volume (copy destination logical volume), or a copy pair A logical volume that is not formed but is associated with a standby logical volume. The second logical volume is a secondary logical volume having a pairing relationship with the primary logical volume, a standby logical volume associated with the primary logical volume, or a formatted logical volume. The disk controller 2211 autonomously or in response to a request from the management system executes a copy of data (all data or differential data) from one volume to another volume, thereby matching the same pair (group). ) Is configured to keep the volume in the same. Further, the disk controller 2211 autonomously or in response to a request from the management system, data stored in the provided logical volume, data stored in the standby logical volume associated with the provided logical volume, and Is configured to copy the data difference between fully or partially. Further, the disk controller 2211 is configured to input (write) and output (read) data in a logical volume designated by an I / O request from the host system and data from this logical volume. Further, the disk controller 2211 is configured to set information in the management information 2231 in response to a request from the management system. Information necessary for this type of processing is stored in the management information 2231. For example, the management information 2231 includes, for each logical volume, a volume ID, a volume type (eg, primary, secondary, provided or standby), an associated volume ID (eg, a paired volume ID or an associated standby). Information defining logical volume ID) can be included.

上記で定義したように、実施形態において、管理システムは管理計算機2100である。管理計算機2100は、インターフェースユニットと、ストレージユニットと、入力ユニットと、出力ユニットと、これらに接続されたプロセッサユニットとを備える。インターフェースユニットは、管理I/F2215等の少なくとも1つのインターフェースデバイスである。管理I/F2215はホストシステム及び管理システムに接続される。ストレージユニットは、メモリ2114等の少なくとも1つのストレージデバイスである。入力ユニットは、キーボード、ポインティングデバイス等の少なくとも1つの入力デバイス2111である。出力ユニットは、表示デバイス等の少なくとも1つの出力デバイス2113である。プロセッサユニットは、CPU2112等の少なくとも1つのプロセッサである。メモリ2114はプログラム及び情報を記憶する。情報は、(1)提供済み論理ボリュームと、スタンバイ論理ボリュームと、それらのデータ差分との間の関連付けを管理するための論理ボリューム関連付けテーブル2121(図3)、(2)同じデータを含む提供済み論理ボリューム間の関係を管理するための論理ボリュームペアリングテーブル2122(図4)、(3)ホストへの論理ボリュームの提供、並びに論理ボリュームの状態及び容量を管理するための論理ボリューム管理テーブル2123(図5)、(4)ストレージ装置2200の容量を管理するためのストレージ管理テーブル2124(図6)等である。プログラムは、(1)要求時に論理ボリュームをホストシステムに提供するための論理ボリューム提供プログラム2125(図7)、(2)論理ボリューム削除要求に対処するための論理ボリューム削除プログラム2126(図8)、及び(3)関連付けられた論理ボリューム間のデータ差分を更新するための差分更新プログラム2127(図9)等である。論理ボリューム関連付けテーブル2121、論理ボリュームペアリングテーブル2122、論理ボリューム管理テーブル2123、及びストレージ管理テーブル2124によって格納される情報は、論理ボリューム提供プログラム2125、論理ボリューム削除プログラム2126、及び差分更新プログラム2127によって適宜参照され、更新される。   As defined above, in the embodiment, the management system is the management computer 2100. The management computer 2100 includes an interface unit, a storage unit, an input unit, an output unit, and a processor unit connected thereto. The interface unit is at least one interface device such as a management I / F 2215. The management I / F 2215 is connected to the host system and the management system. The storage unit is at least one storage device such as the memory 2114. The input unit is at least one input device 2111 such as a keyboard or a pointing device. The output unit is at least one output device 2113 such as a display device. The processor unit is at least one processor such as the CPU 2112. The memory 2114 stores programs and information. The information includes (1) a logical volume association table 2121 (FIG. 3) and (2) the same data for managing the association between the provided logical volume, the standby logical volume, and their data difference. Logical volume pairing table 2122 (FIG. 4) for managing the relationship between logical volumes, (3) Logical volume management table 2123 (providing logical volume to the host, and managing the status and capacity of the logical volume) 5) and (4) a storage management table 2124 (FIG. 6) for managing the capacity of the storage device 2200. The program includes (1) a logical volume providing program 2125 (FIG. 7) for providing a logical volume to the host system at the time of request, and (2) a logical volume deletion program 2126 (FIG. 8) for coping with the logical volume deletion request. And (3) a difference update program 2127 (FIG. 9) for updating the data difference between the associated logical volumes. Information stored by the logical volume association table 2121, logical volume pairing table 2122, logical volume management table 2123, and storage management table 2124 is appropriately updated by the logical volume provision program 2125, logical volume deletion program 2126, and differential update program 2127. Referenced and updated.

<論理ボリューム関連付けテーブル2121>   <Logical volume association table 2121>

図3は、管理計算機2100において提供される論理ボリューム関連付けテーブル2121の構成例を示す。論理ボリューム関連付けテーブル2121は、全てのストレージ装置2200にわたって、提供済み論理ボリュームと、スタンバイ論理ボリュームと、それらのデータ差分との間の関連付けを管理するテーブルである。論理ボリューム関連付けテーブル2121は、構成情報として、論理ボリューム2212を識別するための情報である提供済み論理ボリュームID3001と、論理ボリューム2212を識別するための情報であるスタンバイ論理ボリュームID3002と、2つの論理ボリューム間のデータ差分量を表すデータ差分量3303と、2つの論理ボリューム間で異なるデータの部分の情報(例えば、データ差分を表すビットマップ)へのポインタであるデータ差分3004と、提供済み論理ボリュームが重要であるか否かを表す重要フラグ3005と、重要である提供済み論理ボリュームについて許可される最大データ差分を示すデータ差分閾値3006を有する。ボリュームIDについて、例えば、「V010(VSP1)」はストレージIDが「VSP1」であるストレージ装置が、IDが「V010」である論理ボリュームを有することを表す。   FIG. 3 shows a configuration example of the logical volume association table 2121 provided in the management computer 2100. The logical volume association table 2121 is a table that manages associations between the provided logical volumes, the standby logical volumes, and their data differences across all the storage apparatuses 2200. The logical volume association table 2121 includes, as configuration information, a provided logical volume ID 3001 that is information for identifying the logical volume 2212, a standby logical volume ID 3002 that is information for identifying the logical volume 2212, and two logical volumes. A data difference amount 3303 representing a data difference amount between them, a data difference 3004 which is a pointer to information of a data portion different between two logical volumes (for example, a bitmap representing a data difference), and a provided logical volume It has an important flag 3005 indicating whether it is important, and a data difference threshold 3006 indicating the maximum data difference allowed for the provided logical volume that is important. For the volume ID, for example, “V010 (VSP1)” indicates that the storage device with the storage ID “VSP1” has a logical volume with the ID “V010”.

論理ボリューム関連付けテーブル2121の行は、提供済み論理ボリュームとスタンバイ論理ボリュームとの間の関連付けを表す。行は、論理ボリュームがスタンバイになるとき、すなわち、関連付けが作成されるときに追加される(図8)。行は、提供済み論理ボリューム及び/又はスタンバイ論理ボリュームが状態を変更するか又は削除されるとき、すなわち、関連付けが解消されたときに削除される(図7、図9)。論理ボリュームは、同時に提供済み且つスタンバイであることができない(図5)。提供済み論理ボリュームは0、1又は複数個のスタンバイ論理ボリュームに関連付けられる。提供済み論理ボリュームがゼロ個のスタンバイ論理ボリュームに関連付けられているとき、提供済み論理ボリュームは、論理ボリューム関連付けテーブル2121内に登場しない。提供済み論理ボリュームが1つ又は複数のスタンバイ論理ボリュームに関連付けられているとき、スタンバイ論理ボリュームへの各関連付けが異なる行に登場する。論理ボリューム関連付けテーブル2121において、ID V010を有する提供済み論理ボリュームが、2つのスタンバイ論理ボリューム:V030及びV025に関連付けられていることがわかる。スタンバイ論理ボリュームは常に1つの提供済み論理ボリュームに関連付けられ、常に論理ボリューム関連付けテーブル2121内の1つの行に登場する。   The row of the logical volume association table 2121 represents the association between the provided logical volume and the standby logical volume. Rows are added when the logical volume goes to standby, ie when an association is created (FIG. 8). A row is deleted when the provided logical volume and / or standby logical volume changes state or is deleted, that is, when the association is removed (FIGS. 7 and 9). The logical volume cannot be standby at the same time (FIG. 5). The provided logical volume is associated with 0, 1 or a plurality of standby logical volumes. When the provided logical volume is associated with zero standby logical volumes, the provided logical volume does not appear in the logical volume association table 2121. When a provided logical volume is associated with one or more standby logical volumes, each association to the standby logical volume appears on a different line. In the logical volume association table 2121, it can be seen that the provided logical volume having the ID V010 is associated with two standby logical volumes: V030 and V025. The standby logical volume is always associated with one provided logical volume and always appears in one row in the logical volume association table 2121.

スタンバイ論理ボリュームは、CPU2212によって、論理ボリューム関連付けテーブル2121において、論理ボリュームペアリングテーブル2122(図4)におけるプライマリ論理ボリュームとしても登場する提供済み論理ボリュームに関連付けられることが可能である。論理ボリューム関連付けテーブル2121から、ID「V10」を有する論理ボリュームが2つのスタンバイ論理ボリュームに関連付けられていることがわかり、論理ボリュームペアリングテーブル2122(図4)から、論理ボリュームV10が同時に、ID「V070」を有するセカンダリ論理ボリュームのプライマリ論理ボリュームであることがわかる。しかしながら、スタンバイ論理ボリュームは、CPU2212によって、論理ボリューム関連付けテーブル2121において、論理ボリュームペアリングテーブル2122におけるセカンダリ論理ボリュームとしても登場する提供済み論理ボリュームに関連付けられることが不可能である。論理ボリューム関連付けテーブル2121及び論理ボリュームペアリングテーブル2122に登場する提供済み論理ボリュームが、CPU2112によって役割をプライマリからセカンダリに変更すると、それに応じて、CPU2112によって論理ボリューム関連付けテーブル2121も変更され、スタンバイ論理ボリュームは新たなプライマリ論理ボリュームに関連付けられる。   The standby logical volume can be associated with the provided logical volume that also appears as the primary logical volume in the logical volume pairing table 2122 (FIG. 4) in the logical volume association table 2121 by the CPU 2212. It can be seen from the logical volume association table 2121 that the logical volume having the ID “V10” is associated with the two standby logical volumes. From the logical volume pairing table 2122 (FIG. 4), the logical volume V10 is simultaneously assigned the ID “ It can be seen that this is the primary logical volume of the secondary logical volume having “V070”. However, the standby logical volume cannot be associated by the CPU 2212 with the provided logical volume that also appears as the secondary logical volume in the logical volume pairing table 2122 in the logical volume association table 2121. When the provided logical volume appearing in the logical volume association table 2121 and the logical volume pairing table 2122 changes the role from primary to secondary by the CPU 2112, the logical volume association table 2121 is also changed by the CPU 2112 accordingly, and the standby logical volume Is associated with the new primary logical volume.

提供済み論理ボリュームID3001及びスタンバイ論理ボリュームID3002はそれぞれ、論理ボリューム2212及びこの論理ボリュームが属するストレージ装置2200を識別する。論理ボリューム2212は、論理ボリュームが削除されるまで、すなわち空き領域6002(図6)になるまで決して変化しない、作成時に割り当てられたIDを有する。論理ボリュームIDは、論理ボリューム関連付けテーブル2121、論理ボリュームペアリングテーブル(図4)、及び論理ボリューム管理テーブル(図5)において用いられる。   The provided logical volume ID 3001 and the standby logical volume ID 3002 identify the logical volume 2212 and the storage device 2200 to which this logical volume belongs, respectively. The logical volume 2212 has an ID assigned at the time of creation that never changes until the logical volume is deleted, that is, until it becomes a free area 6002 (FIG. 6). The logical volume ID is used in the logical volume association table 2121, the logical volume pairing table (FIG. 4), and the logical volume management table (FIG. 5).

データ差分量3003及びデータ差分3004はそれぞれ、論理ボリューム関連付けテーブル2121内の同じ行において識別される提供済み論理ボリュームとスタンバイ論理ボリュームとの間の、異なるデータの量及び異なるデータの部分を表す。双方の値がCPU2112(管理計算機2100)によって変更される(図9)。スタンバイ論理ボリュームは、関連付けの時点で提供済み論理ボリュームと同じデータを有し、スタンバイ論理ボリュームは、CPU2112による明示的な同期要求がない限り変化しないので、異なるデータは、ある時点から、例えば、最後の同期から、又は関連付けが行われた時点から、提供済み論理ボリュームにおいて変化したデータとして表すこともできる。データ差分3004は、情報が格納されている場所、例えば、提供済み論理ボリュームが属するストレージ装置2200のメモリ2224内へのポインタである。情報は、例えば、ビットマップ技術を用いて記憶することができる。論理ボリューム関連付けテーブル2121のいくつかの行は、同じ情報、又はメモリリソースを効率的に利用するための組合せをポインティングすることができる。   The data difference amount 3003 and the data difference 3004 respectively represent different amounts of data and different portions of data between the provided logical volume identified in the same row in the logical volume association table 2121 and the standby logical volume. Both values are changed by the CPU 2112 (management computer 2100) (FIG. 9). The standby logical volume has the same data as the logical volume provided at the time of association, and the standby logical volume does not change unless there is an explicit synchronization request by the CPU 2112. It can also be expressed as data that has changed in the provided logical volume from the time of synchronization or from the time of association. The data difference 3004 is a pointer to a location where information is stored, for example, the memory 2224 of the storage apparatus 2200 to which the provided logical volume belongs. Information can be stored, for example, using bitmap techniques. Several rows of the logical volume association table 2121 can point to the same information, or a combination to efficiently use memory resources.

重要フラグ3005は、2つの値:「Yes」及び「No」のうちの一方を含む。「Yes」の値は、論理ボリューム関連付けテーブル2121内の同じ行によって表される論理ボリューム関連付けが重要であることを表す。「No」の値は、上述の関連付けが重要でないことを表す。このフラグは、関連付けが作成されたときに作成され、任意の時点に変更されることが可能である。フラグは、例えば、管理部が、サービスが達することが可能であるべき最大性能のパラメータを事前に設定するシナリオにおいて、CPU2112(管理計算機2100)によって自動的に設定することができ、CPU2112は、所望の最大性能を迅速に満たすことを可能にするために、重要であると設定されるべきスタンバイ論理ボリューム関連付けの数を決定する。   The important flag 3005 includes one of two values: “Yes” and “No”. A value of “Yes” indicates that the logical volume association represented by the same row in the logical volume association table 2121 is important. A value of “No” indicates that the above association is not important. This flag is created when the association is created and can be changed at any time. The flag can be automatically set by the CPU 2112 (management computer 2100), for example, in a scenario in which the management unit pre-sets the maximum performance parameter that the service should be able to reach, Determine the number of standby logical volume associations that should be set as important in order to be able to quickly meet their maximum performance.

データ差分閾値3006は、関連付けが重要フラグ3005によって重要であるとして設定された行内に設定される値である。「Yes」に設定された重要フラグ3005を有する行においてデータ差分3004がデータ差分閾値3006に達すると、CPU2112は、提供済み論理ボリュームからスタンバイ論理ボリュームへのデータ差分3004に基づいて指定されたデータ差分をコピーすることによって、提供済み論理ボリューム及びスタンバイ論理ボリュームに完全に又は部分的に同期することを決める(図9)。   The data difference threshold 3006 is a value set in a row in which association is set as important by the importance flag 3005. When the data difference 3004 reaches the data difference threshold 3006 in the row having the important flag 3005 set to “Yes”, the CPU 2112 determines the data difference specified based on the data difference 3004 from the provided logical volume to the standby logical volume. Is determined to be completely or partially synchronized with the provided logical volume and the standby logical volume (FIG. 9).

論理ボリューム関連付けテーブル2121から、ID「VSP1」を有するストレージ装置に属するIDV010を有する提供済み論理ボリュームが、ID「VSP2」を有するストレージ装置に属するID「V030」を有するスタンバイ論理ボリュームに関連付けられ、論理ボリューム間に70MBの異なるデータが存在し、異なるデータの部分の情報は、ポインタ「0x00F65000」によりアクセスされることが可能であり、関連付けが重要であり、データ差分閾値が「100MB」に設定されていることがわかる。   From the logical volume association table 2121, the provided logical volume having IDV010 belonging to the storage apparatus having ID “VSP1” is associated with the standby logical volume having ID “V030” belonging to the storage apparatus having ID “VSP2”, and logically There is 70 MB of different data between the volumes, the information of the different data part can be accessed by the pointer “0x00F65000”, the association is important, and the data difference threshold is set to “100 MB” I understand that.

<論理ボリュームペアリングテーブル2122>   <Logical volume pairing table 2122>

図4は、管理計算機2100において提供される論理ボリュームペアリングテーブル2122の構成例を示す。論理ボリュームペアリングテーブル2122は、全てのストレージ装置2200にわたって、提供済み論理ボリューム間のペアリング、及びそれらの近時の読み書きレートを管理するテーブルである。論理ボリュームペアリングテーブル2122は、構成情報として、論理ボリューム2212を識別するための情報であるプライマリ論理ボリュームID4001と、論理ボリューム2212を識別するための情報であるセカンダリ論理ボリュームID4002と、論理ボリュームの読み書きレートを表す論理ボリューム読み書きレート4003とを有する。   FIG. 4 shows a configuration example of the logical volume pairing table 2122 provided in the management computer 2100. The logical volume pairing table 2122 is a table that manages pairing between provided logical volumes and their recent read / write rates across all storage apparatuses 2200. The logical volume pairing table 2122 includes, as configuration information, a primary logical volume ID 4001 that is information for identifying the logical volume 2212, a secondary logical volume ID 4002 that is information for identifying the logical volume 2212, and read / write of the logical volume. And a logical volume read / write rate 4003 representing the rate.

論理ボリュームペアリングテーブル2122の行は、プライマリ論理ボリュームとセカンダリ論理ボリュームとの間のペアリング関係を表し、プライマリ論理ボリュームはセカンダリ論理ボリュームにコピーされ、これらのデータは、例えばストレージシステム、ホストシステム及び管理システムのうちの少なくとも1つによって同期を保たれる(図7)。論理ボリュームのコピーが行われるか、その関連付けられたスタンバイが提供されると、それらのデータの同期を保つ目的で行が追加される(図7)。論理ボリュームペアリングテーブル2122に登場する論理ボリュームは提供済み論理ボリュームである。提供済み論理ボリュームは、プライマリ論理ボリュームであるか、セカンダリ論理ボリュームであるか、又はそれらのいずれでもない。提供済み論理ボリュームがプライマリ論理ボリュームでもセカンダリ論理ボリュームでもないとき、この提供済み論理ボリュームは論理ボリュームペアリングテーブル2122に登場しない。プライマリ論理ボリュームは1つ又は複数のセカンダリ論理ボリュームにペアリングされ、各ペアリングは1つの行に表される。論理ボリュームペアリングテーブル2122において、ID「V001」を有するプライマリ論理ボリュームが2つのスタンバイ論理ボリュームV003及びV012に関連付けられていることがわかる。セカンダリ論理ボリュームは、1つのプライマリ論理ボリュームにペアリングされ、論理ボリュームペアリングテーブル2122内の1つの行に登場する。   The row of the logical volume pairing table 2122 represents the pairing relationship between the primary logical volume and the secondary logical volume. The primary logical volume is copied to the secondary logical volume, and these data are stored in, for example, the storage system, host system, and Synchronization is maintained by at least one of the management systems (FIG. 7). When a logical volume is copied or its associated standby is provided, rows are added for the purpose of keeping their data synchronized (FIG. 7). The logical volume appearing in the logical volume pairing table 2122 is a provided logical volume. The provided logical volume is a primary logical volume, a secondary logical volume, or neither of them. When the provided logical volume is neither the primary logical volume nor the secondary logical volume, the provided logical volume does not appear in the logical volume pairing table 2122. The primary logical volume is paired with one or more secondary logical volumes, and each pairing is represented in one row. In the logical volume pairing table 2122, it can be seen that the primary logical volume having the ID “V001” is associated with the two standby logical volumes V003 and V012. The secondary logical volume is paired with one primary logical volume and appears in one row in the logical volume pairing table 2122.

行は、対応するペアリング関係が解消されるとき、又は対応するプライマリ論理ボリューム4001又はセカンダリ論理ボリューム4002が削除されるか、スタンバイ又はフォーマット済みになると削除される(図8)。プライマリ論理ボリュームがセカンダリ論理ボリュームにコピーされると、プライマリ及びセカンダリの役割がセットされるが、これらの役割は任意の時点において変更することができる。プライマリ論理ボリュームが1つ又は複数のセカンダリ論理ボリュームにペアリングされている間に、このプライマリ論理ボリュームを削除するか、スタンバイにするか、又はフォーマットすることは珍しい(strange)。通例、削除の前にペアリング関係が解消されるか、プライマリ論理ボリュームにペアリングされているセカンダリ論理ボリュームが削除されるか、又は役割が変更される。   A row is deleted when the corresponding pairing relationship is canceled, or when the corresponding primary logical volume 4001 or secondary logical volume 4002 is deleted, or becomes standby or formatted (FIG. 8). When the primary logical volume is copied to the secondary logical volume, the primary and secondary roles are set, but these roles can be changed at any time. While the primary logical volume is paired with one or more secondary logical volumes, it is unusual to delete, put into standby, or format this primary logical volume. Typically, the pairing relationship is canceled before deletion, the secondary logical volume paired with the primary logical volume is deleted, or the role is changed.

プライマリ論理ボリュームID4001及びセカンダリ論理ボリュームID4002はそれぞれ、論理ボリューム関連付けテーブル2121(図3)において用いられている論理ボリュームIDと同様に、論理ボリューム2212及びこの論理ボリュームが属するストレージ装置2200を識別する。   Similar to the logical volume ID used in the logical volume association table 2121 (FIG. 3), the primary logical volume ID 4001 and the secondary logical volume ID 4002 respectively identify the logical volume 2212 and the storage device 2200 to which this logical volume belongs.

論理ボリューム読み書きレート4003は、論理ボリュームペアリングテーブル2122の同じ行内で識別されるプライマリ論理ボリュームの近時のレートを含む。読み書きレートは、読出しIOPSを、読み書きIOPSを含む全てのIOPSによって除算したものとして表される、1から0の値である。レート値が高いほど、より多くの読出しIO及びより少ない書込みIOが論理ボリュームを有し、したがって、論理ボリュームはCPU2112によってスタンバイになるのにより適している(図8)。   The logical volume read / write rate 4003 includes the recent rate of the primary logical volume identified in the same row of the logical volume pairing table 2122. The read / write rate is a value from 1 to 0 expressed as the read IOPS divided by all IOPS including the read / write IOPS. The higher the rate value, the more read IOs and fewer write IOs have a logical volume, so the logical volume is more suitable to be put on standby by the CPU 2112 (FIG. 8).

論理ボリュームペアリングテーブル2122から、ID「VSP1」を有するストレージ装置に属するID「V010」を有するプライマリ論理ボリュームが、ID「VSP2」を有するストレージ装置に属するID「V070」を有するセカンダリ論理ボリュームに関連付けられ、論理ボリューム読み書きレートが「0.2」であることがわかる。   From the logical volume pairing table 2122, the primary logical volume having ID “V010” belonging to the storage apparatus having ID “VSP1” is associated with the secondary logical volume having ID “V070” belonging to the storage apparatus having ID “VSP2”. The logical volume read / write rate is found to be “0.2”.

<論理ボリューム管理テーブル2123>   <Logical volume management table 2123>

図5は、管理計算機2100において提供される論理ボリューム管理テーブル2123の構成例を示す。論理ボリューム管理テーブル2123は、全てのストレージ装置2200にわたって、論理ボリューム、及びホスト計算機へのそれらの論理ボリューム提供を管理するテーブルである。論理ボリューム管理テーブル2123は、構成情報として、論理ボリューム2212を識別するための情報である論理ボリュームID5001と、ID5001に基づいて識別される論理ボリュームに格納することができる総データ量である容量5002と、3つの値:「提供済み」、「スタンバイ」及び「フォーマット済み」のうちの1つを含み、識別される論理ボリューム5001の状態を表す状態5003と、ID5001に基づいて識別される論理ボリュームが、提供される場合、いずれのホスト計算機に提供されるかを表す提供先ホスト5004を有する。   FIG. 5 shows a configuration example of the logical volume management table 2123 provided in the management computer 2100. The logical volume management table 2123 is a table that manages the logical volumes and provision of those logical volumes to the host computer over all the storage apparatuses 2200. The logical volume management table 2123 includes, as configuration information, a logical volume ID 5001 that is information for identifying the logical volume 2212, and a capacity 5002 that is the total amount of data that can be stored in the logical volume identified based on the ID 5001. One of three values: “provided”, “standby” and “formatted”, and a status 5003 representing the status of the identified logical volume 5001 and a logical volume identified based on the ID 5001 If provided, it has a provision destination host 5004 indicating to which host computer it is provided.

各論理ボリュームは、論理ボリューム管理テーブル2123内の1つの行によって表される。行は、論理ボリュームが作成されるとき、又は削除されるとき、すなわち空き領域になるときに、追加及び削除される(図7)。容量5002は、論理ボリュームがサイズ変更されるときに変化する。   Each logical volume is represented by one row in the logical volume management table 2123. Rows are added and deleted when a logical volume is created or deleted, that is, when it becomes free space (FIG. 7). The capacity 5002 changes when the logical volume is resized.

状態5003「フォーマット済み」を有する論理ボリュームは、データを有さず、ホストシステムに提供されない論理ボリュームである。状態5003「スタンバイ」を有する論理ボリュームは、データを有し、ホストシステムに提供されていない論理ボリュームである。状態5003「提供済み」を有する論理ボリュームは、データを有する論理ボリュームであり、ホストシステムに接続される。論理ボリュームの状態は、CPU2112(管理計算機2100)(図7、図8及び図9)によって変更される。   A logical volume having the status 5003 “formatted” is a logical volume that has no data and is not provided to the host system. A logical volume having the status 5003 “standby” is a logical volume that has data and is not provided to the host system. A logical volume having the status 5003 “provided” is a logical volume having data, and is connected to the host system. The state of the logical volume is changed by the CPU 2112 (management computer 2100) (FIGS. 7, 8, and 9).

論理ボリュームID5001は、論理ボリューム関連付けテーブル2121(図3)において用いられる論理ボリュームIDと同様に、論理ボリューム2212及びこの論理ボリュームが属する及びストレージ装置2200を識別する。   Similar to the logical volume ID used in the logical volume association table 2121 (FIG. 3), the logical volume ID 5001 identifies the logical volume 2212 and the storage apparatus 2200 to which this logical volume belongs.

図5の構成例に加えて、論理ボリューム関連付けテーブル2121は、異なるタイプのディスクデバイス2213(例えば、SATA、SSD)を管理することができ、用いられるリソース(ストレージポート、スイッチポート等)等の、論理ボリュームのホストへの提供に関する追加情報を管理することができる。   In addition to the configuration example of FIG. 5, the logical volume association table 2121 can manage different types of disk devices 2213 (for example, SATA, SSD), and the resources used (storage ports, switch ports, etc.) Additional information regarding provision of logical volumes to the host can be managed.

論理ボリューム管理テーブル2123から、ID「VSP1」を有するストレージ装置に属するID「V010」を有する提供済み論理ボリュームが、「800GB」の容量を有し、「Host5」という名称のホスト計算機に提供されることがわかる。   From the logical volume management table 2123, the provided logical volume having the ID “V010” belonging to the storage apparatus having the ID “VSP1” has a capacity of “800 GB” and is provided to the host computer named “Host5”. I understand that.

<ストレージ管理テーブル2124>   <Storage management table 2124>

図6は、管理計算機2100において提供されるストレージ管理テーブル2124の構成例を示す。ストレージ管理テーブル2124は、全てのストレージ装置2200にわたってストレージ領域を管理するテーブルである。ストレージ管理テーブル2124は、構成情報として、ストレージ装置を識別するための情報であるストレージID6001と、識別されたストレージ装置6001内の論理ボリュームに割り当てられていない空きストレージ領域量を表す空き領域6002と、識別されたストレージ装置6001内の論理ボリュームに割り当てられ、任意の使用に利用可能な空きストレージ領域の量を表す空き論理ボリューム6003と、識別されたストレージ装置6001において論理ボリュームに割り当てられ、ホストシステムに提供されるストレージ領域の量を表す提供済み論理ボリューム6004を有する。   FIG. 6 shows a configuration example of the storage management table 2124 provided in the management computer 2100. The storage management table 2124 is a table for managing storage areas across all storage apparatuses 2200. The storage management table 2124 includes, as configuration information, a storage ID 6001 that is information for identifying a storage apparatus, a free area 6002 that represents the amount of free storage area that is not allocated to the logical volume in the identified storage apparatus 6001, and A free logical volume 6003 that represents the amount of free storage area that can be used for any use that is assigned to the logical volume in the identified storage apparatus 6001 and a logical volume that is assigned to the logical volume in the identified storage apparatus 6001 and is assigned to the host system. It has a provided logical volume 6004 representing the amount of storage area provided.

各ストレージ装置2200は、ストレージ管理テーブル2124内の1つの行によって表される。空き領域6002内のストレージ領域の量、空き論理ボリューム6003及び提供済み論理ボリューム6004は、論理ボリュームが作成され(空き領域が論理ボリュームに割り当てられる)、状態を変更し(図5 5003)、削除される(空き領域にされる)ときに変化する。   Each storage device 2200 is represented by one row in the storage management table 2124. The amount of storage area in the free area 6002, the free logical volume 6003, and the provided logical volume 6004 are deleted when a logical volume is created (free area is assigned to the logical volume), the state is changed (FIG. 5, 5003). It changes when it is made (free space).

図6の構成例に加えて、ストレージ管理テーブル2124は、様々なタイプのディスクデバイス2213(例えば、SATA、SSD)を管理することができる。   In addition to the configuration example of FIG. 6, the storage management table 2124 can manage various types of disk devices 2213 (eg, SATA, SSD).

ストレージ管理テーブル2124から、ID「VSP1」を有するストレージが30TBの空きストレージ領域と、2TBのフォーマット済み空きストレージ領域と、4TBのスタンバイ空きストレージ領域と、50TBの提供済みストレージ領域とを有することがわかる。   From the storage management table 2124, it can be seen that the storage having the ID “VSP1” has a free storage area of 30 TB, a formatted free storage area of 2 TB, a standby free storage area of 4 TB, and a provided storage area of 50 TB. .

<論理ボリューム提供処理>   <Logical volume provision processing>

図7は、例えば、オートスケール(スケールアウト)又はマイグレーション(新たな論理ボリュームへの元の論理ボリュームのコピー)の目的での、提供済み論理ボリュームのコピーである新たな論理ボリュームのプロビジョニング要求に応答する処理を説明するためのフローチャートである。要求は、入力デバイス2111を介して管理者から受信することができる。処理は、入力として、コピーされる提供済み論理ボリュームを受信する。処理は、条件に達したとき(例えば、オートスケール機能が用いられ、性能が所定の限界値未満になるとき)、自動化されたプロセスによって開始される。処理は、エンドユーザによりプロビジョニングサービスを通じて、又は管理者により管理計算機2100を通じて開始することもできる。   FIG. 7 is a response to a provisioning request for a new logical volume that is a copy of a provided logical volume, eg, for auto-scaling (scaling out) or migration (copying the original logical volume to a new logical volume) It is a flowchart for demonstrating the process to perform. The request can be received from the administrator via the input device 2111. The process receives as input the provided logical volume to be copied. Processing is initiated by an automated process when a condition is reached (eg, when the autoscale function is used and the performance falls below a predetermined limit). The process can also be initiated by the end user through a provisioning service or by an administrator through the management computer 2100.

7001において、論理ボリューム提供プログラム2125は、論理ボリューム関連付けテーブル2121(図3)を参照して、入力された提供済み論理ボリュームが3001における少なくとも1つの行に登場するか否かを判断する。登場することは、少なくとも1つのスタンバイ論理ボリュームが、入力された提供済み論理ボリュームに関連付けられていることを意味する。いずれのスタンバイ論理ボリュームも関連付けられていない場合(7001におけるNo)、処理は7003に進む。少なくとも1つのスタンバイ論理ボリュームが関連付けられているとき(7001におけるYes)、処理は7006に進む。   In 7001, the logical volume providing program 2125 refers to the logical volume association table 2121 (FIG. 3) and determines whether or not the input provided logical volume appears in at least one row in 3001. Appearing means that at least one standby logical volume is associated with the input provided logical volume. If no standby logical volume is associated (No in 7001), the process proceeds to 7003. When at least one standby logical volume is associated (Yes in 7001), the process proceeds to 7006.

7002において、論理ボリューム提供プログラム2125は、論理ボリューム関連付けテーブル2121(図3)を参照して、出力される論理ボリュームとして、入力された提供済み論理ボリュームに関連付けられたスタンバイ論理ボリュームから、最も適したスタンバイ論理ボリュームを選択する。最も適したスタンバイ論理ボリュームは、最も小さなデータ差分3004(図3)を有するスタンバイ論理ボリュームとして選択される。なぜなら、最も小さいデータ差分は、処理が7006に達したときの最も短い同期時間を示唆するためである。ディスクデバイス2213のタイプ(例えば、SATA、SSD)、例えば、計算機システム100の現在のボトルネックを回避するためのトポロジ、及び同じストレージ装置2200内の同じ提供済み論理ボリュームに関連付けられた他のスタンバイ論理ボリュームの存否等の他のパラメータを考慮に入れることができる。   In 7002, the logical volume providing program 2125 refers to the logical volume association table 2121 (FIG. 3), and selects the most suitable as the output logical volume from the standby logical volumes associated with the input provided logical volume. Select a standby logical volume. The most suitable standby logical volume is selected as the standby logical volume having the smallest data difference 3004 (FIG. 3). This is because the smallest data difference suggests the shortest synchronization time when the processing reaches 7006. The type of disk device 2213 (eg, SATA, SSD), for example, a topology to avoid the current bottleneck of the computer system 100, and other standby logic associated with the same provided logical volume in the same storage device 2200 Other parameters such as the presence or absence of a volume can be taken into account.

7003において、論理ボリューム提供プログラム2125は、ストレージ管理テーブル2124(図6)を参照して、入力された提供済み論理ボリュームのサイズを有する新たな論理ボリュームを提供することができるか否かを判断する。新たな論理ボリュームは、ストレージ装置2200のうちの1つからの空き容量6002(図6)、フォーマット済みの空き論理ボリューム6003(図6)又は双方の組合せにより、必要とされるサイズに到達することができる場合に提供することができる。システムが、空き領域6002よりもフォーマット済みのボリュームを優先的に選択するポリシーをセットする場合、システムは、新たなボリュームをフォーマットするための時間を節減することができる。新たな論理ボリュームを提供することができるとき(7003におけるYes)、処理は7005に進む。新たな論理ボリュームを提供することができないとき(7003におけるYes)、処理は7004に進む。   In 7003, the logical volume providing program 2125 refers to the storage management table 2124 (FIG. 6) to determine whether or not a new logical volume having the input provided logical volume size can be provided. . The new logical volume reaches the required size by the free capacity 6002 (FIG. 6) from one of the storage devices 2200, the formatted free logical volume 6003 (FIG. 6), or a combination of both. Can be provided if possible. If the system sets a policy to preferentially select a formatted volume over free space 6002, the system can save time for formatting a new volume. When a new logical volume can be provided (Yes in 7003), the process proceeds to 7005. When a new logical volume cannot be provided (Yes in 7003), the process proceeds to 7004.

7004において、論理ボリューム提供プログラム2125は、論理ボリューム関連付けテーブル2121(図3)を参照して、削除される、すなわち空き領域にされるか又はフォーマットされるのに最も適したスタンバイ論理ボリュームを選択する。上記で説明したように、スタンバイ論理ボリュームは、現在用いられているボリュームのスタンバイとなるように管理され、他方で、スタンバイ論理ボリューム自体はホストによって用いられない。したがって、空き領域が不足している場合、スタンバイボリュームを用いてホストからの新たなリソース要件を満たすことができる。最も適したスタンバイ論理ボリュームを選択する基準は、例えば、最も大きなデータ差分3004(図3)及び/又は重要フラグ3005(図3)を用いるものである。一部分又は全体の選択された論理ボリュームが提供されることを検討するとき、計算機システム100の論理ボリュームの容量、ディスク2213のタイプ(例えば、SATA、SSD)、トポロジ、及び現在のボトルネックも考慮に入れることができる。スタンバイ論理ボリュームは、選択されると、フォーマットされるか又は空き領域にされ、したがって、ストレージ管理テーブル2124(図6)内の容量値が変化する。次に、処理は7003に戻り、再び、空き領域又はフォーマット済み論理ボリュームが十分であるか否かが判断される。入力された提供済み論理ボリュームのサイズを有する新たな論理ボリュームを提供する十分な空き領域がなく、スタンバイ論理ボリュームがない、すなわち、論理ボリューム関連付けテーブルが行を有しないとき、例えば、管理計算機2100の出力2113を通じてシステム100の管理者に、「領域不十分」メッセージを有するエラーが投げられる。   At 7004, the logical volume providing program 2125 refers to the logical volume association table 2121 (FIG. 3) and selects the standby logical volume that is most suitable for being deleted, that is, being freed up or formatted. . As explained above, the standby logical volume is managed to be a standby of the currently used volume, while the standby logical volume itself is not used by the host. Therefore, when there is a shortage of free space, it is possible to satisfy new resource requirements from the host using the standby volume. The criterion for selecting the most suitable standby logical volume is, for example, using the largest data difference 3004 (FIG. 3) and / or the important flag 3005 (FIG. 3). When considering that some or all of the selected logical volume is provided, consider the capacity of the computer system 100 logical volume, the type of disk 2213 (eg, SATA, SSD), topology, and current bottleneck. Can be put. When the standby logical volume is selected, it is formatted or made free space, and thus the capacity value in the storage management table 2124 (FIG. 6) changes. Next, the process returns to 7003 to determine again whether the free area or the formatted logical volume is sufficient. When there is not enough free space to provide a new logical volume having the size of the input provided logical volume and there is no standby logical volume, that is, the logical volume association table has no rows, for example, the management computer 2100 An error with an “out of area” message is thrown to the administrator of system 100 through output 2113.

7005において、論理ボリューム提供プログラム2125はストレージ管理テーブル2124(図6)及び論理ボリューム管理テーブル2123(図5)を参照して、空き領域6002(図6)から新たな論理ボリュームを作成することによって、又は必要なサイズを有するフォーマット済み論理ボリューム6003(図6)を選択することによって、論理ボリュームを出力される論理ボリュームとしてとして選択する。必要なサイズを有する新たな論理ボリュームを作成するために、フォーマット済み論理ボリュームを削除する、すなわち空き領域にすることができる。出力される論理ボリュームが選択されると、入力された提供済み論理ボリューム全体が、出力される論理ボリュームにコピーされる。   In 7005, the logical volume providing program 2125 refers to the storage management table 2124 (FIG. 6) and the logical volume management table 2123 (FIG. 5) to create a new logical volume from the free area 6002 (FIG. 6). Alternatively, a logical volume is selected as an output logical volume by selecting a formatted logical volume 6003 (FIG. 6) having the required size. In order to create a new logical volume having the required size, the formatted logical volume can be deleted, that is, freed up. When the output logical volume is selected, the entire input provided logical volume is copied to the output logical volume.

7006において、論理ボリューム提供プログラム2125は、論理ボリューム関連付けテーブル2121(図3)及びデータ差分3004(図3)によってポインティングされている情報を参照して、入力された提供済み論理ボリュームから、選択されたスタンバイ論理ボリュームへデータ差分をコピーすることによって、入力された提供済み論理ボリュームと、7002において選択された出力されるスタンバイ論理ボリュームとの同期をとる。双方の論理ボリュームが既に同期しており、したがってコピーが必要とされない状況が起こり得る。ストレージシステムの現在の状態及びスタンバイ論理ボリュームの現在のデータ差分量3003に基づいて、同期が完全なコピーよりも時間がかかると判断される場合、同期の代わりに完全なコピーが行われる。   In 7006, the logical volume provision program 2125 is selected from the input provided logical volumes with reference to the information pointed by the logical volume association table 2121 (FIG. 3) and the data difference 3004 (FIG. 3). By copying the data difference to the standby logical volume, the input provided logical volume and the output standby logical volume selected in 7002 are synchronized. A situation can arise where both logical volumes are already synchronized and therefore no copy is required. If it is determined that the synchronization takes more time than the complete copy based on the current state of the storage system and the current data difference amount 3003 of the standby logical volume, the complete copy is performed instead of the synchronization.

7007において、論理ボリューム提供プログラム2125は、論理ボリューム関連付けテーブル2121(図3)から、7002において選択された出力されるスタンバイ論理ボリュームに対応する行を削除する。   In 7007, the logical volume providing program 2125 deletes the row corresponding to the output standby logical volume selected in 7002 from the logical volume association table 2121 (FIG. 3).

7008において、論理ボリューム提供プログラム2125は、論理ボリュームペアリングテーブル2122(図4)に、入力される提供済み論理ボリュームがプライマリ論理ボリュームになり、7002又は7005において出力される論理ボリュームとして選択された論理ボリュームがセカンダリ論理ボリュームとなる対関係を表す新たな行を追加する。   In 7008, the logical volume providing program 2125 stores the input provided logical volume in the logical volume pairing table 2122 (FIG. 4) as the primary logical volume, and is selected as the logical volume output in 7002 or 7005. Add a new line representing the pair relationship that makes the volume a secondary logical volume.

スケールアウトを実行するときの通常の状況は、双方の論理ボリュームの同期を保つことであり、マイグレーションを実行するときの通常の状況は、対関係の役割を変更し、次に、論理ボリューム内のデータが変更される前に、入力された論理ボリュームを削除することである。2つの論理ボリュームの同期が保たれない異常な状況では、ペアリング関係は解消される。   The normal situation when performing a scale-out is to keep both logical volumes in sync, and the normal situation when performing a migration is to change the role of the relationship and then in the logical volume The input logical volume is deleted before the data is changed. In an abnormal situation where the synchronization between the two logical volumes cannot be maintained, the pairing relationship is canceled.

入力された論理ボリュームが既に、論理ボリュームペアリングテーブル2122(図4)内のプライマリ論理ボリュームVとペアリングされたセカンダリ論理ボリュームである状況において、追加される新たな行は、論理ボリュームVがプライマリ論理ボリュームとなり、出力される論理ボリュームがセカンダリ論理ボリュームとなる対関係を表す。これはなぜなら、同じデータを有する1組のペアリングされた論理ボリュームが同じプライマリボリュームにペアリングされることを確実にし、したがってそれらのスタンバイ論理ボリュームの管理を容易にするために、提供済み論理ボリュームは同時にプライマリ且つセカンダリであることができないためである。   In a situation where the input logical volume is already a secondary logical volume paired with the primary logical volume V in the logical volume pairing table 2122 (FIG. 4), the new volume to be added is that the logical volume V is primary. It represents a logical volume, and represents a pair relationship in which the output logical volume is a secondary logical volume. This is because provided logical volumes to ensure that a pair of paired logical volumes with the same data are paired to the same primary volume and thus facilitate management of those standby logical volumes Because they cannot be primary and secondary at the same time.

7009において、論理ボリューム提供プログラム2125は、出力される論理ボリュームを新たなホスト計算機(又は入力された論理ボリュームを既に認識している同じホスト計算機)に以下のように提供する:(1)論理ボリューム管理テーブル2123(図5)において、出力される論理ボリュームの状態を提供済みに変更し、(2)ストレージ管理テーブル2124(図6)内のストレージ領域を更新し、(3)I/Oパスを構成し、新たなホストが論理ボリュームに到達することを確実にする(例えば、ポートを割り当て、許可を構成する)ために、対応するディスクコントローラ2211に、及びストレージ装置2200の他のリソースに、及び新たなホスト計算機200に要求を送信する。   In 7009, the logical volume providing program 2125 provides the output logical volume to a new host computer (or the same host computer that has already recognized the input logical volume) as follows: (1) Logical volume In the management table 2123 (FIG. 5), the status of the output logical volume is changed to provided, (2) the storage area in the storage management table 2124 (FIG. 6) is updated, and (3) the I / O path is changed. Configure and ensure that the new host reaches the logical volume (eg, assign ports and configure permissions) to the corresponding disk controller 2211 and other resources of the storage device 2200, and A request is transmitted to the new host computer 200.

ペアリング関係に応じた同期関数が、プライマリ論理ボリューム又はセカンダリ論理ボリュームが属するストレージ装置2200内のディスクコントローラ2211に要求される。同期関数は他のリソースにおいて構成されてもよい。   A synchronization function corresponding to the pairing relationship is requested from the disk controller 2211 in the storage apparatus 2200 to which the primary logical volume or secondary logical volume belongs. The synchronization function may be configured in other resources.

さらに、7003及び7004によって作成されるサブプロセスは、他の論理ボリュームのコピーでない論理ボリュームの提供を要求するときに用いられる。この場合、要求される領域量が空いているか否かがステップ7003において判断される。   Further, the subprocess created by 7003 and 7004 is used when requesting provision of a logical volume that is not a copy of another logical volume. In this case, it is determined in step 7003 whether or not the required area amount is free.

さらに、計算機システム100又は各ストレージ装置2200が、総ストレージ容量からの所定のパーセンテージのフォーマット済み論理ボリュームを保持しているとき、7003及び7004のサブプロセスが用いられる。この場合、所定のパーセンテージのフォーマット済み論理ボリュームが存在するか否かは7003において判断され、存在しない場合、7004が実行される。このプロセスにより、システムはフォーマットプロセスの待機を回避することができる。   Further, when the computer system 100 or each storage device 2200 holds a predetermined percentage of formatted logical volumes from the total storage capacity, 7003 and 7004 sub-processes are used. In this case, it is determined in 7003 whether or not a predetermined percentage of formatted logical volumes exist, and if not, 7004 is executed. This process allows the system to avoid waiting for the formatting process.

<論理ボリューム削除処理>   <Logical volume deletion processing>

図8は、例えば、オートスケール(リソースを低減)又はマイグレーション(コピー後に元の論理ボリュームを削除)の目的での、ペアリング関係を有する提供済み論理ボリュームの削除の要求に応答する処理を説明するためのフローチャートである。要求は、入力デバイス2111を介して管理者から受信することができる。処理は、入力として、削除される論理ボリュームを受信する。処理は、条件に達すると、自動化されたプロセスによって開始される(例えば、オートスケール)。処理は、エンドユーザによりプロビジョニングサービスを通じて、又は管理者により管理計算機を通じて開始することもできる。   FIG. 8 illustrates a process for responding to a request to delete a provided logical volume having a pairing relationship for the purpose of, for example, auto scaling (reducing resources) or migration (deleting the original logical volume after copying). It is a flowchart for. The request can be received from the administrator via the input device 2111. The process receives as input the logical volume to be deleted. Processing is initiated by an automated process (e.g., autoscale) when a condition is reached. The process can also be initiated by the end user through a provisioning service or by an administrator through a management computer.

8001において、論理ボリューム削除プログラム2126は、論理ボリュームペアリングテーブル2122(図4)を参照して、入力された論理ボリュームがスタンバイ論理ボリュームとなるのに適しているか否かを判断する。これはなぜなら、全ての削除された論理ボリュームがスタンバイになる場合、ストレージ装置2200は、空き領域及びフォーマット済み論理ボリュームが不足し、空き領域を取得するためにスタンバイ論理ボリュームの削除をトリガーする場合があるためである。結果として、将来に有用となる場合があるスタンバイ論理ボリュームが削除され、将来に用いることができない。これを回避するために、削除されることになるペアリングされた論理ボリュームのうち、有用であると予期されるもののみが保持される。   In 8001, the logical volume deletion program 2126 refers to the logical volume pairing table 2122 (FIG. 4) to determine whether or not the input logical volume is suitable for becoming a standby logical volume. This is because if all deleted logical volumes become standby, the storage apparatus 2200 may run out of free space and formatted logical volumes, and trigger the deletion of the standby logical volume to acquire free space. Because there is. As a result, standby logical volumes that may be useful in the future are deleted and cannot be used in the future. To avoid this, only the paired logical volumes that are to be deleted are expected to be useful.

ペアリングされた論理ボリュームは、対応する論理ボリューム読み書きレート4003(図4)が所定の閾値を超えている場合、スタンバイになるのに適している。レート値が高いほど、より多くの読出しI/O及びより少ない書込みI/Oが論理ボリュームを有し、論理ボリュームにおけるデータの変更が少なくなる。したがって、論理ボリュームは、スタンバイになるのにより適している。閾値は、各ストレージ装置2200について、又は全てのストレージ装置について、管理部によってあらかじめ規定することができる。論理ボリュームキャッシュから推測することができる論理ボリュームの最近のデータ変更レート、以前のスケールアウトオペレーション数、及び現在の空き領域量等の他のパラメータに基づいて適切性を判断することもできる。   A paired logical volume is suitable for becoming a standby when the corresponding logical volume read / write rate 4003 (FIG. 4) exceeds a predetermined threshold. The higher the rate value, the more read I / Os and fewer write I / Os have logical volumes and fewer data changes in the logical volumes. Therefore, the logical volume is more suitable for becoming a standby. The threshold value can be defined in advance by the management unit for each storage device 2200 or for all storage devices. Appropriateness can also be determined based on other parameters such as the recent data change rate of the logical volume that can be inferred from the logical volume cache, the number of previous scale-out operations, and the current amount of free space.

入力された論理ボリュームが適切であるとき(8001におけるYes)、処理は8002に進む。入力された論理ボリュームが適切でないとき(8001におけるNo)、処理は8003に進む。   When the input logical volume is appropriate (Yes in 8001), the process proceeds to 8002. When the input logical volume is not appropriate (No in 8001), the process proceeds to 8003.

8002において、論理ボリューム削除プログラム2126は、リソースを解放し、管理計算機のテーブルを以下のように更新する:(1)入力された論理ボリュームが提供されたホスト計算機、及びホスト計算機と論理ボリュームとの間の接続を可能にしたリソース(例えば、ストレージポート、スイッチ)を解放することの要求を送信し、(2)論理ボリューム管理テーブル2123(図5)において、入力された論理ボリュームの状態をスタンバイに変更し、(3)ストレージ管理テーブル2124(図6)を更新し、(4)入力された論理ボリュームが登場する論理ボリュームペアリングテーブル2122(図4)における行を除去し、(5)入力された論理ボリュームと提供済み論理ボリュームとの間で異なるものとなるデータを追跡する(異なるものとなるデータの経過は他の場所に格納することができる)ことの要求をディスクコントローラ2211に送信し、(6)入力された論理ボリューム3002と、入力された論理ボリュームとペアリング関係にあるプライマリ論理ボリュームであった提供済み論理ボリューム3001との間の関連付け、及びディスクコントローラが異なるものとなるデータの経過を格納するロケーションへのポインタ3004を有する新たな行を、論理ボリューム関連付けテーブル2121(図3)に作成する。   In 8002, the logical volume deletion program 2126 releases resources and updates the management computer table as follows: (1) The host computer to which the input logical volume is provided, and between the host computer and the logical volume A request to release resources (for example, storage ports and switches) that can be connected to each other is transmitted. (2) In the logical volume management table 2123 (FIG. 5), the state of the input logical volume is set to standby. Change, (3) update the storage management table 2124 (FIG. 6), (4) remove the row in the logical volume pairing table 2122 (FIG. 4) where the input logical volume appears, and (5) input Data that differs between the created logical volume and the provided logical volume. A request to trace (the progress of different data can be stored in another location) is sent to the disk controller 2211. (6) The input logical volume 3002 is paired with the input logical volume. A new row having an association with the provided logical volume 3001 that was the primary logical volume in the ring relationship and a pointer 3004 to a location for storing the progress of data for which the disk controller is different is associated with the logical volume. Created in the table 2121 (FIG. 3).

8003において、論理ボリューム削除プログラム2126は、ストレージ装置に、入力された論理ボリュームを削除する、すなわち空き領域にするか、又はフォーマットする、すなわちフォーマット済みにするように要求する。処理は、論理ボリューム管理テーブル2123(図5)及びストレージ管理テーブル2124(図6)を更新する。   In 8003, the logical volume deletion program 2126 requests the storage apparatus to delete the input logical volume, that is, make it a free area, or format it, that is, make it formatted. The processing updates the logical volume management table 2123 (FIG. 5) and the storage management table 2124 (FIG. 6).

<差分更新処理>   <Difference update process>

図9は、スタンバイ論理ボリュームと提供済み論理ボリュームとの間の関連付けを最新に保つ処理を説明するためのフローチャートである。処理は、短い時間間隔においてバックグラウンドで実行される。処理は、データ変更イベントが受信されるときにも実行することができる。処理は、単一のプロセスによって、又はストレージ装置2200ごと若しくは管理計算機2100ごとに独立した複数のプロセスによって行うことができる。   FIG. 9 is a flowchart for explaining processing for keeping the association between the standby logical volume and the provided logical volume up-to-date. Processing is performed in the background at short time intervals. Processing can also be performed when a data change event is received. The processing can be performed by a single process or by a plurality of independent processes for each storage device 2200 or each management computer 2100.

9001において、差分更新プログラム2127は、論理ボリューム関連付けテーブル2121(図3)を参照して、全てのスタンバイ論理ボリュームを検索する。例えば、処理がストレージ装置2200ごとに行われる場合、そのストレージ装置2200のスタンバイ論理ボリュームが検索される。   In 9001, the differential update program 2127 searches all standby logical volumes with reference to the logical volume association table 2121 (FIG. 3). For example, when processing is performed for each storage device 2200, the standby logical volume of the storage device 2200 is searched.

9002において、差分更新プログラム2127は、9001において検索されるスタンバイ論理ボリュームの各々を反復する。以後、反復ごとに選択されるスタンバイ論理ボリュームを反復論理ボリュームと呼ぶ。   In 9002, the differential update program 2127 repeats each of the standby logical volumes searched in 9001. Hereinafter, the standby logical volume selected for each iteration is referred to as a repeated logical volume.

9003において、差分更新プログラム2127は、論理ボリューム関連付けテーブル2121(図3)を参照して、9002における反復論理ボリュームに関連付けられた論理ボリュームを検索し、論理ボリューム管理テーブル2123(図5)を参照して、検索された関連付けられた論理ボリュームが提供済みであるか否かを判断する。関連付けられた論理ボリュームが提供済みであるとき(9003におけるYes)、処理は9005に進む。関連付けられた論理ボリュームが提供済みでないとき(9003におけるNo)、すなわち、フォーマット済みであるか、スタンバイ状態にあるか、論理ボリューム管理テーブル2123に登場しない場合、処理は9004に進む。論理ボリューム管理テーブル2123(図5)を参照することによって、関連付けられた論理ボリューム及び反復論理ボリュームの容量を比較することができる。例えば、ボリュームスケールアップ又はスケールダウンによって、容量が異なるものとなる場合の選択肢は、処理が9004に進み、反復論理ボリュームが削除されることである。代替形態は、反復論理ボリュームを、容量に合致するようにサイズ変更し、次に処理が9005に進み、データ差分を更新することである。   In 9003, the differential update program 2127 refers to the logical volume association table 2121 (FIG. 3), searches for the logical volume associated with the repetitive logical volume in 9002, and refers to the logical volume management table 2123 (FIG. 5). Then, it is determined whether or not the retrieved associated logical volume has been provided. When the associated logical volume has been provided (Yes in 9003), the process proceeds to 9005. If the associated logical volume has not been provided (No in 9003), that is, if it has been formatted, is in a standby state, or does not appear in the logical volume management table 2123, the process proceeds to 9004. By referring to the logical volume management table 2123 (FIG. 5), the capacities of the associated logical volume and repetitive logical volume can be compared. For example, an option when the capacity becomes different due to volume scale-up or scale-down is that the process proceeds to 9004 and the repetitive logical volume is deleted. An alternative is to resize the iterative logical volume to match the capacity and then proceed to 9005 to update the data difference.

9004において、差分更新プログラム2127は、9002において、ストレージ装置に、反復論理ボリュームを削除する、すなわち、空き領域にするか、又はフォーマットする、すなわち、フォーマット済みにするように命令する。処理は、論理ボリューム管理テーブル2123(図5)及びストレージ管理テーブル2124(図6)を更新する。   In 9004, the differential update program 2127 instructs the storage apparatus to delete, that is, make a repetitive logical volume, that is, a free area, or format, that is, to have formatted, in 9002. The processing updates the logical volume management table 2123 (FIG. 5) and the storage management table 2124 (FIG. 6).

9005において、差分更新プログラム2127は、論理ボリューム関連付けテーブル2121(図3)を参照して、反復論理ボリュームと、その関連付けられた論理ボリュームとの間のデータ差分へのポインタ3004を検索し、現在のデータ差分量を計算し、論理ボリューム関連付けテーブル2121内の対応するデータ差分量3003を更新する。   In 9005, the differential update program 2127 refers to the logical volume association table 2121 (FIG. 3), searches for the pointer 3004 to the data difference between the repeated logical volume and the associated logical volume, The data difference amount is calculated, and the corresponding data difference amount 3003 in the logical volume association table 2121 is updated.

9006において、差分更新プログラム2127は、論理ボリューム関連付けテーブル2121(図3)を参照して、9002において、反復された論理ボリュームが同期をとられる必要があるか否かを判断する。この実施形態において、論理ボリュームは、その重要フラグ3005が「YES」であり、且つデータ差分量3003がデータ差分閾値3006に達するか又はこのデータ差分閾値を超えたときに、同期をとられる必要がある。あるいは、全ての論理ボリュームを、それらの重要性を管理することなく同期化されるプロセスの対象にすることが可能である。論理ボリュームが同期をとられる必要があるとき(9006におけるYes)、処理は9007に進む。論理ボリュームが同期をとられる必要がないとき(9006におけるNo)、処理は9002において、次のスタンバイ論理ボリュームをチェックすることの反復を継続する。   In 9006, the differential update program 2127 refers to the logical volume association table 2121 (FIG. 3) and determines in 9002 whether the repeated logical volume needs to be synchronized. In this embodiment, the logical volume needs to be synchronized when its importance flag 3005 is “YES” and the data difference amount 3003 reaches or exceeds the data difference threshold 3006. is there. Alternatively, all logical volumes can be the subject of a synchronized process without managing their importance. When the logical volume needs to be synchronized (Yes in 9006), the process proceeds to 9007. When the logical volume does not need to be synchronized (No at 9006), the process continues at 9002 to check the next standby logical volume.

9007において、差分更新プログラム2127は、少なくともデータ差分閾値3006を超えて同期をとるために、論理ボリューム関連付けテーブル2121(図3)内の、3004においてデータ差分値によってポインティングされた情報を参照する。1つの例として、反復論理ボリュームがその関連付けられた論理ボリュームとどの程度同期するかは、計算機システム100の作業負荷に依拠する。これは、作業負荷が所定の値よりも高い場合、論理ボリュームが部分的にしか同期しないことを意味する。そして、作業負荷が所定の値よりも低い場合、論理ボリュームは完全に同期する。これは、論理ボリュームが、頻繁に変化する1組のファイルと、時々しか変化しない1組のファイルとを有する場合があることに起因する。このとき、頻繁に変化するファイルのサイズがデータ差分閾値未満であるとき、時々変化するファイルの同期しかとらないことが好都合である。頻繁に変化するファイルを毎回コピーするのは効率的でない場合がある。ステップ9006及び9007は、システムにとって重要ではないが、これらのステップにより、データ差分量3003がデータ差分閾値3006以下に保たれる。したがって、スタンバイ論理ボリュームからホストに対しボリュームを準備するための時間を、所望の時間量未満に保つことができる。   In 9007, the difference update program 2127 refers to the information pointed to by the data difference value in 3004 in the logical volume association table 2121 (FIG. 3) in order to synchronize at least exceeding the data difference threshold 3006. As one example, how much an iterative logical volume is synchronized with its associated logical volume depends on the workload of the computer system 100. This means that if the workload is higher than a predetermined value, the logical volume is only partially synchronized. When the workload is lower than a predetermined value, the logical volumes are completely synchronized. This is due to the fact that a logical volume may have a set of files that change frequently and a set of files that change only occasionally. At this time, when the size of the frequently changing file is less than the data difference threshold value, it is convenient to synchronize the changing file. It may not be efficient to copy files that change frequently each time. Steps 9006 and 9007 are not important to the system, but these steps keep the data difference amount 3003 below the data difference threshold 3006. Therefore, the time for preparing the volume from the standby logical volume to the host can be kept below a desired amount of time.

上記で記載したように、実施形態によれば、管理計算機2100は、論理ボリューム全体をコピーする多くの将来のタスクを回避するために、論理ボリューム全体を別の論理ボリュームにコピーする、大量の時間及びリソースを消費するタスクである実行されたタスクを利用する。実施形態は、管理者にトランスペアレントな管理処理として実施することができる。   As described above, according to the embodiment, the management computer 2100 requires a large amount of time to copy the entire logical volume to another logical volume to avoid many future tasks of copying the entire logical volume. And an executed task, which is a task that consumes resources. Embodiments can be implemented as a management process that is transparent to the administrator.

したがって、スケールアウト及びマイグレーション等の管理オペレーションが実行されることを可能にして、論理ボリュームの完全なコピーを回避することによって、(1)リソースが効率的に用いられ、(2)ダウンタイム及び性能不良が生じる前に、短時間で、予期されない問題をクリアし、需要を満たすことができる。   Thus, by allowing management operations such as scale-out and migration to be performed and avoiding a complete copy of the logical volume, (1) resources are used efficiently and (2) downtime and performance Before a failure occurs, you can clear unexpected problems and meet demand in a short time.

上記で一実施形態が記載されたが、本発明は、上記で記載した実施形態に限定されるものではなく、本発明の範囲及び趣旨から逸脱することなく様々な形で変更することができることを理解するべきである。   Although one embodiment has been described above, the present invention is not limited to the embodiment described above, and can be modified in various forms without departing from the scope and spirit of the present invention. Should be understood.

100 計算機システム
2000 ホスト計算機
2100 管理計算機
2200 ストレージ装置
2212 論理ボリューム
100 Computer system 2000 Host computer 2100 Management computer 2200 Storage device 2212 Logical volume

Claims (13)

ストレージシステムと前記ストレージシステムのホストシステムとに接続されたインターフェースユニットと、
前記インターフェースユニットに接続され、複数の論理ボリュームを管理するプロセッサユニットと、
を備え、
前記複数の論理ボリュームは、前記ホストシステムに提供された第1の論理ボリュームと、第2の論理ボリュームとを含み、
前記プロセッサは、前記情報に基づいて、
前記第2の論理ボリュームを、前記第1の論理ボリュームの複製ボリュームとし、且つ、前記ホストシステムに提供されている論理ボリュームである第1の状態のボリュームとして管理し、
前記第2の論理ボリュームを、前記第1の論理ボリュームに関連付けられた第2の状態のボリュームに変更し、前記第2の状態のボリュームは、前記ホストシステムに提供された論理ボリュームではなく、前記ホストシステムによる将来の使用のためにスタンバイ状態にあり、
前記第1の論理ボリュームにデータが新たに格納される場合、前記第2の状態のボリュームである前記第2の論理ボリュームに格納されているデータと、前記第2の論理ボリュームに関連付けられた前記第1の論理ボリュームに格納されたデータとの間のデータ差分を管理する、
管理システム。
An interface unit connected to the storage system and a host system of the storage system;
A processor unit connected to the interface unit for managing a plurality of logical volumes;
With
The plurality of logical volumes include a first logical volume and a second logical volume provided to the host system,
Based on the information, the processor
Managing the second logical volume as a replica volume of the first logical volume and as a volume in a first state that is a logical volume provided to the host system;
The second logical volume is changed to a second state volume associated with the first logical volume, and the second state volume is not a logical volume provided to the host system, In standby for future use by the host system,
When data is newly stored in the first logical volume, the data stored in the second logical volume, which is the volume in the second state, and the data associated with the second logical volume Managing the data difference with the data stored in the first logical volume,
Management system.
管理されている第2の状態のボリュームが、前記第1の論理ボリュームに関連付けられた前記第2の論理ボリュームを含む場合、前記プロセッサユニットは、前記第1の論理ボリュームを複製することの要求に応答して、前記第2の論理ボリュームを前記ホストシステムに提供する、
請求項1に記載の管理システム。
If the managed second-state volume includes the second logical volume associated with the first logical volume, the processor unit responds to a request to replicate the first logical volume. In response, providing the second logical volume to the host system;
The management system according to claim 1.
前記管理されている第2の状態のボリュームが、前記第1の論理ボリュームに関連付けられた前記第2の論理ボリュームを含まない場合、前記プロセッサユニットは、第3の状態のボリュームを前記ホストシステムに提供し、
前記第3の状態のボリュームは、前記ホストシステムに提供された論理ボリュームでなく、フォーマットされた論理ボリュームである、
請求項2に記載の管理システム。
If the managed second-state volume does not include the second logical volume associated with the first logical volume, the processor unit sends the third-state volume to the host system. Offer to,
The volume in the third state is not a logical volume provided to the host system, but a formatted logical volume.
The management system according to claim 2.
前記データ差分が存在する場合、前記プロセッサユニットは、前記第2の論理ボリュームを前記ホストシステムに提供する前に、前記データ差分を前記第1の論理ボリュームに関連付けられた前記第2の論理ボリュームに格納する、
請求項2に記載の管理システム。
If the data difference exists, the processor unit sends the data difference to the second logical volume associated with the first logical volume before providing the second logical volume to the host system. Store,
The management system according to claim 2.
前記第1の論理ボリュームに関連付けられた2以上の第2の状態のボリュームが存在する場合、前記第2の論理ボリュームは、前記2以上の第2の論理ボリュームのうちの、データ差分が最も小さい前記第2の状態のボリュームである、
請求項2に記載の管理システム。
When there are two or more second-state volumes associated with the first logical volume, the second logical volume has the smallest data difference among the two or more second logical volumes. The volume in the second state,
The management system according to claim 2.
前記第1の論理ボリュームが前記第2の論理ボリュームに関連付けられていないとき、前記プロセッサユニットは、前記第2の論理ボリュームを第3の状態の論理ボリュームに変更し、
前記第3の状態のボリュームは、前記ホストシステムに提供された論理ボリュームでなく、フォーマット済みの論理ボリュームである、
請求項1に記載の管理システム。
When the first logical volume is not associated with the second logical volume, the processor unit changes the second logical volume to a logical volume in a third state;
The volume in the third state is not a logical volume provided to the host system, but a formatted logical volume.
The management system according to claim 1.
前記データ差分の量が閾値を超えている場合、前記プロセッサは、前記第2の状態のボリュームであ、前記第1の論理ボリュームに関連付けられた前記第2の論理ボリュームに、前記データ差分を完全に又は部分的に格納する、
請求項1に記載の管理システム。
If the amount of the data difference exceeds a threshold, the processor completes the data difference to the second logical volume associated with the first logical volume that is the volume in the second state. Store in or partially,
The management system according to claim 1.
前記プロセッサユニットは、前記第2の論理ボリュームに関連付けられた前記第1の論理ボリュームをマイグレーションすることの要求に応答して、前記第2の論理ボリュームを前記ホストシステムに提供する、
請求項2に記載の管理システム。
The processor unit provides the second logical volume to the host system in response to a request to migrate the first logical volume associated with the second logical volume;
The management system according to claim 2.
前記プロセッサユニットは、前記複製ボリュームを削除することに応答して、前記第2の論理ボリュームを前記第2の状態のボリュームに変更する、
請求項1に記載の管理システム。
The processor unit changes the second logical volume to the volume in the second state in response to deleting the duplicate volume.
The management system according to claim 1.
前記プロセッサユニットは、前記第1の論理ボリュームのI/O間の読出しI/Oレートが所定の閾値を超えている場合、前記第2の論理ボリュームを前記第2の状態のボリュームとして管理することを決定するように構成される、
請求項1に記載の管理システム。
The processor unit manages the second logical volume as a volume in the second state when a read I / O rate between I / Os of the first logical volume exceeds a predetermined threshold. Configured to determine the
The management system according to claim 1.
前記第1の論理ボリュームの前記I/O間の前記読出しI/Oレートが所定の閾値以下である場合、前記プロセッサユニットは、前記第2の論理ボリュームを第3の状態のボリュームとして管理することを決定し、
前記第3の状態のボリュームは、前記ホストシステムに提供された論理ボリュームでなく、フォーマット済みの論理ボリュームである、
請求項10に記載の管理システム。
When the read I / O rate between the I / Os of the first logical volume is equal to or less than a predetermined threshold, the processor unit manages the second logical volume as a third state volume. Decide
The volume in the third state is not a logical volume provided to the host system, but a formatted logical volume.
The management system according to claim 10.
ホストシステムに接続されたストレージシステムであって、
複数の論理ボリュームに含まれる論理ボリュームの基になる複数のストレージデバイスと、
前記複数のストレージデバイス及び前記ホストシステムに接続されたコントローラユニットと、
を備え、
前記複数の論理ボリュームは、前記ホストシステムに提供された第1の論理ボリュームと、第2の論理ボリュームとを含み、
前記コントローラユニットは、
前記第2の論理ボリュームを、前記第1の論理ボリュームの複製ボリュームとなるように制御して、前記第2の論理ボリュームを前記ホストシステムに提供し、
前記第2の論理ボリュームを、前記第1の論理ボリュームの複製ボリュームとなるように制御することと、前記第2の論理ボリュームを前記ホストシステムに提供することとを中止し、
前記第2の論理ボリュームが前記ホストシステムによる将来の使用のためにスタンバイ状態にあるように、前記第2の論理ボリュームを前記第1の論理ボリュームに関連付け、
前記ホストシステムによって前記第1の論理ボリュームにデータが新たに格納される場合、前記第2の状態のボリュームである前記第2の論理ボリュームに格納されているデータと、前記第2の論理ボリュームに関連付けられた前記第1の論理ボリュームに格納されたデータとの間のデータ差分を管理する、
ように構成される、
ストレージシステム。
A storage system connected to the host system,
Multiple storage devices that are the basis of logical volumes contained in multiple logical volumes;
A controller unit connected to the plurality of storage devices and the host system;
With
The plurality of logical volumes include a first logical volume and a second logical volume provided to the host system,
The controller unit is
Controlling the second logical volume to be a replica volume of the first logical volume, and providing the second logical volume to the host system;
Stopping controlling the second logical volume to be a replica volume of the first logical volume and providing the second logical volume to the host system;
Associating the second logical volume with the first logical volume such that the second logical volume is in a standby state for future use by the host system;
When data is newly stored in the first logical volume by the host system, the data stored in the second logical volume, which is the second state volume, and the second logical volume are stored in the second logical volume. Managing the data difference between the data stored in the associated first logical volume;
Configured as
Storage system.
ホストシステムに接続されたストレージシステム内の、前記ホストシステムに提供された第1の論理ボリュームと、第2の論理ボリュームとを含む複数の論理ボリュームを、管理する方法であって、
前記第2の論理ボリュームを、前記第1の論理ボリュームの複製ボリュームとし、且つ、前記ホストシステムに提供されている論理ボリュームである第1の状態のボリュームとして管理し、
前記第2の論理ボリュームを、前記第1の論理ボリュームに関連付けられた第2の状態のボリュームに変更し、前記第2の状態のボリュームは、前記ホストシステムに提供された論理ボリュームではなく、前記ホストシステムによる将来の使用のためにスタンバイ状態にあり、
前記第1の論理ボリュームにデータが新たに格納される場合、前記第2の状態のボリュームである前記第2の論理ボリュームに格納されているデータと、前記第2の論理ボリュームに関連付けられた前記第1の論理ボリュームに格納されたデータとの間のデータ差分を管理する、
方法。
A method for managing a plurality of logical volumes including a first logical volume and a second logical volume provided to the host system in a storage system connected to the host system,
Managing the second logical volume as a replica volume of the first logical volume and as a volume in a first state that is a logical volume provided to the host system;
The second logical volume is changed to a second state volume associated with the first logical volume, and the second state volume is not a logical volume provided to the host system, In standby for future use by the host system,
When data is newly stored in the first logical volume, the data stored in the second logical volume, which is the volume in the second state, and the data associated with the second logical volume Managing the data difference with the data stored in the first logical volume,
Method.
JP2016520693A 2014-02-18 2014-02-18 System and method for managing logical volumes Active JP6227771B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/000829 WO2015125171A1 (en) 2014-02-18 2014-02-18 System and method for managing logical volumes

Publications (2)

Publication Number Publication Date
JP2016532927A true JP2016532927A (en) 2016-10-20
JP6227771B2 JP6227771B2 (en) 2017-11-08

Family

ID=50280450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016520693A Active JP6227771B2 (en) 2014-02-18 2014-02-18 System and method for managing logical volumes

Country Status (3)

Country Link
US (1) US20160054946A1 (en)
JP (1) JP6227771B2 (en)
WO (1) WO2015125171A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058120B2 (en) * 2011-11-09 2015-06-16 International Business Machines Corporation Setting optimal space allocation policy for creating dependent snapshots to enhance application write performance and reduce resource usage
US9996267B2 (en) 2015-08-11 2018-06-12 International Business Machines Corporation Adjustment of volume synchronization
US10762021B2 (en) * 2016-07-11 2020-09-01 Hitachi, Ltd. Information processing system, and control method of information processing system
US11150998B2 (en) * 2018-06-29 2021-10-19 EMC IP Holding Company LLC Redefining backup SLOs for effective restore

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003114768A (en) * 2001-10-09 2003-04-18 Hitachi Ltd Method of controlling external memory
JP2007199922A (en) * 2006-01-25 2007-08-09 Hitachi Ltd Storage system and its data restoration method
JP2008112291A (en) * 2006-10-30 2008-05-15 Hitachi Ltd Storage control device and data migration method for storage control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728832B2 (en) * 1990-02-26 2004-04-27 Hitachi, Ltd. Distribution of I/O requests across multiple disk units
US7529897B1 (en) * 2003-12-31 2009-05-05 Vmware, Inc. Generating and using checkpoints in a virtual computer system
JP2008171032A (en) * 2007-01-05 2008-07-24 Hitachi Ltd Storage device and storage control method using the same
JP5368285B2 (en) 2009-12-11 2013-12-18 株式会社日立製作所 Computer system, computer resource management method and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003114768A (en) * 2001-10-09 2003-04-18 Hitachi Ltd Method of controlling external memory
JP2007199922A (en) * 2006-01-25 2007-08-09 Hitachi Ltd Storage system and its data restoration method
JP2008112291A (en) * 2006-10-30 2008-05-15 Hitachi Ltd Storage control device and data migration method for storage control device

Also Published As

Publication number Publication date
US20160054946A1 (en) 2016-02-25
WO2015125171A1 (en) 2015-08-27
JP6227771B2 (en) 2017-11-08

Similar Documents

Publication Publication Date Title
US10956289B2 (en) Switching over from using a first primary storage to using a second primary storage when the first primary storage is in a mirror relationship
US7558916B2 (en) Storage system, data processing method and storage apparatus
US8448167B2 (en) Storage system, and remote copy control method therefor
US20060047926A1 (en) Managing multiple snapshot copies of data
US20110082988A1 (en) Data migration control method for storage device
US10915406B2 (en) Storage unit replacement using point-in-time snap copy
US10162563B2 (en) Asynchronous local and remote generation of consistent point-in-time snap copies
US7996611B2 (en) Backup data management system and backup data management method
US8954706B2 (en) Storage apparatus, computer system, and control method for storage apparatus
JP2009048514A (en) Storage system and method carrying out backup of virtual volume
JP2010092259A (en) Failure management system in storage capacity virtualization technology
US20120260051A1 (en) Computer system, management system and data management method
US9395936B2 (en) Method and apparatus for remote storage performance data copy
WO2014174570A1 (en) Storage management computer, storage management method, and storage system
JPWO2015162684A1 (en) Storage system data migration method
JP6227771B2 (en) System and method for managing logical volumes
US10698627B2 (en) Storage system and storage control method
US20190065064A1 (en) Computer system and method for controlling storage apparatus
US11301329B2 (en) Point-in-time copy on a remote system
WO2015145680A1 (en) Management computer and computer system
US11196806B2 (en) Method and apparatus for replicating data between storage systems
JP5947974B2 (en) Information processing apparatus, information processing apparatus exchange support system, and exchange support method
JP2015207277A (en) Storage system data migration method
WO2015020636A1 (en) Method and apparatus of storage system which stores information for relationship between logical volumes and operations

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170606

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: 20170919

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171011

R150 Certificate of patent or registration of utility model

Ref document number: 6227771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150