Configure settings separately

The installation and configuration of Tricentis License Usage Tracking is part of the installation of the Tricentis License Server. This chapter explains how to configure settings separately.

To configure your settings after the installation, follow the steps below:

  1. Open the file appsettings.json. By default, this file is located at C:\Program Files\TRICENTIS\Tricentis License Server\License Usage Statistics\Tracking.

  2. In the ServiceSettings section, you can adjust the following settings:

    Setting

    Description

    ApiSettings - Port

    Specify the port to connect to the Tricentis License Usage Statistics database.

    The default port is 7071.

    LicenseServerUrl

    License server address and port. The default value is licenseserver.example.com:7070.

    intervalInMinutes

    Polling interval in minutes. The default interval is 1.

    DbMaxAgeInDays

    The maximum allowed data age. The database deletes all data that is older than the specified value.

    By default, the database keeps your data for 365 days. You can specify any positive integer.

    UsageInfoCacheBackupPath

    Path to where the service backs up cached data when you restart the machine or service. We recommend that you store your backup on a different drive or partition than where the service runs. This prevents data loss if the partition where the service runs doesn't have enough space.

  3. Save and close the file.

  4. Restart the service Tricentis License Usage Statistics in the Windows Task Manager.

In the example below, Tricentis License Usage Statistics has the following configuration:

  • It uses port 7071 to connect to the Tricentis License Usage Statistics database.

  • The license server address is licenseserver.sample.com, connected via port 1234.

  • The polling interval is 5 minutes.

  • The database removes data that is older than 14 days.

  • The path to the cache backup is "%ProgramData%\\Tricentis\\LicenseUsageStatistics\\UsageInfoCache.bak.

Copy
{
  "ServiceSettings": {
    "LicenseServerUrl": "licenseserver.sample.com:1234",
    "IntervalInMinutes": 5,
    "DbMaxAgeInDays": 14,
    "UsageInfoCacheBackupPath": "%ProgramData%\\Tricentis\\LicenseUsageStatistics\\UsageInfoCache.bak",
    ...
  },
  "ApiSettings": {
    "Port": 7071
  }
}