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 LicenseUsageStatistics.dll.config. By default, this file is located at C:\Program Files\TRICENTIS\Tricentis License Server\License Usage Tracking.

  2. Modify the value of the respective setting:

    Setting

    Description

    DatabasePort

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

    The default port is 9200.

    LicenseServerUrl

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

    intervalInMinutes

    Polling interval in minutes. The default interval is 1.

    MaxDataAgeInDays

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

    By default, this setting is turned off (value: 0). 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 TricentisLicenseUsageTracking in the Windows Task Manager.

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

  • It uses port 1000 to connect to the Tricentis License Usage Tracking 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 C:\MyBackups\LicenseUsageStatistics\UsageInfoCache.bak.

<appSettings>

<add key="DatabasePort" value="1000" />

<add key="LicenseServerUrl" value="licenseserver.sample.com:1234" />

<add key="IntervalInMinutes" value="5" />

<add key="MaxDataAgeInDays" value="14" />

<add key="UsageInfoCacheBackupPath" value "C:\MyBackups\LicenseUsageStatistics\UsageInfoCache.bak" />

[...]

</appSettings>