#
Petroleum Experts (PetEx)
#
Introduction
Open iT supports Petroleum Experts (Petex) usage reporting. The following sections will guide you on the required configuration for
Apply the configurations in the Open iT client.
#
Configuring License Manager Utility Polling
Open iT supports Petex usage reporting through the generic license type format. This will produce the following aggregated data types used for historical and real-time 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.
#
Requirements
- Configured Petex License Server
- Host name of the valid IP Address of the Petex License Server
- An Open iT Client connected to an Open iT Server or a coexistent Open iT setup
- Activated LicenseAnalyzer collection and license poller
#
Configuring Data Collection
These are the required steps to activate and configure collection of Petex 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
, run the command:Command Syntaxopenit_confinit -c "licpoll.license-types.genericlicense-sample=>licpoll.license-types.petex"
Activate the collection of PetEx data, run the command:
Command Syntaxopenit_confinit -c "licpoll.license-types.petex.active=true"
Set the arguments to the status command, run the command:
Command Syntaxopenit_confinit -c "licpoll.license-types.petex.status-command.arguments=PetEx <servername>"
where
<servername>
is the host name of the valid IP Address of the Petex license server.Exampleopenit_confinit -c "licpoll.license-types.petex.status-command.arguments=PetEx hou150win"
Update the configuration file, run the command:
Command Syntaxopenit_confbuilder --client
Make sure that there are no errors encountered.
Refer to the Petex Data Collection Configuration table to learn more about Petex 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 -# 1
Verify that the temp directory, which is by default in
C:\ProgramData\OpeniT\Data\temp
, contains aLicPoll
directory containing.data
andstatus-*.log
files.
Continue reading if you need to configure log file parsing. If not, here are some
#
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:
- (89) Total License Use Licenseevents
- (90) Individual License Use Licenseevents
- (91) Usergroup License Use Licenseevents
- (108) Host License Use Licenseevents
- (109) Hostgroup License Use Licenseevents
#
Requirements
- An Open iT Client connected to an Open iT Server or a coexistent Open iT setup
- License server administrative rights
- Full path to the debug log file
#
Configuring Log File Collection
These are the required steps to configure collection of Petex log files.
Go to the Components directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\Components
, and openlogfilecollector-hasp2.xml
.Locate object node
dir
and set its value to the location of the Petex log files.logfilecollector-hasp2.xml14| <Object> 15| <Name>dir</Name> 16| <Description>Directory containing the log files</Description> 17| <Value type="DirName">%HASPLOGDIR%</Value> 18| </Object>
Use semicolons(;) as separators to include multiple log file directories.
Example: logfilecollector-hasp2.xml14| <Object> 15| <Name>dir</Name> 16| <Description>Directory containing the log files</Description> 17| <Value type="DirName">C:\Users\user1\Petex\home\logs;C:\Users\user1\Petex\logs</Value> 18| </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
Make sure that there are no errors encountered.
Refer to the Petex Log File Collection Configuration table to learn more about Petex configuration in logfilecollector-hasp2.xml
.
#
Activating Event Log Data Collection
These are the required steps to activate collection of Petex event log data.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_hasp2_event-logs.oconf
.Locate and set
root.scheduler.jobs.collect_hasp2_licenselogs_event.general.active
to true to activate the collection of Petex event log data.collect_license_hasp2_event-logs.oconf13| } 14| general 15| { 16| active 17| { 18| type=bool 19| value=true
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_hasp2_licenselogs_event
, preprocess_hasp2_licenselogs-events
, or transfer_hasp2_licenselogs-event
in the same file and configure the attributes.
Refer to the Petex Event Log Job Scheduler Instances Configuration table to learn the attributes used to configure Petex events data collection and transfer.
#
Activating Record Log Data Collection
These are the required steps to activate collection of Petex record log data.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_hasp2_record-logs.oconf
.Locate and set
root.scheduler.jobs.collect_hasp2_licenselogs_record.general.active
to true to activate the collection of Petex record log data.collect_license_hasp2_record-logs.oconf13| } 14| general 15| { 16| active 17| { 18| type=bool 19| value=true
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_hasp2_licenselogs_record
, preprocess_hasp2_licenselogs-records
, transfer_hasp2_licenselogs-record
, or transfer_hasp2_licenselogs-raw
in the same file and configure the attributes.
Refer to the Petex Record Log Job Scheduler Instances Configuration table to learn the attributes used to configure Petex events data collection and transfer.
#
Verifying Log Data Collection
After configuration, you can verify that the data is collected and sent to the server 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_executor -r collect_license_hasp2_event-logs
Run the command:
Command Syntaxopenit_executor -r collect_license_hasp2_record-logs
Verify that there are
archiver*.in
files created in the server in the archiver directory, which is by default inC:\ProgramData\OpeniT\Data\incoming\archiver
.
#
Next Steps?
Renaming Vendor License Renaming Features Create and Add Report License Monitor