# Setting the Number of Available Licenses of Features

# Introduction

Configure available-licenses.map to set the number of licenses of features. The configured available license will be visible in both the License Monitor and historical reports.

# Configuring available-licenses.map

  1. Open available-licenses.map in the Configuration directory, which is by default in C:\Program Files\OpeniT\Core\Configuration.

    Notice that it contains instructions on how to edit the file.

  2. Specify the feature and the number of licenses with the following syntax:

    Mapping Syntax
    MAP: NumberOfLicenses
    Feature1\Version\Product2
    Feature2\Version\Product2
    Feature3\Version\Product2

    The version and product name can be used to map features more specifically, but they are not required in the mapping configuration.

    Empty lines are allowed — any line beginning with # as the first non-whitespace character is considered a comment. Globbing is also supported, allowing you to use several globbing patterns; however, remember that they are slower than exact matches. To make your mapping files more effective and efficient, refer to the Optimize Rules to Speed-up Rename or Mapping page.

    In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'Feature' and 'feature', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.

    Example
    MAP: 25
    MATLAB\v10.8
    
    MAP: 20
    MATLAB\v10.0

    This example sets 25 as the available licenses for MATLAB version 10.8 and 20 for MATLAB version 10.0.

    You can also include custom configurations in this mapping file, such as default mapping, setting date limits on specific mapping entries, or creating nested maps.

  3. Save the changes.

  1. Open available-licenses.map in the etc directory, which is by default in /var/opt/openit/etc.

    Notice that it contains instructions on how to edit the file.

  2. Specify the feature and the number of licenses with the following syntax:

    Mapping Syntax
    MAP: NumberOfLicenses
    Feature1\Version\Product2
    Feature2\Version\Product2
    Feature3\Version\Product2

    The version and product name can be used to map features more specifically, but they are not required in the mapping configuration.

    Empty lines are allowed — any line beginning with # as the first non-whitespace character is considered a comment. Globbing is also supported, allowing you to use several globbing patterns; however, remember that they are slower than exact matches. To make your mapping files more effective and efficient, refer to the Optimize Rules to Speed-up Rename or Mapping page.

    In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'Feature' and 'feature', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.

    Example
    MAP: 25
    MATLAB\v10.8
    
    MAP: 20
    MATLAB\v10.0

    This example sets 25 as the available licenses for MATLAB version 10.8 and 20 for MATLAB version 10.0.

    You can also include custom configurations in this mapping file, such as default mapping, setting date limits on specific mapping entries, or creating nested maps.

  3. Save the changes.

Licpoll2

Licenseevents

Licusage

# Next Steps?

Proceed with data regeneration after configuring all the necessary mapping files to apply the changes in the real-time and historical reports.

For real-time reports:

   Generating License Status Data  

For historical reports:

   Data Generation  

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close