Configuring Oracle Real Application Cluster (RAC) for use with IBM Business Process Manager

Oracle Real Application Clusters (RAC) is an option of an Oracle database that brings together two or more computers to form a clustered database that behaves as a single system. In a RAC database, Oracle processes that are running in separate nodes access the same data from a shared disk storage.

About this task

The configuration method is different for different Oracle RAC versions:

Procedure

  1. Specify the RAC URL as the Oracle URL when defining the relevant Oracle JDBC data sources.
    1. In the administrative console, select Resources > JDBC > Data sources.
    2. Edit all of the data sources using Oracle with the JDBC URL to use one of the preceding formats.
    Refer to Configuring a data source using the administrative console.
  2. Run the updateBPMConfig command based on the following examples.
    For a single-server environment, run the following commands:
    $AdminTask updateBPMConfig {-nodeName Node_Name -serverName Server_Name 
    -procsrvDBURL jdbc:oracle:thin:@Database_URL -procsrvDBUserID User_ID
     -procsrvDBPassword Password -perfDWDBURL jdbc:oracle:thin:@Database_URL
     -perfDWDBUserID User_ID -perfDWDBPassword Password}
    $AdminConfig save
    For a network deployment environment, run the following commands:
    $AdminTask updateBPMConfig {-clusterName application_cluster_name -procsrvDBURL jdbc:oracle:thin:@
    Database_URL -procsrvDBUserID User_ID -procsrvDBPassword Password
     -perfDWDBURL jdbc:oracle:thin:@Database_URL -perfDWDBUserID User_ID
     -perfDWDBPassword Password}
    $AdminTask updateBPMConfig {-clusterName support_cluster_name -procsrvDBURL jdbc:oracle:thin:@
    Database_URL -procsrvDBUserID User_ID -procsrvDBPassword Password
     -perfDWDBURL jdbc:oracle:thin:@Database_URL -perfDWDBUserID User_ID
     -perfDWDBPassword Password}
    $AdminConfig save
  3. In a network deployment environment, you must synchronize the nodes that contain Process Center, Process Server, or Performance Data Warehouse cluster members.
    1. In the administrative console, click System administration > Nodes.
    2. Select all of the nodes and click Full Resynchronize.
    3. Stop and restart all of the clusters and servers.

Mapping IBM Business Process Manager configuration parameters to Oracle setup parameters

About this task

To understand how to specify the correct information during the Oracle RAC database configuration, review the following parameter mapping information to ensure that the JDBC URL is created correctly.
The format of the JDBC URL that is generated during configuration is
jdbc:oracle:thin:@//[SCAN_LISTENER_HOST][:SCAN_LISTENER_PORT]/SERVICE
where
  • SCAN_LISTENER_HOST represents the RAC SCAN name that is defined during the Oracle RAC setup. SCAN_LISTENER_HOST is specified in the IBM BPM profile configuration parameter Database server host name.
  • SCAN_LISTENER_PORT represents the RAC SCAN listener port that is defined during the Oracle RAC setup. SCAN_LISTENER_PORT is specified in the IBM BPM profile configuration parameter Server port.
  • SERVICE represents the RAC service that is configured during the Oracle RAC setup. SERVICE is specified in the IBM BPM profile configuration parameter Common database name.
For example, an Oracle RAC setup with a RAC scan name of rac1.mycompany.com, a SCAN port of 1521, and a cluster-managed database service of MYSERVICE is specified with the following JDBC URL: jdbc:oracle:thin:@//rac1.mycompany.com:1521/MYSERVICE.mycompany.com