Skip to main content
Version: 10.2

Including or Excluding Vendors in Building License Configuration

Open iT Autodetect is an application that automatically detects license information by scanning process arguments. After this, the openit_licenseconfigbuilder configures licpoll.xml, flexlogcollector2.xml, and flexpoller.xml for the license collection based on the detected servers or vendors.

You can use the vendor.exclude file to control which detected license configurations to include or exclude.

For example, you can:

  • Exclude a specific vendor or vendor daemon.
  • Exclude a vendor daemon from one license server without affecting other servers.
  • Include specific configurations that would otherwise match a broader exclusion rule.
  • Filter configurations based on products, license types, or collector hosts.

Specifying the Vendors to Include or Exclude​

These are the required steps to configure the vendor.exclude file for listing the vendors to include or exclude in building the license configuration:

  1. Open the vendor.exclude file in the Configuration directory, which is by default in C:\Program Files\OpeniT\Core\Configuration.

  2. Specify the inclusion or exclusion rules using the following syntax:

    vendor.exclude: Command Syntax
    <use> <name>=<value-pattern>

    where:

    • use is used to specify if you want to include or exclude configurations that match the specified criteria.

    • pattern is used to specify the pattern that the vendor name needs to match. Globbing is allowed.

    • name is used to specify the attribute to match. See the table below for the supported attribute names and their descriptions.

      AttributesDescription
      vendor or vendor-daemonUse this to specify the name of the vendor or vendor daemon.
      server-hostUse this to specify the hostname of the license server.
      product-nameUse this to specify the name of the product being collected.
      license-typeUse this to specify the license type being collected, such as flexnet, dsls, or lsdyna.
      collector-hostUse this to specify the hostname of the client running the autodetection and license collection processes.
      Supported Attributes

    tip

    When specifying multiple name-pattern combinations in a single rule, separate each combination with a comma (,). All specified conditions must match for the rule to apply.

    vendor.exclude: Command Syntax for Multiple Combination in a Single Rule
    <use> <name1>=<value-pattern1>, <name2>=<value-pattern2>, ...
    Globbing Support​

    You can use globbing patterns with * and ? for flexible matching. These patterns are useful for partial name matches.

    • * - Matches zero or more characters.
    • ? - Matches exactly one character.

    Case Insensitivity​

    All entries are case-insensitive, so Flexnet, flexnet, and FLEXNET are treated the same.

    Comments and Whitespace​
    • Empty lines are allowed and ignored during processing.
    • Any line that starts with # is treated as a comment.

    Evaluation Order​

    Rules are evaluated from bottom to top.

    When defining multiple rules, place general rules at the top and more specific rules below them.

    vendor.exclude: Evaulation Order Example
    # General rule: Exclude matching vendor daemons
    exclude vendor=flex*

    # Specific exception: Include flexnet on server02
    include vendor=flexnet, server-host=server02

    In this example, the specific inclusion rule is evaluated before the general exclusion rule.

    The intended result is to exclude matching vendor daemon configurations except for flexnet on server02.

    important

    Rule order affects the resulting configuration. Place specific exceptions below broader rules.

    Configuration Examples​

    The following examples demonstrate common scenarios for including or excluding detected license configurations.

    Example 1: Exclude a Specific Vendor Daemon​

    To exclude configurations for vendors whose names begin with flex:

    Example 1
    exclude vendor=flex*

    This excludes all configurations associated with the flex vendor daemon regardless of their license server.

    Example 2: Exclude a Vendor Daemon from a Specific License Server​

    To exclude the flexnet vendor daemon from server01:

    Example 2
    exclude vendor=flexnet, server-host=server01

    This excludes configurations for the flexnet vendor daemon associated with server01.

    The same vendor daemon on another license server remains unaffected unless another rule matches it.

    Outcome:

    Vendor DaemonLicense ServerResult
    flexnetserver01Excluded
    flexnetserver02Included
    flexnetserver03Included
    dslsserver01Included
    Example 2 Outcome

    This is useful when the same vendor daemon is configured across multiple license servers, but you want to exclude only one server.

    Example 3: Exclude Vendor Daemons from Multiple License Servers​

    To exclude vendor daemons beginning with flex from license servers whose hostnames begin with licserver:

    Example 3
    exclude vendor=flex*, server-host=licserver*

    Both the vendor daemon and license server hostname must match.

    Outcome:

    Vendor DaemonLicense ServerResult
    flexnetlicserver01Excluded
    flexnetsimplelicserver02Excluded
    flexnetserver03Included
    dslsserver01Included
    Example 3 Outcome

    Example 4: Exclude a Specific Product​

    To exclude productA associated with vendor daemon dsls:

    Example 4
    exclude vendor=dsls, product-name=productA

    Only configurations matching both dsls and productA are excluded.

    Other products associated with the same vendor daemon remain unaffected unless they match another rule.

    Example 5: Exclude a Vendor Daemon Based on the Collector Host​

    To exclude configurations for the lsdyna vendor daemon collected by hosts whose names begin with host01:

    Example
    exclude vendor=lsdyna, collector-host=host01*

    This rule targets the machine performing autodetection and collection.

    note

    The server-host and collector-host refer to different machines.

    • server-host identifies the license server.
    • collector-host identifies the machine running autodetection and license collection.

    Use server-host when you want to exclude configurations associated with a particular license server.

    tip

    Use the most specific matching attributes necessary when excluding a configuration. This helps avoid unintentionally excluding other vendors, products, or license servers.

  3. Save the changes.

note

You can create a different file for listing the vendors to include or exclude but you need to update licenseconfigbuilder.xml to specify the path to the said file; read Specifying the Exclude path for more information. If not, proceed to Verifying Successful Configuration.

Specifying the Exclude Path​

Follow these steps if you created a new exclude file; otherwise, skip to Verifying Successful Configuration.

  1. Open licenseconfigbuilder.xml in the Components directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\Components.

  2. Locate object vendor-exclude-file and set its value to the full path to the exclude file:

    licenseconfigbuilder.xml
    <Object>
    <Name>vendor-exclude-file</Name>
    <Description>Exclude/Include configuration file</Description>
    <Value type="FileName">${OpeniT.directories.conf}/vendor.exclude</Value>
    </Object>
    Example: licenseconfigbuilder.xml
    <Object>
    <Name>vendor-exclude-file</Name>
    <Description>Exclude/Include configuration file</Description>
    <Value type="FileName">${OpeniT.directories.conf}/sample.exclude</Value>
    </Object>
  3. Save the changes.

  4. Open a command prompt with Administrator level privileges.

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

    Command Syntax
    openit_confbuilder --client

Verifying Successful Configuration​

After configuration, you can verify if the changes take effect by running the openit_licenseconfigbuilder application. It runs periodically based on the defined triggers under the scheduling attribute in core_licenseconfigbuilder.oconf in the scheduler directory, which is by default in C:\Program Files\OpeniT\Core\Configuration\scheduler.

If you want to verify immediately, follow 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_licenseconfigbuilder
  4. Verify that the configurations of vendors you wanted to collect usage data from are present and the vendors you wanted to exclude are not found in the configuration files licpoll.xml, flexlogcollector2.xml, or flexpoller.xml.

    note

    Configurations based on the detected autocollectors start with auto_.

Troubleshooting​

If the generated configurations do not match the expected results, you may check the following:

ObservationVersion
A configuration is unexpectedly excludedVerify the matching attributes and check whether another exclusion rule applies.
A configuration is not excludedCheck the attribute names, values, and wildcard patterns.
An inclusion exception is not appliedCheck the rule order and ensure the specific inclusion rule is below the general exclusion.
The wrong license server is affectedVerify that server-host is used instead of collector-host, or vice versa.
Configuration changes are not reflectedConfirm that the correct vendor-exclude file is configured and rerun openit_licenseconfigbuilder.
A custom configuration file is ignoredVerify the vendor-exclude file path in licenseconfigbuilder.xml.
Troubleshooting Items