Configuring cron tasks for direct software catalog imports

Before you import the software catalog file that you downloaded from IBM, in the Cron Task application in Control Desk, specify the parameters for connecting to the Tivoli® Software Knowledge Base Toolkit server and the schedule for importing the data.

About this task

Complete the following steps to configure the cron task instance for importing the software catalog data file that you download from IBM.

Procedure

  1. Click Go To > System Configuration > Platform Configuration > Cron Task Setup.
  2. On the record list in the Cron Task Setup application, select SWCATALOGIMPORT, the cron task for software catalog imports.
  3. In the Cron Tasks Instances table, on the Cron Task tab, expand the row for the SWKBT cron task instance.
  4. In the Schedule field, click Set Schedule and specify a schedule for importing software catalog data from the Software Knowledge Base Toolkit.
  5. On the Parameters subtab, expand the row for the PARTIALRUN parameter.
  6. In the Value field, enter a number to specify the process or processes that you want to run. For direct file imports, select one of the following options:
    Option Description
    2 Transform the .xsl file in the temporary directory.
    4 Load transformed files into the database using enterprise services.
    6 Perform the following tasks:
    • Transform the .xsl file in the temporary directory.
    • Load transformed files into the database using enterprise services.
  7. On the Parameters subtab, expand the row for the REPOSITORYID parameter.
  8. In the Value field, select one of the following options:
    Option Description
    If you use the Software Knowledge Base Toolkit catalog shipped by IBM, check that the value specified in this field is fe8119f7532c44b7876754af95e7bc83. This value is compared to the repository identifier obtained from the software catalog source to ensure that data is being imported from the correct repository. You can leave the field blank if you do not want to perform this check.
    If you have your own Software Knowledge Base Toolkit instance, enter the database instance identifier for your Software Knowledge Base Toolkit instance. This is the value obtained as a prerequisite to this task. This value is compared to the repository identifier obtained from the software catalog source to ensure that data is being imported from the correct repository. You can leave the field blank if you do not want to perform this check.
  9. On the Parameters subtab, expand the row for the TEMPDIR parameter.
  10. In the Value field, specify the working directory from which the integration framework will retrieve the software catalog data to import. The operating system user running the application server must have read and write permissions for this directory. Backslashes in Windows paths must be escaped (for example, C:\\temp\\) or replaced with forward slashes. Trailing slashes should be included. Relative paths will be resolved in the context of the current directory for the application server.
  11. On the Parameters subtab, expand the row for the TEMPFILE parameter.
  12. In the Value field, specify the name of the temporary file for the software catalog. The integration framework receives the file and saves it in a zipped file with the name that you specify with a .zip extension appended to it. The integration framework unzips the file to the name specified. Both files are overwritten in subsequent imports. An extension of .xml is suggested.
  13. Click Save Cron Task Definition.


Feedback