AquaLogic Interaction Installation Guide for Windows

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Creating and Configuring a DB2 Database on Unix

This section describes how to create and configure the portal database on DB2.

You must do the following before you create and configure your DB2 database.


  • ALI, Collaboration, and Directory must share the same DB2 database.
  • Have your DB2 DBA examine and, if necessary, customize the SQL scripts before you use them. Each SQL file contains comments that describe what customization might be necessary.
    Note: The DB2 SQL scripts use a hard-coded schema name, ALUI. If the schema name is changed in the scripts, you must use Configuration Manager to update schema name setting for Portal, Automation Service, ALI API Service, and Directory.
  1. Copy SQL scripts from the AquaLogic Interaction install directory to your DB2 server.

    The ALI installer creates the scripts in the following directories:


    • For scripts pertaining to the main portal application, install_dir/ptportal/6.5/sql/db2
    • For scripts pertaining to AquaLogic Directory, install_dir/ptportal/6.5/sql/db2
  2. Use the DB2 command line processor to run the portal SQL scripts against your DB2 database.

    The scripts must be run in this order:


    1. create_alui_schema.sql
    2. grant_alui_user.sql
    3. create_alui_tablespace_unix.sql
    4. create_tables_db2.sql
    5. load_seed_info_db2.sql

    Run create_alui_schema.sql, grant_alui_user.sql, and create_alui_tablespace_unix.sql as an operating system user with DBADMIN privileges. All other scripts may be run by a DBADMIN user or the ALI user.

    Note: Comments in the header of each SQL file contain recommended syntax for the DB2 command line processor.
  3. Run the run_stored_procs.sh shell script.
  4. Use the DB2 command line processor to run the postinst_db2.sql script.
  5. If you have configured DB2 to skip automatic statistics collection, run statistics_build.sql.
  6. Use the DB2 command line processor to run the Directory SQL scripts against your DB2 database.

    The scripts must be run in this order:


    1. create_tables.sql
    2. create_functions.sql
    3. map_alidb_65.sql

  Back to Top      Previous Next