Windows clustered server: Create a local DB2 database automatically
This section provides information on using ConfigEngine tasks to create databases when using a local DB2 installation. If we are using a remote DB2 installation, we cannot create databases using ConfigEngine. Create the databases manually.Before beginning, ensure that the following prerequisites are met:
- The database management system software is installed.
To create a database, you must be a DB2 System Administrator with sufficient database privileges (SYSADM or at a minimum SYSCTRL).
- Log in as a DB2 instance system authority.
For example, we can log in as db2inst1 as the DB2 instance owner.
- Create the databases:
cd WP_PROFILE/ConfigEngine
./ConfigEngine.sh create-database -DWasPassword=foo