×

Method and apparatus for handling failures of resource managers in a clustered environment

  • US 6,671,704 B1
  • Filed: 03/11/1999
  • Issued: 12/30/2003
  • Est. Priority Date: 03/11/1999
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of providing fault tolerant operation of a transaction processing system, the method comprising the steps of:

  • sending a prepare signal to a resource manager process to begin the process of committing a transaction, the resource manager process being a participant in the transaction and identified by a globally unique identifier;

    receiving a ready signal from the resource manager in response to the prepare signal, the ready signal being accompanied by state information regarding the state of the resource manager process; and

    subsequent to the receipt of the ready signal, storing the received state information;

    receiving notice of a loss of the resource manager process;

    broadcasting a commit signal in response to the ready signal;

    creating a backup resource manager process for taking over the function and operation of the lost resource manager process, the lost resource manager process being unable to receive or respond to the commit signal;

    assigning to the backup resource manager process the globally unique identifier of the lost resource manager process; and

    causing the backup resource manager process to complete the process of committing the transaction by (i) sending the stored state information to the backup resource manager process, in response to a query by the backup resource manager process using the assigned identifier, the backup resource manager process determining, from the stored state information, that the lost resource manager was a participant in the transaction, and (ii) sending information regarding the state of the transaction to the backup resource manager process, in response to a query by the backup resource manager process, the backup resource manager process taking steps to commit the transaction based on the transaction state received from the query.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×