Finding out what has been installed in which IBM Workload Automation instances

If you are not the installer of IBM Workload Scheduler and its components, you might not know what components have been installed, and in which instances of IBM Workload Automation. Follow this procedure to find out:
  1. Access the following directory:
    UNIX™ and Linux™ operating systems
    /etc/TWA
    Windows™ operating systems
    %windir%\TWA
  2. List the contents of the directory. Each IBM Workload Automation instance is represented by a file called: twainstance<instance_number>.TWA.properties. These files are deleted when all the products or components in an instance are uninstalled, so the number of files present indicates the number of valid instances currently in use.
  3. Open a file in a text viewer.
    Attention: Do not edit the contents of this file, unless directed to do so by IBM Software Support. Doing so might invalidate your IBM Workload Scheduler environment.
The contents are similar to this on a master domain manager :
#TWAInstance registry
#Mon Feb 26 09:28:08 EST 2024
TWA_path=/opt/wa/server_twsuser
TWA_componentList=TWS
TWS_version=10.2.3
TWS_counter=1
TWS_instance_type=MDM
TWS_basePath=/opt/wa/server_twsuser/TWS
TWS_user_name=twsuser
TWS_wlpdir=/opt/wa/wlpEngine/wlp
TWS_datadir=/opt/wa/server_twsuser/TWSDATA
TWS_jdbcdir=/opt/wa/server_twsuser/TWS/jdbcdrivers/db2
The contents are similar to this on the Dynamic Workload Console:
#TWAInstance registry
Mon Feb 26 09:28:08 EST 2024
TWA_path=/opt/wa/DWC
TWA_componentList=DWC
DWC_version=10.2.3
DWC_counter=1
DWC_instance_type=DWC
DWC_basePath=/opt/wa/DWC
DWC_user_name=dwcadmin
DWC_wlpdir=/opt/wa/wlpDWC/wlp
DWC_datadir=/opt/wa/DWC/DWC_DATA
DWC_jdbcdir=/opt/wa/DWC/jdbcdrivers/db2
The important keys to interpret in this file are:
TWA_path
This is the base path, to which the installation added one or more of the following directories, depending on what was installed:
TWS
Where the IBM Workload Scheduler component is installed
DWC
Where the Dynamic Workload Console is installed
ssm
Where the Netcool® SSM monitoring agent is installed (used in event management)
TWA_componentList
Lists the components installed in the instance of IBM Workload Automation.
TWS_counter
Indicates if an IBM Workload Scheduler component is installed in this instance of IBM Workload Automation (when the value=1).
TWS_instance_type
Indicates which component of IBM Workload Scheduler is installed in this instance:
MDM
Master domain manager
BKM
Backup master domain manager
DDM
dynamic domain manager
FTA
Fault-tolerant agent or domain manager
TWS_user_name
The ID of the <˂TWS_user>> of the IBM Workload Scheduler component.
TWS_wlpdir
The installation directory of the WebSphere Application Server Liberty Base instance used by IBM Workload Scheduler.
TWS_datadir
The directory containing product data and data generated by IBM Workload Scheduler, such as logs and configuration information.
DWC_counter
Indicates if an instance of Dynamic Workload Console is installed in this instance of IBM Workload Automation (when the value=1)
DWC_user_name
The ID of the Dynamic Workload Console user.
DWC_wlpdir
The installation directory of the WebSphere Application Server Liberty Base instance used by Dynamic Workload Console.
DWC_datadir
The directory containing product data and data generated by Dynamic Workload Console, such as logs and configuration information.