System and method for persisting transaction records in a transactional middleware machine environment
First Claim
1. A method for supporting disaster recovery in a transactional middleware machine environment, comprising:
- providing a clustered database accessible to a plurality of application servers wherein the clustered database provides a coordinated set of data across a distributed plurality of database servers, wherein the clustered database operate to replicate said set of data across said plurality of database servers;
providing a connection from each application server to said clustered database, whereby an application operating on said application server canread data, over said connection, from said set of data for commencing a transaction,process said data, andwrite processed data, over said connection, to said set of data for completing a transaction;
defining a plurality of different transaction logs, by defining for each application server of the plurality of application servers, a transaction log comprising a plurality of log records of transactions in process on said application server;
persisting, the plurality of different transaction logs to said clustered database over said connection from each application server to said clustered database;
replicating each of said plurality of different transaction logs across said plurality of database servers by using the clustered database to generate a plurality of replica different transaction logs wherein each of said plurality of different transaction logs is associated with at least one replica different transaction log stored at a site remote from the associated different transaction log; and
when a disaster disables a first application server having a first transaction log of said plurality of different transaction logs associated with a first replica transaction log of said plurality of replica different transaction logs stored at a site remote from the first transaction log, allowing a second application server at a site remote from the first application server to recover the first replica transaction log of said plurality of replica different transaction logs from one of said plurality of database servers and complete transactions identified in said first replica transaction log.
1 Assignment
0 Petitions
Accused Products
Abstract
A transactional system can utilize the distributed storage and high availability (HA) capability provided by a clustered database to support easy and feasible disaster recovery. The transactional middleware machine environment comprises one or more transactional application servers associated with a transaction. The one or more transactional application servers operate to persist transactional log information associated with the transaction in a database that connects with said one or more transactional application servers at a local site. The database at the local site operates to replicate the persisted transactional log information to a remote database at a remote site. The remote database allows a different transactional application server at the remote site to recover the persisted transactional log information and complete the transaction, when a disaster disables the local site.
25 Citations
20 Claims
-
1. A method for supporting disaster recovery in a transactional middleware machine environment, comprising:
-
providing a clustered database accessible to a plurality of application servers wherein the clustered database provides a coordinated set of data across a distributed plurality of database servers, wherein the clustered database operate to replicate said set of data across said plurality of database servers; providing a connection from each application server to said clustered database, whereby an application operating on said application server can read data, over said connection, from said set of data for commencing a transaction, process said data, and write processed data, over said connection, to said set of data for completing a transaction; defining a plurality of different transaction logs, by defining for each application server of the plurality of application servers, a transaction log comprising a plurality of log records of transactions in process on said application server; persisting, the plurality of different transaction logs to said clustered database over said connection from each application server to said clustered database; replicating each of said plurality of different transaction logs across said plurality of database servers by using the clustered database to generate a plurality of replica different transaction logs wherein each of said plurality of different transaction logs is associated with at least one replica different transaction log stored at a site remote from the associated different transaction log; and when a disaster disables a first application server having a first transaction log of said plurality of different transaction logs associated with a first replica transaction log of said plurality of replica different transaction logs stored at a site remote from the first transaction log, allowing a second application server at a site remote from the first application server to recover the first replica transaction log of said plurality of replica different transaction logs from one of said plurality of database servers and complete transactions identified in said first replica transaction log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system supporting disaster recovery in a transactional middleware machine environment, comprising:
-
a clustered database accessible to a plurality of application servers wherein the clustered database provides a coordinated set of data across a distributed plurality of database servers, wherein the clustered database operate to replicate said set of data across said plurality of database servers; a connection from each application server to said clustered database, whereby an application operating on said application server can read data, over said connection, from said set of data for commencing a transaction, process said data, and write processed data, over said connection, to said set of data for completing a transaction; a plurality of different transaction logs comprising a separate transaction log for each particular application server comprising a plurality of log records of transactions in process on said each particular application server; wherein the each particular application server persists the separate transaction log associated with said each particular application server to said clustered database over said connection from said particular application server to said clustered database; wherein the clustered database operates to replicate each of said plurality of different transaction logs across said plurality of database servers by using the clustered database to generate a plurality of replica different transaction logs wherein each of said plurality of different transaction logs is associated with at least one replica different transaction log stored at a site remote from the associated different transaction log; and wherein, when a disaster disables a first particular application server having a first separate transaction log and associated with a first separate replica transaction log stored at a site remote from the first separate transaction log, a second application server at a site remote from the first particular application server is configured to recover the first separate replica transaction log from one of said plurality of database servers and complete transactions identified in said first separate replica transaction log. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable storage medium including instructions stored thereon for supporting disaster recovery in a transactional middleware machine environment, which instructions, when executed by a computer, cause the computer to perform steps comprising:
-
providing a clustered database accessible to a plurality of application servers wherein the clustered database provides a coordinated set of data across a distributed plurality of database servers, wherein the clustered database operate to replicate said set of data across said plurality of database servers; providing a connection from each application server to said clustered database, whereby an application operating on said application server can read data, over said connection, from said set of data for commencing a transaction, process said data, and write processed data, over said connection, to said set of data for completing a transaction; defining a plurality of different transaction logs, by defining for each application server of the plurality of application servers, a transaction log comprising a plurality of log records of transactions in process on said application server; persisting, the plurality of different transaction logs to said clustered database over said connection from each application server to said clustered database; replicating each of said plurality of different transaction logs across said plurality of database servers by using the clustered database to generate a plurality of replica different transaction logs wherein each of said plurality of different transaction logs is associated with at least one replica different transaction log stored at a site remote from the associated different transaction log; and when a disaster disables a first application server having a first transaction log of said plurality of different transaction logs associated with a first replica transaction log of said plurality of replica different transaction logs stored at a site remote from the first transaction log, allowing a second application server at a site remote from the first application server to recover the first replica transaction log of said plurality of replica different transaction logs from one of said plurality of database servers and complete transactions identified in said first replica transaction log. - View Dependent Claims (20)
-
Specification