Installing IBM Spectrum Control in a single-server environment by using silent mode

You can install IBM Spectrum Control by using silent mode. The installation program does not display any configuration options during the installation process.

Before you begin

If you plan to install IBM Spectrum Control as a non-root user, have your system administrator complete the tasks that are described in Installing IBM Spectrum Control in a single-server AIX or Linux environment on the target server before you begin the installation.

If you are installing on a Windows operating system, confirm that your Windows firewalls are disabled in the Control panel.

Procedure

To install IBM Spectrum Control in a single-server environment by using silent mode, complete the following steps:

  1. Log on to the server where you want to install IBM Spectrum Control.
    Note: SELinux must be disabled for IBM Spectrum Control installations and upgrades in Linux environments.
    If you are installing on a Windows operating system, log on as a user who as administrator privileges. If you are installing on an AIX or Linux operating system, log on as the root user or as a non-root user who has sudo privileges.
  2. If you logged on as an AIX or Linux non-root user, run the following command in a command shell:
    sudo Db2_installation_directory/cfg/db2ln
    For example:
    sudo /opt/ibm/db2/V11.5/cfg/db2ln
  3. When you install IBM Spectrum Control, the TPCDB database is created in the location that you specify in the Db2® DFTDBPATH variable.
    To determine the current DFTDBPATH value, run the following command from a Db2 CLI window:
    get dbm cfg
    If you want to install this database in a location that is other than the default location:
    1. Run the following command in a Db2 CLI window:
      update dbm cfg using DFTDBPATH path
      where path is the new value for the DFTDBPATH variable.
    2. If you are installing on an AIX or Linux operating system, run the db2stop and db2start commands to stop and restart Db2.
  4. Edit and save the appropriate response file.

    For more information about editing the response file, see Editing the response file.

  5. If you are installing on an AIX or Linux operating system, in a command shell, source the Db2 user profile db2profile for the Db2 instance owner.
    For example:
    . /home/db2inst1/sqllib/db2profile
  6. Run the silent mode installation program.
    • For Windows operating systems, run the following command:
      setup.bat -l language -i silent -f absolute_path_to_response_file
      where language can be one of the following values:
      • Czech - cs
      • English - en
      • French - fr
      • German - de
      • Hungarian - hu
      • Italian - it
      • Japanese - ja
      • Korean - ko
      • Polish - pl
      • Brazilian Portuguese - pt_BR
      • Russian - ru
      • Spanish - es
      • Chinese (Simplified) - zh_CN
      • Chinese (Traditional) - zh_TW
      absolute_path_to_response_file is the absolute path to the response file. For example, the following command specifies the language and the path:
      setup.bat -l fr -i silent -f c:\TPC\silent_SingleServerTypical.properties
    • For AIX or Linux operating systems, run the following command:
      Root user
      ./setup.bin -l language -i silent -f /absolute_path_to_response_file
      For example, the following command specifies the language and the path:
      ./setup.bin -l de -i silent -f /TPC/silent_SingleServerTypical.properties 
      Non-root user
      sudo -E ./setup.bin -l language -i silent -f /absolute_path_to_response_file
      For example, the following command specifies the language and the path:
      sudo -E ./setup.bin -l de -i silent -f /TPC/silent_SingleServerTypical.properties 

    If you do not specify a language or if the language is not specified correctly, the installation program uses the English language as the default.

  7. Optional: Monitor the progress of the installation.
    • To view the progress of the silent mode installation on Windows operating systems, check the trace log in the following path:
      installation_dir\logs\traceTPCInstall.log
    • To view the progress of the silent mode installation on AIX or Linux operating systems, check the trace log in the following path:
      installation_dir/logs/traceTPCInstall.log