Method for highly available transaction recovery for transaction processing systems
First Claim
1. A method for recovering transactions comprising:
- first performing failover migration of a transaction recovery service from a failed primary server to a back-up server, the primary server having a transaction log, the transaction recovery service having ownership of the transaction log;
second performing recovery for the failed primary server, the recovery performed on the backup server; and
third performing failback migration of the transaction recovery service from the back-up server to the primary server.
1 Assignment
0 Petitions
Accused Products
Abstract
A highly available transaction recovery service migration system in accordance with one embodiment of the present invention implements a server'"'"'s Transaction Recovery Service (TRS) as a migratable service. In one embodiment of the present invention, the TRS is a server instance or software module implemented in JAVA. The TRS migrates to an available server that resides in the same cluster as the failed server. The migrated TRS obtains the TLOG of the failed server, reads the transaction log, and performs transaction recovery on behalf of the failed server. The migration may occur manually or automatically on a migratable services framework. The TRS of the failed server migrates back in a fail back operation once the failed primary server is restarted. Failback operation may occur whether recovery is completed or not. This expedites recovery and improves availability of the failed server thereby preserving the efficiency of the network and other servers.
-
Citations
30 Claims
-
1. A method for recovering transactions comprising:
-
first performing failover migration of a transaction recovery service from a failed primary server to a back-up server, the primary server having a transaction log, the transaction recovery service having ownership of the transaction log;
second performing recovery for the failed primary server, the recovery performed on the backup server; and
third performing failback migration of the transaction recovery service from the back-up server to the primary server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method for performing transaction recovery comprising:
-
(a) detecting a first server is down, the first server having a first transaction log on a memory and a first transaction recovery service;
(b) moving the first transaction recovery service to a second server;
(c) activating the first transaction recovery service on the second server;
(d) performing transaction recovery on behalf of the first server by the first transaction recovery service while the first transaction recovery service resides on the second server;
(e) deactivating the first transaction recovery service on the second server;
(f) moving the first transaction recovery service to the first server; and
(g) activating the first transaction recovery service on the first server. - View Dependent Claims (22, 23, 24, 25, 26, 27)
-
-
28. A method for manually performing failback migration from a backup server to a primary server after recovery on a primary server is complete comprising:
-
completing recovery for a failed primary server by a TRS associated with the primary server and residing on the backup server;
requesting a migratable framework to migrate the TRS from the backup server to the primary server, the backup server making the request to the migratable framework;
deactivating the TRS residing on the backup server by the migratable framework, wherein deactivating the TRS includes the migratable framework calling a JAVA method residing in the TRS to deactivate the TRS on the backup server; and
migrating the TRS from the backup server to the primary server by the migratable framework, wherein the primary server regains ownership of a TLOG corresponding to the primary server upon primary server restart.
-
-
29. In a cluster of servers, a server high availability method comprising the step of performing transaction recovery in a backup server using a transaction recovery service and a transaction log stored in a memory shared between the backup server and a failed server before the step of restating the failed server.
-
30. In a cluster of servers, a server high availability method comprising the step of performing transaction recovery in a backup server using a transaction recovery service and a transaction log before the step of restating a failed server.
Specification