Data collection

Describes the data collected by the data capture utility.

System-specific data

For system-specific data, the script performs the following operations:

  • Extracts local CPU node information
  • Extracts the environment for the current IBM Workload Scheduler instance
  • Extracts nslookup information for local CPU
  • Extracts netstat information for local CPU
  • Extracts Services information
  • Extracts the current running processes
  • (UNIX® only) Extracts a list of the files and directories under /usr/Tivoli/TWS
  • Extracts the current available disk space for %TWA_HOME%
  • Extracts the current available disk space for the tmp directory
  • (UNIX only) Extracts the current system disk space
  • (UNIX only) Extracts the current disk space of root filesystem
  • (Solaris 10.x or above) Extracts zonecfg information
  • (AIX® only) Copies netsvc.conf
  • (UNIX only, except AIX) Copies the nsswitch.* files
  • Copies the host and services files

IBM Workload Scheduler-specific data

For IBM Workload Scheduler-specific data, the script performs the following operations:

Collects IBM Workload Scheduler messages, as follows:
  • Generates a list of the.msg files
  • Extracts a list of the files in the following path:
    On Windows™ operating systems
    <TWA_home>\TWS\ftbox
    On UNIX operating systems
    <TWA_DATA_DIR>/ftbox
Collects IBM Workload Scheduler information, as follows:
  • Extracts information about the IBM Workload Scheduler instance installation
  • Extracts the IBM Workload Scheduler Security file
  • Extracts a list of all files under the %TWA_HOME% directory
  • Extracts the database definitions to flatfiles
  • (UNIX only) Extracts the optman output
  • (UNIX only) Extracts planman "showinfo" output
  • Copies jobmanrc.cmd and jobmanrc (if it exists)
  • Copies the schedlog files of the previous day (the option -date is not used)
  • Copies the schedlog files of the day on which the problem occurred, day - 1 and day + 1 (the option -date is used)
  • Copies files located in the following path:
    On Windows operating systems
    <TWA_home>TWS\audit\database|plan\${today} & ${yesterday}
    On UNIX operating systems
    <TWA_DATA_DIR>\audit\database|plan\${today} & ${yesterday}
  • Copies the BmEvents.conf file and the event log (if %TWA_HOME%\BmEvents.conf exists)
  • Copies the content of the BmEvents log file (if %TWA_HOME%\BmEvents.conf exists)
  • Copies the TWSRegistry.dat file
  • (UNIX only) Copies all files from /etc/TWA, /tmp/TWA*, /tmp/twsinst*, /tmp/tws9*, and TWA_DATA_DIR/stdlist/logs.
  • Copies the content of the %TWA_HOME%\version directory
  • Copies the files of the local workstation (the master domain manager and the backup master domain manager are also workstations on which jobs can be scheduled)
  • (Windows only) If the z/OS® connector is installed locally, copies the TWSZOSConnRegistry.dat file

Collects IBM Workload Scheduler logs, as follows:

  • Copies the TWSUser, BATCHUP, NETMAN, TWSMERGE, and joblog stdlist files for current and previous date
  • Copies the TWSMERGE and NETMAN log files from the stdlist\logs directory for current and previous date
  • Copies the TWSMERGE BATCHUP and NETMAN stdlist files from the stdlist\traces directory for current and previous date
  • Collects output of various conman commands: sc, sj, ss
Note: The NETMAN log files also contain information about the mailman process.

Collects IBM Workload Scheduler files, as follows:

  • Extracts a list of the files in the %TWA_HOME%\ITA directory
  • Extracts a list of the files in the %TWA_HOME%\stdlist\JM directory
  • Extracts a list of the files in the %TWA_HOME%\jmJobTableDir directory
  • Copies all the files in the %TWA_HOME%\stdlist\JM directory
  • Copies all the files in %TWA_HOME%\jmJobTableDir
Collect xtrace information from IBM Workload Scheduler processes as follows:
  • Generates snapshot files for IBM Workload Scheduler processes in raw format
  • Generates snapshot files in XML format from the raw format

If IBM Workload Scheduler for Applications is installed on the workstation, collects data on the methods, as follows:

  • Copies the content of the %TWA_HOME%\methods directory (if it exists)
  • (Windows only) Collects information about the Peoplesoft method
  • Collects information about the r3batch method
  • (UNIX only) Collects the r3batch picklist results

WebSphere Application Server Liberty Base-specific data

For WebSphere Application Server Liberty Base-specific data, the script performs the following operations:

  • Extracts a list of the IBM Workload Scheduler server files specific to WebSphere Application Server Liberty Base
  • Collects the IBM Workload Scheduler server Liberty profile ()
  • Copies select IBM Workload Scheduler application files specific to WebSphere®
  • Collects all configuration files:
    • datasource.xml
    • ssl_variables.xml
    • wauser_variables.xml
    • ports_variables.xml
    • host_variables.xml
    • jvm.options
    • authentication_config.xml
  • Collects the javacore*.txt files from the path <PROFILE_HOME>
  • Collects the data source properties
  • Collects the host properties
  • Collects the security properties