The information on this page refers to License Statistics v6.17 and newer, which introduced Server Agent. If you are using a version previous to v6.17, see documentation for previous versions. |
This section describes the installation and configuration of the License Statistics Agent add-on tool. Also see Reviewing License Statistics Agents for information on viewing a report of all agents in use.
During communication between License Statistics Server Agents and License Statistics, some sensitive data (for example, the administrative password for the LM-X license server that is used by the query tool installed on the server (agent) host) can be sent through the HTTP protocol. It is therefore recommended to use secured SSL (HTTPS) when using Server Agents.
System requirements
Installation of License Statistics Agent has the following requirements:
Supported platforms
Windows 64-bit |
---|
|
Hardware requirements
Hardware | Minimum |
---|---|
CPU | 2 core |
RAM | 1 GB |
Hard Drive | 1 GB |
Installation procedure
To install License Statistics Agent:
- Download the License Statistics Agent installation from the License Statistics download page, or open the .msi installation file from the License Statistics installation "tools" directory (by default: C:\Program Files\X-Formation\License Statistics\tools).
- An installation wizard will step you through the installation procedure.
Installing from a command line
Alternatively, you can install/update License Statistics Agent from a command line (or remotely) using the msiexec tool. You must have administrative privileges to use this tool.
The msiexec tool uses the following syntax:
msiexec /i {msi_installer} INSTALLDIR="{path}" LICSTATURL="{url}" LICSTATTOKEN="{token}" AGENTMODE="{mode}" /qn
Parameters
Parameter | Required | Definition | Default Value |
---|---|---|---|
INSTALLDIR | No | Full path to License Statistics Agent installation directory | C:\Program Files\X-Formation\License Statistics Agent |
LICSTATURL | Yes | The endpoint to the License Statistics license server that License Statistics Agent will communicate with. | N/A |
LICSTATTOKEN | Yes | The Agent API authorization token, which License Statistics administrators can generate as described in API access | N/A |
AGENTMODE | No | The scope in which the agent will operate; either "enduser" or "server" | enduser |
Example
An example of command line installation is shown below.
msiexec /i license_statistics_agent_v6.17.0_win64_x64.msi LICSTATURL="https://licstat.company.com" LICSTATTOKEN="a479b76168de65fe42af853f651b637d" AGENTMODE="enduser" /qn
Configuration settings
You provide configuration information for License Statistics Agent using the Agent Configuration tool, which is installed along with the Agent. You must have administrative privileges to use this tool.
To access the configuration tool:
- Select License Statistics Agent Manager from the main menu, or use the Agent settings icon from the tray:
- Select Configuration from the Agent Manager options.
The configuration tool opens.
Configuration setting Required Where to find the configuration information License Statistics URL Yes The License Statistics URL is an endpoint to the License Statistics license server that License Statistics Agent will communicate with.
The Agent will connect to the server and receive all necessary configuration information silently.
Agent API Token Yes The Agent API Token is an authorization token, which License Statistics administrators can generate as described in API access.
Agent Mode Yes The Agent Mode can be changed any time, but the Agent can operate only as one mode at a time
Flags No Flags define custom options for Agent execution, and should not be used unless instructed to do so by X-Formation Support.
After changing the Agent configuration, the Agent must be restarted to begin using the modified configuration.
General installation notes
Note the following:
- By default, all of the application files will be located in the "C:\Program Files" directory. You may choose a different folder during the installation if desired.
- All associated data (including logs, configuration file, etc.) is stored under the "C:\ProgramData\X-Formation\License Statistics Agent" directory.
- As part of the installation, a configuration tool (License Statistics Agent Manager) is also installed. You must use this tool to enter information that identifies and allows access to the License Statistics instance that License Statistics Agent will be used for, as described in the next section.
- After installation, you can optionally start License Statistics Agent before exiting the installation wizard.
After installation, an Agent icon is visible in the tray when:
- License Statistics Agent Manager is open.
- License Harvesting is enabled (the tray icon is present so License Harvesting can gather information about applications opened by users and interact with users; for example, displaying a popup to close the application).
- The Agent tray icon is not visible during regular operations, such as Autodesk application monitoring.
- License Statistics Agent can be run only as a service.
Starting and stopping the service
You can also use the Agent Manager to:
- Start/stop the service
- View Agent service status (in the illustration below, the service is shown as "stopped")
Uninstalling License Statistics Agent
License Statistics Agent can be uninstalled using the standard Windows uninstallation procedure. Uninstalling License Statistics Agent stops the service and removes it from the system. Optionally, you can specify during uninstallation to remove the user data, including logs, configuration file, etc.
If you choose to retain the user data, it will be reused if License Statistics Agent is reinstalled (for example, the configuration data will be automatically filled in on the configuration form during installation).