Importing and configuring the ELAB_JOB_STAT_JS job stream

The ELAB_JOB_STAT workload application template (WAT) is provided as a zip file together with the installation code of the SPSS software subset. You must unpack the workload application template from the zip file and import it to the master domain manager of your network as a job stream. The ELAB_JOB_STAT_JS job stream is made up of three jobs that you must configure before you can run it once the plan has completed.

ELAB_JOB_STAT_JS must be launched after the plan has run. Its function is to:
  1. Search the plan for all the flagged jobs, get their past duration histories (of up to 90 days), and copy them into the exportjobstat.zip file.
  2. Export exportjobstat.zip to the SPSS-based statistical tool (which calculates the estimated durations of the flagged jobs for the next 5 days and copies them in the importjobstat.zip file).
  3. Import importjobstat.zip and make the estimated durations (and their confidence intervals) available in conman and in the Dynamic Workload Console.
To create and customize the ELAB_JOB_STAT_JS job stream, follow these steps:
  1. To create the ELAB_JOB_STAT_JS job stream:
    1. Find the custom_stats_wat.zip file in the same medium from where you extracted the installation file of the SPSS software subset.
    2. Download this file, unpack it, and find the ELAB_JOB_STAT_WAT_Mapping.UTF8.properties file.
    3. Edit ELAB_JOB_STAT_WAT_Mapping.UTF8.properties to replace the value of the WORKSTATION_ELAB_JOB_STAT_WS key with the name of the agent workstation that is to run the ELAB_JOB_STAT job stream.
    4. Use the following command to import the modified WAT file in to the master domain manager:
      wappman -import ELAB_JOB_STAT_WAT_Definitions.UTF8.xml ELAB_JOB_STAT_WAT_Mapping.UTF8.properties
      See User's Guide and Reference for reference on workload application templates.
      The ELAB_JOB_STAT_JS job stream is thus created. It includes the following jobs that you need to customize:
      • EXPORT_JOB_STAT
      • ELAB_JOB_STAT
      • IMPORT_JOB_STAT
      The name of the workstation that is to run the job stream is the one you provided when you edited the properties file of the workload application template.
  2. To customize the ELAB_JOB_STAT_JS job stream:
    • Open EXPORT_JOB_STAT and IMPORT_JOB_STAT for editing. These jobs are RESTful Web Services jobs. In composer edit the JSDL definition. In the Dynamic Workload Console right click the jobs in the job stream definition and select Open Job Definition:
      • In Authentication, enter the login user name and password
      • In Actions, enter the host name and port of the master domain manager in the Service URI field
    • Open ELAB_JOB_STAT for editing. The type of this job is SPSS Job Duration Prediction. In composer edit the JSDL definition. In the Dynamic Workload Console right click the jobs in the job stream definition and select Open Job Definition:
      • In SPSS Job Duration Prediction, enter the installation path of the SPSS software subset in the Installation directory field
      • In SPSS Job Duration Prediction, specify the path names to the exportjobstat.zip and importjobstat.zip files. The directories must already exist before the job stream is run.