+

Search Tips   |   Advanced Search

Linux clustered server: Install DB2


  1. On the DB host, update OS kernel parameters based on recommendations in the DB2 Quick Beginnings guide.

  2. When you install DB2 it automatically creates a DB2 administrative user with the correct operating system rights.

  3. Verify sufficient disk space for the DB2 instance home directory to be able to create the required databases.

  4. If the DB2 instance that maintains the databases for WebSphere Portal is used by other applications, for example, another portal, accessing databases on the same DB2 instance, it maybe necessary to increase the value of NUMDB.

    To set NUMDB to 30:

    UPDATE DATABASE MANAGER CONFIGURATION USING NUMDB 30

  5. All DB2 instructions apply to DB2 pureScale except where specifically noted.

  6. For JDBC Type 2 drivers, perform additional steps.

    See the Type 2 configuration section for more instructions.

  7. 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 you must access a remote database, create the system user ID before installing DB2.

  8. Install DB2 or DB2 client.

  9. 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 created 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.

  10. If DB2 is installed on another system than WebSphere Portal, copy the driver jar files from the DB2 server to the Portal server. The typical location for these files on the DB2 server is in

    DB2_HOME/java
    Place these driver files under WP_PROFILE; for example:

    • WP_PROFILE/PortalServer/dbdrivers/db2jcc4.jar

    • WP_PROFILE/PortalServer/dbdrivers/db2jcc_license_cu.jar


Parent: Linux clustered server: Set up a remote DB2 database
Next: Linux clustered server: Modify DB2 database properties
Related:

DB2 Quick Beginnings guide