IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced for z/OS: Process Server > Configure IBM BPM Advanced for z/OS: Process Server > Create the databases

DB2 for z/OS authorization prerequisites

Before you create the IBM BPM databases, you must ensure that the required authorizations are granted for your DB2 for z/OS version. Also ensure that the appropriate storage groups and buffer pools are assigned, and configure clustering if necessary.


User authorization requirements for DB2 for z/OS

Ask your DB2 for z/OS system administrator to check the authorizations that have been granted to ensure that you have not granted more authority than necessary to any user ID. It can be tempting to grant DB2 SYSADM authority to the JCA authentication aliases in order to avoid possible problems with DB2 security during the configuration. The WebSphere administrator ID should not require more than DBADM authority to define the IBM BPM databases.

The following storage group, database, and buffer pool GRANT permissions are provided by default, for the WebSphere administrator identified as #DB_USER#. These permissions are available in the createDatabase.sql database script that is generated by the database design tool:

GRANT USE OF STOGROUP  #STOGRP# TO  #DB_USER# WITH GRANT OPTION;
GRANT DBADM ON DATABASE  #DB_NAME# TO  #DB_USER#;
GRANT USE OF ALL BUFFERPOOLS TO  #DB_USER#;

The following GRANT permission might be required to permit the #DB_USER# user to create sequences and stored procedures with a schema qualifier of #SCHEMA#:

GRANT CREATEIN,ALTERIN,DROPIN ON SCHEMA  #SCHEMA# TO  #DB_USER# WITH GRANT OPTION;

The following permissions are also required:

GRANT CREATE ON COLLECTION  #SCHEMA# TO  #DB_USER#;
GRANT BINDADD TO  #DB_USER#;


Authorization requirements for views on DB2 for z/OS V10

If you are planning to use DB2 for z/OS V10, additional permissions are required for views in the database:


Use the configuration planning spreadsheet to define authorizations

If you have downloaded the configuration planning spreadsheet for use, you can alternatively use this spreadsheet to generate the GRANT permissions that are required for users and for DB2 for z/OS V10 views (as identified in the preceding sections in this topic). The configuration planning spreadsheet is available from Techdoc WP102075 in the IBM Support Portal.

The Database worksheet in the spreadsheet lists a set of sample SQL statements that can be used to create the databases and storage groups. Additionally, the GRANT permissions that are required to authorize the WebSphere administrator and to provide access to DB2 for z/OS V10 database tables are provided. When you specify the user and database object names on the BPMVariables worksheet of the spreadsheet, these values are propagated to the Database worksheet, and are used to complete the CREATE and GRANT statements with the appropriate values.

Ask your DB2 for z/OS system administrator to use the relevant CREATE statements to create the databases and storage groups, and to use the GRANT statements to authorize the WebSphere administrator. For more information about using the artifacts generated from the spreadsheet, see the accompanying PDF document in the Techdoc.


Storage group assignments and buffer pool usage

Ask your DB2 for z/OS system administrator to check the storage group assignments and buffer pool usage. Incorrect storage group assignment and buffer pool usage might not show up as an error message in a log, but might cause problems later. It is better to resolve such problems now rather than when the system has been handed over for use.

For example, correcting storage groups and VCATs is not easy after the tables and indexes have been used.


Clustering requirements

If you intend to configure clustering, your DB2 for z/OS system must be running in data-sharing mode.

Create the databases


Related concepts:
Generate a design file and database scripts for the database objects


Related information:

DB2 for z/OS Information Center