Follow these steps to configure a DB2 event database on a Linux,
UNIX, or Windows system.
Before you begin
Although you can configure a DB2 event database
using the Profile Wizard for the WebSphere ESB profile creation,
you need to manually do steps 1 and 2, below, before configuring
the DB2 database.
Steps for this task
- If you are configuring a DB2 database on a DB2 client with the
server on a remote system, make sure the client system is configured to communicate
with the server and that the DB2 node is cataloged. For more information,
refer to the DB2 Universal Database documentation.
- If you are configuring a DB2 database on a Linux or UNIX system,
source the database environment:
- Modify /etc/group and make sure root is
in the same group as the db2instance.
- Source the database environment by running the db2instance/sqllib/db2profile script
(replace db2instance with the name of your database instance).
- Create a database response file. A database response
file is a text file that specifies parameters for configuring the event database.
These parameters vary depending on the type of database being used.
- Run the database configuration scripts. The Common Event
Infrastructure provides scripts for configuring the event database. These
scripts generate customized, database-specific scripts for creating the database
configuration using the parameters in your response file.