#
V-Ray License Manager
#
Introduction
Open iT supports V-Ray usage reporting by collecting license usage data by polling through another utility from the license server. This will produce the following aggregated data types used for historical reporting:
- (131) V-Ray License Usage
- (132) V-Ray License User Concurrency
There are three(3) supported license models:
- Online - licenses that can be used when online
- Offline - licenses that a user can use offline for two(2) weeks
- Dongle - licenses that are available through a USB license dongle attached to a workstation/server
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 shown in the Open iT client.
#
Requirements
- An Open iT Client connected to an Open iT Server or a coexistent Open iT setup
- License server administrative rights
- License server hostname and port
#
Configuring Raw Data Collection
These are the required steps to activate and configure collection of raw V-Ray data.
Go to the scheduler directory, which is by default in
C:\Program Files\OpeniT\Core\Configuration\scheduler
, and opencollect_license_vray-polls.oconf
.Locate and set
root.scheduler.jobs.collect_vray.general.active
to true to activate the collection of raw V-Ray data.collect_license_vray-polls.oconf13| general 14| { 15| active 16| { 17| type=bool 18| value=true 19| }
Locate
root.scheduler.jobs.collect_vray.operations.arguments
and set the values of--server
and--port
to the hostname and port of your V-Ray server.collect_license_vray-polls.oconf49| arguments 50| { 51| type=string 52| value=--key vray --target "${OpeniT.directories.temp}/PollCollector/VRay" --interval PT5M --timeout PT5M --module license --datatype vray --skip-onerror --exe "${OpeniT.directories.bin}/openit_vraystat" --args --server "localhost" --port "30304" --retry "2" --timeout "10" 53| }
Example: collect_license_vray-polls.oconf49| arguments 50| { 51| type=string 52| value=--key vray --target "${OpeniT.directories.temp}/PollCollector/VRay" --interval PT5M --timeout PT5M --module license --datatype vray --skip-onerror --exe "${OpeniT.directories.bin}/openit_vraystat" --args --server "hou105win" --port "30304" --retry "2" --timeout "10" 53| }
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_vray
, preprocess_vray
, transfer_vray_parsed
, or transfer_vray_raw
in the same file and configure the attributes.
Refer to the V-Ray Poll Job Scheduler Instances Configuration table to learn the attributes used to configure V-Ray data collection and transfer.
Go to the scheduler directory, which is by default in
/var/opt/openit/etc/scheduler
, and opencollect_license_vray-polls.oconf
.Locate and set
root.scheduler.jobs.collect_vray.general.active
to true to activate the collection of raw V-Ray data.collect_license_vray-polls.oconf13| general 14| { 15| active 16| { 17| type=bool 18| value=true 19| }
Locate
root.scheduler.jobs.collect_vray.operations.arguments
and set the values of--server
and--port
to the hostname and port of your V-Ray server.collect_license_vray-polls.oconf49| arguments 50| { 51| type=string 52| value=--key vray --target "${OpeniT.directories.temp}/PollCollector/VRay" --interval PT5M --timeout PT5M --module license --datatype vray --skip-onerror --exe "${OpeniT.directories.bin}/openit_vraystat" --args --server "localhost" --port "30304" --retry "2" --timeout "10" 53| }
Example: collect_license_vray-polls.oconf49| arguments 50| { 51| type=string 52| value=--key vray --target "${OpeniT.directories.temp}/PollCollector/VRay" --interval PT5M --timeout PT5M --module license --datatype vray --skip-onerror --exe "${OpeniT.directories.bin}/openit_vraystat" --args --server "hou105lin" --port "30304" --retry "2" --timeout "10" 53| }
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_vray
, preprocess_vray
, transfer_vray_parsed
, or transfer_vray_raw
in the same file and configure the attributes.
Refer to the V-Ray Poll Job Scheduler Instances Configuration table to learn the attributes used to configure V-Ray data collection and transfer.
#
Verifying 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_vray-polls
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
.
Go to the bin directory, which is by default in
/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /opt/openit/bin
Run the command:
Command Syntax./openit_executor -r collect_license_vray-polls
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