Installing a DB2 Connect server product (AIX)

To define your installation preferences and to install a Db2 Connect product on AIX®, use the Db2 Setup wizard.

Before you begin

Before you begin your installation:
  • You can install Db2 Connect using either root or non-root user authority. For more information about the non-root installation, see the related links.
  • Ensure that your system meets:
  • The Db2® database product DVD must be mounted on your system.
  • The Db2 Connect product image must be available. If you are installing a non-English version of a Db2 Connect product, you must also have the appropriate National Language Packages.
  • Ensure that asynchronous I/O has been enabled; it must be enabled before your Db2 Connect server product can be successfully installed.
  • To locate Db2 database products already installed on your system, use the db2ls command.
  • The Db2 Setup wizard is a graphical installer. You must have X windows software capable of rendering a graphical user interface for the Db2 Setup wizard to run on your machine. Ensure that the X windows server is running. Ensure that you have properly exported your display. For example, export DISPLAY=9.26.163.144:0.
  • If security software such as Lightweight Directory Access Protocol (LDAP) is used in your environment, you must manually create required Db2 users before you start the Db2 Setup wizard. Refer to the Centralized user-management considerations topic before you begin.
    Note: Network Information Services (NIS) and Network Information Services Plus (NIS+) features are deprecated starting with Db2 Version 9.1 Fix Pack 2. Support for these features might be removed in a future release. Lightweight Directory Access Protocol (LDAP) is the recommended solution for centralized user-management services.

About this task

The Db2 Installer program is a Java-based installation tool that automates the installation and configuration of any Db2 database product. If you prefer not to use this utility, you have two alternatives. You can install a Db2 Connect product:
  • Using the response file method
  • Manually using the db2setup command. You cannot manually install a Db2 database product using the operating system's native installation utility SMIT. Any existing scripts containing this native installation utility that you use to interface and query with Db2 installations will need to change.

Procedure

To install a Db2 Connect server product, such as Db2 Connect Enterprise Edition, on AIX using the Db2 Setup wizard:

  1. Change to the directory where the DVD is mounted:
         cd /db2dvd
    
    where /db2dvd represents mount point of the DVD.
  2. If you downloaded the Db2 Connect product image, you must decompress and untar the product file.
    1. Decompress the product file:
      gzip -d product.tar.gz
      where product is the name of the database product that you downloaded.
    2. Untar the product file:
      tar xvf product.tar
    3. Change directory:
      cd ./product/disk1
    Note: If you downloaded a National Language Package, untar it into the same directory. This will create the subdirectories (for example ./nlpack/disk2) in the same directory, and allows the installer to automatically find the installation images without prompting
  3. Enter the ./db2setup command from the directory where the product image resides to start the Db2 Setup wizard. After a few moments, the IBM Db2 Setup Launchpad opens. For multiple CD installations, issue the db2setup command outside the mounted CD location with either a relative or absolute path name to ensure the Db2 Connect product CD can be unmounted as required.
    From this window, you can view the installation prerequisites and the release notes or you can proceed directly to the installation.
  4. Once you have initiated the installation, proceed through the Db2 Setup wizard installation panels and make your selections. Installation help is available to guide you through the Db2 Setup wizard. Click Help to invoke the online help. You can click Cancel at any time to exit the installation. Db2 files will only be copied to your system once you have clicked Finish on the last Db2 Setup wizard installation panel.
    Once completed, the Db2 Connect server product is installed using the /opt/IBM/db2/V9.8 default installation path.

    If you are installing on a system where this directory is already being used, the Db2 Connect product installation path will have _xx added to it, where xx are digits, starting at 01 and increasing depending on how many Db2 copies you have installed.

    You can also specify your own Db2 database product installation path.

Results

National Language Packs can also be installed by running the ./db2setup command from the directory where the National Language Pack resides, after a Db2 Connect product has been installed.

The installation logs, db2setup.log and db2setup.err will be located, by default, in the /tmp directory. You can specify the location of the log files.