# FlexNet License Manager

Recommended reading: Flex vs SimpleFlex

# Introduction

Open iT supports FlexNet usage reporting through the autoconfigurator by detecting configurations used to automatically set the license manager data collection. On the other hand, if you need to configure its behavior manually, the following sections will guide you on the required configuration for license manager utility polling and log file parsing.

# Configuring License Manager Utility Polling

Open iT polls the license servers at regular intervals to get the current status of its license use and availability. This will produce the following aggregated data types used for historical and real-time reporting:

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

# Requirements

# Getting the License Status Utility Binary Location

This configuration requires the path to the license status utility binary, lmutil, to obtain the license status information. Get this by following these steps:

Through the Interface

  1. Open the Task Manager.
  2. Go to the Details tab.
  3. Locate lmutil.
  4. Right-click and choose Open file location.
    The path of the binary will be displayed.

Through the Command Line

  1. Open a command prompt with Administrator level privileges.

  2. Run the following command to locate the binary:

    Command Syntax
     where /r <installation_drive> lmutil

    where <installation_drive> is the drive where the license manager is installed.

    Example
     where /r C:\ lmutil

    The path of the binary will be displayed.

After verifying the path of the polling program, make sure that it is running.
Open a command prompt in the directory of the license server executable or the polling program and run the following command:

Command Syntax
lmutil lmstat

Make sure that there are no errors encountered.

Run the following command to locate the binary:

Command Syntax
find . | grep lmutil

The path of the binary will be displayed.

# Configuring Data Collection

These are the required steps to activate and configure collection of FlexNet 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, activate the collection of FlexNet data, run the command:

    Command Syntax
     openit_confinit -c "licpoll.license-types.flex-sample.active=true"
  5. Set the FlexNet license file location, run the command:

    Command Syntax
     openit_confinit -c "licpoll.license-types.flex-sample.license-file=<flex-license-file>"

    where <flex-license-file> is the filename, including the path, of the FlexNet license file.

    Example
     openit_confinit -c "licpoll.license-types.flex-sample.license-file=<C:\Program Files\flex\license.dat>"

    Or set the FlexNet license file directory, run the command:

    Command Syntax
     openit_confinit -c "licpoll.license-types.flex-sample.license-dir=<flex-license-dir>"

    where <flex-license-dir> is the directory containing the FlexNet license file.

    Example
     openit_confinit -c "licpoll.license-types.flex-sample.license-file=<C:\Program Files\flex>"
  6. Set the path to the binary used by the FlexNet License Server, run the command:

    Command Syntax
     openit_confinit -c "licpoll.license-types.flex-sample.status-command=<binary_path>"

    where <binary_path> is the obtained path in Getting the License Status Utility Binary Path.

    Example
     openit_confinit -c "licpoll.license-types.flex-sample.status-command=C:\flexnet\bin\lmutil"
  7. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --client

    Make sure that there are no errors encountered.

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

Object Name Accepted Value Description
active Boolean (true or false) Setting this to true activates FlexNet usage data collection.
type String (i.e., FlexNet) The license manager type.
interval Timespan (e.g., P30S, P5M, P1H) The span of time between each polling round (it is recommended to set a value no less than P1M).
offset Timespan (e.g., P30S, P5M, P1H) The span of time the aligned poll time decided by interval is shifted.
license-file FileName (e.g., C:\Program Files\flex\license.dat) The filename, including the path, to the FlexNet license file. This file is provided by the vendor and is usually in the license manager installation directory.
license-dir DirName (e.g., C:\Program Files\flex) The path to the FlexNet license directory. Do not change this.
registry Boolean (true or false) Setting this to true ignores the value of object nodes license-file and license-dir. Open iT will scan the registry for license files instead.
product-name String (e.g., server;daemon) This object is defined if a product name other than the default Flex=%cluster%;%vendor% will be used.
license-discrepancy-checker Boolean (true or false) Setting this to true checks the lmstat for error and cross-checks the maximum available license between the license file and lmstat.
license-discrepancy-checker.error-threshold Real (e.g., 0, 5, 10) The acceptable percentage of discrepancy between the number of features with error and the total number of features in the lmstat output. This is in decimal format (i.e., 0 = 0%, 1 = 100%).
license-discrepancy-checker.mismatch-threshold Real (e.g., 0, 5, 10) The acceptable percentage of discrepancy between the number of features in the LMstat that has a different number of licenses when compared to the license file and the total number of features in the LMstat output. This is in decimal format (i.e., 0 = 0%, 1 = 100%).
token-based Boolean (true or false) Setting this to true means that the Flex license type is token-based.
token-based.max-licenses-token-based Boolean (true or false) Setting this to true means that the source of maximum licenses is from the parent feature.
token-based.disable-on-ambiguous-cost Boolean (true or false) If the license file lists multiple values for token cost, LicPoll cannot detect usage properly and may report incorrect values. Setting this to false turns token handling off for the token-based feature.
features-as-increments String (e.g., pmld, slbsls) A semi-colon-separated list of vendor daemons for which to treat feature lines in the license file as increment lines.
status-command FileName (e.g., ${OpeniT.directories.bin}/lmutil) The binary used to obtain status from the license manager.
status-command.arguments-version String (i.e., -v) This argument displays the version of the utility and exits
status-command.arguments String (e.g., -c C:\Program Files\flex\license.dat or -c hou105win:8080) The arguments used for the status command. Use -c $license to specify license file or use -c $port@$server to use port and server from license file.
FlexNet Data Collection Configuration
  1. Go to the Components directory, which is by default in /var/opt/openit/etc/Components, and back up the licpoll.xml configuration file.

  2. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  3. Once in the directory, activate the collection of FlexNet data, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.active=true"
  4. Set the FlexNet license file location, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.license-file=<flex-license-file>"

    where <flex-license-file> is the filename, including the path, of the FlexNet license file.

    Example
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.license-file=</var/flex/license.dat>"

    Or set the FlexNet license file directory, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.license-dir=<flex-license-dir>"

    where <flex-license-dir> is the directory containing the FlexNet license file.

    Example
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.license-file=</var/flex>"
  5. Set the path to the binary used by the FlexNet License Server, run the command:

    Command Syntax
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.status-command=<binary_path>"

    where <binary_path> is the obtained path in Getting the License Status Utility Binary Path.

    Example
     ./openit_confinit -r /var/opt/openit/ -d /var/opt/openit/etc/ -c "licpoll.license-types.flex-sample.status-command=/var/flexnet/bin/lmutil"
  6. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --client

    Make sure that there are no errors encountered.

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

Object Name Accepted Value Description
active Boolean (true or false) Setting this to true activates FlexNet usage data collection.
type String (i.e., FlexNet) The license manager type.
interval Timespan (e.g., P30S, P5M, P1H) The span of time between each polling round (it is recommended to set a value no less than P1M).
offset Timespan (e.g., P30S, P5M, P1H) The span of time the aligned poll time decided by interval is shifted.
license-file FileName (e.g., /var/flex/license.dat) The filename, including the path, to the FlexNet license file. This file is provided by the vendor and is usually in the license manager installation directory.
license-dir DirName (e.g., /var/flex) The path to the FlexNet license directory. Do not change this.
registry Boolean (true or false) Setting this to true ignores the value of object nodes license-file and license-dir. Open iT will scan the registry for license files instead.
product-name String (e.g., server;daemon) This object is defined if a product name other than the default Flex=%cluster%;%vendor% will be used.
license-discrepancy-checker Boolean (true or false) Setting this to true checks the lmstat for error and cross-checks the maximum available license between the license file and lmstat.
license-discrepancy-checker.error-threshold Real (e.g., 0, 5, 10) The acceptable percentage of discrepancy between the number of features with error and the total number of features in the lmstat output. This is in decimal format (i.e., 0 = 0%, 1 = 100%).
license-discrepancy-checker.mismatch-threshold Real (e.g., 0, 5, 10) The acceptable percentage of discrepancy between the number of features in the LMstat that has a different number of licenses when compared to the license file and the total number of features in the LMstat output. This is in decimal format (i.e., 0 = 0%, 1 = 100%).
token-based Boolean (true or false) Setting this to true means that the Flex license type is token-based.
token-based.max-licenses-token-based Boolean (true or false) Setting this to true means that the source of maximum licenses is from the parent feature.
token-based.disable-on-ambiguous-cost Boolean (true or false) If the license file lists multiple values for token cost, LicPoll cannot detect usage properly and may report incorrect values. Setting this to false turns token handling off for the token-based feature.
features-as-increments String (e.g., pmld, slbsls) A semi-colon-separated list of vendor daemons for which to treat feature lines in the license file as increment lines.
status-command FileName (e.g., ${OpeniT.directories.bin}/lmutil) The binary used to obtain status from the license manager.
status-command.arguments-version String (i.e., -v) This argument displays the version of the utility and exits
status-command.arguments String (e.g., -c /var/flex/license.dat or -c hou105win:8080) The arguments used for the status command. Use -c $license to specify license file or use -c $port@$server to use port and server from license file.
FlexNet 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 -# 1
  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.

  1. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  2. Run the command:

    Command Syntax
     ./openit_licpoll -# 1
  3. Verify that the temp directory, which is by default in /var/opt/openit/temp, contains a LicPoll directory containing .data and status-*.log files.

# Configuring Log File Parsing

Open iT collects log files and converts them to Open iT format. This will produce the following aggregated data types used for historical and real-time reporting:

The logfile-based data collection for FlexNet data uses two binaries for data collection: flexlogcollector2 and flex-poller. The data collected by flexlogcollector2 is the primary data, and the flexpoller data assist in processing and fixing any issues/errors in the debug log. Without the flexpoller input, we can only start processing from the licenseserver startup/restarts, where we can start counting from 0 usages.

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

# Requirements

# Activating Log Data Collection

These are the required steps to activate collection of FlexNet log data.

  1. Go to the scheduler directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\scheduler, and open collect_license_flexnet.oconf.

  2. Locate and set root.scheduler.jobs.collect_flexlog.general.active to true to activate the collection of FlexNet log data.

    collect_license_flexnet.oconf
     ...
     14|		general
     15|		{
     16|			active
     17|			{
     18|				type=bool
     19|				value=true
     ...
  3. Locate and set root.scheduler.jobs.collect_flexpoller.general.active to true to activate license poll data collection.

    collect_license_flexnet.oconf
     ...
     116|		general
     117|		{
     118|			active
     119|			{
     120|				type=bool
     121|				value=true
     ...
  4. Save the changes.

The collection runs hourly using a 5-minute sample interval by default. The primary data is then transferred to the server every night according to the client timezone for processing. To configure the intervals, locate the instances attribute under collect_flexlog, collect_flexpoller, transfer_flexlog, or transfer_flexpoll in the same file and configure the attributes.

Refer to the FlexNet Log Job Scheduler Instances Configuration table to learn the attributes used to configure FlexNet data collection and transfer.

Attribute Name Accepted Value Description
max-instances Uint (e.g., 5, 8, 9) The number of instances allowed to run at the same time.
max-handling String (end-oldest, end-all-old, or end-new) The action done upon reaching the maximum number of instances. Specify end-oldest to stop/kill the oldest instance and then start the new, specify end-all-old to stop/kill all running instances and then start the new, or specify end-new to not start the new instance.
end-timeout Timespan (e.g., P30S, P5M, P1H) The maximum waiting time before terminating a running instance.
quarantine Timespan (e.g., P30S, P5M, P1H) The waiting time before starting a new instance after a previous one.
FlexNet Log Job Scheduler Instances Configuration
  1. Go to the scheduler directory, which is by default in /var/opt/openit/etc/scheduler, and open collect_license_flexnet.oconf.

  2. Locate and set root.scheduler.jobs.collect_flexlog.general.active to true to activate the collection of FlexNet log data.

    collect_license_flexnet.oconf
     ...
     14|		general
     15|		{
     16|			active
     17|			{
     18|				type=bool
     19|				value=true
     ...
  3. Locate and set root.scheduler.jobs.collect_flexpoller.general.active to true to activate license poll data collection.

    collect_license_flexnet.oconf
     ...
     116|		general
     117|		{
     118|			active
     119|			{
     120|				type=bool
     121|				value=true
     ...
  4. Save the changes.

The collection runs hourly using a 5-minute sample interval by default. The primary data is then transferred to the server every night according to the client timezone for processing. To configure the intervals, locate the instances attribute under collect_flexlog, collect_flexpoller, transfer_flexlog, or transfer_flexpoll in the same file and configure the attributes.

Refer to the FlexNet Log Job Scheduler Instances Configuration table to learn the attributes used to configure FlexNet data collection and transfer.

Attribute Name Accepted Value Description
max-instances Uint (e.g., 5, 8, 9) The number of instances allowed to run at the same time.
max-handling String (end-oldest, end-all-old, or end-new) The action done upon reaching the maximum number of instances. Specify end-oldest to stop/kill the oldest instance and then start the new, specify end-all-old to stop/kill all running instances and then start the new, or specify end-new to not start the new instance.
end-timeout Timespan (e.g., P30S, P5M, P1H) The maximum waiting time before terminating a running instance.
quarantine Timespan (e.g., P30S, P5M, P1H) The waiting time before starting a new instance after a previous one.
FlexNet Log Job Scheduler Instances Configuration

# Configuring Log File Collection

# Configuring FlexLogCollector2

These are the required steps to configure collection of FlexNet log files.

  1. Go to the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components, and open flexlogcollector2.xml.

  2. Locate and rename flexlog-sample. Make sure that the new name is unique to avoid errors.

    flexlogcollector2.xml
     ...
     61|	<Object>
     62|		<Name>flexlog-sample</Name>
     63|		<Description>Name of this object is product name.</Description>
     64|		<SubObjects>
     ...
    Example: flexlogcollector2.xml
     ...
     61|	<Object>
     62|		<Name>flexlog-source</Name>
     63|		<Description>Name of this object is product name.</Description>
     64|		<SubObjects>
     ...
  3. Locate object node product-name and set its value to server;daemon.

    flexlogcollector2.xml
     ...
     70|	<Object>
     71|		<Name>product-name</Name>
     72|		<Description>Name of product to assign this FLEXlm debug file to</Description>
     73|		<Value type="String">Flexlog</Value
     74|	<Object>>
     ...
    Example: flexlogcollector2.xml
     ...
     70|	<Object>
     71|		<Name>product-name</Name>
     72|		<Description>Name of product to assign this FLEXlm debug file to</Description>
     73|		<Value type="String">server;daemon</Value
     74|	<Object>>
     ...
  4. Locate object node debug-file and change its value to the full path, including the file name, of the FlexNet debug file.

    flexlogcollector2.xml
    ...
    80|	<Object>
    81|		<Name>debug-file</Name>
    82|		<Description>Full path to the FLEXlm debug file. file to</Description>
    83|		<Value type="String">[debugfile]</Value
    84|	<Object>>
    ...
    Example: flexlogcollector2.xml
    ...
    80|	<Object>
    81|		<Name>debug-file</Name>
    82|		<Description>Full path to the FLEXlm debug file. file to</Description>
    83|		<Value type="String">C:ProgramData\flexlm\logs\license.log</Value
    84|	<Object>>
    ...
  5. Save the changes.

  6. Open a command prompt with Administrator level privileges.

  7. 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
  8. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --client

    Make sure that there are no errors encountered.

Refer to the Flexlogcollector2 Log File Collection Configuration table to learn more about Flexlogcollector2 configuration.

Object Name Accepted Value Description
sources.flexlog-sample String (e.g., flexlog-sample) The product name. Make sure that this is unique from other added sources.
flexlog-sample.active Bool (true or false) If set to true, the source is inactive or missing.
flexlog-sample.product-name (i.e., server;daemon) The product name format.
flexlog-sample.debug-backup-dir DirName (e.g., C:ProgramData\flexlm\backup-logs) This is the path where rotated files are checked if the debug log files are rotated; otherwise, this is optional.
flexlog-sample.debug-file FileName (e.g., C:ProgramData\flexlm\logs\license.log) The full path, including the file name, of the FlexNet debug file.
flexlog-sample.vendor-debug-file FileName (e.g., C:ProgramData\flexlm\vendor\lmgrd.log) The full path to the FlexNet debug file.
flexlog-sample.vendor-debug-file-regex String (i.e., .*\.(?&lt;date&gt;\d+)\.log) The regex pattern that the vendor debug file needs to meet.
flexlog-sample.license-file String (e.g., C:\ProgramData\flexlm\license.dat) The full path, including the file name, of the FlexNet license file.
flexlog-sample.skip-ignored Bool (true or false) If set to true, the ignored lines will not be logged.
flexlog-sample.required-only Bool (true or false) If set to true, only the required logs will be logged.
Flexlogcollector2 Log File Collection Configuration
  1. Go to the Components directory, which is by default in /var/opt/openit/etc/Components, and open flexlogcollector2.xml.

  2. Locate and rename flexlog-sample. Make sure that the new name is unique to avoid errors.

    flexlogcollector2.xml
     ...
     61|	<Object>
     62|		<Name>flexlog-sample</Name>
     63|		<Description>Name of this object is product name.</Description>
     64|		<SubObjects>
     ...
    Example: flexlogcollector2.xml
     ...
     61|	<Object>
     62|		<Name>flexlog-source</Name>
     63|		<Description>Name of this object is product name.</Description>
     64|		<SubObjects>
     ...
  3. Locate object node product-name and set its value to server;daemon.

    flexlogcollector2.xml
     ...
     70|	<Object>
     71|		<Name>product-name</Name>
     72|		<Description>Name of product to assign this FLEXlm debug file to</Description>
     73|		<Value type="String">Flexlog</Value
     74|	<Object>>
     ...
    Example: flexlogcollector2.xml
     ...
     70|	<Object>
     71|		<Name>product-name</Name>
     72|		<Description>Name of product to assign this FLEXlm debug file to</Description>
     73|		<Value type="String">server;daemon</Value
     74|	<Object>>
     ...
  4. Locate object node debug-file and change its value to the full path, including the file name, of the FlexNet debug file.

    flexlogcollector2.xml
    ...
    80|	<Object>
    81|		<Name>debug-file</Name>
    82|		<Description>Full path to the FLEXlm debug file. file to</Description>
    83|		<Value type="String">[debugfile]</Value
    84|	<Object>>
    ...
    Example: flexlogcollector2.xml
    ...
    80|	<Object>
    81|		<Name>debug-file</Name>
    82|		<Description>Full path to the FLEXlm debug file. file to</Description>
    83|		<Value type="String">/var/flexlm/logs/license.log</Value
    84|	<Object>>
    ...
  5. Save the changes.

  6. Open a command prompt with Administrator level privileges.

  7. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  8. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --client

    Make sure that there are no errors encountered.

Refer to the Flexlogcollector2 Log File Collection Configuration table to learn more about Flexlogcollector2 configuration.

Object Name Accepted Value Description
sources.flexlog-sample String (e.g., flexlog-sample) The product name. Make sure that this is unique from other added sources.
flexlog-sample.active Bool (true or false) If set to true, the source is inactive or missing.
flexlog-sample.product-name (i.e., server;daemon) The product name format.
flexlog-sample.debug-backup-dir DirName (e.g., C:ProgramData\flexlm\backup-logs) This is the path where rotated files are checked if the debug log files are rotated; otherwise, this is optional.
flexlog-sample.debug-file FileName (e.g., /var/flexlm/logs/license.log) The full path, including the file name, of the FlexNet debug file.
flexlog-sample.vendor-debug-file FileName (e.g., /var/flexlm/vendor/lmgrd.log) The full path to the FlexNet debug file.
flexlog-sample.vendor-debug-file-regex String (i.e., .*\.(?&lt;date&gt;\d+)\.log) The regex pattern that the vendor debug file needs to meet.
flexlog-sample.license-file String (e.g., /var/flexlm/license.dat) The full path, including the file name, of the FlexNet license file.
flexlog-sample.skip-ignored Bool (true or false) If set to true, the ignored lines will not be logged.
flexlog-sample.required-only Bool (true or false) If set to true, only the required logs will be logged.
Flexlogcollector2 Log File Collection Configuration

# Configuring FlexPoller

Flexpoller collects snapshot views of license use through lmstat, which is set to match the debug log data collected by the flexlogcollector2.

These are the required steps to add vendor daemon debug logs as data source.

  1. Go to the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components, and open flexpoller.xml.

  2. Locate and rename flexpoller-sample to the name of the source to poll. Make sure that the new name is unique to avoid errors.

    flexpoller.xml
     ...
     87|	<Object>
     88|		<Name>flexpoller-sample</Name>
     89|		<Description>Source to poll.</Description>
     ...
    Example:flexpoller.xml
     ...
     87|	<Object>
     88|		<Name>flexpoller-source</Name>
     89|		<Description>Source to poll.</Description>
     ...
  3. Locate object node product-name and set its value to server;daemon.

    flexpoller.xml
     ...
     96|	<Object>
     97|		<Name>product-name</Name>
     98|		<Description>Name of product under which to group the data of this           poll</Description>
     99|		<Value type="String">Flexlog</Value
     100|	<Object>>
     ...
    Example: flexpoller.xml
     ...
     96|	<Object>
     97|		<Name>product-name</Name>
     98|		<Description>Name of product under which to group the data of this           poll</Description>
     99|		<Value type="String">server;daemon</Value
     100|	<Object>>
     ...
  4. Locate object node license-file and change its value to the full path, including the file name, of the FlexNet license file.

    flexpoller.xml
    ...
    101|	<Object>
    102|		<Name>license-file</Name>
    103|		<Description>Full path to a license file for features on the license server in question.</Description>
    104|		<Value type="String">[license-file]</Value
    105|	<Object>>
    ...
    Example: flexpoller.xml
    
    ...
    101|	<Object>
    102|		<Name>license-file</Name>
    103|		<Description>Full path to a license file for features on the license server in question.</Description>
    104|		<Value type="String">C:ProgramData\flexlm\license.dat</Value
    105|	<Object>>
    ...
  5. Save the changes.

  6. Open a command prompt with Administrator level privileges.

  7. 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
  8. Update the configuration file, run the command:

    Command Syntax
     openit_confbuilder --client

    Make sure that there are no errors encountered.

Refer to the Flexpoller Data Collection Configuration table to learn more about Flexpoller configuration.

Object Name Accepted Value Description
sources.flexpoller-sample String (e.g., flexpoller-sample) The source to poll. Make sure that this is unique from other added sources.
flexpoller-sample.active Bool (true or false) If set to true, the source is inactive or missing.
flexpoller-sample.product-name (i.e., server;daemon) The product name format.
flexpoller-sample.license-file FileName (e.g., C:ProgramData\flexlm\license.dat) The full path, including the file name, of the license file.
flexpoller-sample.token-based Bool (true or false) If set to true, the license type is token-based.
flexpoller-sample.lmserver String (e.g., mnl105win:2020) This is the FlexNet license server. Only needed if there is no license file.
Flexpoller Data Collection Configuration
  1. Go to the Components directory, which is by default in /var/opt/openit/etc/Components, and open flexpoller.xml.

  2. Locate and rename flexpoller-sample to the name of the source to poll. Make sure that the new name is unique to avoid errors.

    flexpoller.xml
     ...
     87|	<Object>
     88|		<Name>flexpoller-sample</Name>
     89|		<Description>Source to poll.</Description>
     ...
    Example: flexpoller.xml
     ...
     87|	<Object>
     88|		<Name>flexpoller-source</Name>
     89|		<Description>Source to poll.</Description>
     ...
  3. Locate object node product-name and set its value to server;daemon.

    flexpoller.xml
     ...
     96|	<Object>
     97|		<Name>product-name</Name>
     98|		<Description>Name of product under which to group the data of this poll</Description>
     99|		<Value type="String">Flexlog</Value
     100|	<Object>>
     ...
    Example: flexpoller.xml
     ...
     96|	<Object>
     97|		<Name>product-name</Name>
     98|		<Description>Name of product under which to group the data of this           poll</Description>
     99|		<Value type="String">server;daemon</Value
     100|	<Object>>
     ...
  4. Locate object node license-file and change its value to the full path, including the file name, of the FlexNet license file.

    flexpoller.xml
    ...
    101|	<Object>
    102|		<Name>license-file</Name>
    103|		<Description>Full path to a license file for features on the license server in question.</Description>
    104|		<Value type="String">[license-file]</Value
    105|	<Object>>
    ...
    Example: flexpoller.xml
    ...
    101|	<Object>
    102|		<Name>license-file</Name>
    103|		<Description>Full path to a license file for features on the license server in question.</Description>
    104|		<Value type="String">/var/flexlm/license.dat</Value
    105|	<Object>>
    ...
  5. Save the changes.

  6. Open a command prompt with Administrator level privileges.

  7. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  8. Update the configuration file, run the command:

    Command Syntax
     ./openit_confbuilder --client

    Make sure that there are no errors encountered.

Refer to the Flexpoller Data Collection Configuration table to learn more about Flexpoller configuration.

Object Name Accepted Value Description
sources.flexpoller-sample String (e.g., flexpoller-sample) The source to poll. Make sure that this is unique from other added sources.
flexpoller-sample.active Bool (true or false) If set to true, the source is inactive or missing.
flexpoller-sample.product-name (i.e., server;daemon) The product name format.
flexpoller-sample.license-file FileName (e.g., /var/flexlm/license.dat) The full path, including the file name, of the license file.
flexpoller-sample.token-based Bool (true or false) If set to true, the license type is token-based.
flexpoller-sample.lmserver String (e.g., mnl105win:2020) This is the FlexNet license server. Only needed if there is no license file.
Flexpoller Data Collection Configuration

# Verifying Log Data Collection

After configuration, you can verify that the data is collected and sent to the server 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_executor -r collect_license_flexnet
  4. Verify that there are archiver*.in files created in the server in the archiver directory, which is by default in C:\ProgramData\OpeniT\Data\incoming\archiver.

  1. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  2. Run the command:

    Command Syntax
     ./openit_executor -r collect_license_flexnet
  3. Verify that there are archiver*.in files created in the incoming directory in your defined data_dir ($ROOT_DATA_DIR) upon Open iT server installation.

# Next Steps?

   Renaming Vendor License    Renaming Features    Create and Add Report    License Monitor

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