WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


 

Installing DB2

This section provides information on how to install DB2 for use with WebSphere Portal Express.

Before you begin:

When you install DB2 using the DB2 installation program, it automatically creates a DB2 administrative user with the correct operating system rights.
If you are using a type 2 connection, before you begin installing WebSphere Portal Express, also install the client software, DB2 Connect, on the same machine as WebSphere Portal Express and WebSphere
Application Server
. Installing DB2 Connect enables the WebSphere Portal Express to use the required JDBC drivers. You must also ensure that the DB2 Connect installation is the same name as the server profile name. Refer to the DB2 information
center
.

  1. If you are using a type 2 driver, configure your DB2 Connect client with the following commands. If you are using a remote database, complete this step separately from the WebSphere Portal Express installation.

    Because the default for spm_name is the hostname itself, specifying the hostname parameter is optional. If your hostname is more than eight characters, use empty double quotes (" "). For example, db2 update dbm cfg using spm_name " ".
  2. Before installing DB2, log in with a user ID that has administrative authority.

    The system user ID and password must match the database user ID and password for the WebSphere Portal Express databases. If you do not use the default DB2 database user ID, or if access a remote database, create the system user ID before installing DB2.

    To set up the environment for the database access:

    1. The initialization script for this user (for example, user-home/.profile) must contain a call to the db2profile script in the db-home/sqllib directory.
    2. After you create the system user ID and password for the DB2 installation, add the user ID to the DB2 administration group (such as db2adm) for that system.

    To ensure that the user is set up correctly, login with this user ID and start the DB2 command line processor by executing the command: db2. If the command line processor displays, the user ID is set up correctly.

  3. To install DB2, follow the instructions that are provided with the DB2 documentation to install DB2 and the required fix pack.
Parent topic: Configuring DB2 Next topic: Creating remote databases Related reference
DB2 Technical Support DB2 Version 8 Connectivity Cheat Sheet DB2 Information Center
Library | Support | Terms of use |