Using ConfigEngine Tasks to Create Databases for a Local Installation

This section provides information on using ConfigEngine tasks to create databases when using a local DB2 for i installation. If you are using a remote DB2 for i installation, you must create your databases manually and cannot create databases using the ConfigEngine task.

Before you begin, ensure that the following prerequisites are met:

  • The database management system software is installed.

  • To create a database, you must be a DB2 for iDB2 for i System Administrator with sufficient database privileges (SYSADM or at a minimum SYSCTRL).

  1. Log in as a DB2 instance system authority. For example, you can log in as db2inst1 as the DB2 instance owner.

  2. Change to the directory wp_profile_root/ConfigEngine

  3. To create the databases, type the following command:

    ./ConfigEngine.sh create-database -DWasPassword=password