Performing a silent installation on IBM i

IBM Sametime® Gateway Server can be installed silently using a response file. You can either generate your own response file by installing using the install wizard, or by editing the default response file that is provided.

Before you begin

You must install WebSphere® Application Server separately before performing a silent installation. The silent installation program must be run in QSH mode.

About this task

A response file is a text file that contains all the options that would normally be specified in the installation dialogs. Silent installation is useful in situations where automation is desired.

To perform a silent installation, you have to create a new response file or edit the existing response file that is included with the product. On the root of the Sametime Gateway Server installation CD is a fully-documented response file: installresponse.txt. Copy this file to the computer and edit it with values appropriate for your environment, or complete the following steps to create a response file based on a real installation.

Procedure

  1. From the installation media, copy and unzip the Sametime Gateway Server installation image to a temporary directory /TMP on the computer where you will be installing Sametime Gateway Server.
    This step creates a folder: /TMP/SametimeGateway.
  2. Copy the folder /TMP/SametimeGateway to the IFS of the IBM® i system.
  3. Start a QSHELL session.
  4. Navigate to the /TMP/SametimeGateway folder.
  5. Record a response file by typing the following command. This will perform an installation and generate a response file:
    install.sh -options-record response_file
    where response_file is an absolute path to the response file to be generated.
    install.sh -options-record /TMP/SametimeGateway/gatewayOptions.txt
  6. If another Sametime Gateway Server installation exists on the system, you must allow for the existence of more than one Sametime Gateway Server by completing the sub steps that follow:
    1. Using a text editor, open the response file.
    2. Search for the line starting with -V Coexist=.
    3. If the line exists set the value to be -V Coexist="true". If the line does not exist, add -V Coexist="true" to the end of the file.
    4. Save and close the response file.
  7. Once a response file is created, either by modifying the installresponse.txt file included with the installer, or by generating your own response file, open a command window.
  8. Type the following command to use the response file that you created:
    install.sh -options response_file -silent

Results

Upon completion of the installation, control will return to the command window. Validation or installation errors are logged to the installation log file.
Note: Generating response files using the -options-record option puts clear text passwords in the response file.