Planning your database configuration
To plan your database configuration, you must know which databases must be established and configured to use the software, which components of IBM® Business Automation Workflow you will use and their associated databases, the tasks required to administer the databases, and the security privileges of the database system that you are using.
For information about database tuning, see Chapter 5: Database configuration, tuning, and best practices in IBM Business Process Manager V8.5 Performance Tuning and Best Practices.
For IBM Business Automation Workflow, separate databases are required for Process, Performance Data Warehouse, and Common database components.
In IBM Business Automation Workflow V21.0.3, the Common database consists of two parts: one part is cell-scoped and used for the entire cell; the other part is scoped to the deployment environment and must be configured for each deployment environment.
The Process and Performance Data Warehouse components do not support case-sensitive databases. These databases must not be case sensitive.
- For Microsoft SQL Server databases, components other than Process or Performance Data Warehouse require that their databases be case sensitive.
- For Oracle databases, the Process, Performance Data Warehouse, and Common database components must use a separate schema or user. They can use the same instance.
- A traditional architecture database
- A multitenant architecture with pluggable databases
For access to the database schemas, plan to create technical users (systems users) because these users may not be changed after the deployment environment has been created.
When you configure databases, the system default table spaces are used. However, if you want to use scripts that create custom table spaces for Business Process Choreographer, the Business Space components with Db2® and Oracle, and for the Messaging component with Db2 for z/OS®, see the usetablespaces property as described in the Database and cell properties section of Configuration properties for the BPMConfig command.
- run
BPMConfig -create -sqlfiles properties_file_name -outputDir output_directory
- run
BPMConfig -create -de properties_file_name
when bpm.de.deferSchemaCreation is set totrue
.
Specifying the maximum number of concurrently active databases on a Db2 database server
The maximum number of databases that can be concurrently active on a Db2 database server is specified by the Db2 numdb parameter. If your IBM Business Automation Workflow installation has four Advanced deployment environments, the default numdb value of 8 is not sufficient and must be increased to at least 13 (4*3 +1).
db2 get database manager configuration
db2 update dbm cfg using numdb 13
db2stop
db2start
Recommendation for LOCKLIST and MAXLOCKS Db2 database configuration parameters
If the Db2 self-tuning memory feature is enabled, which is the default setting for Db2, set the LOCKLIST and MAXLOCKS database configuration parameters to AUTOMATIC. These parameters apply to Linux®, Unix, and Windows systems.
Requirements for Db2 pureScale
Supported database types and JDBC providers
Your choice of a database depends on your operating system and on the features that you will use with IBM Business Automation Workflow.
Database type | JDBC provider |
---|---|
Db2 |
Db2 Data Server JDBC Provider (XA) |
Db2 for z/OS |
DB2 Universal JDBC Provider (XA) DB2 Universal JDBC Provider, to use the connection pool for Db2 for z/OS |
Oracle |
Oracle JDBC Provider |
SQL Server |
Microsoft SQL Server JDBC Provider |
Supported JDBC providers
For the product data sources, IBM Business Automation Workflow requires type 4 JDBC drivers provided by your database vendor for your particular database version.
For Db2, the driver is included with the product installation files. It is located in install_root/jdbcdrivers/DB2, where install_root is the installation location of IBM Business Automation Workflow. The JDBC driver provided by IBM Business Automation Workflow might not be the latest JDBC driver level delivered with your database product. If a later version is available, update to that driver.
For instructions for adding or updating JDBC drivers for your database product, see Configuring JDBC drivers.
Db2 for z/OS considerations
- RRULOCK=YES
- SKIPUNCI=YES
- NUMLKUS
- NUMLKTS
- LOBVALS
- LOBVALA
- RELEASE(COMMIT)