How to Control Database Updates in an Active-Active Cluster (Doc ID 1058516.1)

Last updated on FEBRUARY 22, 2012

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1 to 10.1.3.4 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.

Goal

You have implemented a BPEL process with a database adapter that runs a stored procedure in the database, and deployed it to your active-active cluster.  Since the target is an active-active cluster, instances of your process can be activated on both nodes resulting in a race condition.  So you need to control access to the stored procedure to ensure that it runs "single-thread."

(The approaches described below addresses the example of the stored procedure specifically, but clearly they can be used to accomplish the same thing in other situations which require single-thread execution in a clustered environment.)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms