Configuring

Configuring IBM Workload Scheduler components after installation.

You must configure IBM Workload Scheduler components after installation.

Setting the environment variables

Before you configure your IBM Workload Scheduler components, you must set the environment variables using the twa_env or tws_env script. You can use the two scripts interchangeably.

The twa_env script is located in the following paths:
On Windows operating systems
IBM/TWA
On UNIX operating systems
/opt/IBM/TWA

The upgrade installation process for agents installs a new version of the tws_env script in the directory <TWA_HOME/TWS, where <TWA_HOME> is the IBM Workload Scheduler installation directory. A backup copy of your original version is created in a backup directory. After the upgrade process, merge the content of the new version with the content of the original version to carry your customized content into the new version.

The script is copied into the backup instance in /<working_dir>/TWA_<user_name_of_installation_user>

On Windows™ operating systems, run the tws_env.cmd shell script to set up both the PATH and TWS_TISDIR variables. For example, if IBM Workload Scheduler is installed in the %ProgramFiles%\IBM\TWA\TWS directory, the <PATH> variable is set as follows:
c:\Program Files\IBM\TWA\TWS;c:\Program Files\IBM\TWA\TWS\bin
Note: If you have more than one version of IBM Workload Scheduler installed on your computer, make sure <TWS_TISDIR> points to the latest one. This ensures that the most recent character set conversion tables are used.
On UNIX™ and Linux™ operating systems, source the . ./tws_env.sh shell script to set up the PATH, TWS_TISDIR, and UNISONWORK variables. For example, if IBM Workload Scheduler is installed in the default directory /opt/IBM/TWA/TWS directory, . ./tws_env.sh sets the variables as follows:
PATH=/opt/IBM/TWA/TWS:/opt/IBM/TWA/TWS/bin:$PATH
      export PATH

TWS_TISDIR=/opt//opt/IBM/TWA/TWS
     export TWS_TISDIR
The tws_env script has two versions:
  • tws_env.sh for Bourne and Korn shell environments
  • tws_env.csh for C Shell environments