JP5293213B2 - Replication volume dynamic generation system and dynamic pair setting method - Google Patents

Replication volume dynamic generation system and dynamic pair setting method Download PDF

Info

Publication number
JP5293213B2
JP5293213B2 JP2009008131A JP2009008131A JP5293213B2 JP 5293213 B2 JP5293213 B2 JP 5293213B2 JP 2009008131 A JP2009008131 A JP 2009008131A JP 2009008131 A JP2009008131 A JP 2009008131A JP 5293213 B2 JP5293213 B2 JP 5293213B2
Authority
JP
Japan
Prior art keywords
volume
site
replication
area
pair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009008131A
Other languages
Japanese (ja)
Other versions
JP2010165255A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2009008131A priority Critical patent/JP5293213B2/en
Publication of JP2010165255A publication Critical patent/JP2010165255A/en
Application granted granted Critical
Publication of JP5293213B2 publication Critical patent/JP5293213B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a dynamic generation system of a replicated volume for automatically setting a pair relation between a master volume (MV) and a replicated volume (RV) even under the environment in which the number of replicated volumes (RV) of a client site is smaller than the number of master volumes (MV) of a main site, and allowing file access from the client site to the main site using the replication. <P>SOLUTION: When file access is made from the client site 300, the main site 100 automatically sets the pair relation between the master volume (MV) 130 of the main site 100 and the replicated volume (RV) 330 of the client site 300 by a dynamic pair setting means 142, referring to an MV-RV pair management table 145. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、メインサイトのマスタボリュームにおける更新データを、ネットワーク回線を介したクライアントサイトまたはサブサイトの複製ボリューム(RV)に反映させる、レプリケーションと呼ばれる技術に関するものである。   The present invention relates to a technique called replication in which update data in a master volume at a main site is reflected on a replication volume (RV) at a client site or a subsite via a network line.

データベース管理システムが持つ負荷分散機能の一つとして、レプリケーションの技術が存在する。レプリケーションとは、データベースに格納されているデータと同じ内容の複製データをネットワーク上に複数配置し、通信回線やコンピュータにかかる負荷を軽減する仕組みのことである。マスターのデータ(マスタボリューム)を保持するデータベースは、複製データ(複製ボリューム)を保持するデータベースと、ネットワークを通じてデータを交換し、常に内容が一致するように動作する。そして、一ヶ所でデータが更新されると、マスターのデータとすべての複製データに自動的に更新内容が伝播する技術である。
ここで、レプリケーションでは、マスタボリューム(MV)の全更新が複製ボリューム(RV)へ反映されない限り、複製ボリューム(RV)の一貫性は確保されない。このため、レプリケーション途中では、複製ボリューム(RV)のファイルを正しく参照することは出来ない。
One of the load balancing functions of a database management system is replication technology. Replication is a mechanism that reduces the load on communication lines and computers by placing multiple copies of the same content as data stored in a database on a network. The database that holds the master data (master volume) exchanges data with the database that holds the replicated data (replicated volume) through the network, and operates so that the contents always match. In addition, when the data is updated at one place, the update contents are automatically propagated to the master data and all the replicated data.
Here, in replication, the consistency of the replication volume (RV) is not ensured unless all updates of the master volume (MV) are reflected in the replication volume (RV). For this reason, it is not possible to correctly refer to the file of the replication volume (RV) during replication.

複製ボリューム(RV)でファイルを参照するためには、レプリケーションの完了を待つか、メインサイトとクライアントサイトでファイルの一貫性を保つ分散ファイルシステムの方法を利用するかであるが、どちらの方法にも問題があった。   In order to refer to the file on the replication volume (RV), it is either waiting for the completion of replication or using the distributed file system method that maintains the consistency of the file at the main site and the client site. There was a problem.

レプリケーションの完了を待つ方法の問題点は、マスタボリューム(MV)で大量のデータが更新された場合、複製ボリューム(RV)のファイルアクセスが可能になるまで多くの待ち時間が必要となることである。   The problem with the method of waiting for the completion of replication is that when a large amount of data is updated in the master volume (MV), a long waiting time is required until file access of the replication volume (RV) becomes possible. .

分散ファイルシステムを利用する方法の問題点は、両ホストコンピュータ上で動作する分散ファイルシステムがファイルの更新状態の確認や更新データの転送を行う必要があり、ホストコンピュータ(以下、単に「ホスト」と記載することがある)の負荷を増加させてしまうことである。   The problem with the method of using the distributed file system is that the distributed file system operating on both host computers needs to check the update status of the file and transfer the update data. Increase the load).

なお、関連する技術のSANディザスタリカバリシステムがある(特許文献1を参照)。しかしながら、この特許文献1のSANディザスタリカバリシステムは、正系ディスクへ更新IO要求が発行されると、ペア状態テーブルを参照し、その情報を基に副系ディスクを特定し、正系/副系の両方に更新IO処理を行い同期化処理を実行するものであり、上述したレプリケーション時における待ち時間等の問題を解決しようとするものではない。   Note that there is a SAN disaster recovery system of related technology (see Patent Document 1). However, when an update IO request is issued to the primary disk, the SAN disaster recovery system of Patent Document 1 refers to the pair status table, identifies the secondary disk based on the information, and detects the primary / secondary system. The update IO process is performed on both of them and the synchronization process is executed, and the above-mentioned problems such as the waiting time at the time of replication are not solved.

特開2006−344090号公報JP 2006-344090 A

ところで、上述した問題点の解決法として、以下の方法がある。
クライアントサイトにおいて、ホストから複製ボリューム(RV)のファイルへのアクセス要求により、クライアントサイトのストレージはメインサイトのストレージに複製ボリューム(RV)の該当する領域が最新であるかを問い合わせ、最新でなければ、メインサイトのストレージはマスタボリューム(MV)の該当する領域をロックしてメインサイトからの更新を排他し、該当する領域の更新データをクライアントサイトに転送し、クライアントサイトのストレージにおいて、複製ボリューム(RV)に該当する領域の更新データを反映させることで、クライアントサイトにおいて要求が上がった時点で最新のファイルにアクセスできる。
By the way, as a solution to the above-mentioned problems, there are the following methods.
At the client site, in response to a request for access to the file of the replication volume (RV) from the host, the storage at the client site inquires the storage at the main site whether the corresponding area of the replication volume (RV) is the latest. The storage at the main site locks the corresponding area of the master volume (MV) to exclude updates from the main site, transfers the update data of the corresponding area to the client site, and transfers it to the replication volume (RV) at the storage at the client site. By reflecting the update data in the corresponding area, the latest file can be accessed when a request is made at the client site.

しかし、上記解決法だけでは以下のような課題が残る。
レプリケートされたファイルをクライアントサイト(またはサブサイト)からアクセスする場合、同時にアクセスするボリューム数が少ない場合でも、一般にどのボリュームがいつ必要か分からないため、全てのマスタボリューム(MV)に対応する複製ボリューム(RV)を準備することが理想であるが、現実には、それだけ多数の複製ボリューム(RV)を設備することはできない。
However, the following problems remain only with the above solution.
When accessing replicated files from the client site (or subsite), even if the number of volumes to be accessed at the same time is small, it is generally not known which volume is required and when, so the replication volume corresponding to all master volumes (MV) Although it is ideal to prepare (RV), in reality, it is not possible to install a large number of replica volumes (RV).

仮に、対象となるマスタボリューム(MV)が、いつ必要になるかが分かったとしても、随時手動でマスタボリューム(MV)・複製ボリューム(RV)のペアを設定・解除する必要がある。例えば、日中と夜間でアクセスするボリュームが変わる業務形態では、日中は夜間の複製ボリューム(RV)が不要であり、夜間は日中の複製ボリューム(RV)が不要であるにもかかわらず、日中と夜間両方の複製ボリューム(RV)を用意するか、もしくは、手動でマスタボリューム(MV)・複製ボリューム(RV)のペアを変更しなければならなかった。   Even if it is known when the target master volume (MV) is necessary, it is necessary to manually set and cancel the master volume (MV) / replica volume (RV) pair as needed. For example, in a business mode in which the volume accessed during daytime and nighttime changes, the nighttime replication volume (RV) is unnecessary during the daytime, and the daytime replication volume (RV) is not required during the nighttime. Either daytime and nighttime replication volumes (RV) must be prepared, or the master volume (MV) / replication volume (RV) pair must be changed manually.

このように、クライアントサイトの複製ボリューム(RV)の数がメインサイトのマスタボリューム(MV)の数より少ない環境においては、マスタボリューム(MV)と複製ボリューム(RV)との間にペア関係を切り替えて必要なデータをレプリケートをする必要があるが、このペア関係を手動で設定・解除することは非常に煩わしい作業となる。   In this way, in an environment where the number of replica volumes (RV) at the client site is smaller than the number of master volumes (MV) at the main site, the pair relationship is switched between the master volume (MV) and the replica volume (RV). It is necessary to replicate necessary data, but manually setting / releasing this pair relationship is a very troublesome task.

本発明は上記課題を解決するためになされたものであり、本発明の目的は、メインサイトのマスタボリューム(MV)とクライアントサイトの複製ボリューム(RV)との間でペア関係を設定してレプリケートを行うシステムにおいて、クライアントサイトの複製ボリューム(RV)の数がメインサイトのマスタボリューム(MV)の数より少ない環境においても、マスタボリューム(MV)と複製ボリューム(RV)とのペア関係を手動で設定することなく自動で設定し、クライアントサイトからメインサイトのマスタボリューム(MV)に対しレプリケーションを用いてファイルアクセスが行える、複製ボリュームの動的生成システム、および動的ペア設定方法を提供することにある。   The present invention has been made to solve the above-described problems. The object of the present invention is to establish a pair relationship between a master volume (MV) at a main site and a replica volume (RV) at a client site to replicate data. Even in an environment where the number of replica volumes (RV) at the client site is smaller than the number of master volumes (MV) at the main site, the pair relationship between the master volume (MV) and the replica volume (RV) is manually set. It is an object of the present invention to provide a replication volume dynamic generation system and a dynamic pair setting method, which can automatically set the file and perform file access from the client site to the master volume (MV) of the main site using replication.

上記目的を達成するために、本発明は、複数のマスタボリューム(MV)を記憶部に有するメインサイトと、前記マスタボリュームの内容をレプリケートする複製ボリューム(RV)を記憶部に有するクライアントサイトとがネットワークで接続されて構成されると共に、前記マスタボリューム(MV)と前記複製ボリューム(RV)とでペア関係が設定される複製ボリュームの動的生成システムであって、前記マスタボリューム(MV)と前記クライアントサイトの複製ボリューム(RV)とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段を、備えることを特徴とする複製ボリュームの動的生成システムである。   In order to achieve the above object, according to the present invention, a main site having a plurality of master volumes (MV) in a storage unit and a client site having a replication volume (RV) for replicating the contents of the master volume in a storage unit are networked. And a replication volume dynamic generation system in which a pair relationship is set between the master volume (MV) and the replication volume (RV), the master volume (MV) and the client Dynamic replication of a replication volume characterized by comprising dynamic pair setting means for dynamically setting a pair relationship with a replication volume (RV) of a site when file access from a client site to a main site is performed. Generation system.

また本発明は、複数のマスタボリューム(MV)を記憶部に有するメインサイトと、前記マスタボリュームの内容をレプリケートする複製ボリューム(RV)を記憶部に有するクライアントサイトとがネットワークで接続されて構成されると共に、前記マスタボリューム(MV)と前記複製ボリューム(RV)とでペア関係が設定される複製ボリュームの動的生成システムにおける動的ペア設定方法であって、前記メインサイトにより、前記マスタボリューム(MV)と前記複製ボリューム(RV)とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手順が、行われることを特徴とする動的ペア設定方法である。   Further, the present invention is configured by connecting a main site having a plurality of master volumes (MV) in a storage unit and a client site having a replication volume (RV) for replicating the contents of the master volume in a storage unit via a network. In addition, a dynamic pair setting method in a replication volume dynamic generation system in which a pair relationship is set between the master volume (MV) and the replication volume (RV), wherein the master volume (MV) is set by the main site. Dynamic pair setting characterized in that a dynamic pair setting procedure is performed for dynamically setting a pair relationship between a copy volume and the replication volume (RV) when file access from the client site to the main site is performed. Is the method.

本発明の複製ボリュームの動的生成システム、および動的ペア設定方法においては、メインサイトは、クライアントサイトおよびサブサイトからのファイルアクセスが行なわれる際に、マスタボリューム(MV)・複製ボリューム(RV)のペア関係を、自動かつ動的に設定する。例えば、マスタボリューム(MV)と複製ボリューム(RV)とにペア関係がない場合は、ペア関係を生成して登録する。
これにより、クライアントサイトおよびサブサイトの複製ボリューム(RV)の数がメインサイトのマスタボリューム(MV)の数より少ない状況においても、マスタボリューム(MV)と複製ボリューム(RV)のペア関係を手動で設定することなく自動で設定することができる。このため、クライアントサイトおよびサブサイトのホストからメインサイトのマスタボリューム(MV)に対しレプリケーションを用いて効率的にファイルアクセスが行える。
In the replication volume dynamic generation system and the dynamic pair setting method according to the present invention, the main site, when file access is performed from the client site and the subsite, the master volume (MV) / replication volume (RV) Set the pair relationship automatically and dynamically. For example, if there is no pair relationship between the master volume (MV) and the replication volume (RV), a pair relationship is generated and registered.
As a result, even when the number of replica volumes (RV) at the client site and subsite is smaller than the number of master volumes (MV) at the main site, the pair relationship between the master volume (MV) and replica volume (RV) is set manually. Can be set automatically without having to For this reason, file access can be efficiently performed from the host at the client site and the subsite to the master volume (MV) at the main site using replication.

本発明の実施の形態に係る複製ボリュームの動的生成システムの構成を示す図である。It is a figure which shows the structure of the dynamic generation system of the replication volume which concerns on embodiment of this invention. MV・RVペア管理表と反映差分管理表の構成例を示す図である。It is a figure which shows the structural example of a MV * RV pair management table and a reflection difference management table. クライアントサイトからメインサイトのマスタボリューム(MV)をアクセスする方法(1/4)を示す図である。It is a figure which shows the method (1/4) which accesses the master volume (MV) of the main site from a client site. クライアントサイトからメインサイトのマスタボリューム(MV)をアクセスする方法(2/4)を示す図である。It is a figure which shows the method (2/4) which accesses the master volume (MV) of the main site from a client site. クライアントサイトからメインサイトのマスタボリューム(MV)をアクセスする方法(3/4)を示す図である。It is a figure which shows the method (3/4) which accesses the master volume (MV) of the main site from a client site. クライアントサイトからメインサイトのマスタボリューム(MV)をアクセスする方法(4/4)を示す図である。It is a figure which shows the method (4/4) which accesses the master volume (MV) of the main site from a client site. MV・RVのペアが存在せず、未使用のRVが存在する場合の例を示す図である。It is a figure which shows the example when the pair of MV * RV does not exist and there exists unused RV. MV・RVのペアが存在せず、未使用のRVが存在しない場合の例を示す図である。It is a figure which shows the example when the pair of MV * RV does not exist and an unused RV does not exist. クライアントサイトに新たなRVを追加した場合の例を示す図である。It is a figure which shows the example at the time of adding new RV to a client site. メインサイトに新たなMVを追加した場合の例を示す図である。It is a figure which shows the example at the time of adding new MV to the main site. アクセス頻度による先読みの例を示す図である。It is a figure which shows the example of the prefetch by access frequency. メインサイトへの通信不能の場合の例(1/8)を示す図である。It is a figure which shows the example (1/8) in case communication with a main site is impossible. メインサイトへの通信不能の場合の例(2/8)を示す図である。It is a figure which shows the example (2/8) in case the communication to a main site is impossible. メインサイトへの通信不能の場合の例(3/8)を示す図である。It is a figure which shows the example (3/8) in case communication with a main site is impossible. メインサイトへの通信不能の場合の例(4/8)を示す図である。It is a figure which shows the example (4/8) in case communication with a main site is impossible. メインサイトへの通信不能の場合の例(5/8)を示す図である。It is a figure which shows the example (5/8) in case communication with a main site is impossible. メインサイトへの通信不能の場合の例(6/8)を示す図である。It is a figure which shows the example (6/8) in case the communication to a main site is impossible. メインサイトへの通信不能の場合の例(7/8)を示す図である。It is a figure which shows the example (7/8) in case the communication to a main site is impossible. メインサイトへの通信不能の場合の例(8/8)を示す図である。It is a figure which shows the example (8/8) in case the communication to a main site is impossible.

[本発明の複製ボリュームの動的生成システムの概要]
従来の複製ボリュームを使用するシステムでは、以下のような問題がある。
第1の問題点は、前述のように、クライアントサイトの複製ボリューム(RV)の数がメインサイトのマスタボリューム(MV)の数より少ない環境においては、マスタボリューム(MV)と複製ボリューム(RV)のペア関係を切り替えて必要なデータをレプリケートする必要がある。したがって、このペア関係の設定・解除作業は非常に煩わしい作業となっており、この問題の解決が望まれていた。
[Overview of Dynamic Generation System of Replica Volume of the Present Invention]
A system using a conventional replica volume has the following problems.
The first problem is that, as described above, in an environment where the number of replica volumes (RV) at the client site is smaller than the number of master volumes (MV) at the main site, the master volume (MV) and replica volume (RV) Necessary data must be replicated by switching the pair relationship. Accordingly, the setting / releasing operation of the pair relationship is a very troublesome operation, and it has been desired to solve this problem.

また、第2の問題点として、レプリケーションには、クライアントサイトの要求があってから最新のデータをメインサイトに要求する方法と、要求に関係なくすべてのデータをクライアントサイトに転送しておく方法とがある。前者はアクセスがあるごとにメインサイトから最新のデータとの差分を要求しなければならないため、データへのアクセスの間隔が長いと最新データとの差分が大きくなり、転送データが増えてしまう問題がある。一方、後者はサブサイトにおいてアクセス頻度の低いデータを含めてすべてのデータ転送を行わなければならないという問題があった。   As a second problem, there are two methods for replication: requesting the client site to request the latest data from the main site, and transferring all data to the client site regardless of the request. is there. The former requires a request for the difference from the latest data from the main site every time there is an access. Therefore, if the access interval to the data is long, the difference with the latest data increases and the transfer data increases. . On the other hand, the latter has a problem that all data must be transferred including data with low access frequency at the subsite.

また、第3の問題点として、メインサイトにアクセスするクライアントサイトにおいて、メインサイトとクライアントサイト間のネットワーク回線が不通になったことにより、マスタボリューム(MV)へのアクセスが不可能になった場合、サブサイトの複製ボリューム(RV)にアクセスを切り替えても、マスタボリューム(MV)の全更新がサブサイトの複製ボリューム(RV)へ反映されない限り、ファイルの不整合のため、アクセスできない問題があった。   As a third problem, if the client site accessing the main site cannot access the master volume (MV) because the network line between the main site and the client site is disconnected, Even if the access is switched to the replication volume (RV) at the site, there is a problem that access is not possible due to file inconsistency unless all updates of the master volume (MV) are reflected in the replication volume (RV) at the subsite.

本発明の複製ボリュームの動的生成システムは上記問題点を解決するように構成されており、本発明の複製ボリュームの動的生成システムにおける第1の目的は、複製ボリューム(RV)の数がマスタボリューム(MV)の数より少ない環境においても、マスタボリューム(MV)と複製ボリューム(RV)のペア関係を自動設定することで、レプリケーションを利用して、クライアントサイト(またはサブサイト)からメインサイトのマスタボリューム(MV)のファイルに効率的にアクセスできるようにすることである。   The replica volume dynamic generation system of the present invention is configured to solve the above-mentioned problems. The first object of the replica volume dynamic generation system of the present invention is that the number of replica volumes (RV) is the master. Even in an environment where the number of volumes (MV) is smaller, the master volume (MV) and replication volume (RV) pair relationship is automatically set, so that replication can be used from the client site (or subsite) to the main site master. It is to make it possible to efficiently access files on the volume (MV).

また、本発明の複製ボリュームの動的生成システムにおける第2の目的は、複製ボリュームの動的生成システムにおいて、メインサイトではクライアントサイトまたはサブサイトからのアクセスについて、ストレージが一定の領域(例えばセクタ)ごとにアクセス頻度の情報を持ち、ネットワーク回線の利用頻度が低いときに、そのアクセス頻度の情報をもとに事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行えようにすることである。   The second object of the dynamic generation system for replica volumes of the present invention is a system for dynamically generating replica volumes, in which the storage at the main site is a fixed area (for example, sector) for access from the client site or subsite. Information on the access frequency, and when the network line usage frequency is low, replication from the main site to the client site and sub-site can be performed in advance based on the access frequency information.

さらに、本発明の複製ボリュームの動的生成システムにおける第3の目的は、複製ボリュームの動的生成システムにおいて、メインサイトとメインサイトにアクセスしているクライアントサイトの間のネットワーク回線が不通になった場合、別のネットワーク回線で接続されているサブサイトのストレージを中継としてレプリケーションを行うことで、クライアントサイトからメインサイトへのファイルアクセスを継続できるようにすることである。   Furthermore, a third object of the replication volume dynamic generation system of the present invention is that, in the replication volume dynamic generation system, when the network line between the main site and the client site accessing the main site is disconnected, By performing replication using the storage at the subsite connected by another network line as a relay, file access from the client site to the main site can be continued.

上記目的を達成するように、図1に示す複製ボリュームの動的生成システム1が構成されている。以下、本発明の複製ボリュームの動的生成システムの構成と動作について説明する。   In order to achieve the above object, a replication volume dynamic generation system 1 shown in FIG. 1 is configured. The configuration and operation of the replication volume dynamic generation system of the present invention will be described below.

(複製ボリュームの動的生成システムの構成の説明)
本発明の複製ボリュームの動的生成システムの構成について図1、図2を参照して説明する。なお、ここでは、複製ボリュームの動的生成システムの構成の概要について説明し、詳細な動作については、図3以降で説明する。
(Description of the configuration of the dynamic generation system for replication volumes)
A configuration of a replication volume dynamic generation system according to the present invention will be described with reference to FIGS. Here, the outline of the configuration of the replication volume dynamic generation system will be described, and the detailed operation will be described with reference to FIG.

図1は、本発明の実施の形態に係る複製ボリュームの動的生成システムの構成を示す図である。この複製ボリュームの動的生成システム1は、メインサイト100と、サブサイト200と、複数のクライアントサイト300とで構成される。   FIG. 1 is a diagram showing a configuration of a replication volume dynamic generation system according to an embodiment of the present invention. The replication volume dynamic generation system 1 includes a main site 100, a subsite 200, and a plurality of client sites 300.

また、メインサイト100は、ホストコンピュータ110と、ストレージ(記憶部)120とを有しており、ストレージ120には、複数のマスタボリューム(MV1,MV2,MV3)と、コントローラ140を有している。
サブサイト200は、ホストコンピュータ210と、ストレージ(記憶部)220とを有しており、ストレージ220には、複数の複製ボリューム(RV1,RV2,RV3)230と、コントローラ240を有している。
The main site 100 includes a host computer 110 and a storage (storage unit) 120. The storage 120 includes a plurality of master volumes (MV1, MV2, MV3) and a controller 140.
The subsite 200 includes a host computer 210 and a storage (storage unit) 220, and the storage 220 includes a plurality of replication volumes (RV 1, RV 2, RV 3) 230 and a controller 240.

クライアントサイト300は、ホストコンピュータ310と、ストレージ(記憶部)320とを有しており、このストレージ320は、複製ボリューム(RV)330と、コントローラ340を有している。   The client site 300 includes a host computer 310 and a storage (storage unit) 320, and the storage 320 includes a replication volume (RV) 330 and a controller 340.

なお、図1では、クライアントサイト300が3つの場合を例示しているが、より多数のクライアントサイト300が配置される場合がある。また、メインサイト100内のマスタボリューム(MV)130としてマスタボリュームMV1、マスタボリュームMV2、マスタボリュームMV3の3つを例示しているが、これに限定されず、任意の個数のマスタボリューム(MV)を有する構成とすることとができる。   Although FIG. 1 illustrates the case where there are three client sites 300, a larger number of client sites 300 may be arranged. In addition, the master volume (MV) 130 in the main site 100 is exemplified as the master volume MV1, the master volume MV2, and the master volume MV3. However, the present invention is not limited to this, and an arbitrary number of master volumes (MV) can be selected. It can be set as the structure which has.

また、サブサイト200内の複製ボリューム(RV)230として複製ボリュームRV1、複製ボリュームRV2、複製ボリュームRV3の3つを例示しているが、これに限定されず、任意の個数の複製ボリューム(RV)230を有する構成とすることとができる。また、各クライアントサイト300においては、複製ボリューム(RV)を1つのみ有する構成を示しているが、これに限定されず、任意の個数のマスタボリューム(MV)130を有する構成とすることとができる。   In addition, although the three replication volumes RV1, replication volume RV2, and replication volume RV3 are illustrated as the replication volumes (RV) 230 in the subsite 200, the present invention is not limited to this, and an arbitrary number of replication volumes (RV) is provided. 230 can be adopted. Each client site 300 has a configuration having only one replication volume (RV). However, the present invention is not limited to this, and a configuration having an arbitrary number of master volumes (MV) 130 may be used. it can.

以下、図1に示す複製ボリュームの動的生成システム1を構成する各部の構成について説明する。なお、各部の機能と詳細な処理動作の内容については、図3以降において説明するので、ここでは、その構成の概要について説明する。   Hereinafter, the configuration of each unit constituting the replication volume dynamic generation system 1 shown in FIG. 1 will be described. The function of each unit and the details of the detailed processing operation will be described in FIG. 3 and subsequent figures, and here, the outline of the configuration will be described.

(クライアントサイトの構成の説明)
図1に示すクライアントサイト300において、コントローラ340内の領域最新化手段313は、アプリケーション(AP)314からの指示によるファイルオープンの過程で、複製ボリューム(RV)330内のファイル制御領域とファイルデータ領域が配置されている領域情報をストレージ320に送信し、対応する複製ボリューム(RV)330の領域の最新化を領域ロック・転送手段341に指示する。
(Description of client site configuration)
In the client site 300 shown in FIG. 1, the area update unit 313 in the controller 340 performs a file control area and a file data area in the replication volume (RV) 330 in the process of opening a file in response to an instruction from the application (AP) 314. Is sent to the storage 320, and the area lock / transfer means 341 is instructed to update the area of the corresponding replication volume (RV) 330.

ファイルシステム312は、ホスト310上のアプリケーション(AP)314が複製ボリューム(RV)330上のファイルを参照・更新するためのインタフェースである。   The file system 312 is an interface for the application (AP) 314 on the host 310 to refer to and update the file on the replication volume (RV) 330.

複製ボリューム(RV)330は、レプリケート先のボリュームであり、クライアントサイト300のホスト310で使用するボリュームでメインサイト100のマスタボリューム(MV)130で更新されたデータがレプリケーションによって書き込まれる。   The replication volume (RV) 330 is a replication destination volume, and is a volume used by the host 310 of the client site 300 and updated by the master volume (MV) 130 of the main site 100 by replication.

コントローラ340内の領域ロック・転送手段341は、領域最新化手段313から受信した領域情報をメインサイト100へ送信する。
また、この領域ロック・転送手段341は、メインサイト100からの受信データを複製ボリューム(RVn)330に反映すると、メインサイト100に対し反映完了の通知とともにMV・RVペア管理表145において複製ボリューム(RV)330へのアクセス時刻の更新と、反映差分管理表146において反映領域の反映済みフラグを上げることとアクセス回数の更新を要求する。また、領域ロック・転送手段341は、マスタボリューム(MV)130に対する参照ロックを解放する手段と、ネットワーク回線障害を検知する通信障害検知手段を有する。
The area lock / transfer means 341 in the controller 340 transmits the area information received from the area update means 313 to the main site 100.
Further, when the area lock / transfer unit 341 reflects the data received from the main site 100 in the replication volume (RVn) 330, the replication lock (RVn) 330 is notified in the MV / RV pair management table 145 together with the notification of the reflection completion to the main site 100. 330 requests the update of the access time to 330, raise the reflection flag of the reflection area in the reflection difference management table 146, and update the number of accesses. The area lock / transfer unit 341 includes a unit that releases a reference lock for the master volume (MV) 130 and a communication failure detection unit that detects a network line failure.

サイト切替手段343、メインサイト100へのネットワーク回線の通信障害を検知した領域ロック・転送手段341から中継の指示を受け、サブサイト200のサイト切替管理手段247に中継要求を出し、要求受理かどうかの通知を受け取る。また、通信復旧時の通知を受け、サイト切替管理手段247に中継処理終了を要求する。   In response to a relay instruction from the site switching unit 343 and the area lock / transfer unit 341 that has detected a communication failure on the network line to the main site 100, a relay request is issued to the site switching management unit 247 of the subsite 200, and whether or not the request is accepted. Receive notifications. Further, upon receiving a notification at the time of communication restoration, it requests the site switching management means 247 to end the relay processing.

(メインサイトの構成の説明)
メインサイト100内のマスタボリューム(MV)130は、レプリケート元のボリュームであり、メインサイト100のホストで使用するボリュームである。マスタボリューム(MV)が更新された時は、反映差分管理表146にボリューム内の更新箇所が記録される。なお、複製ボリューム(RV)は、レプリケート先のボリュームであり、クライアントサイト300およびサブサイト200のホストで使用するボリュームで、マスタボリューム(MV)で更新されたデータがレプリケーションによって書き込まれる。
(Description of main site configuration)
A master volume (MV) 130 in the main site 100 is a replication source volume and is a volume used by the host of the main site 100. When the master volume (MV) is updated, the update location in the volume is recorded in the reflection difference management table 146. The replication volume (RV) is a replication destination volume, and is a volume used by the hosts of the client site 300 and the subsite 200, and data updated in the master volume (MV) is written by replication.

MV・RVペア管理表145は、マスタボリューム(MV)・複製ボリューム(RVn)間でレプリケーションを行っている関係にあるものをペアとして登録する管理表である。クライアントサイト300の複製ボリューム(RV)330およびサブサイト200の複製ボリューム(RV)230にアクセスされた最新時刻と反映差分管理表146へのリンクを持っている。   The MV / RV pair management table 145 is a management table for registering a pair having a relationship in which replication is performed between a master volume (MV) and a replication volume (RVn). It has the latest access time to the replication volume (RV) 330 at the client site 300 and the replication volume (RV) 230 at the subsite 200 and a link to the reflection difference management table 146.

反映差分管理表146は、クライアントサイト300およびサブサイト200からアクセスされた領域のデータについて、一定の領域(たとえばセクタ)ごとにマスタボリューム(MV)のデータが複製ボリューム(RV)230,330に反映されているかと、該当する領域のアクセス頻度とを管理する管理表である。   The reflection difference management table 146 reflects the data of the master volume (MV) in the replication volumes (RV) 230 and 330 for each predetermined area (for example, sector) of the data accessed from the client site 300 and the subsite 200. It is a management table that manages whether the access is made and the access frequency of the corresponding area.

また、マスタボリューム(MV)130内のファイル制御領域131は、ファイルの制御情報が格納されている領域で、ファイルの領域情報を持つ。ファイルデータ領域132は、ファイルのデータが格納されている領域である。   The file control area 131 in the master volume (MV) 130 is an area in which file control information is stored, and has file area information. The file data area 132 is an area in which file data is stored.

また、コントローラ140内の領域ロック・転送手段141は、マスタボリューム(MV)130の指定領域の参照ロックを行ったあと、動的ペア設定手段142に該当領域の差分の有無の返却を指示し、差分があった場合、差分をクライアントサイト300およびサブサイト200へ転送する。反映済みならば、その旨をクライアントサイト300およびサブサイト200へ通知する。   The area lock / transfer means 141 in the controller 140 instructs the dynamic pair setting means 142 to return the presence / absence of a difference in the corresponding area after performing the reference lock of the designated area of the master volume (MV) 130. If there is a difference, the difference is transferred to the client site 300 and the subsite 200. If it has been reflected, this is notified to the client site 300 and the subsite 200.

メインサイト100の動的ペア設定手段142は、領域ロック・転送手段141から指定されたマスタボリューム(MV)130がMV・RVペア管理表145に存在するかを確認し、存在した場合、反映差分管理表146から指定領域の更新をクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に結果を返す。   The dynamic pair setting unit 142 of the main site 100 confirms whether or not the master volume (MV) 130 designated by the area lock / transfer unit 141 exists in the MV / RV pair management table 145. It is confirmed from the table 146 whether the update of the designated area is reflected in the replication volume (RV) 330 of the client site 300, and the result is returned to the area lock / transfer unit 141.

また、動的ペア設定手段142は、MV・RVペア管理表145にマスタボリューム(MV)に対応する複製ボリューム(RV)が存在しない場合、未使用の複製ボリューム(RV)を検索する。未使用の複製ボリューム(RV)が存在した場合、その複製ボリューム(RV)をマスタボリューム(MV)のペアとしてMV・RVペア管理表145に登録する。   The dynamic pair setting unit 142 searches for an unused replication volume (RV) when there is no replication volume (RV) corresponding to the master volume (MV) in the MV / RV pair management table 145. When an unused replication volume (RV) exists, the replication volume (RV) is registered in the MV / RV pair management table 145 as a master volume (MV) pair.

また、動的ペア設定手段142は、クライアントサイト300およびサブサイト200からの複製ボリューム(RV)アクセス時刻の更新と、反映領域の反映済みフラグ上げアクセス回数の更新要求について、MV・RVペア管理表145と反映差分管理表146を更新する。   The dynamic pair setting unit 142 also updates the replication volume (RV) access time from the client site 300 and the sub-site 200 and the update request for the reflected area raising access count of the reflection area. 145 and the reflection difference management table 146 are updated.

また、先読み手段143は、先読領域割出手段(先読み領域割り出し手段)144を用いて、反映差分管理表146からマスタボリューム(MV)130の領域が未反映の領域でアクセス頻度が高い領域を検索し、MV・RVペア管理表145から該当する領域の複製ボリューム(RV)330を割り出し、領域ロック・転送手段141に該当領域の差分データを複製ボリューム(RV)330に転送することを指示する。   In addition, the prefetching unit 143 uses the prefetching area indexing unit (prefetching area indexing unit) 144 to identify an area in which the master volume (MV) 130 area is unreflected from the reflection difference management table 146 and has a high access frequency. Search, determine the replication volume (RV) 330 of the corresponding area from the MV / RV pair management table 145, and instruct the area lock / transfer means 141 to transfer the difference data of the area to the replication volume (RV) 330. .

(サブサイトの構成の説明)
サブサイト200は、メインサイト100とクライアントサイト300とを接続するネットワークが通信不能になった場合に、メインサイト100とクライアントサイト300との間を中継するために設けられるものである。このため、サブサイト200にはメインサイト100と同様な構成部分を有している。
(Description of subsite structure)
The subsite 200 is provided for relaying between the main site 100 and the client site 300 when the network connecting the main site 100 and the client site 300 becomes unable to communicate. For this reason, the subsite 200 has the same components as the main site 100.

サブサイト200のコントローラ240内の領域ロック・転送手段241は、レプリケーとの際に、メインサイト100から受け取ったデータを複製ボリューム(RV)230に書き込み、メインサイト100からの受信データを複製ボリューム(RV)230に反映させた後に、メインサイト100に反映完了の通知とともにMV・RVペア管理表145において複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146において反映領域の反映済みフラグを上げることとアクセス回数の更新を要求する。   The area lock / transfer means 241 in the controller 240 of the subsite 200 writes the data received from the main site 100 to the replication volume (RV) 230 at the time of replication, and the received data from the main site 100 to the replication volume (RV). 230, after the reflection is notified to the main site 100, update of the replication volume (RV) access time in the MV / RV pair management table 145, and raising the reflection flag of the reflection area in the reflection difference management table 146 Request update of access count.

また、領域ロック・転送手段241は、クライアントサイト300からアクセスがあった場合に、複製ボリューム(RV)230のデータをクライアントサイト300の複製ボリューム(RV)330に反映させる。   The area lock / transfer unit 241 reflects the data of the replication volume (RV) 230 in the replication volume (RV) 330 of the client site 300 when accessed from the client site 300.

動的ペア設定手段242は、領域ロック・転送手段241から指定された複製ボリューム(RV)330がMV・RVペア管理表245に存在するかを確認し、存在した場合、反映差分管理表246から指定領域の更新をクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段241に結果を返す。   The dynamic pair setting unit 242 confirms whether or not the replication volume (RV) 330 designated by the area lock / transfer unit 241 exists in the MV / RV pair management table 245 and, if present, from the reflection difference management table 246. It is confirmed whether the update of the designated area is reflected in the replication volume (RV) 330 of the client site 300, and the result is returned to the area lock / transfer means 241.

サイト切替管理手段247は、クライアントサイト300のサイト切替手段343から中継要求を受け、要求ボリュームについて、すでにレプリケーションが行われているボリュームがある場合、メインサイト100にMV・RVペア管理表145と反映差分管理表146から、要求を受けたクライアントサイト300についての情報を要求する。そして、サブサイト200内のMV・RVペア管理表245と反映差分管理表246にコピーし、クライアントサイト300のサイト切替手段343に要求受理を通知する。一方、すでにレプリケーションが行われているボリュームがない場合、新たにボリュームを割り当て、そのボリュームをメインサイト100に複製ボリューム(RV)としてMV・RVペア管理表145に追加し、サブサイト200ではマスタボリューム(MV)としてMV・RVペア管理表245に追加し、クライアントサイト300のサイト切替手段343に要求受理を通知する。   When the site switching management unit 247 receives a relay request from the site switching unit 343 of the client site 300 and there is a volume that has already been replicated with respect to the requested volume, the site switching management unit 247 and the MV / RV pair management table 145 and the reflection difference Information on the client site 300 that has received the request is requested from the management table 146. Then, the request is copied to the MV / RV pair management table 245 and the reflection difference management table 246 in the subsite 200, and the request acceptance is notified to the site switching means 343 of the client site 300. On the other hand, if there is no volume that has already been replicated, a new volume is allocated, the volume is added to the main site 100 as a replication volume (RV), and added to the MV / RV pair management table 145. MV) to the MV / RV pair management table 245 and notify the site switching means 343 of the client site 300 of request acceptance.

MV・RVペア管理表245は、マスタボリューム(MV)・複製ボリューム(RV)間でレプリケーションを行っている関係にあるものをペアとして登録する管理表である。また、複製ボリューム(RV)230にアクセスされた最新時刻と反映差分管理表246へのリンクを持っている。   The MV / RV pair management table 245 is a management table for registering a pair having a relationship in which replication is performed between a master volume (MV) and a replication volume (RV). Also, the latest time when the replication volume (RV) 230 was accessed and a link to the reflection difference management table 246 are provided.

複製ボリューム(RV)230のファイル制御領域231は、ファイルの制御情報が格納されている領域で、ファイルの領域情報を持つ。ファイルデータ領域232は、ファイルのデータが格納されている領域である。   The file control area 231 of the replication volume (RV) 230 is an area in which file control information is stored, and has file area information. The file data area 232 is an area where file data is stored.

なお、図2は、前述したMV・RVペア管理表と反映差分管理表の構成例を示す図である。図2に示すMV・RVペア管理表は、メインサイトのマスタボリューム(MV)と、クライアントサイト(または)サブサイトの複製ボリューム(RV)の間にペア関係があるどうかを管理するためのものである。   FIG. 2 is a diagram illustrating a configuration example of the MV / RV pair management table and the reflection difference management table described above. The MV / RV pair management table shown in FIG. 2 is used to manage whether there is a pair relationship between the master volume (MV) at the main site and the replication volume (RV) at the client site (or) subsite. .

図2に示すMV・RVペア管理表において、マスタボリューム(MV1)と複製ボリューム(RV1)とがペア状態にあり、マスタボリューム(MV2)はペア化されておらず、また、複製ボリューム(RV2)がペア化されていないことが示されている。また、ペア状態にあるマスタボリューム(MV1)と複製ボリューム(RV1)において、複製ボリューム(RV1)からのアクセス時刻t1が記録され、また、マスタボリューム(MV1)から複製ボリューム(RV1)への反映差分管理表へのリンク情報が記録されている。   In the MV / RV pair management table shown in FIG. 2, the master volume (MV1) and the replication volume (RV1) are in a pair state, the master volume (MV2) is not paired, and the replication volume (RV2) Is not paired. In addition, in the master volume (MV1) and the replication volume (RV1) in the pair state, the access time t1 from the replication volume (RV1) is recorded, and the reflection difference from the master volume (MV1) to the replication volume (RV1) Link information to the management table is recorded.

また、反映差分管理表は、他サイトからのファイルアクセス時に、反映差分管理表を用いてマスタボリューム(MV)内の該当領域が複製ボリューム(RV)に反映されているかどうかを判断するためのものである。この反映差分管理表には、領域(セクタ)ごとに、マスタボリューム(MV)の更新が反映済みか否かの情報、およびアクセス回数の情報が記録されている。   The reflection difference management table is used to determine whether the corresponding area in the master volume (MV) is reflected in the replication volume (RV) using the reflection difference management table when a file is accessed from another site. It is. In this reflection difference management table, information on whether or not the update of the master volume (MV) has been reflected and information on the number of accesses are recorded for each area (sector).

第1の実施例の動作を図3乃至図11を用いて説明する。
図3乃至図6は、クライアントサイト300でアプリケーション(AP)314からファイルを入力オープンしたとき、メインサイト100/クライアントサイト300のストレージ120,320間の連携動作を説明するための図である。以下、図3乃至図6を参照してその処理の流れについて説明する。
The operation of the first embodiment will be described with reference to FIGS.
FIGS. 3 to 6 are diagrams for explaining the cooperative operation between the storage 120 and 320 of the main site 100 / client site 300 when a file is input and opened from the application (AP) 314 at the client site 300. FIG. The processing flow will be described below with reference to FIGS.

図3を参照して、クライアントサイト300のホスト310上のアプリケーション(AP)314からメインサイト100内に存在するファイルのオープンをファイルシステム312に要求する(ステップS101)。   Referring to FIG. 3, an application (AP) 314 on the host 310 of the client site 300 requests the file system 312 to open a file existing in the main site 100 (step S101).

ファイルシステム312内の領域最新化手段313は、ストレージ320のコントローラ340内の領域ロック・転送手段341に対して、複製ボリューム(RV)330内のファイル制御領域331が配置されている領域の最新化を指示する(ステップS102)。   The area update unit 313 in the file system 312 updates the area in which the file control area 331 in the replication volume (RV) 330 is arranged with respect to the area lock / transfer unit 341 in the controller 340 of the storage 320. Is instructed (step S102).

ストレージ320の領域ロック・転送手段341は、メインサイト100に対してファイル制御領域331が配置されている領域の参照ロック取得および最新データの転送を要求する(ステップS103)。   The area lock / transfer unit 341 of the storage 320 requests the main site 100 to obtain a reference lock in the area where the file control area 331 is arranged and to transfer the latest data (step S103).

メインサイト100のコントローラ140内の領域ロック・転送手段141は、クライアントサイト300からの要求情報から、マスタボリューム(MV)130内のファイル制御領域131が配置されている領域に参照ロックをする(ステップS104)。   The area lock / transfer means 141 in the controller 140 of the main site 100 performs reference lock on the area where the file control area 131 in the master volume (MV) 130 is arranged from the request information from the client site 300 (step S104). ).

メインサイト100のコントローラ140内の動的ペア設定手段142は、要求情報から、該当するボリュームの複製ボリューム(RV)330と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS105)。   The dynamic pair setting unit 142 in the controller 140 of the main site 100 obtains a link from the request information to the reflection difference management table 146 corresponding to the replication volume (RV) 330 of the corresponding volume from the MV / RV pair management table 145. (Step S105).

続いて、図4を参照して、メインサイト100の動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS106)。   Next, referring to FIG. 4, the dynamic pair setting unit 142 of the main site 100 refers to the reflection difference management table 146 based on the acquired link, and the update of the file control area 131 is updated to the replication volume (RV) 330. The area lock / transfer means 141 is notified (step S106).

メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイル制御領域131の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分をマスタボリューム(MV)130のファイルデータ領域132から取得し、クライアントサイト300に転送する、もしくは、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する(ステップS107)。   The area lock / transfer unit 141 of the main site 100 does not reflect the update of the file control area 131 on the replication volume (RV) 330 of the client site 300 based on the information notified from the dynamic pair setting unit 142. If the difference is obtained from the file data area 132 of the master volume (MV) 130 and transferred to the client site 300, or if the update of the file control area 131 is reflected in the replication volume (RV) 330, This is notified to the client site 300 (step S107).

クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS108)。   The area lock / transfer unit 341 of the client site 300 writes the received data to the replication volume (RV) 330 (step S108).

続いて、領域ロック・転送手段341は、メインサイト100の動的ペア設定手段142に、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS109)。   Subsequently, the area lock / transfer unit 341 updates the replication volume (RV) access time in the MV / RV pair management table 145 and the corresponding area in the reflection difference management table 146 to the dynamic pair setting unit 142 of the main site 100. The dynamic pair setting unit 142 of the main site 100 updates the MV / RV pair management table 145 and the reflection difference management table 146 according to the request (step S109). ).

クライアントサイト300の領域ロック・転送手段341は、ホスト310の領域最新化手段313に対してファイル制御領域331の最新化完了を通知する(ステップS110)。領域最新化手段313は、最新化されたファイル制御領域331からファイルデータ領域332が配置されている領域情報を取得する(ステップS111)。   The area lock / transfer means 341 of the client site 300 notifies the area update means 313 of the host 310 of the completion of the update of the file control area 331 (step S110). The area updating unit 313 acquires area information where the file data area 332 is arranged from the updated file control area 331 (step S111).

続いて、図5を参照して、領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイルデータ領域332が配置されている領域の最新化を指示する(ステップS112)。   Next, referring to FIG. 5, the area update unit 313 instructs the area lock / transfer unit 341 of the storage 320 to update the area where the file data area 332 is arranged (step S112).

クライアントサイト300の領域ロック・転送手段341は、メインサイト100に対してファイルデータ領域332が配置されている領域の参照ロック取得、ファイル制御領域の参照ロック解放、最新データの転送を要求する(ステップS113)。
メインサイト100の領域ロック・転送手段141は、要求情報からファイルデータ領域132が配置されている領域に参照ロックをし、ファイル制御領域131の参照ロックを解放する(ステップS114)。
The area lock / transfer unit 341 of the client site 300 requests the main site 100 to acquire the reference lock of the area where the file data area 332 is arranged, release the reference lock of the file control area, and transfer the latest data (step S113). ).
The area lock / transfer means 141 of the main site 100 performs a reference lock on the area where the file data area 132 is arranged from the request information, and releases the reference lock of the file control area 131 (step S114).

動的ペア設定手段142は、要求情報から該当するボリュームの複製ボリューム(RV)330と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS115)。   The dynamic pair setting unit 142 acquires a link from the request information to the reflection difference management table 146 corresponding to the replication volume (RV) 330 of the corresponding volume from the MV / RV pair management table 145 (step S115).

動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイルデータ領域の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS116)。   The dynamic pair setting unit 142 refers to the reflection difference management table 146 based on the acquired link, confirms whether the update of the file data area is reflected in the replication volume (RV) 330, and locks and transfers the area. 141 is notified (step S116).

続いて、図6を参照して、メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されていないならば、差分をマスタボリューム(MV)130から取得し、クライアントサイト300に転送する、もしくは、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する(ステップS117)。   Subsequently, referring to FIG. 6, the area lock / transfer unit 141 of the main site 100 updates the file data area 132 based on the information notified from the dynamic pair setting unit 142 and updates the replication volume (RV) 330. If the difference is not reflected in the master volume (MV) 130, the difference is acquired from the master volume (MV) 130 and transferred to the client site 300, or if the update of the file data area 132 is reflected in the replication volume (RV) 330, This is notified to the client site 300 (step S117).

クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS118)。
続いて、領域ロック・転送手段341は、メインサイト100の動的ペア設定手段142に対して、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS119)。
The area lock / transfer unit 341 of the client site 300 writes the received data to the replication volume (RV) 330 (step S118).
Subsequently, the area lock / transfer unit 341 updates the replication volume (RV) access time in the MV / RV pair management table 145 and the corresponding in the reflection difference management table 146 with respect to the dynamic pair setting unit 142 of the main site 100. The dynamic pair setting unit 142 of the main site 100 updates the MV / RV pair management table 145 and the reflection difference management table 146 in accordance with the request, raising the reflected flag of the area to be updated and updating the access count ( Step S119).

クライアントサイト300の領域ロック・転送手段341は、メインサイト100に対してファイルデータ領域132の参照ロック開放を要求する(ステップS120)。メインサイト100の領域ロック・転送手段141は、ファイルデータ領域132の参照ロックを解放する(ステップS121)。
クライアントサイト300の領域ロック・転送手段341は、ホストの領域最新化手段313に対して、ファイルデータ領域332の最新化完了を通知する(ステップS122)。領域最新化手段313は、アプリケーション(AP)314に対してファイルシステム312を通じ、ファイルのオープンが完了したことを通知する(ステップS123)。
The area lock / transfer unit 341 of the client site 300 requests the main site 100 to release the reference lock of the file data area 132 (step S120). The area lock / transfer unit 141 of the main site 100 releases the reference lock of the file data area 132 (step S121).
The area lock / transfer unit 341 of the client site 300 notifies the host area update unit 313 of the completion of the update of the file data area 332 (step S122). The area updating means 313 notifies the application (AP) 314 that the file opening has been completed through the file system 312 (step S123).

このように、図4乃至図6に示した手順により、メインサイト100内のマスタボリューム(MV)130の内容と、クライアントサイト300内の複製ボリューム(RV)330の内容とが一致していることが確認され、その後に、アプリケーション(AP)314に対して、複製ボリューム(RV)330内のファイルがオープンされる。   As described above, the contents of the master volume (MV) 130 in the main site 100 and the contents of the replication volume (RV) 330 in the client site 300 match according to the procedure shown in FIGS. After confirmation, the file in the replication volume (RV) 330 is opened to the application (AP) 314.

なお、図7は、マスタボリューム(MV)・複製ボリューム(RV)のペアが存在せず、未使用の複製ボリューム(RV)が存在する場合についての説明である。図7では、上記図3におけるステップS101〜ステップS105、図4、図5および図6におけるステップS107〜ステップS123においては同様の処理を行い、図4におけるステップS106が以下の処理に変更になる。   FIG. 7 illustrates a case where there is no master volume (MV) / replication volume (RV) pair and there is an unused replication volume (RV). In FIG. 7, the same processing is performed in steps S101 to S105 in FIG. 3, and in steps S107 to S123 in FIGS. 4, 5, and 6, and step S106 in FIG. 4 is changed to the following processing.

図7を参照して、動的ペア設定手段142は、MV・RVペア管理表145を参照したときに、マスタボリューム(MV)130に対応する複製ボリューム(RV)がない場合、MV・RVペア管理表145から未使用の複製ボリューム(RV)を探し、マスタボリューム(MV)・複製ボリューム(RV)ペアを生成し、MV・RVペア管理表145に登録する。そして、その複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS106a)。   Referring to FIG. 7, when the dynamic pair setting unit 142 refers to the MV / RV pair management table 145, and there is no replication volume (RV) corresponding to the master volume (MV) 130, the dynamic pair setting unit 142 An unused replication volume (RV) is searched from the management table 145, a master volume (MV) / replication volume (RV) pair is generated, and registered in the MV / RV pair management table 145. Then, a link to the reflection difference management table 146 corresponding to the replication volume (RV) is acquired from the MV / RV pair management table 145 (step S106a).

続いて、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を割り出し、マスタボリューム(MV)のデータを複製ボリューム(RV)に反映していない状態に初期化する。そして、その反映差分管理表146を参照し、ファイル制御領域の更新が複製ボリューム(RV)に反映されているかを確認し、領域ロック・転送手段341に通知する(ステップS106b)。   Subsequently, the dynamic pair setting unit 142 determines the reflection difference management table 146 based on the acquired link, and initializes the master volume (MV) data to a state where it is not reflected in the replication volume (RV). Then, with reference to the reflection difference management table 146, it is confirmed whether the update of the file control area is reflected in the replication volume (RV), and notifies the area lock / transfer means 341 (step S106b).

また、図8は、マスタボリューム(MV)・複製ボリューム(RV)のペアが存在せず、未使用の複製ボリューム(RV)が存在しない場合についての説明である。図8では、前述の図3におけるステップS101〜ステップS105、図4、図5および図6におけるステップS107〜ステップS123においては同様の処理を行い、図4におけるステップS106が以下の処理に変更になる。   FIG. 8 illustrates a case where there is no master volume (MV) / replication volume (RV) pair and there is no unused replication volume (RV). In FIG. 8, the same processing is performed in steps S101 to S105 in FIG. 3 described above, and in steps S107 to S123 in FIGS. 4, 5, and 6, and step S106 in FIG. 4 is changed to the following processing. .

図8を参照して、動的ペア設定手段142は、MV・RVペア管理表145を参照したときに、マスタボリューム(MV)に対応した複製ボリューム(RV)がなく、未使用の複製ボリューム(RV)もない場合、クライアントサイト300からアクセスの可能性が低いマスタボリューム(MV)・複製ボリューム(RV)ペアをMV・RVペア管理表145から削除し、要求されたマスタボリューム(MV)と開放された複製ボリューム(RV)とでマスタボリューム(MV)・複製ボリューム(RV)ペアを生成し、MV・RVペア管理表145に登録する。そして、その複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS106a)。   Referring to FIG. 8, when the dynamic pair setting unit 142 refers to the MV / RV pair management table 145, there is no replication volume (RV) corresponding to the master volume (MV), and an unused replication volume ( If there is no RV), the master volume (MV) / replica volume (RV) pair that is unlikely to be accessed from the client site 300 is deleted from the MV / RV pair management table 145 and released from the requested master volume (MV). A master volume (MV) / replica volume (RV) pair is generated with the replicated volume (RV) and registered in the MV / RV pair management table 145. Then, a link to the reflection difference management table 146 corresponding to the replication volume (RV) is acquired from the MV / RV pair management table 145 (step S106a).

続いて、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を割り出し、マスタボリューム(MV)のデータを複製ボリューム(RV)に反映していない状態に初期化する。そして、その反映差分管理表146を参照し、ファイル制御領域の更新が複製ボリューム(RV)に反映されているかを確認し、領域ロック・転送手段341に通知する(ステップS106b)。   Subsequently, the dynamic pair setting unit 142 determines the reflection difference management table 146 based on the acquired link, and initializes the master volume (MV) data to a state where it is not reflected in the replication volume (RV). Then, with reference to the reflection difference management table 146, it is confirmed whether the update of the file control area is reflected in the replication volume (RV), and notifies the area lock / transfer means 341 (step S106b).

また、図9は、クライアントサイト300に新たな複製ボリューム(RV)を追加した場合について説明するための図である。なお、図9に示すクライアントサイト300内のコントローラ340内には、動的ペア設定手段345が追加されている。   FIG. 9 is a diagram for explaining a case where a new replication volume (RV) is added to the client site 300. A dynamic pair setting unit 345 is added to the controller 340 in the client site 300 shown in FIG.

図9を参照して、まず、クライアントサイト300のストレージ320に、新たな複製ボリューム(RV2)330aを追加する(ステップS201)。   Referring to FIG. 9, first, a new replication volume (RV2) 330a is added to the storage 320 at the client site 300 (step S201).

次に、クライアントサイト300の動的ペア設定手段345は、新たに追加された複製ボリューム(RV2)300aをメインサイト100に通知する(ステップS202)。   Next, the dynamic pair setting unit 345 of the client site 300 notifies the main site 100 of the newly added replication volume (RV2) 300a (step S202).

メインサイト100の動的ペア設定手段142は、通知された複製ボリューム(RV2)300aをMV・RVペア管理表145に登録する(ステップS203)。   The dynamic pair setting unit 142 of the main site 100 registers the notified replication volume (RV2) 300a in the MV / RV pair management table 145 (step S203).

図10は、メインサイト100に新たなマスタボリューム(MV)を追加した場合についての説明である。
図10を参照して、まず、メインサイト100のストレージ120に、新たなマスタボリューム(MV2)130aを追加する(ステップS301)。
FIG. 10 illustrates a case where a new master volume (MV) is added to the main site 100.
Referring to FIG. 10, first, a new master volume (MV2) 130a is added to the storage 120 of the main site 100 (step S301).

次に、メインサイト100の動的ペア設定手段142は、新たに追加されたマスタボリューム(MV2)130aをMV・RVペア管理表145に登録する(ステップS302)。   Next, the dynamic pair setting unit 142 of the main site 100 registers the newly added master volume (MV2) 130a in the MV / RV pair management table 145 (step S302).

以上説明したように、本発明の複製ボリュームの動的生成システムにおいては、クライアントサイト300からメインサイトのマスタボリューム(MV)130にファイルアクセスが行われる場合に、メインサイト100の領域ロック・転送手段141およびクライアントサイト300の領域ロック・転送手段341により、マスタボリューム(MV)130に対する参照ロックとクライアントサイト300に対する最新データの転送が行われる。   As described above, in the replication volume dynamic generation system of the present invention, when file access is performed from the client site 300 to the master volume (MV) 130 of the main site, the area lock / transfer means 141 of the main site 100 and The area lock / transfer unit 341 at the client site 300 performs reference lock on the master volume (MV) 130 and transfer of the latest data to the client site 300.

この場合に、メインサイト100の動的ペア設定手段142は、マスタボリューム(MV)130と複製ボリューム(RV)330とのペア関係を動的に設定する。例えば、マスタボリューム(MV)130に対応する複製ボリューム(RV)がない場合、MV・RVペア管理表145から未使用の複製ボリューム(RV)を探し、マスタボリューム(MV)・複製ボリューム(RV)ペアを生成し、MV・RVペア管理表145に登録する。また、未使用の複製ボリューム(RV)がない場合は、クライアントサイト300からアクセスの可能性が低いマスタボリューム(MV)・複製ボリューム(RV)ペアをMV・RVペア管理表145から削除し、要求されたマスタボリューム(MV)と開放された複製ボリューム(RV)とでペア関係を生成し、MV・RVペア管理表145に登録する。   In this case, the dynamic pair setting unit 142 of the main site 100 dynamically sets the pair relationship between the master volume (MV) 130 and the replication volume (RV) 330. For example, when there is no replication volume (RV) corresponding to the master volume (MV) 130, an unused replication volume (RV) is searched from the MV / RV pair management table 145, and the master volume (MV) / replication volume (RV) is searched. A pair is generated and registered in the MV / RV pair management table 145. If there is no unused replication volume (RV), the master volume (MV) / replication volume (RV) pair that is unlikely to be accessed from the client site 300 is deleted from the MV / RV pair management table 145 and requested. A pair relationship is generated between the released master volume (MV) and the released replica volume (RV) and registered in the MV / RV pair management table 145.

これにより、マスタボリューム(MV)130と複製ボリューム(RV)330とにペア関係がない場合においても、このペア関係を動的に設定し、クライアントサイト300に最新のデータを送信することができる。   As a result, even when there is no pair relationship between the master volume (MV) 130 and the replication volume (RV) 330, this pair relationship can be set dynamically and the latest data can be transmitted to the client site 300.

以上、第1の実施例について説明したが、複製ボリュームの動的生成システム1は、マスタボリューム(MV)130とクライアントサイトの複製ボリューム(RV)130とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段142を、有して構成される。
これにより、マスタボリューム(MV)130とクライアントサイト300の複製ボリューム(RV)330とにペア関係がない場合においても、このペア関係を動的に設定し、クライアントサイト300に最新のデータを送信することができる。
Although the first embodiment has been described above, the replication volume dynamic generation system 1 determines the pair relationship between the master volume (MV) 130 and the replication volume (RV) 130 at the client site from the client site to the main site. It has dynamic pair setting means 142 that dynamically sets when file access is performed.
As a result, even when there is no pair relationship between the master volume (MV) 130 and the replication volume (RV) 330 at the client site 300, this pair relationship is dynamically set and the latest data is transmitted to the client site 300. be able to.

また、複製ボリュームの動的生成システム1は、さらに、サブサイト200を備え、マスタボリューム(MV)130とサブサイト200の複製ボリューム(RV)230とのペア関係を、サブサイト200からメインサイト100へのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段142を有して構成される。
これにより、マスタボリューム(MV)130とサブサイト200の複製ボリューム(RV)230とにペア関係がない場合においても、このペア関係を動的に設定し、サブサイト200に最新のデータを送信することができる。
Further, the replication volume dynamic generation system 1 further includes a subsite 200, and the pair relationship between the master volume (MV) 130 and the replication volume (RV) 230 of the subsite 200 is transferred from the subsite 200 to the main site 100. When the file access is performed, a dynamic pair setting unit 142 that dynamically sets the file is provided.
Thus, even when there is no pair relationship between the master volume (MV) 130 and the replication volume (RV) 230 of the subsite 200, this pair relationship is dynamically set and the latest data is transmitted to the subsite 200. be able to.

次に、本発明の第2の実施例として、事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行う例について説明する。   Next, as a second embodiment of the present invention, an example of performing replication from the main site to the client site and the subsite in advance will be described.

前述のように、レプリケーションには、クライアントサイトの要求があってから最新のデータをメインサイトに要求する方法と、要求に関係なくすべてのデータをクライアントサイトに転送しておく方法とがある。前者はアクセスがあるごとにメインサイトから最新のデータとの差分を要求しなければならないため、データへのアクセスの間隔が長いと最新データとの差分が大きくなり、転送データが増えてしまう問題があり、一方、後者はサブサイトにおいてアクセス頻度の低いデータを含めてすべてのデータ転送を行わなければならないという問題があった。   As described above, replication includes a method of requesting the latest data from the main site after a request from the client site, and a method of transferring all data to the client site regardless of the request. The former requires a request for the difference from the latest data from the main site every time there is an access, so if the access interval to the data is long, the difference with the latest data will increase and the transfer data will increase. On the other hand, the latter has a problem that all data must be transferred including data with low access frequency at the subsite.

本発明の第2の実施例では、メインサイトではクライアントサイトまたはサブサイトからのアクセスについて、ストレージが一定の領域(例えばセクタ)ごとにアクセス頻度の情報を持ち、ネットワーク回線の利用頻度が低いときに、そのアクセス頻度の情報をもとに事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行えようにしている。   In the second embodiment of the present invention, when the main site has access frequency information for each area (for example, sector) and access from the client site or subsite is low, and the network line usage frequency is low, Based on the access frequency information, replication from the main site to the client site and subsite can be performed in advance.

以下、本発明の第2の実施例について、その処理動作について説明する。
図11は、アクセス頻度による先読みについての説明するための図である。以下、図11を参照して、その処理の流れについて説明する。
The processing operation of the second embodiment of the present invention will be described below.
FIG. 11 is a diagram for explaining prefetching based on access frequency. Hereinafter, the flow of the process will be described with reference to FIG.

メインサイト100の先読み手段143は、先読領域割出手段144を用いて、反映差分管理表146を参照し、マスタボリューム(MV)130の更新が反映されていない領域で、アクセス回数が多い領域を割り出す(ステップS401)。   The prefetching means 143 of the main site 100 uses the prefetching area indexing means 144 to refer to the reflection difference management table 146 and find an area where the update of the master volume (MV) 130 is not reflected and which has a high access count. Determine (step S401).

メインサイト100の先読み手段143は、MV・RVペア管理表145を参照し、割り出した領域の複製ボリューム(RV)を取得し、領域ロック・転送手段141に該当する領域の転送を指示する(ステップS402)。
メインサイト100の領域ロック・転送手段141は、マスタボリューム(MV)130から該当する領域データを取得する(ステップS403)。
The prefetching means 143 of the main site 100 refers to the MV / RV pair management table 145, acquires the replication volume (RV) of the determined area, and instructs the area lock / transfer means 141 to transfer the corresponding area (step S402). ).
The area lock / transfer means 141 of the main site 100 acquires the corresponding area data from the master volume (MV) 130 (step S403).

メインサイト100の領域ロック・転送手段141は、クライアントサイト300に取得した領域データを転送する(ステップS404)。
クライアントサイト300の領域ロック・転送手段341は、メインサイト100から受信したデータを複製ボリューム(RV)330に書き込む(ステップS405)。
クライアントサイト300の領域ロック・転送手段341は、メインサイト100に該当する領域のデータを複製ボリューム(RV)330に反映したことを通知する(ステップS406)。
The area lock / transfer unit 141 of the main site 100 transfers the acquired area data to the client site 300 (step S404).
The area lock / transfer unit 341 of the client site 300 writes the data received from the main site 100 to the replication volume (RV) 330 (step S405).
The area lock / transfer unit 341 of the client site 300 notifies that the data of the area corresponding to the main site 100 is reflected in the replication volume (RV) 330 (step S406).

メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142に該当領域について複製ボリューム(RV)330の反映が完了したことを通知し、動的ペア設定手段142は、反映差分管理表146内の該当する領域について差分反映済みとして更新する(ステップS407)。   The area lock / transfer unit 141 of the main site 100 notifies the dynamic pair setting unit 142 that the reflection of the replication volume (RV) 330 has been completed for the corresponding area, and the dynamic pair setting unit 142 sets the reflection difference management table 146. The corresponding area is updated as having been reflected in the difference (step S407).

これにより、ネットワーク回線の利用頻度が低いときに、アクセス頻度の情報をもとに事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行えようになる。   As a result, when the frequency of use of the network line is low, replication can be performed in advance from the main site to the client site and subsite based on the access frequency information.

以上、第2の実施例について説明したが、この第2の実施例においては、メインサイト100は、ペア関係を記述するMV・RVペア管理表145と、MV・RVペア管理表145に記述されたペア関係に関連付けされると共に、マスタボリューム(MV)130へのファイルアクセスでアクセスされた領域のアクセス頻度を記憶する反映差分管理表146と、反映差分管理表146から各マスタボリューム(MV)130のアクセス頻度が高い領域を割り出す先読領域割出手段144と、先読領域割出手段144を用いて読み出されたアクセス頻度の情報に基づいて、アクセス頻度の高いデータを予めペア関係を有するクライアントサイト300、およびサブサイト200に送信する先読み手段143と、を備え、先読み手段143は、アクセス頻度が高いと判定されたマスタボリューム(MV)130中の領域について、当該領域の送信すべきデータをネットワーク回線の空いているときに、クライアントサイト300、およびサブサイト200に送信する。
これにより、ネットワーク回線の利用頻度が低いときに、アクセス頻度の情報をもとに事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行えようになる。
The second embodiment has been described above. In the second embodiment, the main site 100 is described in the MV / RV pair management table 145 and the MV / RV pair management table 145 describing the pair relationship. A reflection difference management table 146 that is associated with a pair relationship and stores the access frequency of an area accessed by file access to the master volume (MV) 130, and the reflection difference management table 146 stores each master volume (MV) 130. A pre-reading area indexing unit 144 for determining an area having a high access frequency, and a client having a pair relationship with data having a high access frequency in advance based on the access frequency information read using the pre-reading area indexing unit 144 A pre-reading means 143 for transmitting to the site 300 and the sub-site 200. The region in the master volume (MV) 130 which processes the frequency is determined to be high, and transmits the data to be transmitted in the area when the space on the network line, the client sites 300, and the sub-site 200.
As a result, when the frequency of use of the network line is low, replication can be performed in advance from the main site to the client site and subsite based on the access frequency information.

次に、本発明の第3の実施例として、メインサイトとメインサイトにアクセスしているクライアントサイトの間のネットワーク回線が不通になった場合の例について説明する。     Next, an example in which the network line between the main site and the client site accessing the main site is disconnected will be described as a third embodiment of the present invention.

前述のように、メインサイトにアクセスするクライアントサイトにおいて、メインサイトとクライアントサイト間のネットワーク回線が不通になったことにより、マスタボリューム(MV)へのアクセスが不可能になった場合、サブサイトの複製ボリューム(RV)にアクセスを切り替えても、マスタボリューム(MV)の全更新が複製ボリューム(RV)へ反映されない限り、ファイルの不整合のため、アクセスできない問題があった。   As described above, if the client site accessing the main site cannot access the master volume (MV) due to the disconnection of the network line between the main site and the client site, the replication volume of the subsite Even if the access is switched to (RV), there is a problem that access is not possible due to file inconsistency unless all updates of the master volume (MV) are reflected in the replication volume (RV).

このため、第3に実施例では、メインサイト100と、メインサイトにアクセスしているクライアントサイト300との間のネットワーク回線が不通になった場合に、サブサイト200のストレージを中継として、そのままメインサイト100へのファイルアクセスを継続して行う場合の例である。   Therefore, in the third embodiment, when the network line between the main site 100 and the client site 300 accessing the main site is disconnected, the storage at the subsite 200 is used as a relay to the main site 100 as it is. This is an example in the case where file access is continuously performed.

以下、第3の実施例における処理動作について説明する。
図12乃至図19は、第3の実施例における処理動作について説明するための図であり、以下図12乃至図19を参照して、その処理の流れについて説明する。
The processing operation in the third embodiment will be described below.
12 to 19 are diagrams for explaining the processing operation in the third embodiment, and the flow of the processing will be described below with reference to FIGS. 12 to 19.

図12を参照して、クライアントサイト300のホスト上のアプリケーション(AP)314から、メインサイト100内に存在するファイルのオープンをファイルシステム312に要求する(ステップS501)。     Referring to FIG. 12, application (AP) 314 on the host of client site 300 requests file system 312 to open a file existing in main site 100 (step S501).

ファイルシステム312の領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイル制御領域が配置されている領域の最新化を指示する(ステップS502)。   The area update unit 313 of the file system 312 instructs the area lock / transfer unit 341 of the storage 320 to update the area where the file control area is arranged (step S502).

ストレージ320内の領域ロック・転送手段341は、メインサイト100に対してファイル制御領域が配置されている領域の最新化を要求するが、通信障害検知手段342から通信不能であることを認識し、サイト切替手段343に他サイトへの中継の要求を指示する(ステップS503)。
サイト切替手段343は、サブサイト200に対し、メインサイト100への中継を要求する(ステップS504)。
The area lock / transfer means 341 in the storage 320 requests the main site 100 to update the area where the file control area is arranged, but recognizes that the communication failure detection means 342 cannot communicate, The switching unit 343 is instructed to request relay to another site (step S503).
The site switching unit 343 requests the subsite 200 to relay to the main site 100 (step S504).

サブサイト200のサイト切替管理手段247は、メインサイト100に対して、要求を受けたクライアントサイト300の情報(MV・RVペア管理表145からペアとなっているマスタボリューム(MV)とそのマスタボリューム(MV)の反映差分管理表146)から情報を取得する(ステップS505)。   The site switching management means 247 of the sub-site 200 sends the information of the client site 300 that has received the request to the main site 100 (master volume (MV) paired from the MV / RV pair management table 145 and its master volume ( Information is acquired from the reflection difference management table 146) of MV) (step S505).

サイト切替管理手段247は、取得したクライアントサイト300の情報について、次の処理を行う。
クライアントサイト300の複製ボリューム(RV)330とペアになっているマスタボリューム(MV)130について、サブサイト200において同じマスタボリューム(MV)130とペアになっている複製ボリューム(RV)230を割り出し、その割り出したサブサイト200の複製ボリューム(RV)230をマスタボリューム(MV)として、クライアントサイト300の複製ボリューム(RV)330とペアを生成し、MV・RVペア管理表245に登録する。続いて、取得した反映差分表をそのMV・RVペア管理表245に登録する(ステップS506)。
The site switching management unit 247 performs the following processing on the acquired information on the client site 300.
For the master volume (MV) 130 paired with the replication volume (RV) 330 at the client site 300, the replication volume (RV) 230 paired with the same master volume (MV) 130 at the subsite 200 is determined. The determined replication volume (RV) 230 of the subsite 200 is used as a master volume (MV) to create a pair with the replication volume (RV) 330 of the client site 300 and register it in the MV / RV pair management table 245. Subsequently, the acquired reflection difference table is registered in the MV / RV pair management table 245 (step S506).

サブサイト200のサイト切替管理手段247は、クライアントサイト300に対して、中継の要求を受け付けたことを通知する(ステップS507)。   The site switching management unit 247 of the sub-site 200 notifies the client site 300 that the relay request has been accepted (step S507).

続いて、図13を参照して、クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対して、メインサイト100のファイル制御領域が配置されている領域の最新化を要求する(ステップS508)。   Subsequently, referring to FIG. 13, the area lock / transfer unit 341 of the client site 300 requests the subsite 200 to update the area where the file control area of the main site 100 is arranged (step S508). ).

サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイト情報の返却を指示する(ステップS509)。
サブサイト200の領域ロック・転送手段241は、サイト切替管理手段247から得た転送するサイト情報をもとに、メインサイト100に対して、ファイル制御領域の参照ロック取得と最新データの転送を要求する(ステップS510)。
The area lock / transfer unit 241 of the sub-site 200 recognizes the request received from the client site 300 as a request to the main site 100, and instructs the site switching management unit 247 to return the site information for transferring the request (step S509). .
The area lock / transfer unit 241 of the subsite 200 requests the main site 100 to acquire a reference lock in the file control area and transfer the latest data based on the site information to be transferred obtained from the site switching management unit 247. (Step S510).

図13のステップS511〜図14のステップS518までの一連の動作は、前述の図3のステップS104〜図4のステップS109までの動作と、クライアントサイト300をサブサイト200に置き換える以外は、同様である。   A series of operations from step S511 in FIG. 13 to step S518 in FIG. 14 is the same as the above-described operation from step S104 in FIG. 3 to step S109 in FIG. 4 except that the client site 300 is replaced with the subsite 200. is there.

すなわち、メインサイト100のコントローラ140内の領域ロック・転送手段141は、要求情報から、マスタボリューム(MV)130内のファイル制御領域が配置されている領域に参照ロックをする(ステップS511)。   That is, the area lock / transfer unit 141 in the controller 140 of the main site 100 performs reference lock on the area where the file control area in the master volume (MV) 130 is arranged from the request information (step S511).

メインサイト100のコントローラ140内の動的ペア設定手段142は、要求情報から、該当するボリュームの複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS512)。   The dynamic pair setting unit 142 in the controller 140 of the main site 100 acquires a link from the request information to the reflection difference management table 146 corresponding to the replication volume (RV) of the corresponding volume from the MV / RV pair management table 145. (Step S512).

メインサイト100の動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS513)。   The dynamic pair setting unit 142 of the main site 100 refers to the reflection difference management table 146 based on the acquired link, confirms whether the update of the file control area 131 is reflected in the replication volume (RV) 330, and The lock / transfer means 141 is notified (step S513).

続いて、図14を参照して、メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに(ステップS514)、ファイル制御領域131の更新が、サブサイト200の複製ボリューム(RV)230に反映されていないならば、差分をマスタボリューム(MV)130のファイルデータ領域132から取得し(ステップS515)、サブサイト200に転送する(ステップS516)、もしくは、ファイル制御領域131の更新が複製ボリューム(RV)230に反映されているならば、その旨をサブサイト200に通知する。   Subsequently, referring to FIG. 14, the area lock / transfer means 141 of the main site 100 updates the file control area 131 based on the information notified from the dynamic pair setting means 142 (step S514). If not reflected in the replication volume (RV) 230 of the site 200, the difference is acquired from the file data area 132 of the master volume (MV) 130 (step S515) and transferred to the subsite 200 (step S516), or If the update of the file control area 131 is reflected in the replication volume (RV) 230, the fact is notified to the subsite 200.

サブサイト200の領域ロック・転送手段241は、受け取ったデータを複製ボリューム(RV)230に書き込む(ステップS517)。   The area lock / transfer unit 241 of the subsite 200 writes the received data to the replication volume (RV) 230 (step S517).

続いて、領域ロック・転送手段241は、メインサイト100の動的ペア設定手段142に、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS518)。   Subsequently, the area lock / transfer unit 241 updates the replication volume (RV) access time in the MV / RV pair management table 145 and the corresponding area in the reflection difference management table 146 to the dynamic pair setting unit 142 of the main site 100. The dynamic pair setting unit 142 of the main site 100 updates the MV / RV pair management table 145 and the reflection difference management table 146 according to the request (step S518). ).

サブサイト200の領域ロック・転送手段241は、クライアントサイト300に応答するため、サイト切替管理手段247に対して、要求の応答を転送するサイトとそのサイトの複製ボリューム(RV)の情報の返却(送付)を指示する(ステップS519)。   In order to respond to the client site 300, the area lock / transfer unit 241 of the subsite 200 returns information on the site to which the response of the request is transferred and the replication volume (RV) of the site to the site switching management unit 247 ( (Send) is instructed (step S519).

続いて説明する図14のステップS520〜図16のステップS530までの一連の動作は、前述の図3のステップS105〜図5のステップS113までの動作と、メインサイト100をサブサイト200に置き換える以外は、同様である。   A series of operations from step S520 in FIG. 14 to step S530 in FIG. 16 to be described below is the same as the operation from step S105 in FIG. 3 to step S113 in FIG. 3 described above, except that the main site 100 is replaced with the subsite 200. The same.

すなわち、図14において、動的ペア設定手段242は、中継の複製ボリューム(RV)230をマスタボリューム(MV)とし、新たに登録された複製ボリューム(RV)とのペアを生成し、MV・RVペア管理表245に登録する(ステップS520)。また、動的ペア設定手段242は、反映差分管理表246を、MV・RVペア管理表245に登録する(ステップS521)。   That is, in FIG. 14, the dynamic pair setting unit 242 uses the relay replication volume (RV) 230 as the master volume (MV), generates a pair with the newly registered replication volume (RV), and generates MV · RV Registration is made in the pair management table 245 (step S520). The dynamic pair setting unit 242 registers the reflection difference management table 246 in the MV / RV pair management table 245 (step S521).

続いて、図15を参照して、動的ペア設定手段242は、反映差分管理表246を参照し、ファイル制御領域231の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段241に通知する(ステップS522)。   Next, referring to FIG. 15, the dynamic pair setting unit 242 refers to the reflection difference management table 246, and whether the update of the file control area 231 is reflected in the replication volume (RV) 330 of the client site 300. And notifies the area lock / transfer means 241 (step S522).

領域ロック・転送手段241は、動的ペア設定手段242から通知された情報をもとに、ファイル制御領域231の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分を複製ボリューム(RV)230のファイル制御領域231から取得し(ステップS523)、クライアントサイト300に転送する(ステップS524)、もしくは、ファイル制御領域231の更新が複製ボリューム(RV)230に反映されているならば、その旨をクライアントサイト300に通知する。   If the update of the file control area 231 is not reflected in the replication volume (RV) 330 of the client site 300 based on the information notified from the dynamic pair setting means 242, the area lock / transfer means 241 The difference is acquired from the file control area 231 of the replication volume (RV) 230 (step S523) and transferred to the client site 300 (step S524), or the update of the file control area 231 is reflected in the replication volume (RV) 230. If so, the client site 300 is notified accordingly.

クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS525)。   The area lock / transfer unit 341 of the client site 300 writes the received data to the replication volume (RV) 330 (step S525).

続いて、クライアントサイト300の領域ロック・転送手段341は、サブサイト200の動的ペア設定手段242に、MV・RVペア管理表245における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表246における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、サブサイト200の動的ペア設定手段242は、その要求に従いMV・RVペア管理表245と反映差分管理表246を更新する(ステップS526)。   Subsequently, the area lock / transfer unit 341 of the client site 300 updates the replication volume (RV) access time in the MV / RV pair management table 245 and the reflection difference management table to the dynamic pair setting unit 242 of the subsite 200. The dynamic pair setting unit 242 of the subsite 200 requests to raise the reflected flag of the corresponding area in 246 and update the access count, and the MV / RV pair management table 245 and the reflection difference management table 246 according to the request. Is updated (step S526).

クライアントサイト300の領域ロック・転送手段341は、ホスト310の領域最新化手段313に対してファイル制御領域331の最新化完了を通知する(ステップS527)。   The area lock / transfer means 341 of the client site 300 notifies the area update means 313 of the host 310 of the completion of the update of the file control area 331 (step S527).

続いて、図16を参照して、領域最新化手段313は、最新化されたファイル制御領域331からファイルデータ領域332が配置されている領域情報を取得する(ステップS528)。
領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイルデータ領域が配置されている領域の最新化を指示する(ステップS529)。
クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対してファイルデータ領域が配置されている領域の参照ロック取得、ファイル制御領域の参照ロック解放、最新データの転送を要求する(ステップS530)。
Subsequently, with reference to FIG. 16, the area update unit 313 acquires area information in which the file data area 332 is arranged from the updated file control area 331 (step S528).
The area update unit 313 instructs the area lock / transfer unit 341 of the storage 320 to update the area in which the file data area is arranged (step S529).
The area lock / transfer unit 341 of the client site 300 requests the subsite 200 to acquire the reference lock of the area where the file data area is arranged, release the reference lock of the file control area, and transfer the latest data (step S530). ).

サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイトの情報の返却を指示する(ステップS531)。   The area lock / transfer unit 241 of the sub-site 200 recognizes the request received from the client site 300 as a request to the main site 100, and instructs the site switching management unit 247 to return information on the site to which the request is transferred (step S531). ).

なお、以下に説明する図16のステップS532〜図17のステップS540までの一連の処理動作は、前述の図5のステップS113〜図6のステップS119までの動作と、クライアントサイト300をサブサイト200に置き換える以外は、同様である。   A series of processing operations from step S532 in FIG. 16 to step S540 in FIG. 17 described below is the same as the operation from step S113 in FIG. 5 to step S119 in FIG. This is the same except that is replaced with.

すなわち、図16において、サブサイト200の領域ロック・転送手段341は、メインサイト100に対してファイルデータ領域が配置されている領域の参照ロック取得、ファイル制御領域の参照ロック解放、最新データの転送を要求する(ステップS532)。
メインサイト100の領域ロック・転送手段141は、要求情報からファイルデータ領域132が配置されている領域に参照ロックをし、ファイル制御領域131の参照ロックを解放する(ステップS533)。
That is, in FIG. 16, the area lock / transfer means 341 of the subsite 200 acquires the reference lock of the area where the file data area is arranged with respect to the main site 100, releases the reference lock of the file control area, and transfers the latest data. A request is made (step S532).
The area lock / transfer means 141 of the main site 100 performs a reference lock on the area where the file data area 132 is arranged from the request information, and releases the reference lock of the file control area 131 (step S533).

動的ペア設定手段142は、要求情報から該当するボリュームの複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS534)。   The dynamic pair setting unit 142 acquires a link from the request information to the reflection difference management table 146 corresponding to the replication volume (RV) of the corresponding volume from the MV / RV pair management table 145 (step S534).

動的ペア設定手段142は、該当する領域の差分の有無を参照する(ステップS535)。すなわち、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照する。   The dynamic pair setting unit 142 refers to the presence / absence of a difference between the corresponding areas (step S535). That is, the dynamic pair setting unit 142 refers to the reflection difference management table 146 based on the acquired link.

続いて、図17を参照して、動的ペア設定手段142は、ファイル制御領域131の更新がサブサイト200の複製ボリューム(RV)230に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS536)。   Next, referring to FIG. 17, the dynamic pair setting unit 142 confirms whether the update of the file control area 131 is reflected in the replication volume (RV) 230 of the subsite 200, and the area lock / transfer unit 141. (Step S536).

領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイルデータ領域132の更新がサブサイト200の複製ボリューム(RV)230に反映されていないならば、差分をマスタボリューム(MV)から取得し(ステップS537)、サブサイト200に転送する(ステップS538)。もしくは、ファイルデータ領域132の更新が複製ボリューム(RV)に反映されているならば、その旨をサブサイト200に通知する。   If the update of the file data area 132 is not reflected in the replication volume (RV) 230 of the subsite 200 based on the information notified from the dynamic pair setting unit 142, the area lock / transfer unit 141 calculates the difference Is acquired from the master volume (MV) (step S537) and transferred to the subsite 200 (step S538). Alternatively, if the update of the file data area 132 is reflected in the replication volume (RV), the fact is notified to the subsite 200.

サブサイト200の領域ロック・転送手段241は、受け取ったデータを複製ボリューム(RV)220に書き込む(ステップS539)。   The area lock / transfer unit 241 of the subsite 200 writes the received data to the replication volume (RV) 220 (step S539).

続いて、領域ロック・転送手段241は、メインサイト100の動的ペア設定手段142に対して、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS541)。   Subsequently, the area lock / transfer unit 241 updates the replication volume (RV) access time in the MV / RV pair management table 145 and the corresponding in the reflection difference management table 146 with respect to the dynamic pair setting unit 142 of the main site 100. The dynamic pair setting unit 142 of the main site 100 updates the MV / RV pair management table 145 and the reflection difference management table 146 in accordance with the request, raising the reflected flag of the area to be updated and updating the access count ( Step S541).

サブサイト200の領域ロック・転送手段241は、クライアントサイト300に応答するため、サイト切替管理手段247に対して、要求の応答を転送するサイトとそのサイトの複製ボリューム(RV)の情報の返却を指示する(ステップS541)。   In order to respond to the client site 300, the area lock / transfer unit 241 of the subsite 200 returns the request transfer response to the site switching management unit 247 and information on the replication volume (RV) of the site. An instruction is given (step S541).

なお、以下の説明において、図17のステップS542〜図18のステップS548までの一連の動作は、前述の図5のステップS115〜図6のステップS119までの動作と、メインサイト100をサブサイト200に置き換える以外は、同様である。   In the following description, the series of operations from step S542 in FIG. 17 to step S548 in FIG. 18 is the same as the operation from step S115 in FIG. 5 to step S119 in FIG. It is the same except for replacing.

すなわち、図17において、動的ペア設定手段242は、要求情報から該当するボリュームの複製ボリューム(RV)230と対応する反映差分管理表246へのリンクをMV・RVペア管理表245から取得する(ステップS542)。   In other words, in FIG. 17, the dynamic pair setting unit 242 acquires a link from the request information to the reflection volume management table 246 corresponding to the replication volume (RV) 230 of the corresponding volume from the MV / RV pair management table 245 ( Step S542).

動的ペア設定手段242は、該当する領域の差分の有無を参照する(ステップS543)。すなわち、取得したリンクをもとに反映差分管理表246を参照し、ファイル制御領域の更新がクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認する。   The dynamic pair setting unit 242 refers to the presence / absence of a difference between the corresponding areas (step S543). That is, referring to the reflection difference management table 246 based on the acquired link, it is confirmed whether the update of the file control area is reflected in the replication volume (RV) 330 of the client site 300.

続いて、図18を参照して、動的ペア設定手段242は、該当する領域の差分の有無を参照し、該当する領域の差分の有無を領域ロック・転送手段241に通知する(ステップS544)。   Next, with reference to FIG. 18, the dynamic pair setting unit 242 refers to the presence / absence of a difference in the corresponding region, and notifies the region lock / transfer unit 241 of the presence / absence of the difference in the corresponding region (step S544). .

領域ロック・転送手段241は、動的ペア設定手段242から通知された情報をもとに、ファイルデータ領域232の更新がクライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分をサブサイト200内の複製ボリューム(RV)230から取得し(ステップS545)、クライアントサイト300に転送する(ステップS546)。または、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する。   If the update of the file data area 232 is not reflected in the replication volume (RV) 330 of the client site 300 based on the information notified from the dynamic pair setting means 242, the area lock / transfer means 241 Is acquired from the replication volume (RV) 230 in the subsite 200 (step S545) and transferred to the client site 300 (step S546). Alternatively, if the update of the file data area 132 is reflected in the replication volume (RV) 330, the client site 300 is notified of this.

クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS547)。
続いて、クライアントサイト300の領域ロック・転送手段341は、サブサイト200の動的ペア設定手段242に対して、MV・RVペア管理表245における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表246における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し(ステップS548)、サブサイト200の動的ペア設定手段242は、その要求に従いMV・RVペア管理表245と反映差分管理表246を更新する。
The area lock / transfer unit 341 of the client site 300 writes the received data to the replication volume (RV) 330 (step S547).
Subsequently, the area lock / transfer unit 341 of the client site 300 updates the replication volume (RV) access time in the MV / RV pair management table 245 and the reflection difference with respect to the dynamic pair setting unit 242 of the subsite 200. A request is made to raise the reflected flag of the corresponding area in the management table 246 and update the access count (step S548), and the dynamic pair setting unit 242 of the subsite 200 responds to the request by the MV / RV pair management table 245 And the reflection difference management table 246 is updated.

続いて、図19を参照して、クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対して、メインサイト100のファイルデータ領域が配置されている領域の参照ロック解放を要求する(ステップS549)。   Subsequently, referring to FIG. 19, the area lock / transfer means 341 of the client site 300 requests the subsite 200 to release the reference lock of the area where the file data area of the main site 100 is arranged (step). S549).

サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイト情報の返却を指示する(ステップS550)。
サブサイト200の領域ロック・転送手段241は、サイト切替管理手段247から得た転送するサイト情報をもとに、メインサイト100に対して、ファイルデータ領域の参照ロック解除を要求する(ステップS551)。
The area lock / transfer unit 241 of the subsite 200 recognizes the request received from the client site 300 as a request to the main site 100, and instructs the site switching management unit 247 to return the site information to which the request is transferred (step S550). .
The area lock / transfer unit 241 of the subsite 200 requests the main site 100 to release the reference lock of the file data area based on the site information to be transferred obtained from the site switching management unit 247 (step S551).

メインサイト100の領域ロック・転送手段141は、ファイルデータ領域132の参照ロックを解放する(ステップS552)。
クライアントサイト300の領域ロック・転送手段341は、ホストの領域最新化手段313に対して、ファイルデータ領域332の最新化完了を通知する(ステップS553)。
領域最新化手段313は、アプリケーション(AP)314に対してファイルシステム312を通じ、ファイルのオープンが完了したことを通知する(ステップS554)。
The area lock / transfer unit 141 of the main site 100 releases the reference lock of the file data area 132 (step S552).
The area lock / transfer unit 341 of the client site 300 notifies the host area update unit 313 of the completion of the update of the file data area 332 (step S553).
The area updating unit 313 notifies the application (AP) 314 that the file opening has been completed through the file system 312 (step S554).

これにより、メインサイトとメインサイトにアクセスしているクライアントサイトの間のネットワーク回線が不通になった場合、別のネットワーク回線で接続されているサブサイトのストレージを中継としてレプリケーションを行うことで、メインサイトのファイルのアクセスを継続することできる。   As a result, when the network line between the main site and the client site accessing the main site is interrupted, the file on the main site is replicated using the storage of the subsite connected by another network line as a relay. Can continue to access.

以上説明したように、この第3の実施例においては、複製ボリュームの動的生成システム1は、メインサイト100と通信ネットワークを介して接続されると共に、メインサイト100のマスタボリューム(MV)130の内容をレプリケートする複製ボリューム(RV)230を記憶部に有するサブサイト200を備える。
そして、クライアントサイト300は、メインサイト100との間のネットワーク回線が不通になったことを検知する通信障害検知手段342と、通信障害検知手段342によりネットワーク回線が不通になったことを検知した場合に、サブサイト200にアクセス先を切り替えるサイト切替手段343と、を有する。
また、サブサイト200は、クライアントサイト300のサイト切替手段343からの切り替え要求を受けて、メインサイト100とクライアントサイト100とを中継するための情報を取得するサイト切替管理手段247と、メインサイト100のマスタボリューム(MV)130とクライアントサイト300の複製ボリューム(RV)330との間のレプリケーションを中継する領域ロック・転送手段と、を有する。
そして、サブサイト200は、クライアントサイト300とメインサイト100との通信ネットワーク回線が不通になった通知を受けて、メインサイト100のマスタボリューム(MV)130と、クライアントサイト300の複製ボリューム(RV)330との間のレプリケーションを中継する。
これにより、メインサイトとメインサイトにアクセスしているクライアントサイトの間のネットワーク回線が不通になった場合、別のネットワーク回線で接続されているサブサイトのストレージを中継として、そのままメインサイトのファイルのアクセスを継続することできる。
As described above, in the third embodiment, the replication volume dynamic generation system 1 is connected to the main site 100 via the communication network, and the contents of the master volume (MV) 130 of the main site 100 are stored. A subsite 200 having a replication volume (RV) 230 to be replicated in a storage unit is provided.
When the client site 300 detects that the network line between the client site 300 and the main site 100 is disconnected, and the communication failure detecting unit 342 detects that the network line is disconnected. And site switching means 343 for switching the access destination to the sub-site 200.
Further, the subsite 200 receives a switching request from the site switching unit 343 of the client site 300, and acquires a site switching management unit 247 that acquires information for relaying between the main site 100 and the client site 100, and a master of the main site 100. And area lock / transfer means for relaying replication between the volume (MV) 130 and the replication volume (RV) 330 at the client site 300.
Upon receiving notification that the communication network line between the client site 300 and the main site 100 is disconnected, the subsite 200 receives the master volume (MV) 130 of the main site 100 and the replication volume (RV) 330 of the client site 300. Relay replication between
As a result, when the network line between the main site and the client site accessing the main site is interrupted, the storage of the subsite connected by another network line is relayed and the file access on the main site is continued. Can do.

以上、本発明の実施の形態について説明したが、図1乃至図19で説明した本発明のすべての方法において、同一のファイルシステム312を各OS上に移植することで、OSのプラットフォームに依存しないでメインサイト100のストレージ内のファイルにアクセスが可能であるように構成することができる。   The embodiment of the present invention has been described above. However, in all the methods of the present invention described with reference to FIGS. 1 to 19, the same file system 312 is ported on each OS so that it does not depend on the OS platform. Thus, it is possible to configure so that the files in the storage of the main site 100 can be accessed.

また、上述のメインサイト100、クライアントサイト300、およびサブサイト200は、内部にコンピュータシステムを有している。そして、上述した処理に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。   The main site 100, the client site 300, and the subsite 200 described above have a computer system therein. A series of processes related to the above-described process is stored in a computer-readable recording medium in the form of a program, and the above-described process is performed by the computer reading and executing this program.

すなわち、メインサイト100、クライアントサイト300、およびサブサイト200における、各処理は、CPU等の中央演算処理装置がROMやRAM等の主記憶装置に上記プログラムを読み出して、情報の加工、演算処理を実行することにより、実現されるものである。   That is, in each process at the main site 100, the client site 300, and the subsite 200, a central processing unit such as a CPU reads the above program into a main storage device such as a ROM or RAM, and executes information processing and arithmetic processing. By doing so, it is realized.

ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

以上、本発明の実施の形態について説明したが、本発明の複製ボリュームの動的生成システムは、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   The embodiment of the present invention has been described above. However, the replication volume dynamic generation system of the present invention is not limited to the above illustrated example, and various modifications can be made without departing from the gist of the present invention. Of course, can be added.

1・・・複製ボリュームの動的生成システム、100・・・メインサイト、110・・・ホストコンピュータ(ホスト)、120・・・ストレージ、131・・・ファイル制御領域、132・・・ファイルデータ領域、140・・・コントローラ、141・・・領域ロック・転送手段、142・・・動的ペア設定手段、143・・・先読み手段、144・・・先読領域割出手段、145・・・MV・RVペア管理表、146・・・反映差分管理表、200・・・サブサイト、210・・・ホストコンピュータ(ホスト)、220・・・ストレージ、231・・・ファイル制御領域、232・・・ファイルデータ領域、240・・・コントローラ、241・・・領域ロック・転送手段、242・・・動的ペア設定手段、245・・・MV・RVペア管理表、246・・・反映差分管理表、247・・・サイト切替管理手段、300・・・クライアントサイト、310・・・ホストコンピュータ(ホスト)、312・・・ファイルシステム、313・・・領域最新化手段、320・・・ストレージ、330・・・複製ボリューム(RV)、331・・・ファイル制御領域、332・・・ファイルデータ領域、340・・・コントローラ、341・・・領域ロック・転送手段、342・・・通信障害検知手段、343・・・サイト切替手段、345・・・動的ペア設定手段
DESCRIPTION OF SYMBOLS 1 ... Dynamic generation system of replication volume, 100 ... Main site, 110 ... Host computer (host), 120 ... Storage, 131 ... File control area, 132 ... File data area, 140 ... Controller, 141 ... Area lock / transfer means, 142 ... Dynamic pair setting means, 143 ... Prefetch means, 144 ... Prefetch area index means, 145 ... MV RV pair management table, 146 ... reflection difference management table, 200 ... subsite, 210 ... host computer (host), 220 ... storage, 231 ... file control area, 232 ... file Data area, 240 ... Controller, 241 ... Area lock / transfer means, 242 ... Dynamic pair setting means, 245 ... MV / RV Management table, 246... Reflection difference management table, 247... Site switching management means, 300... Client site, 310... Host computer (host), 312. Area update means, 320 ... storage, 330 ... replication volume (RV), 331 ... file control area, 332 ... file data area, 340 ... controller, 341 ... area lock Transfer means, 342 ... Communication failure detection means, 343 ... Site switching means, 345 ... Dynamic pair setting means

Claims (5)

複数のマスタボリューム(MV)を記憶部に有するメインサイトと、前記マスタボリュームの内容をレプリケートする複製ボリューム(RV)を記憶部に有するクライアントサイトとがネットワークで接続されて構成されると共に、前記マスタボリューム(MV)と前記複製ボリューム(RV)とでペア関係が設定される複製ボリュームの動的生成システムであって、
前記マスタボリューム(MV)と前記クライアントサイトの複製ボリューム(RV)とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段を、
備えることを特徴とする複製ボリュームの動的生成システム。
A main site having a plurality of master volumes (MV) in a storage unit and a client site having a replication volume (RV) in the storage unit for replicating the contents of the master volume are connected via a network, and the master volume A replication volume dynamic generation system in which a pair relationship is set between (MV) and the replication volume (RV),
Dynamic pair setting means for dynamically setting a pair relationship between the master volume (MV) and the replication volume (RV) of the client site when file access from the client site to the main site is performed,
A replication volume dynamic generation system characterized by comprising:
前記複製ボリュームの動的生成システムは、
さらに、前記メインサイトと前記通信ネットワークを介して接続されると共に、前記メインサイトのマスタボリューム(MV)の内容をレプリケートする複製ボリューム(RV)を記憶部に有するサブサイトを備え、
前記マスタボリューム(MV)と前記サブサイトの複製ボリューム(RV)とのペア関係を、サブサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段を
備えることを特徴とする請求項1に記載の複製ボリュームの動的生成システム。
The replication volume dynamic generation system includes:
And a subsite connected to the main site via the communication network and having a storage unit having a replication volume (RV) for replicating the contents of the master volume (MV) of the main site,
Dynamic pair setting means for dynamically setting the pair relationship between the master volume (MV) and the replication volume (RV) of the subsite when file access from the subsite to the main site is performed. The system for dynamically generating a replication volume according to claim 1, characterized in that:
前記メインサイトは、
前記ペア関係を記述するMV・RVペア管理表と、
前記MV・RVペア管理表に記述されたペア関係に関連付けされると共に、前記マスタボリューム(MV)へのファイルアクセスでアクセスされた領域のアクセス頻度を記憶する反映差分管理表と、
前記反映差分管理表から各マスタボリューム(MV)のアクセス頻度が高い領域を割り出す先読領域割出手段と、
前記先読領域割出手段を用いて読み出されたアクセス頻度の情報に基づいて、アクセス頻度の高いデータを予め前記ペア関係を有するクライアントサイト、およびサブサイトに送信する先読み手段と、
を備え、
前記先読み手段は、アクセス頻度が高いと判定されたマスタボリューム(MV)中の領域について、当該領域の送信すべきデータをネットワーク回線の空いているときに、前記クライアントサイト、およびサブサイトに送信すること、
を特徴とする請求項1または請求項2に記載の複製ボリュームの動的生成システム。
The main site is
An MV / RV pair management table describing the pair relationship;
A reflection difference management table that is associated with the pair relationship described in the MV / RV pair management table and stores the access frequency of the area accessed by file access to the master volume (MV);
Pre-reading area indexing means for determining an area where the access frequency of each master volume (MV) is high from the reflection difference management table;
Based on access frequency information read using the prefetch area indexing means, prefetching means for transmitting data with high access frequency in advance to the client site and subsite having the pair relationship;
With
The prefetch means transmits data to be transmitted in the master volume (MV) determined to have a high access frequency to the client site and subsite when the network line is available. about,
The dynamic generation system of a replication volume according to claim 1 or 2, characterized by the above-mentioned.
前記複製ボリュームの動的生成システムは、
前記メインサイトと前記通信ネットワークを介して接続されると共に、前記メインサイトのマスタボリューム(MV)の内容をレプリケートする複製ボリューム(RV)を記憶部に有するサブサイトを備え、
前記クライアントサイトは、
メインサイトとの間のネットワーク回線が不通になったことを検知する通信障害検知手段と、
前記通信障害検知手段により前記ネットワーク回線が不通になったことを検知した場合に、前記サブサイトにアクセス先を切り替えるサイト切替手段と、
を備え、
前記サブサイトは、
前記クライアントサイトのサイト切替手段からの切り替え要求を受けて、前記メインサイトとクライアントサイトとを中継するための情報を取得するサイト切替管理と、
前記メインサイトのマスタボリューム(MV)と前記クライアントサイトの複製ボリューム(RV)との間のレプリケーションを中継する領域ロック・転送手段と、
を備えることを特徴とする請求項1から請求項3のいずれかに記載の複製ボリュームの動的生成システム。
The replication volume dynamic generation system includes:
A subsite connected to the main site via the communication network and having a storage unit having a replica volume (RV) for replicating the contents of the master volume (MV) of the main site;
The client site is
A communication failure detection means for detecting that the network line between the main site is disconnected,
A site switching unit that switches an access destination to the sub-site when the communication failure detection unit detects that the network line is disconnected;
With
The subsite is
Site switching management for obtaining information for relaying between the main site and the client site in response to a switching request from the site switching means of the client site;
Area lock / transfer means for relaying replication between the master volume (MV) at the main site and the replication volume (RV) at the client site;
The system for dynamically generating a replication volume according to any one of claims 1 to 3, further comprising:
複数のマスタボリューム(MV)を記憶部に有するメインサイトと、前記マスタボリュームの内容をレプリケートする複製ボリューム(RV)を記憶部に有するクライアントサイトとがネットワークで接続されて構成されると共に、前記マスタボリューム(MV)と前記複製ボリューム(RV)とでペア関係が設定される複製ボリュームの動的生成システムにおける動的ペア設定方法であって、
前記メインサイトにより、
前記マスタボリューム(MV)と前記複製ボリューム(RV)とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手順が、
行われることを特徴とする動的ペア設定方法。
A main site having a plurality of master volumes (MV) in a storage unit and a client site having a replication volume (RV) in the storage unit for replicating the contents of the master volume are connected via a network, and the master volume A dynamic pair setting method in a dynamic generation system of a replication volume in which a pair relationship is set between (MV) and the replication volume (RV),
By the main site,
A dynamic pair setting procedure for dynamically setting the pair relationship between the master volume (MV) and the replication volume (RV) when file access from the client site to the main site is performed.
A dynamic pair setting method characterized by being performed.
JP2009008131A 2009-01-16 2009-01-16 Replication volume dynamic generation system and dynamic pair setting method Expired - Fee Related JP5293213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008131A JP5293213B2 (en) 2009-01-16 2009-01-16 Replication volume dynamic generation system and dynamic pair setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008131A JP5293213B2 (en) 2009-01-16 2009-01-16 Replication volume dynamic generation system and dynamic pair setting method

Publications (2)

Publication Number Publication Date
JP2010165255A JP2010165255A (en) 2010-07-29
JP5293213B2 true JP5293213B2 (en) 2013-09-18

Family

ID=42581346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008131A Expired - Fee Related JP5293213B2 (en) 2009-01-16 2009-01-16 Replication volume dynamic generation system and dynamic pair setting method

Country Status (1)

Country Link
JP (1) JP5293213B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9465698B2 (en) * 2014-03-06 2016-10-11 Software Ag Systems and/or methods for data recovery in distributed, scalable multi-tenant environments

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120110A (en) * 1991-10-30 1993-05-18 Hitachi Ltd Automatic backup system for file
JPH07262067A (en) * 1994-03-18 1995-10-13 Nissin Electric Co Ltd Network type file back-up device
JPH07311703A (en) * 1994-05-18 1995-11-28 Matsushita Electric Ind Co Ltd Method and device for network file system management
JP3093614B2 (en) * 1995-08-22 2000-10-03 エヌイーシーソフト株式会社 Dynamic Pair Change System for Duplicated Virtual Disk Unit in Extended Storage
JPH11232159A (en) * 1998-02-13 1999-08-27 The Japan Reserch Institute Ltd File management method and medium storing file management program
JP3686564B2 (en) * 1999-12-21 2005-08-24 株式会社日立製作所 Database system, database replica generation method, and computer-readable recording medium recording database replica generation program
JP4122956B2 (en) * 2002-12-09 2008-07-23 日本電気株式会社 Replica volume generation method and disk device
JP4291077B2 (en) * 2003-07-29 2009-07-08 株式会社日立製作所 Distributed storage device file management method and distributed storage system
JP4703959B2 (en) * 2003-12-03 2011-06-15 株式会社日立製作所 Storage device system and replication creation method thereof
JP2005234836A (en) * 2004-02-19 2005-09-02 Fuji Xerox Co Ltd Document managing computer program, document management device and method
JP4508798B2 (en) * 2004-08-09 2010-07-21 株式会社日立製作所 Storage remote copy method
JP4363342B2 (en) * 2005-03-09 2009-11-11 日本電気株式会社 Storage apparatus, replication management method, and program

Also Published As

Publication number Publication date
JP2010165255A (en) 2010-07-29

Similar Documents

Publication Publication Date Title
JP4796854B2 (en) Measures against data overflow of intermediate volume in differential remote copy
US7082506B2 (en) Remote copy control method, storage sub-system with the method, and large area data storage system using them
US7293194B2 (en) Method and device for switching database access part from for-standby to currently in use
EP1892614B1 (en) Computer system and snapshot creation method thereof
JP2007286860A (en) Data transfer method and information processor
JP4672931B2 (en) Remote file sharing method, apparatus and system thereof
JP2005018506A (en) Storage system
JP2006048578A (en) Computer system, computer and its program
TW200540680A (en) Method, system, and program for handling a failover to a remote storage location
JP2008250695A (en) Disk array controller and disk array system therewith
JP2005084953A (en) Data processing system
JP2007293652A (en) Computer system and control method for computer system
JP2005258850A (en) Computer system
JP6279770B2 (en) File server device
JP5724735B2 (en) Database update control device, database management system, and database update control program
JP2000137638A (en) Information storage system
EP2759937B1 (en) Method and apparatus for efficient remote copy
JP2005309793A (en) Data processing system
JP2001209565A (en) Subsystem and its integrated system
JP6262879B2 (en) Storage system
JP4549709B2 (en) Storage device
JP4124374B2 (en) Storage system
JP2003131917A (en) Storage device system
JP5293213B2 (en) Replication volume dynamic generation system and dynamic pair setting method
EP3125123A1 (en) Database system, information processing device, method, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100716

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130410

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130527

R150 Certificate of patent or registration of utility model

Ref document number: 5293213

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees