Skip to main content

DUG Insight License Manager (Floating License)

Introduction

Open iT supports DUG Insight usage reporting starting Open iT version 10.2.580.

Open iT supports DUG Insight usage reporting by polling the license servers at regular intervals to get the current status of its license use and availability.

For this collection, the data source is through an API. The data collector/preprocessor initiates the license status utility every hour using a 5-minute sample interval, triggering the data collection process. The license status utility requests the current license usage data from the license manager portal. After the license manager portal provides the requested data, the license status utility passes this information to the data collector/preprocessor. The data collector/preprocessor processes the data, preparing it for transmission. Finally, the preprocessed data is sent to the Core Server every night, according to the client's timezone, for further storage, completing the license usage data collection and processing.

License Manager Utility Polling Workflow through API

License Manager Utility Polling Workflow through API

This will produce the following aggregated data types used for historical reporting:

The following sections will guide you in setting up the necessary configuration to collect and send the required data to the server.

warning

Apply the configurations shown in the Open iT client.

Requirements

Configuring Data Collection

These are the required steps to activate collection of usage data.

  1. Go to the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components, and back up the licpoll.xml configuration file.

  2. Open a command prompt with Administrator level privileges.

  3. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd <bin_dir>
    Example
    cd C:\Program Files\OpeniT\Core\bin
  4. Once in the directory, copy the object node genericlicense-sample and rename it to your desired name. In this example, we will use genericlicense-dug. Run the command:

    Command Syntax
    openit_confinit -c "licpoll.license-types.genericlicense-sample=>licpoll.license-types.genericlicense-dug"
    warning

    Element names cannot contain parentheses ( or ) because they are not valid for XML element names.

  5. Activate the collection of DUG Insight data, run the command:

    Command Syntax
    openit_confinit -c "licpoll.license-types.genericlicense-dug.active=true"
  6. Set the status command, run the command:

    Command Syntax
    openit_confinit -c "licpoll.license-types.genericlicense-dug.status-command=<bin_dir>\genlicutil2.exe"

    where <bin_dir> is the path to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin.

    Example
    openit_confinit -c "licpoll.license-types.genericlicense-dug.status-command=C:\Program Files\OpeniT\Core\bin\genlicutil2.exe"
  7. Set the arguments to the status command, run the command:

    Command Syntax
    openit_confinit -c "licpoll.license-types.genericlicense-dug.status-command.arguments=DUG --token <license_token>"

    where <license_token> is the license token for DUG Insight Floating license.

    Example
    openit_confinit -c "licpoll.license-types.genericlicense-dug.status-command.arguments=DUG --token A1BC-DE2F-3G4H-I5JK-L6MN-OP"
note

If you have multiple Dug Insight accounts, repeat the configuration steps to create additional object nodes for each account. Use a unique name for every node (for example, genericlicense-dug1, genericlicense-dug2, and so on) and specify the corresponding account in the status-command arguments.

Example for acct1
openit_confinit -c "licpoll.license-types.genericlicense-dug1.status-command.arguments=DUG --token <license_token> --account <account_name>"

This ensures that Open iT collects data separately for each configured DUG Insight account.

  1. Run the following command to update the configuration files:

    Command Syntax
    openit_confbuilder --client

    Make sure no errors are encountered.

Advanced Configuration

Refer to the DUG Insight Data Collection Configuration table to learn more about DUG Insight configuration in licpoll.xml.

Object NameAccepted ValueDescription
activeBoolean (true or false)Setting this to true activates DUG Insight usage data collection.
typeString (i.e., GenericLicense)The license manager type.
intervalTimespan (e.g., P30S, P5M, P1H)The span of time between each polling round (it is recommended to set a value no less than P1M).
offsetTimespan (e.g., P30S, P5M, P1H)The span of time the aligned poll time decided by interval is shifted.
product-nameString (e.g., server;daemon)This object is defined if a vendor license name other than the default GenericLicense=%hosttype% will be used.
license-serverString (e.g., desktop123win)The DUG Insight License Server name.
status-commandFileName (e.i., ${OpeniT.directories.bin}/genlicutil2.exe)The binary used to obtain status from the license manager.
status-command.argumentsString (e.g., DUG --token A1BC-DE2F-3G4H-I5JK-L6MN-OP)The arguments used for the status command.
DUG Insight Data Collection Configuration

Verifying Data Collection

After configuration, you can verify that the data is collected by following these steps:

  1. Open a command prompt with Administrator level privileges.

  2. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd <bin_dir>
    Example
    cd C:\Program Files\OpeniT\Core\bin
  3. Run the command:

    Command Syntax
    openit_licpoll -# 10
  4. Verify that the temp directory, which is by default in C:\ProgramData\OpeniT\Data\temp, contains a LicPoll directory containing .data and status-*.log files.

Next Steps?