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:
- Windows
- Unix
-
Open the
vendor.excludefile in the Configuration directory, which is by default inC:\Program Files\OpeniT\Core\Configuration. -
Specify the inclusion or exclusion rules using the following syntax:
vendor.exclude: Command Syntax<use> <name>=<value-pattern>where:
-
useis used to specify if you want to include or exclude configurations that match the specified criteria. -
patternis used to specify the pattern that the vendor name needs to match. Globbing is allowed. -
nameis used to specify the attribute to match. See the table below for the supported attribute names and their descriptions.Attributes Description vendororvendor-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, orlsdyna.collector-hostUse this to specify the hostname of the client running the autodetection and license collection processes. Supported Attributes
tipWhen 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, andFLEXNETare 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=server02In 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
flexnetonserver02.importantRule 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 1exclude vendor=flex*This excludes all configurations associated with the
flexvendor daemon regardless of their license server.Example 2: Exclude a Vendor Daemon from a Specific License Server
To exclude the
flexnetvendor daemon fromserver01:Example 2exclude vendor=flexnet, server-host=server01This excludes configurations for the
flexnetvendor daemon associated withserver01.The same vendor daemon on another license server remains unaffected unless another rule matches it.
Outcome:
Vendor Daemon License Server Result flexnet server01 Excluded flexnet server02 Included flexnet server03 Included dsls server01 Included 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
flexfrom license servers whose hostnames begin withlicserver:Example 3exclude vendor=flex*, server-host=licserver*Both the vendor daemon and license server hostname must match.
Outcome:
Vendor Daemon License Server Result flexnet licserver01 Excluded flexnetsimple licserver02 Excluded flexnet server03 Included dsls server01 Included Example 3 Outcome
Example 4: Exclude a Specific Product
To exclude
productAassociated with vendor daemondsls:Example 4exclude vendor=dsls, product-name=productAOnly configurations matching both
dslsandproductAare 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
lsdynavendor daemon collected by hosts whose names begin withhost01:Exampleexclude vendor=lsdyna, collector-host=host01*This rule targets the machine performing autodetection and collection.
noteThe
server-hostandcollector-hostrefer to different machines.server-hostidentifies the license server.collector-hostidentifies the machine running autodetection and license collection.
Use
server-hostwhen you want to exclude configurations associated with a particular license server.tipUse the most specific matching attributes necessary when excluding a configuration. This helps avoid unintentionally excluding other vendors, products, or license servers.
-
-
Save the changes.
-
Open the
vendor.excludefile in the etc directory, which is by default in/var/opt/openit/etc. -
Specify the inclusion or exclusion rules using the following syntax:
vendor.exclude: Command Syntax<use> <name>=<value-pattern>where:
-
useis used to specify if you want to include or exclude configurations that match the specified criteria. -
patternis used to specify the pattern that the vendor name needs to match. Globbing is allowed. -
nameis used to specify the attribute to match. See the table below for the supported attribute names and their descriptions.Attributes Description vendororvendor-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, orlsdyna.collector-hostUse this to specify the hostname of the client running the autodetection and license collection processes. Supported Attributes
tipWhen 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, andFLEXNETare 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=server02In 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
flexnetonserver02.importantRule 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 1exclude vendor=flex*This excludes all configurations associated with the
flexvendor daemon regardless of their license server.Example 2: Exclude a Vendor Daemon from a Specific License Server
To exclude the
flexnetvendor daemon fromserver01:Example 2exclude vendor=flexnet, server-host=server01This excludes configurations for the
flexvendor daemon associated withserver01.The same vendor daemon on another license server remains unaffected unless another rule matches it.
Outcome:
Vendor Daemon License Server Result flexnet server01 Excluded flexnet server02 Included flexnet server03 Included dsls server01 Included 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
flexfrom license servers whose hostnames begin withlicserver:Example 3exclude vendor=flex*, server-host=licserver*Both the vendor daemon and license server hostname must match.
Outcome:
Vendor Daemon License Server Result flexnet licserver01 Excluded flexnetsimple licserver02 Excluded flexnet server03 Included dsls server01 Included Example 3 Outcome
Example 4: Exclude a Specific Product
To exclude
productAassociated with vendor daemondsls:Example 4exclude vendor=dsls, product-name=productAOnly configurations matching both
dslsandproductAare 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
lsdynavendor daemon collected by hosts whose names begin withhost01:Exampleexclude vendor=lsdyna, collector-host=host01*This rule targets the machine performing autodetection and collection.
noteThe
server-hostandcollector-hostrefer to different machines.server-hostidentifies the license server.collector-hostidentifies the machine running autodetection and license collection.
Use
server-hostwhen you want to exclude configurations associated with a particular license server.tipUse the most specific matching attributes necessary when excluding a configuration. This helps avoid unintentionally excluding other vendors, products, or license servers.
-
-
Save the changes.
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.
- Windows
- Unix
-
Open
licenseconfigbuilder.xmlin the Components directory, which is by default inC:\Program Files\OpeniT\Core\Configuration\Components. -
Locate object
vendor-exclude-fileand 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> -
Save the changes.
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Command Syntaxcd <bin_dir>Examplecd C:\Program Files\OpeniT\Core\bin -
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
-
Open
licenseconfigbuilder.xmlin the Components directory, which is by default in/var/opt/openit/etc/Components. -
Locate object
vendor-exclude-fileand 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> -
Save the changes.
-
Go to the bin directory, which is by default in
/var/opt/openit/bin, run the command:Command Syntaxcd <bin_dir>Examplecd /var/opt/openit/bin -
Update the configuration file, run the command:
Command Syntax./openit_confbuilder --client
Verifying Successful Configuration
- Windows
- Unix
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:
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin, run the command:Command Syntaxcd <bin_dir>Examplecd C:\Program Files\OpeniT\Core\bin -
Run the command:
Command Syntaxopenit_licenseconfigbuilder -
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, orflexpoller.xml.noteConfigurations based on the detected autocollectors start with
auto_.
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 /var/opt/openit/etc/scheduler.
If you want to verify immediately, follow these steps:
-
Go to the bin directory, which is by default in
/var/opt/openit/bin, run the command:Command Syntaxcd <bin_dir>Examplecd /var/opt/openit/bin -
Run the command:
Command Syntax./openit_licenseconfigbuilder -
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, orflexpoller.xml.noteConfigurations based on the detected autocollectors start with
auto_.
Troubleshooting
If the generated configurations do not match the expected results, you may check the following:
| Observation | Version |
|---|---|
| A configuration is unexpectedly excluded | Verify the matching attributes and check whether another exclusion rule applies. |
| A configuration is not excluded | Check the attribute names, values, and wildcard patterns. |
| An inclusion exception is not applied | Check the rule order and ensure the specific inclusion rule is below the general exclusion. |
| The wrong license server is affected | Verify that server-host is used instead of collector-host, or vice versa. |
| Configuration changes are not reflected | Confirm that the correct vendor-exclude file is configured and rerun openit_licenseconfigbuilder. |
| A custom configuration file is ignored | Verify the vendor-exclude file path in licenseconfigbuilder.xml. |