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 you are using a remote DB2 installation, create databases manually and cannot create databases using the ConfigEngine task.
Before you begin, ensure that the following prerequisites are met:
To create a database, be a DB2System Administrator with sufficient database privileges (SYSADM or at a minimum SYSCTRL).
- The database management system software is installed.
- Log in as a DB2 instance system authority. For example, you can log in as db2inst1 as the DB2 instance owner.
- Change to the directory WP_PROFILE/ConfigEngine
- To create the databases, type the following command:
ConfigEngine.bat create-database -DWasPassword=foo
Parent
Windows clustered server: Create DB2 databases