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.

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.

Note:
  • SELinux must be disabled for IBM Spectrum Control installations and upgrades in Linux environments.
  • If FIPS is enabled on RHEL, run the export JAVA_TOOL_OPTIONS="-Djdk.nativeDigest=false" command before starting the installation program.
To install IBM Spectrum Control in a single-server environment by using silent mode, complete the following steps:
  1. Log on to the target server as the root user.
    Note: If direct root access is not allowed, log on using a user with sudo privileges and run the following command:
    sudo DB2_installation_directory/cfg/db2ln
    For example:
    sudo /opt/ibm/db2/V11.5/cfg/db2ln
  2. When you install IBM Spectrum Control, the TPCDB database is created in the location that you specify in the Db2 DFTDBPATH
    To determine the current DFTDBPATH value, run the following command from db2 user. For example, db2inst1:
    su – db2inst1
    db2 get dbm cfg | grep -i DFTDBPATH
    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:
      db2 update dbm cfg using DFTDBPATH path
      Where, path is the new value for the DFTDBPATH variable.
    2. Run the db2stop and db2start commands to stop and restart Db2.
  3. Extract the IBM Spectrum Control installation image files on the server.
    Linux:
    • Navigate to the directory where the package is located
    • Extract the IBM Spectrum Control installation and license package
      tar -xvf SpectrumControl_5.x.x.x_linux_x86_64.tar.gz
      tar -xvf SpectrumControl_5.x.x.x_License.tar.gz
    AIX:
    AIX 7.3 TL1 or later: Use the native tar command to extract the IBM Spectrum Control installation packages.
    1. Go to the directory that contains the packages.
    2. Extract the installation and license packages:
      gunzip SC_5.x.x.x_aix.tar.gz 
      gunzip SC_5.x.x.x_License.tar.gz 
      tar -xvf SpectrumControl_5.x.x.x_aix.tar
      tar -xvf SpectrumControl_5.x.x.x_License.tar
      
    Note: AIX 7.3 TL0 and earlier: Use GNU tar (version 1.14 or later) instead of the native AIX tar. The AIX tar command can truncate long file names and cause installation errors.
    1. Go to the directory that contains the packages.
    2. Extract the installation and license packages with GNU tar:
      /opt/freeware/bin/tar -xvf SC_5.x.x.x_aix.tar.gz
      /opt/freeware/bin/tar -xvf SC_5.x.x.x_License.tar.gz
    If GNU tar is not available: Prefer to upgrade the operating system to AIX 7.3 TL1 or later. As a temporary workaround, use the native pax command:
    gunzip -c SC_5.x.x.x_aix.tar.gz | pax -r
    gunzip -c SC_5.x.x.x_License.tar.gz | pax -r
  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. 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