JP2016224864A - Storage system migration method and program - Google Patents

Storage system migration method and program Download PDF

Info

Publication number
JP2016224864A
JP2016224864A JP2015113286A JP2015113286A JP2016224864A JP 2016224864 A JP2016224864 A JP 2016224864A JP 2015113286 A JP2015113286 A JP 2015113286A JP 2015113286 A JP2015113286 A JP 2015113286A JP 2016224864 A JP2016224864 A JP 2016224864A
Authority
JP
Japan
Prior art keywords
storage device
storage
replication
data
destination
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
JP2015113286A
Other languages
Japanese (ja)
Other versions
JP6637258B2 (en
Inventor
松本 慎也
Shinya Matsumoto
慎也 松本
隆喜 中村
Takayoshi Nakamura
隆喜 中村
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.)
Tohoku University NUC
Hitachi Ltd
Original Assignee
Tohoku University NUC
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 Tohoku University NUC, Hitachi Ltd filed Critical Tohoku University NUC
Priority to JP2015113286A priority Critical patent/JP6637258B2/en
Publication of JP2016224864A publication Critical patent/JP2016224864A/en
Application granted granted Critical
Publication of JP6637258B2 publication Critical patent/JP6637258B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To ensure the safe migration of data in a storage system.SOLUTION: A method of migrating a storage system having an administration server and storing original data and duplicated data of the original data in different storage devices, respectively, comprises: calculating, by the administration server, an idle capacity of each storage device of the storage system; identifying, by the administration server, the storage device the idle capacity of which is equal to or larger than a capacity of the duplicated data as a candidate; identifying, by the administration server, a combination of the storage device identified as the candidate and a storage device storing the original data; calculating, by the administration server, a sum of values of data protection weights of the identified combination; and registering, by the administration server, the identified combination as a relay duplication destination when the calculated sum exceeds a predetermined value.SELECTED DRAWING: Figure 6

Description

本発明は、ストレージシステムの移行方法およびプログラムに関するものである。   The present invention relates to a storage system migration method and program.

ストレージシステムのデータ保護に関して、特許文献1には、地理的に分散したサイトに設置されたストレージ装置について、津波のような災害に対するデータ喪失リスクを定量評価し、リスクの低いサイトを見出すことで、災害に対して安全なサイトにデータを選択的に複製する技術が開示されている。   Regarding data protection of storage systems, Patent Document 1 discloses a quantitative assessment of data loss risk against disasters such as tsunamis for storage devices installed at geographically dispersed sites, and finds low-risk sites. A technique for selectively replicating data to a disaster-safe site is disclosed.

米国公開特許2013/0290623号公報US Published Patent 2013/0290623

特許文献1に開示された技術を用いれば、データの複製先として安全なサイトを特定できる。一方、ストレージシステムは運用が開始された後に、より安全なサイトを見出せる場合、例えば、安全なサイトが追加して設置された場合や、安全なサイトのストレージ容量が拡張された場合などがあり、そのサイトに複製データを移行することが望ましい。   If the technique disclosed in Patent Document 1 is used, a safe site can be specified as a data replication destination. On the other hand, the storage system can find a safer site after the operation is started, for example, when a safe site is additionally installed, or when the storage capacity of the safe site is expanded, It is desirable to migrate replicated data to that site.

これに対し、移行の途中で災害が発生する可能性もあり、特許文献1には複製データの安全な移行に関する技術は開示されていない。   On the other hand, there is a possibility that a disaster may occur in the middle of the migration, and Patent Document 1 does not disclose a technology relating to the secure migration of replicated data.

そこで、本発明の目的は、ストレージシステムのデータを安全に移行することにある。   Therefore, an object of the present invention is to safely migrate storage system data.

上記課題を解決するため、本発明の代表的なストレージシステムの移行方法は、管理サーバを有し、異なるストレージ装置に元データと前記元データの複製データを格納させる、ストレージシステムの移行方法において、前記管理サーバが、前記ストレージシステムのストレージ装置の空き容量を算出し、前記算出した空き容量が前記複製データの容量以上のストレージ装置を候補として特定し、前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせを特定し、前記特定された組み合わせのデータ保護重みの値の総和を算出し、前記算出した総和が所定の値を超える場合、前記特定された組み合わせを、中継複製先として、登録することを特徴とする。   In order to solve the above-described problem, a storage system migration method according to the present invention includes a management server, and stores the original data and the duplicate data of the original data in different storage apparatuses. The management server calculates a free capacity of a storage device of the storage system, specifies a storage device having the calculated free capacity equal to or larger than the capacity of the replicated data as a candidate, and the storage device specified as the candidate; A combination with the storage device in which the original data is stored is identified, a sum of the data protection weight values of the identified combination is calculated, and if the calculated sum exceeds a predetermined value, the identified combination is It is registered as a relay duplication destination.

本発明によれば、ストレージシステムのデータを安全に移行できる。   According to the present invention, data in a storage system can be safely migrated.

ストレージシステムの構成の例を示す図である。It is a figure which shows the example of a structure of a storage system. ストレージ構成管理テーブルの例を示す図である。It is a figure which shows the example of a storage structure management table. データ保護重み管理テーブルの例を示す図である。It is a figure which shows the example of a data protection weight management table. 複製構成管理テーブルの例を示す図である。It is a figure which shows the example of a replication structure management table. 複製先決定プログラムの例を示すフローチャートである。It is a flowchart which shows the example of a replication destination determination program. 複製計画プログラムの例を示すフローチャートである。It is a flowchart which shows the example of a duplication plan program. 実施例2における複製構成管理テーブルの例を示す図である。10 is a diagram illustrating an example of a replication configuration management table in Embodiment 2. FIG. 実施例2における容量調整・複製計画プログラムの例を示すフローチャートである。12 is a flowchart illustrating an example of a capacity adjustment / duplication plan program according to the second embodiment.

以下、図面を参照しながら本発明の実施の形態を説明する。なお、以下の説明では、「管理テーブル」等の表現にて各種情報を説明することがあるが、各種情報は、テーブル以外のデータ構造で表現されていてもよい。また、データ構造に依存しないことを示すために「管理テーブル」を「管理情報」と呼ぶことができる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, various types of information may be described using an expression such as “management table”, but the various types of information may be expressed using a data structure other than a table. Further, the “management table” can be referred to as “management information” to indicate that it does not depend on the data structure.

また、「プログラム」を主語として処理を説明する場合がある。そのプログラムは、プロセッサ、例えば、MP(Micro Processor)やCPU(Central Processing Unit)によって実行されるものであって、定められた処理をするものである。なお、処理は、適宜に記憶資源(例えばメモリ)および通信インターフェース装置(例えば、通信ポート)を用いながら行われるため、処理の主語がプロセッサとされてもよい。   Further, the process may be described with “program” as the subject. The program is executed by a processor, for example, an MP (Micro Processor) or a CPU (Central Processing Unit), and performs a predetermined process. Since processing is performed using storage resources (for example, a memory) and a communication interface device (for example, a communication port) as appropriate, the subject of the processing may be a processor.

プロセッサは、MPやCPUの他に専用ハードウェアを有していてもよい。コンピュータプログラムは、プログラムソースから各コンピュータにインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバ又は記憶メディアなどで提供されるものであってもよい。   The processor may have dedicated hardware in addition to the MP and CPU. The computer program may be installed on each computer from a program source. The program source may be provided by, for example, a program distribution server or a storage medium.

また、各要素、例えばテーブルなどは番号などで識別可能であるが、識別可能な情報であれば、番号以外に名前など他種の識別情報が用いられてもよい。以下の説明および図において同一部分には同一符号を付与しているが、本発明が本実施例に制限されることは無く、本発明の思想に合致するあらゆる応用例が本発明の技術的範囲に含まれる。また、特に限定しない限り、各構成要素は複数でも単数でも構わない。   Each element such as a table can be identified by a number or the like, but other types of identification information such as a name may be used in addition to the number as long as the information can be identified. In the following description and drawings, the same reference numerals are given to the same parts, but the present invention is not limited to the present embodiment, and any application examples that meet the idea of the present invention are within the technical scope of the present invention. include. Further, unless specifically limited, each component may be plural or singular.

<中継複製先の生成>
以下、本発明を実施するための実施例1について図1から図6を参照して説明する。実施例1では、互いに複製(レプリカ)データを既に格納し合っている3台のストレージからなるストレージシステムに、新たに1台のストレージが加えられて、4台のストレージの複製先が見直され、移行される。
<Generate relay duplication destination>
A first embodiment for carrying out the present invention will be described below with reference to FIGS. In the first embodiment, one storage is newly added to a storage system composed of three storages that have already stored replica (replica) data, and the duplication destinations of the four storages are reviewed. To be migrated.

図1は、ストレージシステム100の構成の例を示すブロック図である。ストレージシステム100は、3台以上のストレージ101a〜101n(以下、任意の1台を代表してストレージ101とする)と管理サーバ102で構成する。管理サーバ102は、CPU106と、メモリ107と、管理ネットワーク105に接続するためのインターフェース108(以下、運用I/F108とする)と、管理コンソール103に接続するためのインターフェース109(以下、コンソールI/F109とする)とから構成される。   FIG. 1 is a block diagram illustrating an example of the configuration of the storage system 100. The storage system 100 includes three or more storages 101a to 101n (hereinafter, an arbitrary one is represented as the storage 101) and a management server 102. The management server 102 includes a CPU 106, a memory 107, an interface 108 (hereinafter referred to as an operation I / F 108) for connecting to the management network 105, and an interface 109 (hereinafter referred to as console I / F) for connecting to the management console 103. F109).

メモリ107には、ストレージ構成管理テーブル110と、データ保護重み管理テーブル111と、複製構成管理テーブル112と、複製先決定プログラム113と、複製計画プログラム114と、複製制御プログラム115、容量調整・複製計画プログラム116とが格納されており、CPU106がこれらのプログラムを実行する。なお、容量調整・複製計画プログラム116は実施例2で説明する。   The memory 107 includes a storage configuration management table 110, a data protection weight management table 111, a replication configuration management table 112, a replication destination determination program 113, a replication plan program 114, a replication control program 115, a capacity adjustment / duplication plan. A program 116 is stored, and the CPU 106 executes these programs. The capacity adjustment / duplication plan program 116 will be described in the second embodiment.

管理ネットワーク105は、管理サーバ102がストレージ101を管理するためのネットワークであり、Ethernet(登録商標)などが好適である。データネットワーク104は複数のストレージ101の間でデータを転送するためのネットワークであり、Ethernet、ファイバーチャネル、インターネットなどが好適である。なお、データネットワーク104は管理ネットワーク105と同一のネットワークであってもよい。   The management network 105 is a network for the management server 102 to manage the storage 101, and Ethernet (registered trademark) or the like is preferable. The data network 104 is a network for transferring data between the plurality of storages 101, and Ethernet, fiber channel, the Internet, etc. are preferable. The data network 104 may be the same network as the management network 105.

ストレージ101a〜101nのそれぞれを特定するため、各ストレージ101にはIDが付与されている。図1の例ではストレージ101aに「ストレージA」というIDが付与されている。以下では、ストレージAというIDの付与されたストレージ101aを表すため、便宜的にストレージAと記載することもある。   In order to specify each of the storages 101a to 101n, an ID is assigned to each storage 101. In the example of FIG. 1, an ID “storage A” is assigned to the storage 101a. In the following, the storage 101 a assigned with the ID “storage A” is represented, and therefore it may be referred to as “storage A” for convenience.

ストレージ101は、図示を省略したCPUと、メモリと、データを格納するボリュームと、管理ネットワーク105に接続するためのインターフェース(運用I/F)と、データネットワーク104に接続するためのインターフェース(データI/F)とから構成される。   The storage 101 includes a CPU (not shown), a memory, a volume for storing data, an interface (operation I / F) for connecting to the management network 105, and an interface (data I / F) for connecting to the data network 104. / F).

ストレージ101の有するメモリには複製プログラムが配置されており、ストレージ101の有するCPUが複製プログラムを実行する。複製プログラムは、他のストレージ101の複製プログラムとデータネットワーク104を介して通信し、ボリュームに格納されたデータを他のストレージ101に複製する。データの複製単位は、ボリューム単位、ブロック単位、ファイル単位、オブジェクト単位などである。   A replication program is arranged in the memory included in the storage 101, and the CPU included in the storage 101 executes the replication program. The replication program communicates with the replication program of the other storage 101 via the data network 104 and replicates the data stored in the volume to the other storage 101. Data replication units are volume units, block units, file units, object units, and the like.

なお、メモリ107に格納された各テーブルおよび各プログラムが、ストレージ101の有するメモリに格納され、この格納された各プログラムをストレージ101の有するCPUが実行する構成であってもよい。   The table and each program stored in the memory 107 may be stored in the memory included in the storage 101, and the CPU included in the storage 101 may execute the stored program.

以下、ストレージシステム100が3台のストレージ101で構成されており、各ストレージ101のデータ冗長度が2であるときに(すなわち、各ストレージ101が格納するデータの複製が1つずつ作成済みのときに)、新しく1台のストレージ101が追加されることで得られる新しい複製先に、データを移行する動作について説明する。   Hereinafter, when the storage system 100 is configured with three storages 101 and the data redundancy of each storage 101 is 2 (that is, when one copy of data stored in each storage 101 has been created one by one) The operation of migrating data to a new copy destination obtained by adding one new storage 101 will be described.

図2は、ストレージ構成管理テーブル110の例を示す図である。ストレージ構成管理テーブル110は、少なくとも、ストレージ101を特定するID200と、各ストレージ101が格納するデータ量201と、各ストレージ101が複製データを格納するための空き容量202と、各ストレージ101が格納するデータの冗長度203と、各ストレージ101にアクセスするために必要なIPアドレス204と、を有する。   FIG. 2 is a diagram illustrating an example of the storage configuration management table 110. The storage configuration management table 110 stores at least an ID 200 for specifying the storage 101, a data amount 201 stored in each storage 101, a free capacity 202 for storing the replicated data in each storage 101, and each storage 101. It has data redundancy 203 and an IP address 204 necessary for accessing each storage 101.

なお、ID200の情報として図2の例では「ストレージA」「ストレージB」「ストレージC」「ストレージD」としたが、他の表現の情報であってもよい。また、ID200はストレージ101の単位ではなく、ボリューム単位などで特定される情報であってもよい。   In the example of FIG. 2, “storage A”, “storage B”, “storage C”, and “storage D” are used as the ID 200 information, but information of other expressions may be used. Further, the ID 200 may be information specified not in units of the storage 101 but in units of volumes.

さらに、IPアドレス204は、各ストレージ101の有する運用I/FのIPアドレスを例として示すが、ネットワークの構成に応じて、例えば、各ストレージ101の有するデータI/Fであってもよいし、両方を含んでもよい。また、ネットワークがファイバーチャネルで構成されている場合は、WWN(World Wide Name)を含んでもよい。ストレージ管理テーブル110は、以下で説明する複製に先立ち、管理コンソール103を使って、管理者により作成される。   Furthermore, although the IP address 204 shows the IP address of the operation I / F that each storage 101 has as an example, depending on the configuration of the network, for example, it may be the data I / F that each storage 101 has, Both may be included. Further, when the network is configured with a fiber channel, a WWN (World Wide Name) may be included. The storage management table 110 is created by the administrator using the management console 103 prior to duplication described below.

図3は、データ保護重み管理テーブル111の例を示す図である。データ保護重み管理テーブル111は、少なくとも、複製元300と、複製先301と、それらの組み合わせそれぞれに対する値であるデータ保護重み302と、を有する。   FIG. 3 is a diagram illustrating an example of the data protection weight management table 111. The data protection weight management table 111 includes at least a replication source 300, a replication destination 301, and a data protection weight 302 that is a value for each of these combinations.

データ保護重み302は、災害に対するデータ保護の強さを示す数値である。データ保護重み302は、各ストレージ101の災害リスクと、各ストレージ101のデータ量と、から計算される。災害リスクは、例えば、地震や津波などの災害により、複製元300と複製先301のストレージ101が同時に損壊し、その格納データを喪失する確率である。   The data protection weight 302 is a numerical value indicating the strength of data protection against a disaster. The data protection weight 302 is calculated from the disaster risk of each storage 101 and the data amount of each storage 101. The disaster risk is a probability that the storage 101 of the replication source 300 and the replication destination 301 is damaged at the same time due to a disaster such as an earthquake or a tsunami, and the stored data is lost.

このとき、複製元300のストレージA〜Dが複製先301のストレージA〜Dへ行う複製のデータ保護重み302は、値「1」からそれらのストレージA〜Dの間のデータを喪失する確率を減算した値に、複製元300のストレージA〜Dが格納するデータ量を乗算することで得られる。ここで、複製元300のストレージA〜Dが格納するデータ量の代わりに、複製元300のストレージA〜Dのデータが格納されるボリュームのサイズとしてもよく、ボリュームのサイズは格納されるデータ量に非依存の容量としてもよい。   At this time, the data protection weight 302 of the replication performed by the storages A to D of the replication source 300 to the storages A to D of the replication destination 301 indicates the probability of losing data between the storages A to D from the value “1”. It is obtained by multiplying the subtracted value by the amount of data stored in the storages A to D of the copy source 300. Here, instead of the amount of data stored in the storages A to D of the replication source 300, the size of the volume in which the data of the storages A to D of the replication source 300 may be stored may be the volume size. It is good also as capacity independent of.

図3の例では、ストレージAからストレージBにデータを複製した場合、そのデータを喪失する確率は「0.1」であり、ストレージAのデータ量が「1」であることから、データ保護重みは「0.9」である。また、ストレージBからストレージCにデータを複製した場合、そのデータを喪失する確率は「0.2」であり、ストレージBのデータ量が「1」であることから、データ保護重みは「0.8」である。データ保護の観点ではストレージAからストレージAへの複製は意味がないため、そのデータ保護重みの値は定義なし「−」とする。   In the example of FIG. 3, when data is copied from the storage A to the storage B, the probability of losing the data is “0.1”, and the data amount of the storage A is “1”. Is “0.9”. Further, when data is copied from the storage B to the storage C, the probability of losing the data is “0.2”, and the data amount of the storage B is “1”, so the data protection weight is “0. 8 ". Since the replication from the storage A to the storage A is meaningless from the viewpoint of data protection, the value of the data protection weight is “−” without definition.

データ保護重み管理テーブル111は、複製を実行する前、事前に作成されて設定されるものとする。データ保護重み管理テーブル111の作成に必要な災害リスクは、例えば、実際の地震や津波の被害に関する統計的情報から、被害確率を算定されてもよいし、既存の地震モデルや津波モデルを用いて算定されてもよいし、数値シミュレータを用いて算定されてもよい。そして、これら算定された災害リスクに基づき、データ保護重み管理テーブル111が管理コンソール103から設定されてもよい。   It is assumed that the data protection weight management table 111 is created and set in advance before executing replication. The disaster risk necessary for the creation of the data protection weight management table 111 may be calculated, for example, from the statistical information on actual earthquake or tsunami damage, or using existing earthquake models or tsunami models. It may be calculated or calculated using a numerical simulator. The data protection weight management table 111 may be set from the management console 103 based on the calculated disaster risk.

なお、複製元300の項目と複製元301の項目は、ストレージ101の全てを含んでもよいし、一部だけを含んでもよい。   The items of the replication source 300 and the items of the replication source 301 may include all of the storage 101 or only a part thereof.

図4は、複製構成管理テーブル112の例を示す図である。複製構成管理テーブル112は、少なくとも、複製元のストレージ101のIDである複製元400と、その格納データの現在の複製先のストレージ101のIDを示す現在の複製先401と、その格納データの次のステップでの複製先のストレージ101のIDを示す中継複製先402と、その格納データの複製が最終的に格納されるべきストレージ101のIDを示す移行複製先404と、を有する。中継複製先402は、図4に示すように、中継複製先402a、中継複製先402bなど複数のフィールドを構成してもよい。   FIG. 4 is a diagram illustrating an example of the replication configuration management table 112. The replication configuration management table 112 includes at least a replication source 400 that is the ID of the replication source storage 101, a current replication destination 401 that indicates the ID of the storage 101 that is the current replication destination of the stored data, and the next of the storage data. A relay duplication destination 402 indicating the ID of the copy destination storage 101 and a migration duplication destination 404 indicating the ID of the storage 101 where the copy of the stored data is to be finally stored. As shown in FIG. 4, the relay replication destination 402 may constitute a plurality of fields such as the relay replication destination 402a and the relay replication destination 402b.

ストレージシステム100が複製先を決定した後、管理コンソール103は、複製構成管理テーブル113を表示し、修正を受け付けることができる。例えば、管理者が管理コンソール103を操作し、複製先に問題がないかを確認したり、特別な要件にあわせて調整したりすることができる。   After the storage system 100 determines the replication destination, the management console 103 can display the replication configuration management table 113 and accept corrections. For example, the administrator can operate the management console 103 to check whether there is a problem in the duplication destination or to adjust according to special requirements.

なお、図4の例では、複製元400と、現在の複製先401と、中継複製先402と、移行複製先403として、ストレージ101のID200と同じ情報を含んでいるが、ストレージ101のIPアドレス204であってもよい。また、図4の例では、中継複製先402を2組(2列)だけ含んでいるが、3組(3列)以上の複数組を含んでもよい。   In the example of FIG. 4, as the replication source 400, the current replication destination 401, the relay replication destination 402, and the migration replication destination 403, the same information as the ID 200 of the storage 101 is included, but the IP address of the storage 101 204 may be sufficient. In the example of FIG. 4, only two sets (two columns) of relay duplication destinations 402 are included, but a plurality of sets of three sets (three columns) or more may be included.

また、ここで現在とは、移行元400から最初の複製先へ複製されて所定の冗長度が確保された時点であり、次に説明する複製先決定プログラム113により決定される現在の複製先401へ複製された時点である。複製先決定プログラム113は、データ移行のための複製計画処理と、それを用いたデータ複製の実行前に、移行複製先を決定する複製先決定処理を行う。   Here, the present is the time when a predetermined redundancy is ensured by copying from the migration source 400 to the first replication destination, and the current replication destination 401 determined by the replication destination determination program 113 described below. It is the time when it was copied to. The replication destination determination program 113 performs a replication planning process for data migration and a replication destination determination process for determining a migration replication destination before executing data replication using the replication planning process.

図5は、複製構成管理テーブル112の現在の複製先401および移行複製先403を決定する手順の例を示すフローチャートである。現在の複製先401を決定する手順と移行複製先403を決定する手順とは同一であるので、図5を用いた説明の複製先とは現在の複製先401か移行複製先403のいずれかである。   FIG. 5 is a flowchart illustrating an example of a procedure for determining the current replication destination 401 and the migration replication destination 403 in the replication configuration management table 112. Since the procedure for determining the current replication destination 401 and the procedure for determining the migration replication destination 403 are the same, the replication destination described with reference to FIG. 5 is either the current replication destination 401 or the migration replication destination 403. is there.

複製先決定処理が開始されると、複製先決定プログラム113は、まず、データ保護重み管理テーブル111を読み込む(S501)。次に、実行可能な全ての組み合わせに対し、そのデータ保護重みの和を計算する。(S502)。ここで、実行可能とは、全てのストレージ101について、ストレージ構成管理テーブル110の空き容量202が不足することなく、データが冗長度203と等しい数だけシステム内に存在するようデータを複製することである。   When the replication destination determination process is started, the replication destination determination program 113 first reads the data protection weight management table 111 (S501). Next, the sum of the data protection weights is calculated for all possible combinations. (S502). Here, “executable” means that the data is copied so that all the storages 101 have the same number of data as the redundancy 203 in the system without running out of the free capacity 202 of the storage configuration management table 110. is there.

最後に、複製構成管理テーブル112の複製先に、最良の組み合わせのストレージのIDを書き込み(S503)、複製先を決定する複製先決定処理が終了する。ここで、最良の組み合わせとは、データ保護重みの和が最大となる組み合わせを示す。現在の複製先401と移行複製先403の決定のために、以上の手順はそれぞれ1度ずつ実行される。   Finally, the storage combination ID of the best combination is written in the replication destination of the replication configuration management table 112 (S503), and the replication destination determination process for determining the replication destination ends. Here, the best combination indicates a combination that maximizes the sum of data protection weights. In order to determine the current replication destination 401 and the migration replication destination 403, the above procedure is executed once each.

この例において、現在の複製先401を決定するとき、ストレージ101のうちIDがストレージA、ストレージB、ストレージCであるストレージ101だけがシステムに登録されている。したがって、S501において読み込むデータ保護重み管理テーブル111には、ストレージDは存在せず、複製元にも複製先にもならない。   In this example, when the current replication destination 401 is determined, only the storage 101 whose IDs are storage A, storage B, and storage C among the storage 101 is registered in the system. Therefore, the storage D does not exist in the data protection weight management table 111 read in S501, and neither the copy source nor the copy destination.

S502で、複製先決定プログラム113は、2つの実行可能な組み合わせを得る。第1の組み合わせは、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCがストレージAに、それぞれデータを複製する組み合わせである。このときのデータ保護重みの和は、0.9+0.8+0.8=2.5である。第2の組み合わせは、ストレージAがストレージCに、ストレージBがストレージAに、ストレージCがストレージBに、それぞれデータを複製する組み合わせである。このときのデータ保護重みの和は、0.5+0.9+0.5=1.9である。   In S502, the copy destination determination program 113 obtains two executable combinations. The first combination is a combination in which data is copied from storage A to storage B, storage B to storage C, and storage C to storage A. The sum of the data protection weights at this time is 0.9 + 0.8 + 0.8 = 2.5. The second combination is a combination in which data is copied from storage A to storage C, storage B to storage A, and storage C to storage B. The sum of the data protection weights at this time is 0.5 + 0.9 + 0.5 = 1.9.

S503で、複製先決定プログラム113は、データ保護重みの和が大きい(つまり、安全な)組み合わせである第1の組み合わせを最良と判定し、複製構成管理テーブル112の現在の複製先401に書き込む。   In S <b> 503, the replication destination determination program 113 determines that the first combination that is a combination with a large sum of data protection weights (that is, a safe) is the best, and writes the first combination in the current replication destination 401 of the replication configuration management table 112.

また、この例において移行複製先403を決定するとき、ストレージ101のうちIDがストレージA、ストレージB、ストレージC、ストレージDであるストレージ101がシステムに登録されている。したがって、S502で、複製先決定プログラム113は、9つの実行可能な組み合わせを得て、それぞれの組み合わせについてデータ保護重みの和を計算する。S503で、複製先決定プログラム113は、ストレージAがストレージBに、ストレージBがストレージAに、ストレージCがストレージDに、ストレージDがストレージCに、それぞれデータを複製する組み合わせ(データ保護重みの和が3.5となる組み合わせ)を最良と判定し、複製構成管理テーブル112の移行複製先403に書き込む。   Further, in this example, when the migration replication destination 403 is determined, the storage 101 whose IDs are storage A, storage B, storage C, and storage D is registered in the system. Therefore, in S502, the replication destination determination program 113 obtains nine executable combinations and calculates the sum of data protection weights for each combination. In S503, the copy destination determination program 113 determines that the combination of copying data (storage data sum of weights) is that storage A is storage B, storage B is storage A, storage C is storage D, and storage D is storage C. Is the best), and is written in the migration replication destination 403 of the replication configuration management table 112.

図6は、複製構成管理テーブル112の中継複製先402を決定する手順の例を示すフローチャートである。複製計画処理が開始されると、複製計画プログラム114は、現在の複製先401を処理対象に設定する(S601)。このS601で複製計画プログラム114は、複製構成管理テーブル112の現在の複製先401のIDを読み込む。ここで、処理対象は現在の複製先401であるが、以下で説明する処理の中で処理対象は順次変更されるため、単に処理対象の複製先と記載する。   FIG. 6 is a flowchart illustrating an example of a procedure for determining the relay replication destination 402 of the replication configuration management table 112. When the replication planning process is started, the replication planning program 114 sets the current replication destination 401 as a processing target (S601). In step S <b> 601, the replication plan program 114 reads the ID of the current replication destination 401 in the replication configuration management table 112. Here, the processing target is the current replication destination 401. However, since the processing target is sequentially changed in the processing described below, it is simply described as the processing target replication destination.

次に、複製計画プログラム114は、移行複製先403に近づく複製先の組み合わせAを作成する(S602)。このS602で、まず、複製計画プログラム114は、処理対象の複製先に複製データが格納された場合に、各ストレージ101がもつ空き容量を算出する。次に、複製計画プログラム114は、その空き容量を使って、処理対象の複製先と移行複製先403との差を小さくする組み合わせの候補を作成する。   Next, the replication planning program 114 creates a replication destination combination A that approaches the migration replication destination 403 (S602). In S602, the replication planning program 114 first calculates the free capacity of each storage 101 when replication data is stored in the replication destination to be processed. Next, the replication planning program 114 uses the free capacity to create a combination candidate that reduces the difference between the processing target replication destination and the migration replication destination 403.

なお、移行複製先403に近づく複製先や、対象の複製先と移行複製先403との差が小さいとは、処理対象の複製先のストレージ101と移行複製先403のストレージ101とが同じである移行元400のストレージ101の台数が多いことである。   Note that the replication destination approaching the migration replication destination 403, or the difference between the target replication destination and the migration replication destination 403 is small, the processing target replication destination storage 101 and the storage replication destination 403 storage 101 are the same. The number of storages 101 of the migration source 400 is large.

例えば、処理対象の複製先を現在の複製先401とした場合、図4に示すように、移行元400のストレージAに対して、現在の複製先401のストレージBと移行複製先403のストレージBと同じであり、移行元400のストレージBに対して、現在の複製先401のストレージCと移行先複製先403のストレージAとは異なる。このため、移行元400のストレージAとストレージBの2台に限ってみると、処理対象の複製先のストレージ101と移行複製先403のストレージ101とが同じである移行元400のストレージ101の台数は1台となる。このストレージAのようなストレージ101の台数の多い状態が、差の小さい状態である。   For example, when the processing destination replication destination is the current replication destination 401, as shown in FIG. 4, the storage B of the current replication destination 401 and the storage B of the migration replication destination 403 are compared to the storage A of the migration source 400. The storage C of the current copy destination 401 and the storage A of the transfer destination copy destination 403 are different from the storage B of the transfer source 400. For this reason, when only the two storage units A and B of the migration source 400 are viewed, the number of storages 101 of the migration source 400 in which the storage destination copy destination storage 101 and the storage copy destination 403 storage 101 are the same. Is one. A state where the number of storages 101 such as the storage A is large is a state where the difference is small.

そして、複製計画プログラム114は、ストレージ構成管理テーブル110を読み込み、現在の複製先401に複製データが格納された状態において、ストレージDに値「1」の空き容量があることを検出する。次に、複製計画プログラム114は、移行複製先403を参照し、ストレージCの複製先としてストレージDを追加することで、現在の複製先401と移行複製先403との差が小さくできるため、組み合わせAを得る。   Then, the replication planning program 114 reads the storage configuration management table 110 and detects that the storage D has a free capacity of the value “1” in a state where the replication data is stored in the current replication destination 401. Next, the replication planning program 114 refers to the migration replication destination 403 and adds the storage D as the replication destination of the storage C, so that the difference between the current replication destination 401 and the migration replication destination 403 can be reduced. Get A.

ここで、得られる組み合わせAは、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCが以前に複製されたストレージAと新たに複製されるストレージDとに、それぞれデータを複製する組み合わせである。   Here, the obtained combination A is a combination in which data is copied to the storage A, the storage B, the storage B to the storage C, and the storage C to the previously copied storage A and the newly copied storage D, respectively. It is.

次に、複製計画プログラム114は、組み合わせAから冗長度203の値を超える冗長データを削除した複製先の組み合わせBを作成する(S603)。このS603で複製計画プログラム114は、S602で新たに複製先を追加した複製元の、以前に決められた複製先を削除した組み合わせを、組み合わせBとする。   Next, the replication planning program 114 creates a replication destination combination B from which redundant data exceeding the redundancy 203 value is deleted from the combination A (S603). In S603, the replication planning program 114 sets a combination obtained by deleting a previously determined replication destination of the replication source to which a replication destination is newly added in S602 as a combination B.

例えば、処理対象の複製先が、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCがストレージAに、それぞれデータを複製する組み合わせであり、組み合わせAが、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCがストレージAとストレージDとに、それぞれデータを複製する組み合わせである場合、組み合わせAのストレージCがストレージAに複製されることは処理対象の複製先に含まれるので削除され、組み合わせBは、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCがストレージDに、それぞれデータを複製する組み合わせである。   For example, the replication destination to be processed is a combination in which storage A is storage B, storage B is storage C, storage C is storage A, and the combination A is storage A is storage B. When the storage B is a combination that replicates data to the storage C and the storage C is the storage A and the storage D, respectively, the fact that the storage C of the combination A is replicated to the storage A is included in the processing target replication destination Therefore, the combination B is a combination in which the storage A is copied to the storage B, the storage B is copied to the storage C, and the storage C is copied to the storage D, respectively.

なお、組み合わせAに冗長度203の値を超える冗長データがない場合、複製計画プログラム114は冗長データを削除しない。   If there is no redundant data exceeding the value of the redundancy 203 in the combination A, the replication planning program 114 does not delete the redundant data.

複製計画プログラム114は、組み合わせBのデータ保護重みの総和を計算する(S604)。このS604で複製計画プログラム114は、データ保護重み管理テーブル111を読み込み、組み合わせBのデータ保護重みの総和を算出する。例えば図3に示したデータ保護重み管理テーブル111では、それぞれのデータ保護重みの値は、ストレージAがストレージBに複製する場合が0.9、ストレージBがストレージCに複製する場合が0.8、ストレージCがストレージDに複製する場合が0.9であるから、その総和は0.9+0.8+0.9=2.6である。   The replication plan program 114 calculates the sum of the data protection weights of the combination B (S604). In S604, the replication planning program 114 reads the data protection weight management table 111 and calculates the sum of the data protection weights of the combination B. For example, in the data protection weight management table 111 shown in FIG. 3, the value of each data protection weight is 0.9 when the storage A replicates to the storage B, and 0.8 when the storage B replicates to the storage C. Since the case where the storage C replicates to the storage D is 0.9, the sum is 0.9 + 0.8 + 0.9 = 2.6.

複製計画プログラム114は、組み合わせBのデータ保護重みの総和が現在の複製先401のデータ保護重みの総和よりも増加するかどうかを判定する(S605)。このS605で複製計画プログラム114は、S604で得られた組み合わせBのデータ保護重みの総和と、現在の複製先401のデータ保護重みの総和とを比較し、組み合わせBの方が増加していた場合はS606に進み、そうでない場合はS602に進む。   The replication planning program 114 determines whether or not the sum of the data protection weights of the combination B is greater than the sum of the data protection weights of the current replication destination 401 (S605). In S605, the replication plan program 114 compares the sum of the data protection weights of the combination B obtained in S604 with the sum of the data protection weights of the current replication destination 401, and the combination B has increased. Proceeds to S606, otherwise proceeds to S602.

例えば、現在の複製先401が、図4に示すように、ストレージAがストレージBに、ストレージBがストレージCに、ストレージCがストレージAに、それぞれデータを複製する組み合わせである場合、図3に示したデータ保護重み管理テーブルの値から、そのデータ保護重みの総和は0.9+0.8+0.8=2.5である。このため、組み合わせBのデータ保護重みの総和が上記のように2.6である場合、複製計画プログラム114はS606に進む。   For example, if the current replication destination 401 is a combination that replicates data to storage B, storage B to storage C, and storage C to storage A as shown in FIG. From the value of the data protection weight management table shown, the sum of the data protection weights is 0.9 + 0.8 + 0.8 = 2.5. For this reason, when the sum of the data protection weights of the combination B is 2.6 as described above, the replication planning program 114 proceeds to S606.

もし、組み合わせBのデータ保護重みの総和が2.5よりも小さい場合、複製計画プログラム114はS602に進み、別の組み合わせAを作成する。   If the sum of the data protection weights of the combination B is smaller than 2.5, the replication planning program 114 proceeds to S602 and creates another combination A.

S606に進むと、複製計画プログラム114は、組み合わせBが移行複製先403のストレージ101の組み合わせと一致するかを判定する。組み合わせBが移行複製先403のストレージ101の組み合わせと一致する場合、複製計画処理は終了となる。そうでない場合、複製計画プログラム114はS607に進む。   In step S606, the replication plan program 114 determines whether the combination B matches the combination of the storage 101 of the migration replication destination 403. When the combination B matches the combination of the storage 101 of the migration replication destination 403, the replication plan process is terminated. Otherwise, the replication plan program 114 proceeds to S607.

S607に進むと、複製計画プログラム114は、組み合わせBを複製構成管理テーブル112の中継複製先402に書き込む。このS607ステップで複製計画プログラム114は、処理対象が現在の複製先401であれば中継複製先402aに組み合わせBを書き込み、処理対象が中継複製先402aであれば中継複製先402bに組み合わせBを書き込む。ここで、中継複製先402b以降の中継複製先が存在してもよい。   In step S <b> 607, the replication plan program 114 writes the combination B in the relay replication destination 402 of the replication configuration management table 112. In step S607, the replication plan program 114 writes the combination B to the relay replication destination 402a if the processing target is the current replication destination 401, and writes the combination B to the relay replication destination 402b if the processing target is the relay replication destination 402a. . Here, a relay replication destination after the relay replication destination 402b may exist.

次に、複製計画プログラム114は、新しい中継複製先を処理対象に設定する(S608)。このS608で複製計画プログラム114は、S607で複製構成管理テーブル112に書き込んだ中継複製先を、次の処理対象に設定し、S602に進む。   Next, the replication planning program 114 sets a new relay replication destination as a processing target (S608). In S608, the replication planning program 114 sets the relay replication destination written in the replication configuration management table 112 in S607 as the next processing target, and proceeds to S602.

以上の説明からも明らかなように、複製計画プログラム114は、移行複製先403と一致する中継複製先402が得られるまで、S602からS606までの処理を繰り返し行う。その後、複製制御プログラム115が複製構成管理テーブル113を参照し、各ストレージ101の複製プログラムに対して複製を指示する。このとき、中継複製先402を1つずつ順番に指示し、各ストレージ101の複製プログラムが、データの複製を完了するのを待って次の指示を行う。   As is clear from the above description, the replication planning program 114 repeats the processing from S602 to S606 until a relay replication destination 402 that matches the migration replication destination 403 is obtained. Thereafter, the replication control program 115 refers to the replication configuration management table 113 and instructs the replication program of each storage 101 to replicate. At this time, the relay duplication destinations 402 are instructed one by one in order, and the duplication program of each storage 101 gives the next instruction after completing the duplication of data.

例えば、まず、複製制御プログラム115は、中継複製先402aに書き込まれた各ストレージ101へ複製を指示すると、指示された各ストレージ101の複製プログラムは、現在の複製先401に書き込まれた各ストレージ101から中継複製先402aに書き込まれた各ストレージ101となるようにデータの複製を行う。   For example, first, when the replication control program 115 instructs replication to each storage 101 written in the relay replication destination 402 a, the replication program of each storage 101 instructed will be stored in each storage 101 written in the current replication destination 401. The data is replicated so that the storages 101 written to the relay replication destination 402a are stored.

次に、複製制御プログラム115が、中継複製先402bに書き込まれた各ストレージ101へ複製を指示すると、各ストレージ101の複製プログラムは、中継複製先402bに書き込まれた各ストレージ101へデータの複製を行う。最後に、複製制御プログラム115が、移行複製先403に書き込まれた各ストレージ101へ複製を指示すると、各ストレージ101の複製プログラムは、中継複製先402bに書き込まれた各ストレージ101へ複製を行い、複製を完了する。   Next, when the replication control program 115 instructs replication to each storage 101 written to the relay replication destination 402b, the replication program of each storage 101 replicates data to each storage 101 written to the relay replication destination 402b. Do. Finally, when the replication control program 115 instructs replication to each storage 101 written to the migration replication destination 403, the replication program of each storage 101 performs replication to each storage 101 written to the relay replication destination 402b, Complete replication.

なお、実施例1では、データ量が1、空き容量が1、冗長度が2の場合を例に説明したが、複製数がデータ量や空き容量が2の場合や冗長度が3以上の場合も同様の処理を用いることができる。また、実施例1では、データ保護重みは、災害リスクと、各ストレージ101のデータ量とから計算されたが、単に災害リスクを値「1」から減算することで得てもよい。   In the first embodiment, the case where the data amount is 1, the free capacity is 1, and the redundancy is 2 has been described as an example. However, when the number of copies is the data amount and the free capacity is 2 or the redundancy is 3 or more. A similar process can be used. In the first embodiment, the data protection weight is calculated from the disaster risk and the data amount of each storage 101. However, the data protection weight may be obtained by simply subtracting the disaster risk from the value “1”.

また、実施例1では、複製制御プログラム115は、中継複製先402を1つ作成するために、組み合わせAを1つ作成し、それに対応する組み合わせBを作成し、そのデータ保護重みの総和を計算し、その総和が現在の複製先401よりも大きいかどうかを判定することで、中継複製先402の1つを選定したが、このような処理ではなく、組み合わせAを一度に複数個作成してもよい。   Further, in the first embodiment, the replication control program 115 creates one combination A, creates a corresponding combination B in order to create one relay duplication destination 402, and calculates the sum of the data protection weights. Then, one of the relay duplication destinations 402 is selected by determining whether the sum is larger than the current duplication destination 401. However, instead of such processing, a plurality of combinations A are created at one time. Also good.

すなわち、複製制御プログラム115は、組み合わせAを複数個作成し、それぞれに対応する組み合わせBを作成し、それぞれのデータ保護重みの総和を計算し、その総和がもっとも大きい組み合わせBを選定した後、その選定した組み合わせBのデータ保護重み総和が現在の複製先よりも大きいかどうかを判定してもよい。   That is, the replication control program 115 creates a plurality of combinations A, creates a combination B corresponding to each combination, calculates the sum of the data protection weights, selects the combination B having the largest sum, It may be determined whether the data protection weight sum of the selected combination B is larger than the current copy destination.

また、実施例1では、複製制御プログラム115が中継複製先402に書き込まれた各ストレージ101への複製を1つずつ指示し、そのたびに複製プログラムの実行完了を待つこととしたが、複製制御プログラム115が中継複製先402に書き込まれた2つまたはそれ以上のストレージ101へ複製を指示し、移行複製先403に書き込まれた2つまたはそれ以上のストレージ101への複製を指示し、複製プログラムが1つずつ実行してもよいし、その間、複製制御プログラム115は完了を待たなくてもよい。   In the first embodiment, the replication control program 115 instructs the replication to each storage 101 written to the relay replication destination 402 one by one, and waits for the completion of the replication program each time. The program 115 instructs the duplication to the two or more storages 101 written in the relay duplication destination 402, instructs the duplication to the two or more storages 101 written in the migration duplication destination 403, and the duplication program May be executed one by one, and during that time, the replication control program 115 does not have to wait for completion.

以上で説明したように、現在の複製先401から移行複製先403までデータ保護重みの値の総和を低下させることなく、すなわち安全に中継複製先402を経由して複製データを移行できる。   As described above, the replicated data can be safely migrated from the current replication destination 401 to the migration replication destination 403 without lowering the sum of data protection weight values, that is, via the relay replication destination 402 safely.

<空き容量がない場合の中継複製先の生成>
以下、図7および図8を参照して、本発明を実施するための別の形態である実施例2について説明する。なお、実施例2では、実施例1と処理に違いがない部分の説明を省略し、その違いのみを説明する。
<Generate relay duplication destination when there is no free space>
Hereinafter, Example 2 which is another form for implementing this invention is demonstrated with reference to FIG. 7 and FIG. In the second embodiment, description of portions that are not different from the processing in the first embodiment is omitted, and only the difference is described.

実施例2は、実施例1において複製データによって各ストレージ101の空き容量が全くない場合であっても、中継複製先を生成して目的の複製先へ移行可能にする。実施例2では、ストレージシステム100は、実施例1で述べた中継複製先を生成する段階より前に、データ保護重みに応じて複製先を解消することで、空き容量を確保する。   In the second embodiment, even when there is no free space in each storage 101 due to the duplicated data in the first embodiment, a relay duplication destination is generated and can be transferred to the target duplication destination. In the second embodiment, the storage system 100 secures a free capacity by eliminating the replication destination according to the data protection weight before the stage of generating the relay replication destination described in the first embodiment.

実施例2では、実施例1における複製計画プログラム114に加えて容量調整・複製計画プログラム116を用い、さらに、管理サーバ102のメモリ107に図示を省略した許容度が格納される。許容度は、ストレージ101の組み合わせごとに計算されるデータ保護重みの総和の値に対応する値であり、容量調整・複製計画プログラム116の実行に先立って、管理者により管理コンソール103が操作されて設定される。以下の説明は、許容度として「2.5」が設定されている例である。   In the second embodiment, the capacity adjustment / replication planning program 116 is used in addition to the replication planning program 114 in the first embodiment, and further, tolerances not shown are stored in the memory 107 of the management server 102. The tolerance is a value corresponding to the sum of the data protection weights calculated for each combination of the storages 101, and the management console 103 is operated by the administrator prior to the execution of the capacity adjustment / replication planning program 116. Is set. The following description is an example in which “2.5” is set as the tolerance.

図7は、実施例2における複製構成管理テーブル112の例を示す図である。複製構成管理テーブル112は、少なくとも、複製元のストレージ101のIDを示す複製元700と、その格納データの現在の複製先のストレージ101のIDを示す現在の複製先701と、その格納データの次のステップでの複製先のストレージ101のIDを示す中継複製先702と、その格納データの複製が最終的に格納されるべきストレージ101のIDを示す移行複製先704と、を有する。   FIG. 7 is a diagram illustrating an example of the replication configuration management table 112 according to the second embodiment. The replication configuration management table 112 includes at least a replication source 700 that indicates the ID of the storage 101 that is the replication source, a current replication destination 701 that indicates the ID of the storage 101 that is the current replication destination of the stored data, and the next of the storage data. A relay duplication destination 702 indicating the ID of the copy destination storage 101 and a migration duplication destination 704 indicating the ID of the storage 101 where the copy of the stored data is to be finally stored.

中継複製先702は、図7に示すように、中継複製先702a、中継複製先702bなど複数のフィールドを構成してもよい。複製構成管理テーブル112における、実施例2と実施例1との違いは、複製先のストレージ101のIDの値である。現在の複製先701のストレージ101のIDは管理者の操作により入力され、移行複製先703ストレージ101のIDは複製先決定プログラム113により設定される。中継複製先702は、後述する容量調整・複製先複製計画プログラム116の実行中に設定される。複製構成管理テーブル112の項目は図4と同じであるが、ストレージ101のIDの値が異なるため、そのストレージ101のIDを指し示すために異なる符号を付けてある。   As shown in FIG. 7, the relay duplication destination 702 may constitute a plurality of fields such as the relay duplication destination 702a and the relay duplication destination 702b. The difference between the second embodiment and the first embodiment in the replication configuration management table 112 is the ID value of the storage destination storage 101. The ID of the storage 101 of the current copy destination 701 is input by the operation of the administrator, and the ID of the storage copy destination 703 storage 101 is set by the copy destination determination program 113. The relay replication destination 702 is set during execution of a capacity adjustment / replication destination replication planning program 116 described later. The items in the replication configuration management table 112 are the same as those in FIG. 4, but since the ID value of the storage 101 is different, a different code is attached to indicate the ID of the storage 101.

図8は、実施例2における複製構成管理テーブル112の中継複製先702を決定する手順の例を示すフローチャートである。容量調整・複製計画処理が開始されると、容量調整・複製計画プログラム116は、現在の複製先701を対象にする(S801)。このS801で容量調整・複製計画プログラム116は、複製構成管理テーブル112の現在の複製先701に書かれた複製先を処理対象にする。   FIG. 8 is a flowchart illustrating an example of a procedure for determining the relay replication destination 702 of the replication configuration management table 112 according to the second embodiment. When the capacity adjustment / replication planning process is started, the capacity adjustment / replication planning program 116 targets the current replication destination 701 (S801). In S801, the capacity adjustment / replication plan program 116 sets the copy destination written in the current copy destination 701 of the copy configuration management table 112 as a processing target.

次に、容量調整・複製計画プログラム116は、一部の複製先を解消した組み合わせCを得る(S802)。このS802で容量調整・複製計画プログラム116は、データ保護重み管理テーブル111を読み込み、現在の複製先701のうち移行複製先703と異なる複製先となっている複製関係の中から、複製元700と現在の複製先701の関係の中で最もデータ保護重みの低い複製元700と複製先の組み合わせを検索し、その複製関係から複製先を解消する。   Next, the capacity adjustment / duplication plan program 116 obtains a combination C in which some duplication destinations have been eliminated (S802). In S802, the capacity adjustment / duplication plan program 116 reads the data protection weight management table 111, and the replication source 700 is selected from the replication relationships that are different from the migration replication destination 703 in the current replication destination 701. The combination of the replication source 700 and the replication destination having the lowest data protection weight in the relationship of the current replication destination 701 is searched, and the replication destination is canceled from the replication relationship.

例えば、図7に示すように、複製元700から現在の複製先701が、ストレージAからストレージBへ、ストレージBからストレージCへ、ストレージCからストレージDへ、ストレージDからストレージAへの組み合わせであり、複製元700から移行複製先703が、ストレージAからストレージBへ、ストレージBからストレージAへ、ストレージCからストレージDへ、ストレージDからストレージCへの組み合わせである場合、容量調整・複製計画プログラム116はストレージBからストレージCへの複製関係のデータ保護重み(0.8)と、ストレージDからストレージAへの複製関係のデータ保護重み(0.5)と、を比較して、データ保護重みの低いストレージDからストレージAへの複製関係の複製先を解消する。したがって、組み合わせCは、ストレージAからストレージBへ、ストレージBからストレージCへ、ストレージCからストレージDへ、それぞれデータを複製する組み合わせである。   For example, as shown in FIG. 7, the current replication destination 701 from the replication source 700 is a combination of storage A to storage B, storage B to storage C, storage C to storage D, and storage D to storage A. Yes, if the replication source 703 from the replication source 700 is a combination of storage A to storage B, storage B to storage A, storage C to storage D, and storage D to storage C, capacity adjustment / duplication plan The program 116 compares the data protection weight (0.8) of the replication relationship from the storage B to the storage C with the data protection weight (0.5) of the replication relationship from the storage D to the storage A, and performs data protection. The replication destination of the replication relationship from the storage D with the low weight to the storage A is eliminated. Therefore, the combination C is a combination for copying data from the storage A to the storage B, from the storage B to the storage C, and from the storage C to the storage D.

次に、容量調整・複製計画プログラム116は、組み合わせCが許容されるかどうかを判定する(S803)。許容されると判定された場合、容量調整・複製計画プログラム116はS804に進み、許容されないと判定された場合、S802に進み、別の複製先を解消した組み合わせCを得る。ここで、組み合わせCが許容されるとは、組み合わせCのデータ保護重みの総和が、許容度の値よりも大きいことを意味する。例えば、図7を用いて説明した組み合わせCのデータ保護重みは0.9+0.8+0.9=2.6であるから、許容度の値2.5よりも大きいため、この例では許容される。   Next, the capacity adjustment / duplication plan program 116 determines whether the combination C is allowed (S803). If it is determined that it is allowed, the capacity adjustment / replication planning program 116 proceeds to S804, and if it is determined that it is not permitted, the process proceeds to S802 to obtain a combination C in which another replication destination is eliminated. Here, the combination C being allowed means that the sum of the data protection weights of the combination C is larger than the tolerance value. For example, since the data protection weight of the combination C described with reference to FIG. 7 is 0.9 + 0.8 + 0.9 = 2.6, the data protection weight is larger than the tolerance value 2.5, which is permitted in this example.

S804へ進むと、容量調整・複製計画プログラム116は、複製計画処理を実行する。複製計画処理は、図6を用いて説明した複製計画プログラム114が行う処理である。S804の複製計画処理が終了すると、容量調整・複製計画処理は終了する。   In step S804, the capacity adjustment / replication plan program 116 executes a replication plan process. The replication plan process is a process performed by the replication plan program 114 described with reference to FIG. When the replication plan process of S804 is completed, the capacity adjustment / replication plan process is ended.

以上で説明したように、複製データの格納によって空き容量がなくなってしまったストレージシステム100においても、中継複製先702を生成することができる。これにより、データの安全性を確保しながら、ストレージ101の容量拡張をすることなくデータの移行を行うことができる。   As described above, the relay replication destination 702 can be generated even in the storage system 100 in which the free space has been lost due to the storage of the replication data. As a result, it is possible to perform data migration without expanding the capacity of the storage 101 while ensuring data safety.

なお、実施例2では、許容度はストレージ101の組み合わせごとに計算されるデータ保護重みの総和の値に対応する値としたが、現在の複製先701のデータ保護重みの総和の10%などという割合としてもよい。この場合、管理サーバ102は、容量調整・複製計画プログラム116の実行に先立って、現在の複製先701から得られるデータ保護重みの総和の値と、10%などの設定された割合とから、データ保護重みの総和の値に対応する値を計算することにより、容量調整・複製計画プログラム116は以上の説明と同じように実行可能である。   In the second embodiment, the tolerance is a value corresponding to the sum of the data protection weights calculated for each combination of the storages 101. However, the tolerance is 10% of the sum of the data protection weights of the current copy destination 701. It is good also as a ratio. In this case, prior to the execution of the capacity adjustment / replication plan program 116, the management server 102 calculates the data from the total value of the data protection weights obtained from the current replication destination 701 and a set ratio such as 10%. By calculating a value corresponding to the sum of the protection weights, the capacity adjustment / replication planning program 116 can be executed in the same manner as described above.

また、実施例2では、組み合わせCを1つ得るたびに許容度されるかを判定する手順としたが、中継複製先702に含まれる組み合わせCを全てを得た後に、全ての組み合わせCについて許容度を超えているかをそれぞれ判定する手順であってもよい。   Further, in the second embodiment, the procedure for determining whether or not the combination C is permitted every time one combination C is obtained. However, after all the combinations C included in the relay duplication destination 702 are obtained, all combinations C are permitted. It may be a procedure for determining whether the degree is exceeded.

以上で説明した実施例1、2に加えて、中継複製先402、702を決定する基準としてデータ保護重みとともに、その中継複製先402、702に移行する際に見込まれるストレージシステム100全体の移行データ量の上限があらかじめ設定され、それを満たす組み合わせから中継複製先402、702の各ストレージ101を選ぶようにしてもよい。   In addition to the first and second embodiments described above, together with the data protection weight as a criterion for determining the relay duplication destinations 402 and 702, migration data of the entire storage system 100 expected when migrating to the relay duplication destinations 402 and 702 An upper limit of the amount may be set in advance, and each storage 101 of the relay duplication destinations 402 and 702 may be selected from a combination that satisfies the upper limit.

これにより、1つの中継複製先402、702へ移行するためにかかる時間を見積もることができるので、複数日にわたって移行が必要になる大量データを移行する際に、1日あたりに移行するデータ量に見合った中継複製先402、702のストレージ101を選び出すことができ、データ移行計画の作成を容易にすることが可能となる。なお、ストレージシステム100全体の移行データ量の上限ではなく、各ストレージ101の移行データ量の上限がそれぞれ設定されてもよい。   This makes it possible to estimate the time required to move to one relay duplication destination 402, 702. Therefore, when transferring a large amount of data that needs to be transferred over multiple days, the amount of data transferred per day It is possible to select the storage 101 of the appropriate relay replication destinations 402 and 702, and it is possible to easily create a data migration plan. Note that the upper limit of the migration data amount of each storage 101 may be set instead of the upper limit of the migration data amount of the entire storage system 100.

また、1台のストレージ101のボリュームやファイルなどのデータを分割し、中継複製先402、702の複数のストレージ101にそれぞれ格納するように構成してもよい。このために、管理サーバ102は、1台のストレージ101に対して複数の複製先を管理し、さらに、それぞれの複製先に格納したデータを記録するように構成してもよい。ここで、ファイル名を1つ1つ記録してもよいし、フォルダ名などで複数のファイルやフォルダをまとめて記録してもよい。   In addition, data such as volumes and files of one storage 101 may be divided and stored in the plurality of storages 101 at the relay duplication destinations 402 and 702, respectively. For this purpose, the management server 102 may be configured to manage a plurality of replication destinations for one storage 101 and further record data stored in each replication destination. Here, the file names may be recorded one by one, or a plurality of files and folders may be recorded together by a folder name or the like.

また、管理サーバ102が移行複製先403、703に一致するまで中継複製先402、702を1つ1つ決定するのではなく、管理サーバ102が移行複製先403、703に一致する中継複製先402、702の列を候補として計算し、中継複製先402、702の列全体のデータ保護重みの平均がもっとも高くなるような組み合わせの列を求めてもよい。これにより、複数の中継複製先402、702それぞれが平均的に安全になるような中継複製先402、702の列を得ることができる。   Further, instead of determining the relay replication destinations 402 and 702 one by one until the management server 102 matches the migration replication destinations 403 and 703, the management server 102 determines the relay replication destination 402 that matches the migration replication destinations 403 and 703. , 702 columns may be calculated as candidates, and a combination column that provides the highest average data protection weight of the entire columns of the relay duplication destinations 402 and 702 may be obtained. As a result, it is possible to obtain a sequence of relay duplication destinations 402 and 702 such that each of the plurality of relay duplication destinations 402 and 702 is secure on average.

100 ストレージシステム
101 ストレージ
102 管理サーバ
103 管理コンソール
110 ストレージ構成管理テーブル
111 データ保護重み管理テーブル
112 複製構成管理テーブル
113 複製先決定プログラム
114 複製計画プログラム
115 複製制御プログラム
100 Storage System 101 Storage 102 Management Server 103 Management Console 110 Storage Configuration Management Table 111 Data Protection Weight Management Table 112 Replication Configuration Management Table 113 Replication Destination Determination Program 114 Replication Planning Program 115 Replication Control Program

Claims (15)

管理サーバを有し、異なるストレージ装置に元データと前記元データの複製データを格納させる、ストレージシステムの移行方法は、
前記管理サーバが、
前記ストレージシステムのストレージ装置の空き容量を算出し、
前記算出した空き容量が前記複製データの容量以上のストレージ装置を候補として特定し、
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせを特定し、
前記特定された組み合わせのデータ保護重みの値の総和を算出し、
前記算出した総和が所定の値を超える場合、前記特定された組み合わせを、中継複製先として、登録すること
を特徴とするストレージシステムの移行方法。
A storage system migration method that includes a management server and stores original data and duplicate data of the original data in different storage devices,
The management server is
Calculate the free capacity of the storage device of the storage system,
Identify the storage device whose calculated free space is greater than or equal to the capacity of the replicated data as a candidate,
A combination of the storage device identified as the candidate and the storage device in which the original data is stored;
Calculating the sum of the data protection weight values of the identified combinations;
When the calculated total exceeds a predetermined value, the specified combination is registered as a relay duplication destination.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記複製データを既に格納したストレージ装置から前記複製データを削除した組み合わせを特定すること
を特徴とする請求項1に記載のストレージシステムの移行方法。
The combination of the storage device identified as the candidate and the storage device in which the original data is stored is characterized by identifying the combination in which the duplicate data is deleted from the storage device that has already stored the duplicate data. The storage system migration method according to claim 1.
前記管理サーバが、
新たなストレージ装置の追加前の、前記元データが格納されるストレージ装置と、前記複製データが格納されるストレージ装置との組み合わせであって、データ保護重みの値の総和が最大値の組み合わせを現在の複製先として登録し、前記最大値を前記所定の値と設定し、
前記新たなストレージ装置の追加後の、前記元データが格納されるストレージ装置と、前記複製データが格納されるストレージ装置との組み合わせであって、データ保護重みの値の総和が最大値の組み合わせを移行複製先として登録すること
を特徴とする請求項2に記載のストレージシステムの移行方法。
The management server is
The combination of the storage device storing the original data and the storage device storing the replicated data before the addition of a new storage device, where the sum of data protection weight values is the maximum value Is registered as a copy destination of, and the maximum value is set as the predetermined value,
A combination of the storage device storing the original data and the storage device storing the replicated data after the addition of the new storage device, wherein the sum of the data protection weight values is the maximum value 3. The storage system migration method according to claim 2, wherein the migration system is registered as a migration replication destination.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記現在の複製先とは異なる前記移行複製先のストレージ装置を、前記候補として特定されたストレージ装置に含むこと
を特徴とする請求項3に記載のストレージシステムの移行方法。
The combination of the storage device specified as the candidate and the storage device in which the original data is stored is specified by specifying the migration copy destination storage device different from the current copy destination as the candidate. The storage system migration method according to claim 3, wherein the storage system migration method is included in an apparatus.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記登録された中継複製先とは異なる前記移行複製先のストレージ装置を、前記候補として特定されたストレージ装置に含むこと
を特徴とする請求項4に記載のストレージシステムの移行方法。
The combination of the storage device specified as the candidate and the storage device in which the original data is stored is specified by specifying the migration replication destination storage device different from the registered relay replication destination as the candidate. The storage system migration method according to claim 4, wherein the storage system migration method is included in a storage device.
前記登録される中継移行先のストレージ装置と前記移行複製先のストレージ装置とが同じである場合、複製の計画処理を終了すること
を特徴とする請求項5に記載のストレージシステムの移行方法。
6. The storage system migration method according to claim 5, wherein when the registered relay migration destination storage device and the migration replication destination storage device are the same, the replication planning process is terminated.
前記元データが格納されるストレージ装置、前記現在の複製先のストレージ装置、前記中継複製先のストレージ装置、前記移行複製先のストレージ装置それぞれの識別情報を、複製の計画処理の結果とすること
を特徴とする請求項6に記載のストレージシステムの移行方法。
The identification information of the storage device in which the original data is stored, the current replication destination storage device, the relay replication destination storage device, and the migration replication destination storage device is used as a result of the replication planning process. The storage system migration method according to claim 6, wherein:
前記管理サーバが、
前記複製の計画処理の結果となった識別情報を有するストレージ装置へ複製を指示し、
前記複製を指示されたストレージ装置は複製を実行すること
を特徴とする請求項7に記載のストレージシステムの移行方法。
The management server is
Instructing the storage apparatus having the identification information resulting from the replication planning process,
The storage system migration method according to claim 7, wherein the storage apparatus instructed to replicate executes replication.
前記データ保護重みの値は、前記ストレージシステムに含まれ、複数の異なるストレージ装置において、同時に障害の発生する確率に基づき算出された値であること
を特徴とする請求項8に記載のストレージシステムの移行方法。
9. The storage system according to claim 8, wherein the value of the data protection weight is a value that is included in the storage system and is calculated based on a probability that a failure occurs simultaneously in a plurality of different storage apparatuses. Migration method.
前記管理サーバは、
許容度が予め設定され、
前記元データが格納されるストレージ装置と前記データ保護重みの値が最小となるストレージ装置の前記複製データの複製関係を解消した組み合わせのデータ保護重みの値の総和を算出して、前記許容度より大きい場合、前記複製関係を解消して前記ストレージ装置の空き容量を生成すること
を特徴とする請求項9に記載のストレージシステムの移行方法。
The management server
The tolerance is preset,
Calculate the sum of the values of the data protection weights for the combination of the storage device in which the original data is stored and the storage device with the smallest value of the data protection weights that eliminate the replication relationship of the replicated data, The storage system migration method according to claim 9, wherein when the size is large, the replication relationship is canceled to generate a free capacity of the storage device.
異なるストレージ装置に元データと前記元データの複製データを格納させるストレージシステムを制御するコンピュータのプログラムは、
前記コンピュータが、
前記ストレージシステムのストレージ装置の空き容量を算出し、
前記算出した空き容量が前記複製データの容量以上のストレージ装置を候補として特定し、
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせを特定し、
前記特定された組み合わせのデータ保護重みの値の総和を算出し、
前記算出した総和が所定の値を超える場合、前記特定された組み合わせを、中継複製先として、登録すること
を特徴とするプログラム。
A computer program for controlling a storage system for storing original data and duplicated data of the original data in different storage devices,
The computer is
Calculate the free capacity of the storage device of the storage system,
Identify the storage device whose calculated free space is greater than or equal to the capacity of the replicated data as a candidate,
A combination of the storage device identified as the candidate and the storage device in which the original data is stored;
Calculating the sum of the data protection weight values of the identified combinations;
When the calculated sum exceeds a predetermined value, the specified combination is registered as a relay duplication destination.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記複製データを既に格納したストレージ装置から前記複製データを削除した組み合わせを特定すること
を特徴とする請求項11に記載のプログラム。
The combination of the storage device identified as the candidate and the storage device in which the original data is stored is characterized by identifying the combination in which the duplicate data is deleted from the storage device that has already stored the duplicate data. The program according to claim 11.
前記コンピュータは、
新たなストレージ装置の追加前の、前記元データが格納されるストレージ装置と、前記複製データが格納されるストレージ装置との組み合わせであって、データ保護重みの値の総和が最大値の組み合わせを現在の複製先として登録し、前記最大値を前記所定の値と設定し、
前記新たなストレージ装置の追加後の、前記元データが格納されるストレージ装置と、前記複製データが格納されるストレージ装置との組み合わせであって、データ保護重みの値の総和が最大値の組み合わせを移行複製先として登録すること
を特徴とする請求項12に記載のプログラム。
The computer
The combination of the storage device storing the original data and the storage device storing the replicated data before the addition of a new storage device, where the sum of data protection weight values is the maximum value Is registered as a copy destination of, and the maximum value is set as the predetermined value,
A combination of the storage device storing the original data and the storage device storing the replicated data after the addition of the new storage device, wherein the sum of the data protection weight values is the maximum value The program according to claim 12, wherein the program is registered as a migration copy destination.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記現在の複製先とは異なる前記移行複製先のストレージ装置を、前記候補として特定されたストレージ装置に含むこと
を特徴とする請求項13に記載のプログラム。
The combination of the storage device specified as the candidate and the storage device in which the original data is stored is specified by specifying the migration copy destination storage device different from the current copy destination as the candidate. The program according to claim 13, wherein the program is included in an apparatus.
前記候補として特定されたストレージ装置と、前記元データが格納されるストレージ装置との組み合わせの特定は、前記登録された中継複製先とは異なる前記移行複製先のストレージ装置を、前記候補として特定されたストレージ装置に含むこと
を特徴とする請求項14に記載のプログラム。
The combination of the storage device specified as the candidate and the storage device in which the original data is stored is specified by specifying the migration replication destination storage device different from the registered relay replication destination as the candidate. The program according to claim 14, wherein the program is included in a storage device.
JP2015113286A 2015-06-03 2015-06-03 Storage system migration method and program Active JP6637258B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015113286A JP6637258B2 (en) 2015-06-03 2015-06-03 Storage system migration method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015113286A JP6637258B2 (en) 2015-06-03 2015-06-03 Storage system migration method and program

Publications (2)

Publication Number Publication Date
JP2016224864A true JP2016224864A (en) 2016-12-28
JP6637258B2 JP6637258B2 (en) 2020-01-29

Family

ID=57748848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015113286A Active JP6637258B2 (en) 2015-06-03 2015-06-03 Storage system migration method and program

Country Status (1)

Country Link
JP (1) JP6637258B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348174A (en) * 2002-07-30 2004-12-09 Hitachi Ltd Storage device system
JP2009020568A (en) * 2007-07-10 2009-01-29 Hitachi Ltd Storage system, and method for designing disaster recovery configuration
WO2013160943A1 (en) * 2012-04-25 2013-10-31 Hitachi, Ltd. Computer and method for replicating data so as to minimise a data loss risk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348174A (en) * 2002-07-30 2004-12-09 Hitachi Ltd Storage device system
JP2009020568A (en) * 2007-07-10 2009-01-29 Hitachi Ltd Storage system, and method for designing disaster recovery configuration
WO2013160943A1 (en) * 2012-04-25 2013-10-31 Hitachi, Ltd. Computer and method for replicating data so as to minimise a data loss risk

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk

Also Published As

Publication number Publication date
JP6637258B2 (en) 2020-01-29

Similar Documents

Publication Publication Date Title
US10613780B1 (en) Multi-node removal
AU2016405587B2 (en) Splitting and moving ranges in a distributed system
US10303570B2 (en) Method and apparatus for managing data recovery of distributed storage system
US9417976B2 (en) Preventing migration of a virtual machine from affecting disaster recovery of replica
US9983964B2 (en) Optimizing disaster recovery systems during takeover operations
JP5940144B2 (en) Method, system, and computer program for collaborative disaster recovery
JP5391601B2 (en) Resource transfer system, resource transfer method, information processing apparatus, and computer program
CN105027068A (en) Performing copies in a storage system
US9495262B2 (en) Migrating high activity volumes in a mirror copy relationship to lower activity volume groups
KR20120032920A (en) System and method for distributely processing file volume for chunk unit
EP2372552B1 (en) Automated relocation of in-use multi-site protected data storage
US10489353B2 (en) Computer system and data management method
JP2023509209A (en) Cloud system migration method and device, and hybrid cloud system
US20230267103A1 (en) Database Schema Branching Workflow, with Support for Data, Keyspaces and VSchemas
JP6637258B2 (en) Storage system migration method and program
JP2013156847A (en) File system
JP6291977B2 (en) Distributed file system, backup file acquisition method, control device, and management device
JP6214089B2 (en) Computer system and program for determining data replication destination
JP6379914B2 (en) Storage system, control method and control program
US20230342061A1 (en) Method, electronic device and computer program product for data processing
KR20130026738A (en) Apparatus and method for distribute and store file data
US20160246684A1 (en) User prompted volume recovery

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191220

R150 Certificate of patent or registration of utility model

Ref document number: 6637258

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150