Running the HCL Commerce RVU Order Line Metrics logger utility

Use the RVU Order Line Metrics logger utility to run reports on your completed order lines for auditing purposes.

Procedure

  1. Mount a writable volume to the Utility server Docker container.
  2. Create a directory on the mount for the RVU Order metrics logger utility. Use this directory to store the configuration file and IBM License Metric Tool (ILMT) output reports.
    This directory is referred to as the ILMT_work_dir in the following steps.
    Note: Whenever you run the RVU Order metrics logger, the exact same volume and directory must be available to the RVU Order metrics logger since the previously generated reports are kept there.
  3. Copy from the Utility server Docker container, /opt/WebSphere/CommerceServer90/rvulogger/conf/config.properties.template to ILMT_work_dir/config.properties.

    The file contains properties that are used by the RVU Order Line Metrics logger utility. If needed, you can update any of the following values.

    dbConfigProperties
    Full path name to the property file that contains database connection information.

    The default value is: /opt/WebSphere/CommerceServer90/instances/demo/properties/createInstance.properties

    ILMTOutputDir
    Full path to the directory to write output reports to.

    The default value is ILMT_work_dir

    maxFileSize
    Maximum size of the ILMT output report file (in KBs). The minimum value is 1. The maximum value is 1024. This is also the default value.
    maxFileNumber
    Maximum number of reports to output. Minimum value is 1. Maximum value is 100. This is also the default value.
  4. Run the rvulogger utility.
    1. Log in to the Utility server Docker container.
      docker exec -it utility_name bash
    2. Go to the cd /opt/WebSphere/CommerceServer90/rvulogger/bin directory.
    3. Run the following command.
      ./rvulogger.sh ILMT_work_dir
    4. Enter the database password when you are prompted.

      If the execution is successful, reports are created or updated in the ILMT_work_dir.