Installing IBM Spectrum Control in a single-server AIX or Linux environment

You can install IBM Spectrum Control as a root user or non-root user on an AIX® or Linux® operating system by using the IBM Spectrum Control installation program. To install IBM Spectrum Control as a non-root user, the user must have sudo privileges on the target AIX or Linux server.

Before you begin

Before you install IBM Spectrum Control, check the IBM Spectrum Control support site at External link iconhttps://www.ibm.com/support/pages/node/6249361#Server for the latest operating system support.

Ensure that X Window System is installed on the target AIX or Linux server. The X Window System is required to install IBM Spectrum Control by using the installation program.

If you want to install IBM Spectrum Control as a non-root user, have your system administrator complete the following tasks on the target server before you begin the installation:
  • If you are installing IBM Spectrum Control on an AIX server, install sudo on the server. The default AIX distribution does not include sudo. To get the sudo installation package, go to External link iconAIX Toolbox for Linux Applications. Find sudo-version in the Package column, and click RPM to download the package.
  • Ensure that the non-root user has sudo privileges for the following commands on the server:
    • xauth (Enables the non-root user to provide access to their X Window System display for the root user.)
    • db2ln (Enables the non-root user to create the links for the Db2® system files.)
    • setup.bin (Enables the non-root user to launch the IBM Spectrum Control installation program.)
    You must enter the full path to the commands when you configure the sudo privileges. For example:
    username	ALL=(root)	SETENV: /usr/bin/xauth,/opt/ibm/db2/V11.5/cfg/db2ln,/home/username/Downloads/IBMSC/SC/setup.bin
  • If the sudo environment on the server uses the secure_path option, ensure that the following directories are included in the secure_path value for the non-root user who is installing IBM Spectrum Control:
    • DB2_instance_owner_home_directory/sqllib/bin (Example: /home/db2inst1/sqllib/bin)
    • DB2_instance_owner_home_directory/sqllib/adm (Example: /home/db2inst1/sqllib/adm)
    • DB2_instance_owner_home_directory/sqllib/misc (Example: /home/db2inst1/sqllib/misc)
  • Ensure that the following requirements are met to enable the installation of IBM Spectrum Control by using the installation program:
    • The non-root user is able to use the X Window System on the target server and the X Window System DISPLAY environment variable is set correctly for the not-root user.
    • The DISPLAY environment variable is preserved in the sudo environment.
    • The root user has access to the X Window System display that is owned by the non-root user.
    These display requirements do not apply if you install IBM Spectrum Control in silent mode.
  • If you are installing IBM Spectrum Control on an AIX server, ensure that the ODMDIR environment variable is preserved in the sudo environment.

Procedure

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

  1. Log on to the target server as the root user or as a non-root user who has sudo privileges.
    Note: SELinux must be disabled for IBM Spectrum Control installations and upgrades in Linux environments.
  2. If you logged on as a 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 in 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. Run the db2stop and db2start commands to stop and restart Db2.
  4. Use an extraction tool to extract the installation image files on the server.
  5. In a command shell, source the Db2 user profile db2profile for the Db2 instance owner.
    For example:
    . /home/db2inst1/sqllib/db2profile
  6. In a command shell, change the directory to the location of the IBM Spectrum Control installation program setup.bin, and then enter the following command:
    Root user
    ./setup.bin
    Non-root user
    sudo -E ./setup.bin
  7. Follow the prompts in the installation program to install IBM Spectrum Control.

Results

If an error occurred during the IBM Spectrum Control installation process, review the IBM Spectrum Control installation log files to find details about the error.