Search Tips   |   Advanced Search

AIX stand-alone: Install DB2

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

  2. The DB2 installation program 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:


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

    For JDBC Type 2 drivers, perform additional steps.

    See the Type 2 configuration section for more instructions.

  5. Install DB2 or the DB2 client and the required fix pack.

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

    Place these driver files under WP_PROFILE; for example:

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

  7. On the DB2 system, verify the DB2 instance port was added to the services file during the DB2 installation.

    • Edit /etc/services

    • Ensure that...

        DB2_db2inst1 50000/tcp

      ...where db2inst1 is the DB2 instance name, is in the services file. If you do not see DB2_db2inst1 50000/tcp in the services file, add this entry to the services file.

      Ensure that the port number used is not in use. If the port number is already in use, select a different port number.

Parent: AIX stand-alone: Set up a DB2 database
Next: AIX stand-alone: Create groups and assign users

DB2 Quick Beginnings guide