Information
-
Patent Application
-
20040098417
-
Publication Number
20040098417
-
Date Filed
August 06, 200321 years ago
-
Date Published
May 20, 200420 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A database system includes a center server and local servers. The center server includes a replication requesting unit, a data consolidating unit including a center DB freeze requesting unit and a center DB freeze release requesting unit, a replication source managing table and a data consolidation completion notifying unit. Each of the local servers includes a local DB freeze requesting unit, a remote volume split requesting unit, a remote volume split completion notifying unit and a local DB freeze release requesting unit. The center server permits replications of local DB's in local storage subsystems to be created in the center storage subsystem and accesses shadow images of the replications to give a consolidated access to the plurality of local DB's.
Description
BACKGROUND OF THE INVENTION
[0001] The present invention relates to a database system and a method for accessing a center server and a database and more particularly, to a database system for replicating databases in a single or a plurality of storage subsystems which are connected to a network and located remotely and permitting replicated databases to be accessed in a consolidated fashion and a method for accessing a center server and databases in that system.
[0002] As a conventional technique concerning a method for replicating a remotely located database, a technique of database replication has been known in which data is replicated between servers mutually connected through a LAN or WAN. As another conventional technique, a technique of database hub has been known according to which inquiries are made to distributed database management systems during execution of the inquires and results returned from the individual database management systems are consolidated so as to be exhibited as one result. Further, known as still another conventional technique directed to preparation of a replication of a database at a remote location is a technique of disaster recovery using a volume replication function owned by a storage device.
[0003] Known as a prior art concerning the database hub is a technique described in “Data Joiner”, International Business Machines Corporation, Internet document searched on Nov. 11, 2002, <URL:http://www-3.ibm.com/software/data/datajoiner/> and known as prior arts concerning the disaster recovery are techniques described in “Building Storage Networks” by Marc Farley, second edition, Osbone/McGraw-Hill Corp., 2001, pp. 118-124 and described in “HiRDB version 6”, Hitachi Com. Software Department, Internet document searched on Nov. 11, 2002, <URL:http://www.hitachi.co.jp/Prod/comp/soft/open-e/hirdb/v6/outline/confv6.htm>.
[0004] When a method based on the aforementioned database replication is used as means for getting a consolidated access to a plurality of databases at remote locations, the LAM or WAN is used for transfer of data, raising a problem that much time is consumed for replication of data. In a method using the database hub, the remotely located database management systems are accessed during execution of inquiries, with the result that the response time is degraded and besides, when a large number of results are brought about, a large amount of data must be transferred through the medium of the LAN or WAN, giving rise to a problem that the search performance is degraded. In addition, the method of disaster recovery using the volume replication function the storage unit has is back-up for a database on the replication side to recover and disadvantageously, it cannot afford to consolidate a plurality of databases.
SUMMARY OF THE INVENTION
[0005] It is an object of the present invention to provide a database system for permitting a plurality of databases at remote locations to be accessed instantaneously in a consolidated fashion and a method for accessing a center server and databases in the system.
[0006] According to the invention, to accomplish the above object, in a database system comprising a center server, a single or a plurality of local servers, a first network for mutually connecting the center server and the local servers, local storage subsystems for storing local databases managed by the local servers, a center storage subsystem for storing replications of the local databases and a second network for mutually connecting the center server, the center storage subsystem, the local servers and the local storage subsystems, the center server includes a replication requesting unit for requesting the local servers to replicate local databases and a data consolidating unit for performing a process of consolidating the replicated local databases, and each of the local servers includes a local database freeze requesting unit responsive to a database replication request from the center server to request a database management system to freeze the local database and a database replicating unit for causing the local storage subsystem to replicate, in the center storage subsystem, the local database the local storage subsystem stores.
[0007] Also to accomplish the above object, in a method for accessing a database system comprising a center server, a single or a plurality of local servers, a first network for mutually connecting the center server and the local servers, local storage subsystems for storing local databases managed by the local servers and a second network for mutually connecting the center server, the center storage subsystem, the local servers and the local storage subsystems, the center server requests the local servers to replicate the local databases and performs a process of consolidating the replicated local databases, and each of the local servers responds to a database replication request from the center server to request a database management system to freeze the local database and causes the local storage subsystem to replicate, in the center storage subsystem, the local database the local storage subsystem stores.
[0008] Other objects, features and advantages of the invention will become apparent from the following description of the embodiments of the invention taken in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
FIG. 1 is a block diagram showing the construction of a database system according to an embodiment of the invention.
[0010]
FIG. 2 is a flowchart for explaining a process in which synchronization between each shadow image and each local DB is set up and data of a plurality of local DB's is accessed in a consolidated fashion through a center DBMS.
[0011]
FIG. 3 is a table for explaining an example of structure of a replication source managing table provided in a center server.
[0012]
FIG. 4 is a flowchart for explaining a process executed by a data consolidating unit in the center server (a process in step 407 explained in connection with FIG. 2).
[0013]
FIG. 5 is a table showing an example of the replication source managing table after completion of synchronization of only a DB at area A.
[0014]
FIG. 6 is a table showing an example of the replication source managing table after completion of synchronization of two DB's at areas A and B.
DESCRIPTION OF THE EMBODIMENTS
[0015] Embodiments of database system an method for accessing databases according to the invention will be described hereunder in greater detail with reference to the drawings.
[0016]
FIG. 1 is a block diagram showing the construction of a database system according to an embodiment of the invention. In FIG. 1, reference numeral 101 designates a center server, 102a and 102b local servers, 103 a center storage subsystem, 104a and 104b local storage subsystems, 105 a LAN, 106 a SAN (storage area network), 110 a replication requesting unit, 112 a data consolidation completion notifying unit, 2 a replication source managing table, 3 a data consolidating unit, 14, 129a and 129b database management systems (BDMS's), 115 a volume synchronizing unit, 116 a volume splitting unit, 117 a volume replicating unit, 121a and 121b DB (database) freeze requesting units, 122a and 122b remote volume split request units, 123a and 123b remote volume split completion notifying units, 124a and 124b DB freeze release requesting units, 125a and 125b remote volume resynchronization requesting units, 126a and 126b remote volume splitting units, 127a and 127b remote volume resynchronizing units, 128a and 128b remote volume replicating units, 131a and 131b local shadow images, 133a and 133b replication local DB's, and 134a and 134b local DB's.
[0017] The database system according to one embodiment of the invention comprises, as shown in FIG. 1, the center server 101, local servers 102a and 102b provided in a plurality areas A and B, center storage system 103, local storage subsystems 104a and 104b provided in the plurality of areas A and B, LAN 105 serving as the first network for connecting the center server 101 with the local servers 102a and 102b, and SAN 106 serving as the second network for connecting the center server 101 with the local servers 102a and 102b, center storage subsystem 103 and local storage subsystems 104a and 104b.
[0018] In the above construction, the center server 101 includes replication requesting unit 110, data consolidating unit 3, data consolidation completion notifying unit 112, replication source managing table 2 and database management system (DBMS) 14. Then, the center storage subsystem 103 includes volume synchronizing unit 115, volume splitting unit 116, volume replicating unit 117, replication local databases 133a and 133b representing replications of the local databases 134a and 134b and shadow images 131a and 131b of the replication local databases 133a and 133b.
[0019] Each of the local servers 102a and 102b includes local database freeze requesting unit 121a or 121b, remote volume split requesting unit 122a or 122b, remote volume split completion notifying unit 123a or 123b, local DB freeze release requesting unit 124a or 124b, remote volume resynchronization requesting unit 125a or 125b and local DBMS 129a or 129b. Then, each of the local storage subsystems 104a and 104b includes remote volume splitting unit 126a or 126b, remote volume resynchronizing unit 127a or 127b, remote volume replicating unit 128a or 128b and local DB 134a or 134b.
[0020] The local servers 102a and 102b are provided in the areas A and B, respectively, and the local DBMS's 129a and 129b incorporated in the respective local servers manage the local DB's 134a and 134b, respectively, which are provided in the corresponding local storage subsystems 104a and 104b, respectively.
[0021] In the DB system according to the embodiment of the invention constructed as above, information for updates applied to the local DB's of local storage subsystems 104a and 104b (hereinafter referred to as update information) is transmitted asynchronously to the center storage subsystem 103 by means of the remote volume replicating units 128a and 128b, respectively. The volume replicating unit 117 of the center storage subsystem 103 receiving the update information asynchronously reflects the received update information upon the replication local DB's 133a and 133b. In the case of an example shown in FIG. 1, an update applied to the local DB 134a in the area A is reflected upon the replication local DB 133a and an update applied to the local DB 134b in the area B is reflected upon the replication local DB 133b. Synchronization between local DB 134a and replication local DB 133a and that between local DB 134b and replication local DB 133b are set up by causing the remote volume splitting units 126a and 126b to stop the reflection of the update information.
[0022] The center DBMS 14 incorporated in the center server 101 manages the local shadow images 131a and 131b incorporated in the center storage subsystem 103. These shadow images 131a and 131b are those of the replication local DB's 133a and 133b, respectively. In the case of the example shown in FIG. 1, the center DBMS 14 manages the two shadow images of local shadow images 131a and 131b. The volume synchronizing unit 115 of the center storage subsystem 103 reflects the update information, which has been reflected upon the replication local DB's 133a and 133b, upon the local shadow images 131a and 131b.
[0023] In the embodiment of the invention described previously, the center server and each local server respectively include a CPU, a memory, a disk device and a driver for external storage medium, which are not shown and are interconnected through a communication path such as a bus. Also, the center storage subsystem and each local storage subsystem respectively include, in addition to the above components, a DB or DB's held in the disk device. Then, the individual functional components constituting the aforementioned servers and storage subsystems are implemented when a program stored in the disk device or external storage medium is written to the memory and executed by the CPU. It is to be noted that only two sets of local servers and local storage subsystems are shown in FIG. 1 but they may be provided in more increased number.
[0024]
FIG. 2 is a flowchart for explaining a process in which synchronization between the shadow image 131a managed by the center DBMS 14 and the local DB 134a managed by the local DBMS 129a and that between the shadow image 131b managed by the center DBMS 14 and the local DB 134b managed by the local DBMS 129b are established and data of the plurality of local DB's are accessed in a consolidated fashion through the center DBMS 14. FIG. 2 is depicted by way of example of a process operation in the center server 101, local A sever 102a and local storage subsystem 104a but the same process may be carried out in the local B server 102b and local storage subsystem 104b.
[0025] (1) When a request for consolidated access to data of the plurality of local DB's is made, the replication requesting unit 110 of the center server 101 transmits a replication request for requesting all the local servers 102a and 102b to start replication (step 401).
[0026] (2) The DB freeze requesting units 121a and 121b of the local servers 102a and 102b receiving the replication request transmitted in the step 401 make a request to the local DBMS's 129a and 129b for freeze of the local DB's 134a and 134b. “Freeze” referred to herein means a process in which the whole of the update information on buffers in the DBMS's existing on the local servers 102a and 102b is reflected to the local DB's 134a and 134b and any update subsequently applied to the buffers is inhibited from being reflected upon the local DB's 134 (step 402).
[0027] (3) Thereafter, the remote volume split requesting units 122a and 122b of the local servers 102a and 102b request the local storage subsystems 104a and 104b to perform split between local DB 134a and replication local DB 133a and that between local DB 134b and replication local DB 133b. Here, “split” signifies that transfer of the update information to the replication local DB's is stopped (step 403). The updates applied to the local DB's are stored in the local storage subsystems 104.
[0028] (4) The local storage subsystems 104a and 104b receive the request in the step 403 and the remote volume splitting units 126a and 126b stop transfer of the information for updates applied to the local DB's 134a and 134b to the replication local DB's and perform a process of remote volume split in which the information of updates applied to the local DB's 134a and 134b is stored in the local storage subsystems of their own (step 404).
[0029] (5) When the process for remote volume split in the step 404 is completed, the remote volume split completion notifying units 123a and 123b of the local servers 102a and 102b receive a report to this effect and transfer the fact that the volume split is completed to the center server 101 through the medium of a remote volume split completion notice (step 405).
[0030] (6) Thereafter, the DB freeze release requesting units 124a and 124b of the local servers 102a and 102b make a request to the local DBMS's 129 for release of the local DB freeze (step 406).
[0031] (7) On the other hand, the center server 101 receives the volume split completion notice in the step 405 and the data consolidating unit 3 executes a process for data consolidation. As will be described later, through the data consolidation process, the contents of the local DB's 134a and 134b are reflected on the shadow images 131a and 131b and after completion of this process, a consolidated access can be ensured by accessing the shadow images 131a and 131b by way of the center DBMS 14 (step 407).
[0032] (8) With the process in the step 407 completed, the data consolidation completion notifying unit 112 of the center server 101 informs all of the local servers 102a and 102b that the data consolidation is completed (step 408).
[0033] (9) The local servers 102a and 102b receive the notice of data consolidation completion in the step 408 and the remote volume resynchronization requesting units 125a and 125b request the local storage subsystems 104a and 104b to execute remote volume resynchronization for performing resynchronization of the remote volumes. “Resynchronization” referred to herein is a process in which the update information stored in the local storage subsystems as a result of the aforementioned split process is transferred to the center storage subsystem 103 so that the update information may be reflected upon the replication local DB's 133a and 133b (step 409).
[0034] (10) The local storage subsystems 104a and 104b receive the request for remote volume resynchronization and the remote volume resynchronizing units 127a and 127b transfer the update information stored in the local storage subsystems of their own to the center storage subsystem 103 to enable it to perform the resynchronization process for reflecting the update information upon the replication local DB's 133a and 133b. After the resynchronization, the updates applied to the local DB's 134a and 134b are asynchronously transferred to the center storage subsystem 103 and besides reflected on the local DB's 133a and 133b asynchronously by the volume replicating unit 117 (step 410).
[0035]
FIG. 3 is a table for explaining an example of structure of the replication source managing table 2 provided in the center server 101. The shown replication source managing table 2 includes a replication source DB name field 201 indicative of names of replication source servers and a replication completion flag 202 indicating whether a replication between local DB 134a and replication local DB 133a and that between local DB 134b and replication local DB 133b are completed. All flags 202 are initialized with “unfinished” when the replication requesting unit 110 starts the process. In the example shown in FIG. 3, there are records 203a and 203b, with the record 203a indicating that synchronization between the local DB 134a managed by the local DBMS 129a of local A server 102a and the replication local DB 133a is not finished and with the record 203b indicating that synchronization between the local DB 134b managed by the local DBMS 129b of local B server 102b and the replication local DB 133b is not finished.
[0036]
FIG. 4 is a flowchart for explaining a process executed in the data consolidating unit 3 provided in the center server 101 (the process in the step 407 explained in connection with FIG. 2). The process for data consolidation will now be described with reference to FIG. 4.
[0037] (1) When receiving a remote volume split request completion notice from one of the local servers 102a and 102b through the LAN 105 representing the first network, the data consolidating unit 3 searches or retrieves, from the replication source managing table 2, a record 203a or 203b corresponding to a name at replication source DB name field 201 on the basis of the name of the local server 102a or 102b which has transmitted the notice and changes the value of replication completion flag field 202 at the corresponding record 203a or 203b to “finished” (steps 301 and 302).
[0038] (2) Next, it is checked whether the values of replication completion flag field 202 at all records 203a and 203b stored in the replication source managing table 2 are “finished” in order to check whether notices of split completion, that is, replication completion from all the local servers are received. If even a single “unfinished” record exists, the process is ended to wait for a notice of split completion from another local server (step 303).
[0039] (3) In case the values of replication completion flag field 202 are determined to be “finished” through checking in the step 303, a request is made to the center DBMS 14 for freeze of the shadow images 131a and 131b managed by the DBMS 14. “Freeze” referred to herein is a process in which all updates on a buffer in the DBMS 14 existing on the center server 101 are reflected to the shadow images 131a and 131b and any update subsequently applied to the buffer is inhibited from being reflected upon the shadow images 131 (step 304).
[0040] (4) Thereafter, a volume synchronization request is made to the volume synchronizing unit 115 of center storage subsystem 103. The volume synchronizing unit 115 receiving the request reflects the updates applied to the replication local DB's 133a and 133b from the local storage subsystems 104a and 104b upon the shadow images 131a and 131b. With the reflection upon the shadow images completed, a request for volume split is made to the volume splitting unit 116 of center storage subsystem 103 to perform split between the shadow image 131a and the replication local DB 133a and that between the shadow image 131b and the replication local DB 133b (steps 305 and 306).
[0041] (5) The volume splitting unit 116 receiving the volume split request performs split between each of the shadow images 131 and each of the replication local DB's 133. Thereafter, a request is made to the center DBMS 14 for release of freeze (step 307).
[0042]
FIG. 5 shows an example of the replication source managing table 2 after synchronization of only the DB at local area A has completed and FIG. 6 shows an example of the replication source managing table 2 after synchronization of the two DB's at local areas A and B.
[0043] Next, an example of operation of the data consolidating unit 3 when the two local DB's at local areas A and B shown in FIG. 1 are replicated in the center storage subsystem 103 and replications are accessed from the center server 101 in a consolidated fashion will be described using the examples of replication source managing table 2 shown in FIGS. 3, 5 and 6.
[0044] Firstly, when the data consolidating unit 3 receives a notice of remote volume split completion from the local A server 102a (step 301), it changes, through the process of step 302, the replication source managing table, which has already been explained in connection with FIG. 3, in such a manner that the value of replication completion flag field 202 at record 203a indicating whether a replication of the local DB 134a at area A is completed is changed to “finished” as shown in FIG. 5 (step 302). The fact that the record 203a is a record indicative of replication completion of the local DB 134a at area A can be determined from the fact that the value of replication source DB name field 201 corresponding to this record is “DB at area A”.
[0045] It is subsequently checked through the process of step 303 if the values of replication completion flag field 202 of the table 2 are all “finished”. In this phase, the status of table 2 is as shown in FIG. 5, so that the decision result is “No” and the process ends.
[0046] Next, when the data consolidating unit 3 receives a remote volume split completion notice from the local B server 102b (step 301), it changes through the process of step 302 the replication source managing table 2 shown in FIG. 5 such that the value of replication completion flag field 202 at record 203a indicating whether a replication of the local DB 134b at area B is completed is changed to “finished” as shown in FIG. 6 (step 302).
[0047] Next, it is checked through the process of step 303 if the values of replication completion flag field 202 of table 2 are all “finished”. In this phase, the table 2 is conditioned as shown in FIG. 6 and the decision result is “Yes” (step 303).
[0048] Thereafter, a request is made to the center DBMS 14 for freeze of the center DB's (shadow images 131a and 131b) through the process of step 304. Then the volume synchronizing unit 115 of center storage subsystem 103 is requested to synchronize replication local DB 133a with shadow image 131a and to synchronize replication local DB 133b with shadow image 131b (step 305).
[0049] With the synchronization completed, the volume splitting unit 116 of center storage subsystem 103 is requested to split the replication local DB 133a from the shadow image 131a and to split the replication local DB 133b from the shadow image 131b (step 306). Thereafter, a request is made to the center DBMS 14 for release of freeze of the center DB's (step 307).
[0050] The individual processes according to the embodiment of the invention described so far can be implemented with a process program, which process program can be stored in a recording medium such as HD, DAT, FD, MO, DVD-ROM or CD-ROM and can be presented.
[0051] As described above, in the embodiment of the invention, starting from a status in which updates are applied asynchronously from the local DB's 134a and 134b to the replication DB's 133a and 133b representing replications of the local DB's, the local DB's 134a and 134b are first frozen on the basis of a replication request so as to be placed in matched condition and then the local DB 134a is split from the replication local DB 133a and the local DB 134b is split from the replication local DB 133b, so that the replication local DB's 133a and 133b can instantaneously be placed in synchronized condition. On the side of local servers 102a and 102b, the DB freeze is thereafter released (but the volume remains to be split) to permit normal business affairs to proceed and therefore, the freezing period of DB's can be shortened. The center server 101, on the other hand, freezes the center DB's (shadows 131a and 131b) at the time that replications of all of the replication local DB's are completed to carry out the synchronization process.
[0052] In this manner, business affairs can be continued before the freeze of center DB's is started. After freeze of the center DB's (shadow images 131a and 131b), the process for synchronization between the replication local DB's 133a and 133b and the local shadow images 131a and 131b is carried out but this process replicates only the update bit map and can be ended within a short period of time. (After the synchronization process, the center storage subsystem 103 copies the corresponding records from the replication local DB's 133a and 133b to the local shadow images 131a and 131b.)
[0053] According to the embodiment of the invention described previously, update of all local DB's can be reflected at a time and hence, data of the individual local DB's can be accessed in a consolidated fashion without causing the data to be mismatched. Further, a request is made to the local server for resynchronization between the local DB and the replication local DB after completion of synchronization with the shadow image, and the update information stored in the local storage subsystem while the local DB is split from the replication local DB is transmitted to the center storage subsystem, thereby ensuring that the update information can again be reflected upon the replication local DB.
[0054] According to the foregoing embodiment of the invention, in the DB system comprising a center server, one or more local servers, a first network for connecting the center server and the local servers, local storage subsystems for storing local DB's managed by the local servers, a center storage subsystem for storing replications of the local DB's and a second network for connecting the center server, center storage subsystem, local servers and local storage subsystems, the center server includes a replication requesting unit, a data consolidating unit, a center DB freeze requesting unit, a center DB freeze release requesting unit, a replication source managing table and a data consolidation completion notifying unit, each of the local servers includes a local DB freeze requesting unit, a DB replicating unit, a remote volume split completion notifying unit and a local DB freeze release requesting unit, the center storage subsystem stores replications of the local DB's stored in the local storage subsystems and shadow images of the replicated local DB's and includes a volume replicating unit, a volume splitting unit and a volume synchronizing unit and each of local storage subsystems includes a remote volume replicating unit, a remote volume splitting unit and a remote volume resynchronizing unit through a remote DB cooperating scheme, whereby a plurality of DB's at remote locations can be accessed instantaneously in a consolidated fashion.
[0055] As described above, according to the invention, consolidated access to the plurality of DB's at remote locations can be ensured instantaneously.
[0056] It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.
Claims
- 1. A database system comprising a center server, a single or a plurality of local servers, a first network for mutually connecting said center server and said local servers, local storage subsystems for storing local databases managed by said local servers, a center storage subsystem for storing replications of said local databases and a second network for mutually connecting said center server, center storage subsystem, local servers and local storage subsystems, wherein
said center server includes replication requesting means for requesting said local servers to replicate local databases and data consolidating means for performing a process for consolidation of replicated local databases; and each of said local servers includes local database freeze requesting means responsive to the database replication request to request a database management system to freeze said local database, and database replicating means for causing said local storage subsystem to replicate, in said center storage subsystem, said local database stored in said local storage subsystem.
- 2. A database system according to claim 1, wherein
said center storage subsystem includes replication local databases representing replications of said local databases stored in said local storage subsystems; each of said local storage subsystems includes remote volume replicating means for transferring information of an update applied to said database to said center storage subsystem through said second network; and said center storage subsystem reflects the transferred update information upon said replication local database.
- 3. A database system according to claim 1, wherein
each of said local storage subsystems includes remote volume splitting means for temporarily stopping transfer of update information between said local database and said replication local database and remote volume resynchronizing means for resuming the transfer of update information between said local database and said replication local database and transferring the update information accumulated in said local storage subsystem during interruption of the transfer of update information to said center storage subsystem; and a local database freeze operation and a remote volume split operation are executed on the basis of the request for database replication made to said local server from said center server and said local database is split from said replication local database to thereby synchronize these databases mutually.
- 4. A database system according to claim 1, wherein
said local server includes remote volume split completion notifying means for informing said center server that the split by said remote volume splitting means is completed, and local database freeze release requesting means for requesting release of the freeze of local database; and when the split between said replication local database and said local database is completed, said local server issues the remote volume split completion notice and a local database freeze release request.
- 5. A database system according to claim 1, wherein
said center storage subsystem includes shadow images of said replication local databases, volume replicating means for reflecting the update information applied to said replication local databases upon said shadow images, volume splitting means for temporarily stopping the reflection of update information upon said shadow images, and volume synchronizing means for resuming the reflection of update information upon said shadow images; said center server includes center database freeze requesting means for making a request for database freeze of said shadow images and center database freeze release requesting means for making a request for release of freeze of said shadow images; and said center server receives a remote volume split release requesting notice to issue the center database freeze request and volume synchronization request and when synchronization of volume is completed, executes the volume split operation and issues the center database freeze release request.
- 6. A database system according to claim 1, wherein
said center server has a replication source managing table for managing whether replications of replication source local databases are completed; and when synchronization between all the local databases managed by the local storage subsystems connected through said first and second networks and the replication local databases corresponding to all of said local databases is completed, said center server issues the center database freeze request, volume synchronization request, volume split request and center database freeze release request.
- 7. A database system according to claim 1, wherein
said center server includes data consolidation completion notifying means for informing said local servers of completion of data consolidation; and each of said local servers includes remote volume resynchronization requesting means responsive to the notice by said data consolidation completion notifying means to request said remote volume resynchronizing means to resume transfer of update information between said local database and said replication local database.
- 8. A center server in a database system having a center server, a single or a plurality of local servers, a first network for mutually connecting said center server and said local servers, local storage subsystems for storing local databases managed by said local servers and a second network for mutually connecting said center server, center storage subsystem, local servers and local storage subsystems, wherein
said center server includes replication requesting means for requesting said local servers to replicate local databases and data consolidating means for performing a process for consolidation of said replicated local databases.
- 9. A center server according to claim 8 further comprising:
means responsive to a notice of remote volume split completion based on a request for replication made to the local databases to request database freeze applied to shadow images of said replication local databases, means for requesting volume synchronization, means for requesting volume split when synchronization of volume is completed to perform volume replication for reflecting information of updates applied to said replication local databases upon the shadow images, and means for requesting center database freeze release.
- 10. A method for accessing a database system having a center server, a single or a plurality of local servers, a first network for mutually connecting said center server and said local server, local storage subsystems for storing local databases managed by said local servers, a center storage subsystem for storing replications of said local databases and a second network for mutually connecting said center server, center storage subsystem, local servers and local storage subsystems, wherein
said center server requests said local servers to replicate local databases and performs a process for consolidation of said replicated local databases; and each of said local servers responds to a request for database replication from said center server to request a database management system to freeze said local database and cause said local storage subsystem to replicate, in said center storage system, the local database stored in said local storage subsystem.
- 11. A database system access method according to claim 10, wherein
said local storage subsystems transfer information of updates applied to said local databases to said center storage subsystem through said second network; and said center storage subsystem reflects the transferred update information upon replication local databases representing replications of said local databases stored in said local storage subsystems.
- 12. A database system access method according to claim 10, wherein
said local storage subsystems respond to a request from said local servers based on a request for replications of local databases made by said center server to said local servers to temporarily stop the transfer of update information between each of said local databases and each of said replication local databases so as to split remote volumes and respond to a request for resynchronization based on a database consolidation completion notice from said center server to said local servers to resume the transfer of update information between each of said local databases and each of said replication local databases so that the update information accumulated in said local storage subsystems during interruption of the transfer of update information is transferred to said center storage subsystem to perform remote volume resynchronization.
- 13. A database system access method according to claim 10, wherein
said center server responds to a notice of remote volume completion to request freeze of databases corresponding to shadow images of said replication local databases and request volume synchronization to synchronize a bitmap portion between the shadow images and the replication local databases, and when the synchronization of volume is completed, requests volume split to perform volume replication for reflecting the update information applied to the replication local databases upon the shadow images and thereafter requests release of the center database freeze.
- 14. A process program for executing a process in a center server in a database system having said center server, a single or a plurality of local servers, a first network for mutually connecting said center server and said local servers, local storage subsystems for storing local databases managed by said local servers, a center storage subsystem for storing replications of said local databases, and a second network for mutually connecting said center server, center storage subsystem, local servers and local storage subsystems, said process program comprising:
a module for making a request to said local server for replication of said local database; a module for receiving a notice of remote volume split completion based on the replication request made to said database; a module for requesting database freeze of a shadow image of said replication local database; a module for requesting volume synchronization; a module for requesting volume split when the volume synchronization is completed to perform volume replication for reflecting update information applied to the replication database upon the shadow image; and a module for thereafter requesting release of freeze of the center database.
- 15. A process program for executing a process in a local server in a database system having said center server, a single or a plurality of local servers, a first network for mutually connecting said center server and said local servers, local storage subsystems for storing local databases managed by said local servers, a center storage subsystem for storing replications of said local databases, and a second network for mutually connecting said center server, center storage subsystem, local servers and local storage subsystems, said process program comprising:
a module responsive to a request for replication of said database from said center server to request a database management system to freeze said local database; a module for requesting said local storage subsystem to cause it to replicate, in said center storage subsystem, said local database stored in said local storage subsystem; a module for receiving a notice of split completion from said local storage subsystem based on said replication request; and a module for informing said center server of the split completion.
- 16. A database system comprising:
a center server; local servers; local storage subsystems which store local databases; and a center storage subsystem which stores replication local databases representing replications of said local databases, wherein said local servers are mutually connected through a first network; said center server, said center storage subsystems, said local servers and said local storage subsystems are mutually connected through a second network; said center server includes a replication requesting unit which requests said local servers to replicate local databases and a data consolidating unit which performs a process for consolidation of said replicated local databases; and each of said local servers includes a local database freeze requesting unit responsive to a database replication request from said center server which requests a database management system to freeze said local database, and a database replicating unit which causes said local storage subsystem to replicate, in said center storage subsystem, said local database stored in said local storage subsystem.
- 17. A database system according to claim 16, wherein
each of said local storage subsystems includes a remote volume replicating unit which transfers information of an update applied to said local database to said center storage subsystem through said second network; and said center storage subsystem includes a volume replicating unit which reflects the transferred update information upon said replication local database.
- 18. A center server in a database system, wherein
said center server is connected to a single or a plurality of local servers through a first network and is connected to said local servers, local storage subsystems which store local databases and a center storage subsystem which stores replications of said local databases through a second network; and said center server includes a replication requesting unit which requests said local servers to replicate said local databases, and a data consolidating unit which performs a process for consolidation of said replicated local databases.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2002-330731 |
Nov 2002 |
JP |
|