#
Hexagon
#
Introduction
Open iT supports Hexagon usage reporting through the generic license type format. This will produce the following aggregated data types used for historical reporting:
- (49) Host User License Use
- (93) OLAP Raw Hourly
- (94) OLAP User Concurrency
- (95) Usergroup License Use v3.0
- (102) OLAP Total Use
The following sections will guide you in setting up the necessary configuration to collect and send the required data to the server.
Apply the configurations in the Open iT client.
#
Requirements
- An Open iT Client connected to an Open iT Server or a coexistent Open iT setup
- Activated LicenseAnalyzer collection and license poller
- Configured Hexagon license server
- License server administrative rights
Generated Client ID and Client Secret from Hexagon
#
Configuring Hexagon with Client ID and Client Secret
#
Generating Client ID and Client Secret
These steps generate a Client ID and Client Secret required to read data from the Integraph Smart Licensing Cloud via its API.
- Go to https://licensing.hexagonppm.com/.
- Log in with your credentials.
- Expand the user menu, then click on API Clients.
API Clients
- In the bottom-right corner, click on the blue button to add a new Client ID/Secret pair. A pop-up will appear.
- In the pop-up window, select 1 day in the token duration, then click OK.
- Take note of the Client ID and Secret.
#
Updating Hexagon Configuration to use Generated Client ID and Client Secret
These steps configure Hexagon to use your
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
Set the Client ID and Secret, run the command:
Command Syntaxgenlicutil Hexagon /config
Type in the generated Client ID when prompted,
Example: Entering Client IDEnter ClientId: client_123456a1-7bcd-8e90-e123-4567f890g12h
then press Enter.
Type in the generated Client Secret when prompted,
Example: Entering Client SecretEnter ClientSecret: ab1c2de3-45fg-67h8-i901-234567890j01
then press Enter.
Type in your desired company code when prompted,
Example: Entering Company CodeEnter CompanyCode: OpeniT
then press Enter.
Confirm if the entries are correct,
Example: Confirm EntriesClientId: client_123456a1-7bcd-8e90-e123-4567f890g12h ClientSecret: ab1c2de3-45fg-67h8-i901-234567890j01 CompanyCode: OpeniT
then press Enter.
#
Configuring Data Collection
These are the required steps to activate and configure collection of Hexagon usage data.
Go to the Components directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\Components
, and back up thelicpoll.xml
configuration file.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
Once in the directory, copy the object node
genericlicense-sample
and rename it to your desired name. In this example, we will usehexagon
. Run the command:Command Syntaxopenit_confinit -c "licpoll.license-types.genericlicense-sample=>licpoll.license-types.hexagon"
Element names cannot contain parentheses ( or ) because they are not valid for XML element names.
Activate the collection of Hexagon data, run the command:
Command Syntaxopenit_confinit -c "licpoll.license-types.hexagon.active=true"
Set the arguments to the status command, run the command:
Command Syntaxopenit_confinit -c "licpoll.license-types.hexagon.status-command.arguments=hexagon"
If you want to separate the usage data per keystore, run the command:
Command Syntaxopenit_confinit -c "licpoll.license-types.hexagon.status-command.arguments=hexagon /divided"
This includes the keystore information in the vendor license names (e.g.,
host557;hexagon (keystore_name 1)
) in historical and real-time reports.Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Make sure that there are no errors encountered.
Refer to the Hexagon Data Collection Configuration table to learn more about Hexagon configuration in licpoll.xml
.
#
Verifying Data Collection
After configuration, you can verify that the data is collected by following 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_licpoll -# 12
Verify that the temp directory, which is by default in
C:\ProgramData\OpeniT\Data\temp
, contains aLicPoll
directory containing.data
andstatus-*.log
files.
#
Sample Reports
#
Historical Reports
#
Real-time Report
#
Next Steps?
Renaming Vendor License Renaming Features Create and Add Report License Monitor