JP5293213B2 - Replication volume dynamic generation system and dynamic pair setting method - Google Patents
Replication volume dynamic generation system and dynamic pair setting method Download PDFInfo
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
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
ところで、上述した問題点の解決法として、以下の方法がある。
クライアントサイトにおいて、ホストから複製ボリューム(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.
[本発明の複製ボリュームの動的生成システムの概要]
従来の複製ボリュームを使用するシステムでは、以下のような問題がある。
第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
(複製ボリュームの動的生成システムの構成の説明)
本発明の複製ボリュームの動的生成システムの構成について図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
また、メインサイト100は、ホストコンピュータ110と、ストレージ(記憶部)120とを有しており、ストレージ120には、複数のマスタボリューム(MV1,MV2,MV3)と、コントローラ140を有している。
サブサイト200は、ホストコンピュータ210と、ストレージ(記憶部)220とを有しており、ストレージ220には、複数の複製ボリューム(RV1,RV2,RV3)230と、コントローラ240を有している。
The
The
クライアントサイト300は、ホストコンピュータ310と、ストレージ(記憶部)320とを有しており、このストレージ320は、複製ボリューム(RV)330と、コントローラ340を有している。
The
なお、図1では、クライアントサイト300が3つの場合を例示しているが、より多数のクライアントサイト300が配置される場合がある。また、メインサイト100内のマスタボリューム(MV)130としてマスタボリュームMV1、マスタボリュームMV2、マスタボリュームMV3の3つを例示しているが、これに限定されず、任意の個数のマスタボリューム(MV)を有する構成とすることとができる。
Although FIG. 1 illustrates the case where there are three
また、サブサイト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
以下、図1に示す複製ボリュームの動的生成システム1を構成する各部の構成について説明する。なお、各部の機能と詳細な処理動作の内容については、図3以降において説明するので、ここでは、その構成の概要について説明する。
Hereinafter, the configuration of each unit constituting the replication volume
(クライアントサイトの構成の説明)
図1に示すクライアントサイト300において、コントローラ340内の領域最新化手段313は、アプリケーション(AP)314からの指示によるファイルオープンの過程で、複製ボリューム(RV)330内のファイル制御領域とファイルデータ領域が配置されている領域情報をストレージ320に送信し、対応する複製ボリューム(RV)330の領域の最新化を領域ロック・転送手段341に指示する。
(Description of client site configuration)
In the
ファイルシステム312は、ホスト310上のアプリケーション(AP)314が複製ボリューム(RV)330上のファイルを参照・更新するためのインタフェースである。
The
複製ボリューム(RV)330は、レプリケート先のボリュームであり、クライアントサイト300のホスト310で使用するボリュームでメインサイト100のマスタボリューム(MV)130で更新されたデータがレプリケーションによって書き込まれる。
The replication volume (RV) 330 is a replication destination volume, and is a volume used by the
コントローラ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
Further, when the area lock /
サイト切替手段343、メインサイト100へのネットワーク回線の通信障害を検知した領域ロック・転送手段341から中継の指示を受け、サブサイト200のサイト切替管理手段247に中継要求を出し、要求受理かどうかの通知を受け取る。また、通信復旧時の通知を受け、サイト切替管理手段247に中継処理終了を要求する。
In response to a relay instruction from the
(メインサイトの構成の説明)
メインサイト100内のマスタボリューム(MV)130は、レプリケート元のボリュームであり、メインサイト100のホストで使用するボリュームである。マスタボリューム(MV)が更新された時は、反映差分管理表146にボリューム内の更新箇所が記録される。なお、複製ボリューム(RV)は、レプリケート先のボリュームであり、クライアントサイト300およびサブサイト200のホストで使用するボリュームで、マスタボリューム(MV)で更新されたデータがレプリケーションによって書き込まれる。
(Description of main site configuration)
A master volume (MV) 130 in the
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
反映差分管理表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
また、マスタボリューム(MV)130内のファイル制御領域131は、ファイルの制御情報が格納されている領域で、ファイルの領域情報を持つ。ファイルデータ領域132は、ファイルのデータが格納されている領域である。
The
また、コントローラ140内の領域ロック・転送手段141は、マスタボリューム(MV)130の指定領域の参照ロックを行ったあと、動的ペア設定手段142に該当領域の差分の有無の返却を指示し、差分があった場合、差分をクライアントサイト300およびサブサイト200へ転送する。反映済みならば、その旨をクライアントサイト300およびサブサイト200へ通知する。
The area lock / transfer means 141 in the
メインサイト100の動的ペア設定手段142は、領域ロック・転送手段141から指定されたマスタボリューム(MV)130がMV・RVペア管理表145に存在するかを確認し、存在した場合、反映差分管理表146から指定領域の更新をクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に結果を返す。
The dynamic
また、動的ペア設定手段142は、MV・RVペア管理表145にマスタボリューム(MV)に対応する複製ボリューム(RV)が存在しない場合、未使用の複製ボリューム(RV)を検索する。未使用の複製ボリューム(RV)が存在した場合、その複製ボリューム(RV)をマスタボリューム(MV)のペアとしてMV・RVペア管理表145に登録する。
The dynamic
また、動的ペア設定手段142は、クライアントサイト300およびサブサイト200からの複製ボリューム(RV)アクセス時刻の更新と、反映領域の反映済みフラグ上げアクセス回数の更新要求について、MV・RVペア管理表145と反映差分管理表146を更新する。
The dynamic
また、先読み手段143は、先読領域割出手段(先読み領域割り出し手段)144を用いて、反映差分管理表146からマスタボリューム(MV)130の領域が未反映の領域でアクセス頻度が高い領域を検索し、MV・RVペア管理表145から該当する領域の複製ボリューム(RV)330を割り出し、領域ロック・転送手段141に該当領域の差分データを複製ボリューム(RV)330に転送することを指示する。
In addition, the
(サブサイトの構成の説明)
サブサイト200は、メインサイト100とクライアントサイト300とを接続するネットワークが通信不能になった場合に、メインサイト100とクライアントサイト300との間を中継するために設けられるものである。このため、サブサイト200にはメインサイト100と同様な構成部分を有している。
(Description of subsite structure)
The
サブサイト200のコントローラ240内の領域ロック・転送手段241は、レプリケーとの際に、メインサイト100から受け取ったデータを複製ボリューム(RV)230に書き込み、メインサイト100からの受信データを複製ボリューム(RV)230に反映させた後に、メインサイト100に反映完了の通知とともにMV・RVペア管理表145において複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146において反映領域の反映済みフラグを上げることとアクセス回数の更新を要求する。
The area lock / transfer means 241 in the
また、領域ロック・転送手段241は、クライアントサイト300からアクセスがあった場合に、複製ボリューム(RV)230のデータをクライアントサイト300の複製ボリューム(RV)330に反映させる。
The area lock /
動的ペア設定手段242は、領域ロック・転送手段241から指定された複製ボリューム(RV)330がMV・RVペア管理表245に存在するかを確認し、存在した場合、反映差分管理表246から指定領域の更新をクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段241に結果を返す。
The dynamic
サイト切替管理手段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
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
なお、図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
図3を参照して、クライアントサイト300のホスト310上のアプリケーション(AP)314からメインサイト100内に存在するファイルのオープンをファイルシステム312に要求する(ステップS101)。
Referring to FIG. 3, an application (AP) 314 on the
ファイルシステム312内の領域最新化手段313は、ストレージ320のコントローラ340内の領域ロック・転送手段341に対して、複製ボリューム(RV)330内のファイル制御領域331が配置されている領域の最新化を指示する(ステップS102)。
The
ストレージ320の領域ロック・転送手段341は、メインサイト100に対してファイル制御領域331が配置されている領域の参照ロック取得および最新データの転送を要求する(ステップS103)。
The area lock /
メインサイト100のコントローラ140内の領域ロック・転送手段141は、クライアントサイト300からの要求情報から、マスタボリューム(MV)130内のファイル制御領域131が配置されている領域に参照ロックをする(ステップS104)。
The area lock / transfer means 141 in the
メインサイト100のコントローラ140内の動的ペア設定手段142は、要求情報から、該当するボリュームの複製ボリューム(RV)330と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS105)。
The dynamic
続いて、図4を参照して、メインサイト100の動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS106)。
Next, referring to FIG. 4, the dynamic
メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイル制御領域131の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分をマスタボリューム(MV)130のファイルデータ領域132から取得し、クライアントサイト300に転送する、もしくは、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する(ステップS107)。
The area lock /
クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS108)。
The area lock /
続いて、領域ロック・転送手段341は、メインサイト100の動的ペア設定手段142に、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS109)。
Subsequently, the area lock /
クライアントサイト300の領域ロック・転送手段341は、ホスト310の領域最新化手段313に対してファイル制御領域331の最新化完了を通知する(ステップS110)。領域最新化手段313は、最新化されたファイル制御領域331からファイルデータ領域332が配置されている領域情報を取得する(ステップS111)。
The area lock / transfer means 341 of the
続いて、図5を参照して、領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイルデータ領域332が配置されている領域の最新化を指示する(ステップS112)。
Next, referring to FIG. 5, the
クライアントサイト300の領域ロック・転送手段341は、メインサイト100に対してファイルデータ領域332が配置されている領域の参照ロック取得、ファイル制御領域の参照ロック解放、最新データの転送を要求する(ステップS113)。
メインサイト100の領域ロック・転送手段141は、要求情報からファイルデータ領域132が配置されている領域に参照ロックをし、ファイル制御領域131の参照ロックを解放する(ステップS114)。
The area lock /
The area lock / transfer means 141 of the
動的ペア設定手段142は、要求情報から該当するボリュームの複製ボリューム(RV)330と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS115)。
The dynamic
動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイルデータ領域の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS116)。
The dynamic
続いて、図6を参照して、メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されていないならば、差分をマスタボリューム(MV)130から取得し、クライアントサイト300に転送する、もしくは、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する(ステップS117)。
Subsequently, referring to FIG. 6, the area lock /
クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS118)。
続いて、領域ロック・転送手段341は、メインサイト100の動的ペア設定手段142に対して、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS119)。
The area lock /
Subsequently, the area lock /
クライアントサイト300の領域ロック・転送手段341は、メインサイト100に対してファイルデータ領域132の参照ロック開放を要求する(ステップS120)。メインサイト100の領域ロック・転送手段141は、ファイルデータ領域132の参照ロックを解放する(ステップS121)。
クライアントサイト300の領域ロック・転送手段341は、ホストの領域最新化手段313に対して、ファイルデータ領域332の最新化完了を通知する(ステップS122)。領域最新化手段313は、アプリケーション(AP)314に対してファイルシステム312を通じ、ファイルのオープンが完了したことを通知する(ステップS123)。
The area lock /
The area lock /
このように、図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
なお、図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
続いて、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を割り出し、マスタボリューム(MV)のデータを複製ボリューム(RV)に反映していない状態に初期化する。そして、その反映差分管理表146を参照し、ファイル制御領域の更新が複製ボリューム(RV)に反映されているかを確認し、領域ロック・転送手段341に通知する(ステップS106b)。
Subsequently, the dynamic
また、図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
続いて、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を割り出し、マスタボリューム(MV)のデータを複製ボリューム(RV)に反映していない状態に初期化する。そして、その反映差分管理表146を参照し、ファイル制御領域の更新が複製ボリューム(RV)に反映されているかを確認し、領域ロック・転送手段341に通知する(ステップS106b)。
Subsequently, the dynamic
また、図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
図9を参照して、まず、クライアントサイト300のストレージ320に、新たな複製ボリューム(RV2)330aを追加する(ステップS201)。
Referring to FIG. 9, first, a new replication volume (RV2) 330a is added to the
次に、クライアントサイト300の動的ペア設定手段345は、新たに追加された複製ボリューム(RV2)300aをメインサイト100に通知する(ステップS202)。
Next, the dynamic pair setting unit 345 of the
メインサイト100の動的ペア設定手段142は、通知された複製ボリューム(RV2)300aをMV・RVペア管理表145に登録する(ステップS203)。
The dynamic
図10は、メインサイト100に新たなマスタボリューム(MV)を追加した場合についての説明である。
図10を参照して、まず、メインサイト100のストレージ120に、新たなマスタボリューム(MV2)130aを追加する(ステップS301)。
FIG. 10 illustrates a case where a new master volume (MV) is added to the
Referring to FIG. 10, first, a new master volume (MV2) 130a is added to the
次に、メインサイト100の動的ペア設定手段142は、新たに追加されたマスタボリューム(MV2)130aをMV・RVペア管理表145に登録する(ステップS302)。
Next, the dynamic
以上説明したように、本発明の複製ボリュームの動的生成システムにおいては、クライアントサイト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
この場合に、メインサイト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
これにより、マスタボリューム(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
以上、第1の実施例について説明したが、複製ボリュームの動的生成システム1は、マスタボリューム(MV)130とクライアントサイトの複製ボリューム(RV)130とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段142を、有して構成される。
これにより、マスタボリューム(MV)130とクライアントサイト300の複製ボリューム(RV)330とにペア関係がない場合においても、このペア関係を動的に設定し、クライアントサイト300に最新のデータを送信することができる。
Although the first embodiment has been described above, the replication volume
As a result, even when there is no pair relationship between the master volume (MV) 130 and the replication volume (RV) 330 at the
また、複製ボリュームの動的生成システム1は、さらに、サブサイト200を備え、マスタボリューム(MV)130とサブサイト200の複製ボリューム(RV)230とのペア関係を、サブサイト200からメインサイト100へのファイルアクセスが行われる際に、動的に設定する動的ペア設定手段142を有して構成される。
これにより、マスタボリューム(MV)130とサブサイト200の複製ボリューム(RV)230とにペア関係がない場合においても、このペア関係を動的に設定し、サブサイト200に最新のデータを送信することができる。
Further, the replication volume
Thus, even when there is no pair relationship between the master volume (MV) 130 and the replication volume (RV) 230 of the
次に、本発明の第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
メインサイト100の先読み手段143は、MV・RVペア管理表145を参照し、割り出した領域の複製ボリューム(RV)を取得し、領域ロック・転送手段141に該当する領域の転送を指示する(ステップS402)。
メインサイト100の領域ロック・転送手段141は、マスタボリューム(MV)130から該当する領域データを取得する(ステップS403)。
The prefetching means 143 of the
The area lock / transfer means 141 of the
メインサイト100の領域ロック・転送手段141は、クライアントサイト300に取得した領域データを転送する(ステップS404)。
クライアントサイト300の領域ロック・転送手段341は、メインサイト100から受信したデータを複製ボリューム(RV)330に書き込む(ステップS405)。
クライアントサイト300の領域ロック・転送手段341は、メインサイト100に該当する領域のデータを複製ボリューム(RV)330に反映したことを通知する(ステップS406)。
The area lock /
The area lock /
The area lock /
メインサイト100の領域ロック・転送手段141は、動的ペア設定手段142に該当領域について複製ボリューム(RV)330の反映が完了したことを通知し、動的ペア設定手段142は、反映差分管理表146内の該当する領域について差分反映済みとして更新する(ステップS407)。
The area lock /
これにより、ネットワーク回線の利用頻度が低いときに、アクセス頻度の情報をもとに事前にメインサイトからクライアントサイトおよびサブサイトへレプリケーションを行えようになる。 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
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
以下、第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
ファイルシステム312の領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイル制御領域が配置されている領域の最新化を指示する(ステップS502)。
The
ストレージ320内の領域ロック・転送手段341は、メインサイト100に対してファイル制御領域が配置されている領域の最新化を要求するが、通信障害検知手段342から通信不能であることを認識し、サイト切替手段343に他サイトへの中継の要求を指示する(ステップS503)。
サイト切替手段343は、サブサイト200に対し、メインサイト100への中継を要求する(ステップS504)。
The area lock / transfer means 341 in the
The
サブサイト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
サイト切替管理手段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
For the master volume (MV) 130 paired with the replication volume (RV) 330 at the
サブサイト200のサイト切替管理手段247は、クライアントサイト300に対して、中継の要求を受け付けたことを通知する(ステップS507)。
The site
続いて、図13を参照して、クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対して、メインサイト100のファイル制御領域が配置されている領域の最新化を要求する(ステップS508)。
Subsequently, referring to FIG. 13, the area lock /
サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイト情報の返却を指示する(ステップS509)。
サブサイト200の領域ロック・転送手段241は、サイト切替管理手段247から得た転送するサイト情報をもとに、メインサイト100に対して、ファイル制御領域の参照ロック取得と最新データの転送を要求する(ステップS510)。
The area lock /
The area lock /
図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
すなわち、メインサイト100のコントローラ140内の領域ロック・転送手段141は、要求情報から、マスタボリューム(MV)130内のファイル制御領域が配置されている領域に参照ロックをする(ステップS511)。
That is, the area lock /
メインサイト100のコントローラ140内の動的ペア設定手段142は、要求情報から、該当するボリュームの複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS512)。
The dynamic
メインサイト100の動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照し、ファイル制御領域131の更新が複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS513)。
The dynamic
続いて、図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
サブサイト200の領域ロック・転送手段241は、受け取ったデータを複製ボリューム(RV)230に書き込む(ステップS517)。
The area lock /
続いて、領域ロック・転送手段241は、メインサイト100の動的ペア設定手段142に、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS518)。
Subsequently, the area lock /
サブサイト200の領域ロック・転送手段241は、クライアントサイト300に応答するため、サイト切替管理手段247に対して、要求の応答を転送するサイトとそのサイトの複製ボリューム(RV)の情報の返却(送付)を指示する(ステップS519)。
In order to respond to the
続いて説明する図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
すなわち、図14において、動的ペア設定手段242は、中継の複製ボリューム(RV)230をマスタボリューム(MV)とし、新たに登録された複製ボリューム(RV)とのペアを生成し、MV・RVペア管理表245に登録する(ステップS520)。また、動的ペア設定手段242は、反映差分管理表246を、MV・RVペア管理表245に登録する(ステップS521)。
That is, in FIG. 14, the dynamic
続いて、図15を参照して、動的ペア設定手段242は、反映差分管理表246を参照し、ファイル制御領域231の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されているかを確認し、領域ロック・転送手段241に通知する(ステップS522)。
Next, referring to FIG. 15, the dynamic
領域ロック・転送手段241は、動的ペア設定手段242から通知された情報をもとに、ファイル制御領域231の更新が、クライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分を複製ボリューム(RV)230のファイル制御領域231から取得し(ステップS523)、クライアントサイト300に転送する(ステップS524)、もしくは、ファイル制御領域231の更新が複製ボリューム(RV)230に反映されているならば、その旨をクライアントサイト300に通知する。
If the update of the
クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS525)。
The area lock /
続いて、クライアントサイト300の領域ロック・転送手段341は、サブサイト200の動的ペア設定手段242に、MV・RVペア管理表245における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表246における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、サブサイト200の動的ペア設定手段242は、その要求に従いMV・RVペア管理表245と反映差分管理表246を更新する(ステップS526)。
Subsequently, the area lock /
クライアントサイト300の領域ロック・転送手段341は、ホスト310の領域最新化手段313に対してファイル制御領域331の最新化完了を通知する(ステップS527)。
The area lock / transfer means 341 of the
続いて、図16を参照して、領域最新化手段313は、最新化されたファイル制御領域331からファイルデータ領域332が配置されている領域情報を取得する(ステップS528)。
領域最新化手段313は、ストレージ320の領域ロック・転送手段341に対してファイルデータ領域が配置されている領域の最新化を指示する(ステップS529)。
クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対してファイルデータ領域が配置されている領域の参照ロック取得、ファイル制御領域の参照ロック解放、最新データの転送を要求する(ステップS530)。
Subsequently, with reference to FIG. 16, the
The
The area lock /
サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイトの情報の返却を指示する(ステップS531)。
The area lock /
なお、以下に説明する図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
The area lock / transfer means 141 of the
動的ペア設定手段142は、要求情報から該当するボリュームの複製ボリューム(RV)と対応する反映差分管理表146へのリンクをMV・RVペア管理表145から取得する(ステップS534)。
The dynamic
動的ペア設定手段142は、該当する領域の差分の有無を参照する(ステップS535)。すなわち、動的ペア設定手段142は、取得したリンクをもとに反映差分管理表146を参照する。
The dynamic
続いて、図17を参照して、動的ペア設定手段142は、ファイル制御領域131の更新がサブサイト200の複製ボリューム(RV)230に反映されているかを確認し、領域ロック・転送手段141に通知する(ステップS536)。
Next, referring to FIG. 17, the dynamic
領域ロック・転送手段141は、動的ペア設定手段142から通知された情報をもとに、ファイルデータ領域132の更新がサブサイト200の複製ボリューム(RV)230に反映されていないならば、差分をマスタボリューム(MV)から取得し(ステップS537)、サブサイト200に転送する(ステップS538)。もしくは、ファイルデータ領域132の更新が複製ボリューム(RV)に反映されているならば、その旨をサブサイト200に通知する。
If the update of the
サブサイト200の領域ロック・転送手段241は、受け取ったデータを複製ボリューム(RV)220に書き込む(ステップS539)。
The area lock /
続いて、領域ロック・転送手段241は、メインサイト100の動的ペア設定手段142に対して、MV・RVペア管理表145における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表146における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し、メインサイト100の動的ペア設定手段142は、その要求に従いMV・RVペア管理表145と反映差分管理表146を更新する(ステップS541)。
Subsequently, the area lock /
サブサイト200の領域ロック・転送手段241は、クライアントサイト300に応答するため、サイト切替管理手段247に対して、要求の応答を転送するサイトとそのサイトの複製ボリューム(RV)の情報の返却を指示する(ステップS541)。
In order to respond to the
なお、以下の説明において、図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
動的ペア設定手段242は、該当する領域の差分の有無を参照する(ステップS543)。すなわち、取得したリンクをもとに反映差分管理表246を参照し、ファイル制御領域の更新がクライアントサイト300の複製ボリューム(RV)330に反映されているかを確認する。
The dynamic
続いて、図18を参照して、動的ペア設定手段242は、該当する領域の差分の有無を参照し、該当する領域の差分の有無を領域ロック・転送手段241に通知する(ステップS544)。
Next, with reference to FIG. 18, the dynamic
領域ロック・転送手段241は、動的ペア設定手段242から通知された情報をもとに、ファイルデータ領域232の更新がクライアントサイト300の複製ボリューム(RV)330に反映されていないならば、差分をサブサイト200内の複製ボリューム(RV)230から取得し(ステップS545)、クライアントサイト300に転送する(ステップS546)。または、ファイルデータ領域132の更新が複製ボリューム(RV)330に反映されているならば、その旨をクライアントサイト300に通知する。
If the update of the
クライアントサイト300の領域ロック・転送手段341は、受け取ったデータを複製ボリューム(RV)330に書き込む(ステップS547)。
続いて、クライアントサイト300の領域ロック・転送手段341は、サブサイト200の動的ペア設定手段242に対して、MV・RVペア管理表245における複製ボリューム(RV)アクセス時刻の更新と、反映差分管理表246における該当する領域の反映済みフラグを上げることとアクセス回数の更新とを要求し(ステップS548)、サブサイト200の動的ペア設定手段242は、その要求に従いMV・RVペア管理表245と反映差分管理表246を更新する。
The area lock /
Subsequently, the area lock /
続いて、図19を参照して、クライアントサイト300の領域ロック・転送手段341は、サブサイト200に対して、メインサイト100のファイルデータ領域が配置されている領域の参照ロック解放を要求する(ステップS549)。
Subsequently, referring to FIG. 19, the area lock / transfer means 341 of the
サブサイト200の領域ロック・転送手段241は、クライアントサイト300から受信した情報からメインサイト100への要求と認識し、サイト切替管理手段247に要求を転送するサイト情報の返却を指示する(ステップS550)。
サブサイト200の領域ロック・転送手段241は、サイト切替管理手段247から得た転送するサイト情報をもとに、メインサイト100に対して、ファイルデータ領域の参照ロック解除を要求する(ステップS551)。
The area lock /
The area lock /
メインサイト100の領域ロック・転送手段141は、ファイルデータ領域132の参照ロックを解放する(ステップS552)。
クライアントサイト300の領域ロック・転送手段341は、ホストの領域最新化手段313に対して、ファイルデータ領域332の最新化完了を通知する(ステップS553)。
領域最新化手段313は、アプリケーション(AP)314に対してファイルシステム312を通じ、ファイルのオープンが完了したことを通知する(ステップS554)。
The area lock /
The area lock /
The
これにより、メインサイトとメインサイトにアクセスしているクライアントサイトの間のネットワーク回線が不通になった場合、別のネットワーク回線で接続されているサブサイトのストレージを中継としてレプリケーションを行うことで、メインサイトのファイルのアクセスを継続することできる。 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
When the
Further, the
Upon receiving notification that the communication network line between the
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
また、上述のメインサイト100、クライアントサイト300、およびサブサイト200は、内部にコンピュータシステムを有している。そして、上述した処理に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。
The
すなわち、メインサイト100、クライアントサイト300、およびサブサイト200における、各処理は、CPU等の中央演算処理装置がROMやRAM等の主記憶装置に上記プログラムを読み出して、情報の加工、演算処理を実行することにより、実現されるものである。
That is, in each process at the
ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、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
Claims (5)
前記マスタボリューム(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)とのペア関係を、クライアントサイトからメインサイトへのファイルアクセスが行われる際に、動的に設定する動的ペア設定手順が、
行われることを特徴とする動的ペア設定方法。 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.
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)
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)
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 |
-
2009
- 2009-01-16 JP JP2009008131A patent/JP5293213B2/en not_active Expired - Fee Related
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 |