Method and device for switching database access part from for-standby to currently in use
First Claim
1. A data processing method in which a first site comprises a first database (DB) access part currently in use, a primary first storage device that is assigned to said first DB access part currently in use, and a secondary second storage device that forms a pair with a primary second storage device;
- a second site comprises a second DB access part currently in use, a first DB access part for standby that corresponds to said first DB access part currently in use, said primary second storage device that is assigned to said second DB access part currently in use, and a secondary first storage device that forms a pair with said primary first storage device, and that is assigned to said first DB access part for standby; and
an inter-site monitoring server is provided which monitors a first object of monitoring that is at least one of said first DB access part currently in use, a first server comprising said first DB access part currently in use, and said first site, and a second object of monitoring that is at least one of said second DB access part in use, a second server comprising said second DB access part currently in use, and said second site;
said data processing method comprising the steps of;
said first DB access part in use writing data into said primary first storage device;
copying the data that is written into said primary first storage device into said secondary first storage device;
said second DB access part in use writing data into said primary second storage device;
copying the data that is written into said primary second storage device into said secondary second storage device;
said inter-site monitoring server detecting that said first DB access part currently in use has gone down; and
said inter-site monitoring server switching said first DB access part for standby from for-standby to currently in use after detecting tat said first DB access part currently in use has gone down.
1 Assignment
0 Petitions
Accused Products
Abstract
It is an object of the present invention to use the resources of various sites in an effective manner. The first site has a first DB access part in use. The second site has a second DB access part in use in addition to a first DB access part for standby corresponding to the first DB access part in use. The second DB access part in use writes data into a second storage device that is assigned to the second DB access part itself. The inter-site monitoring server monitors the first DB access part in use and the second DB access part, and in cases where it is detected that the first DB access part in use has gone down, the inter-site monitoring server switches the first DB access part for standby to the DB access part in use.
27 Citations
9 Claims
-
1. A data processing method in which a first site comprises a first database (DB) access part currently in use, a primary first storage device that is assigned to said first DB access part currently in use, and a secondary second storage device that forms a pair with a primary second storage device;
-
a second site comprises a second DB access part currently in use, a first DB access part for standby that corresponds to said first DB access part currently in use, said primary second storage device that is assigned to said second DB access part currently in use, and a secondary first storage device that forms a pair with said primary first storage device, and that is assigned to said first DB access part for standby; and an inter-site monitoring server is provided which monitors a first object of monitoring that is at least one of said first DB access part currently in use, a first server comprising said first DB access part currently in use, and said first site, and a second object of monitoring that is at least one of said second DB access part in use, a second server comprising said second DB access part currently in use, and said second site; said data processing method comprising the steps of; said first DB access part in use writing data into said primary first storage device; copying the data that is written into said primary first storage device into said secondary first storage device; said second DB access part in use writing data into said primary second storage device; copying the data that is written into said primary second storage device into said secondary second storage device; said inter-site monitoring server detecting that said first DB access part currently in use has gone down; and said inter-site monitoring server switching said first DB access part for standby from for-standby to currently in use after detecting tat said first DB access part currently in use has gone down. - View Dependent Claims (2, 4, 5, 6, 7)
-
-
3. The data processing method according to clam 1, wherein said method further comprises the steps of:
-
said inter-site monitoring server storing DB access pan relationship information constituting information that represents the correspondence relationship between the first DB access part currently in use and first DB access part for standby; and said inter-site monitoring server specifying said first-DB access part for standby corresponding to the first DB access part currently in use that has gone down by referring to the DB access part relationship information; and wherein, in said switching step, said specified first DB access part for standby is switched from for-standby to currently in use.
-
-
8. A device comprising:
-
a first site having a first database (DB) access part currently in use, a primary first storage device that is assigned to said first DB access part currently in use, a second DB access part for standby that corresponds to a second DB access part currently in use, and a secondary second storage device that forms a pair with a primary second storage device; and a second site having said second DB access part currently in use, a first DB access part for standby that corresponds to said first DB access part currently in use, said primary second storage device that is assigned to said second DB access part currently in use, and a secondary first storage device that forms a pair with said primary first storage device, and that is assigned to said first DB access part for standby, wherein said first DB access part currently in use writes data into said primary first storage device, and the data that is written into said primary first storage device is copied into said secondary first storage device; said second DB access part currently in use writes data into said primary second storage device, and the data that is written into said primary second storage device is copied into said secondary second storage device; and wherein said device further comprises a storage region that stores at least one computer program, and a processor that reads in and operates said one or more computer programs from said storage region; said processor monitors a first object of monitoring that is at least one of said first DB access part currently in use, a first server comprising said first DB access part currently in use, and said first site, and a second object of monitoring that is at least one of said second DB access part currently in use, a second server comprising said second DB access part currently in use, and said second site; in cases where it is detected by said monitoring that said first DB access part currently in use has gone down, said processor switches said first DB access part for standby from for-standby to currently in use, while in cases where it is detected by said monitoring that said second DB access part currently in use has gone down, said processor switches said second DB access part for standby from for-standby to currently in use.
-
-
9. A computer-readable computer program on a storage medium wherein a first site has a first database (DB) access part currently in use, a primary first storage device that is assigned to said first DB access part currently in use, a second DB access part for standby that corresponds to a second DB access part currently in use, and a secondary second storage device that forms a pair with a primary second storage device;
-
second site has said second DB access part currently in use, a first DB access part for standby that corresponds to said first DB access part currently in use, said primary second storage device that is assigned to said second DB access part currently in use, and a secondary first storage device that forms a pair with said primary first storage device, and that is assigned to said first DB access part for standby; said first DB access part currently in use writes data into said primary first storage device, and the data that is written into said primary first storage device is copied into said secondary first storage device; said second DB access part currently in use writes data into said primary second storage device, and the data that is written into said primary second storage device is copied into said secondary second storage device; and said computer program causes a computer to execute the steps of; monitoring a first object of monitoring that is at least one of said first DB access part currently in use, a first server comprising said first DB access part currently in use, and said first site, and a second object of monitoring that is at least one of said second DB access part currently in use, a second server comprising said second DB access part currently in use, and said second site; switching said first DB access part for standby from for-standby to currently in use in cases where it is detected by said monitoring that said first DB access part currently in use has gone down; and switching said second DB access part for standby from for-standby to currently in use in cases where it is detected by said monitoring that said second DB access part currently in use has gone down.
-
Specification