Installing data warehousing in Db2 silently by using a response file

A silent installation is an installation that runs in the background without displaying an interface or prompting you for input. You can silently install the warehouse components to simplify the process of installing them on multiple computers.

Before you begin

Before you begin

Starting with data warehousing in Db2®, Version 10.5 Fix Pack 4, you can no longer install Db2 database software using the data warehousing in Db2 installer. Db2 database software is installed with a separate installer. In addition, Db2 database software must be installed before you install data warehousing in Db2 software. For more information on installing Db2 database software, see the Installing topic.

Starting with data warehousing in Db2, Version 10.5 Fix Pack 5, using an encrypted metadata database is supported. You must create the encrypted database before you install data warehousing in Db2 software. For more information, see the Creating Databases topic.

Before you can silently install a component group, you must have a response file. A response file is a file that contains the properties and the values that drive the installation. You can either customize the sample response file or create your own response file.

If you are using WebSphere® Application Server, V8, you cannot silently install data warehousing in Db2 with the WebSphere Application Server profile with standAlone mode under WebSphere Application Server Network Deployment. Instead, install data warehousing in Db2 with the WebSphere Application Server profile with standAlone mode under WebSphere Application Server Network Deployment with either the GUI-based launchpads or by running the GUI-based installation wizards. An alternative resolution is to create a file that is named, WSCustomConstants.properties, in the directory /properties with the content, profileType=standAlone. And then reinstall silently.
Customizing the sample response file
The sample response file, PROC_ISW.rsp, is in the ResponseFiles directory of the disk or installation image that you downloaded. Copy the sample response file to a temporary directory on the computer on which you are installing the product. Follow the directions in the file to customize it to meet your needs.
Creating your own response file
You create a response file by running the installation wizard for the component group that you want to install silently. One of the options in the wizard creates a response file without installing the product. For more information about how to run the wizards,Installing data warehousing in Db2 by using the installation wizards.

If you accept the default file name and path when you create a response file, the response file is named PROC_ISW.rsp and is in the following directory:

  • On Linux® and UNIX operating systems: User_home
  • On Linux operating systems: User_home
  • On Windows operating systems: C:\Users\user

Procedure

To silently install a component group by using a response file:

  1. Issue one of the following commands:
    • On Linux and UNIX operating systems: path_to_installer/install.bin -f 'resp_file_path_and_name' -i silent -Dprofile='profile_path'
    • On Linux operating systems: path_to_installer/install.bin -f resp_file_path_and_name' -i silent -Dprofile='profile_path'
    • On Windows operating systems: path_to_installer\install.exe -f "resp_file_path_and_name" -i silent -Dprofile="profile_path"
    • On Windows operating systems with FDCC: path_to_installer\install.exe -f resp_file_path_and_name' -i silent -Dprofile="profile_path" -DFDCC=true
    where path_to_installer is the path to the installation program in the server or client directory of the image, resp_file_path_and_name is the path and name of the response file, and profile_path is the path to the profile directory. where path_to_installer is the path to the installation program in the isw directory of the server or client image, resp_file_path_and_name is the path and name of the response file, and profile_path is the path to the profile directory. If you do not provide the Dprofile parameter, the default profile is used.
    Tip: If you copied the profile_path directory to the same directory as the installation program, do not specify the argument for the profile directory for the command.

    If you do not include the -Dprofile parameter in the command the installation is completed under a Try and Buy license.

    If you want to specify a location for the installation details log file instead of using the default location, you can include
    -Dlog="absolute_path_to_log_file" in the command. For example:

    On Linux and UNIX operating systems: -Dlog='e:/WHinstall_details.log'

    On Windows operating systems: -Dlog="e:\WHinstall_details.log".

  2. Verify that the installation was successful by reading the installation log files, which are in the following default directoryfor installations that are done by administrators or root users:
    • On Linux and UNIX operating systems: /opt/IBM/ISWarehouse/logs
    • On Linux operating systems: /opt/IBM/ISWarehouse/logs
    • On Windows operating systems: C:\Program Files\IBM\ISWarehouse\logs

What to do next

What to do next

Configuring data warehousing in Db2