+

Search Tips   |   Advanced Search


Install DB2

View information on installing DB2 for use with WebSphere Portal.

Before you begin:

  1. For a type 2 driver, configure your DB2 Connect client with the following commands. For a remote database, complete this step separately from the WebSphere Portal 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 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:

Prepare DB2 on HP-UX, Linux, and Solaris for a stand-alone production server


Next topic:

Create users