Running the catalog-based scan

Available from 9.2.5.

In the catalog-based scan, the scanner creates scanner catalogs that are based on the catalog that you attach while initiating the scan. Based on these catalogs, the scanner discovers exact software matches.

Note: This task is optional, because it can be completed by an automated script. Use it only for advanced scenarios.

Procedure

  1. To download the software catalog for IBM i systems, log in to License Metric Tool and go to Management > Data Sources. Select your disconnected data source and, download the catalog for IBM i. Next, extract it and upload to a directory in IFS on your IBM i system.
  2. In QSH, run the following command to reset cache:
    /qsys.lib/qtivcit.lib/wscanfs.pgm -reset
  3. Run the following command to initiate the catalog-based scan:
    /qsys.lib/qtivcit.lib/wscansw.pgm -s -c sw_config.xml -i CIT_catalog_I5OS.xml -o catalog_scan.xml
    Where:
    -s
    Creates a signature for the output file. The signature must be stored for audit purposes.
    -c sw_config.xml
    Path to the sw_config.xml configuration file that you downloaded with the scanner.
    -i CIT_catalog_I5OS.xml
    Path to the software catalog for IBM i systems.
    -o catalog_scan.xml
    The output file.
  4. Copy the output catalog_scan.xml file to the /scans directory, in which you store all scan results.
  5. Copy the corresponding signature to the /source directory.