Enable LicenseMonitor to Detect Short License Checkouts (Admin Only)

System Administrator
System Administrator
Altair Employee
edited February 2023 in Altair HPCWorks

If a given license checkout is not showing up in your checkout history report, it could be due to the timing of the sampling period. By default, LicenseMonitor uses a sampling period of 30 seconds to check the status of each license. To detect license checkouts less than 30 seconds, you need to change the sampling period.

Note: You need admin permission to perform this task.

Part 1: Change the Sampling Period for one LicenseMonitor Instance

To change the sampling period, perform the following steps:

  1. Go to Admin tab and the Monitors option.
  2. Scroll down to the last section, Section 8.

    Figure: Admin Page – Monitor Option
  3. Change the timing of the "Usage sampling" option to the desired minimum. You’re done.

Part 2: Change the Sampling Period for all LicenseMonitor Instances

Note: Reducing the sampling rate can significantly increase the load on your LicenseMonitor instance. We do not recommend setting the refresh rate below 10 seconds, without close monitoring of the system response following the configuration change. This is especially true for installations with a large number of license servers being monitored. If you still need a faster sampling rate, more parsing resources may need to be configured. Please contact Runtime support.

That said, you can reduce the sampling period for all License Monitor Instances using the Command Line Interface.

To do so, perform the following steps:

  1. For Linux Installations, enter the following commands:
    vovproject enable licmon cd `vovserverdir -p vovlmd
    For Windows Installations, enter the following commands:
    vovproject enable licmon vovserverdir -p vovlmd cd /path/shown/above
  2. Edit the file in this directory called "config.tcl". Look for the following refresh rate line:
    Set VOVLM(refresh) 30
  3. Change it to the desired sampling rate. LicenseMonitor will automatically pick up the change on its next cycle.