Linux stand-alone: Install DB2

View information on installing DB2 for use with WebSphere Portal.

Before you begin:

  1. If you are using the JDBC driver in type 2 mode, configure DB2 client with the following commands.

      If you are using a remote database, complete this step separately from the WebSphere Portal installation.

      • db2 update dbm cfg using tp_mon_name WAS

      • db2 update dbm cfg using spm_name hostname, where hostname is the host name of WebSphere Portal.

      Because the default for spm_name is the hostname itself, specifying the hostname parameter is optional. If 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.

  3. To install DB2 or the DB2 client and the required fix pack, follow the instructions that are provided with the DB2 documentation.

  4. 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.

  5. If DB2 is installed on another system than WebSphere Portal, perform the following instructions:

    • For JDBC Type 2 drivers only: The appropriate DB2 client must be installed on the same system as WebSphere Portal and have the same name as the server profile name.

    • For JDBC Type 4 drivers only: Copy the driver jar files to the Portal server. It is recommended that you place these driver files within the WP_PROFILE directory; for example:

        WP_PROFILE/PortalServer/dbdrivers/db2jcc4.jar
        WP_PROFILE/PortalServer/dbdrivers/db2jcc_license_cu.jar


Parent

Set up a remote DB2 database


Next topic

Modify DB2 database properties

 


+

Search Tips   |   Advanced Search