Licensing ServiceControl

Component:
ServiceControl
Version:
5.x

Behavior

The license is read at startup, and every 8 hours thereafter to detect license updates.

Expired license

If the license has expired (or is corrupted), existing ServiceControl instances will continue to function and can be started and stopped normally. Functionality in ServicePulse will be limited to functionality that supports license renewal.

License management

In general, ServiceControl instances support all of the license management options that NServiceBus supports, except for code-first configuration and the Windows Registry.

In addition, ServiceControl provides additional license management techniques:

ServiceControl Management Utility (SCMU)

ServiceControl has a license user interface accessible in ServiceControl Management, which is a Windows only management utility.

If the ServiceControl Management Utility was not retained after instance installation, a new version can be downloaded to manage license files. The Management Utility itself is not installed; it exists as a standalone application for managing ServiceControl instances.

The selected license file will be stored in the machine-wide license file location, so it is available to all instances of ServiceControl regardless of the service account used.

Add License

ServiceControl PowerShell

To import a license using PowerShell:

Import-ServiceControlLicense License.xml

License from file system

It is also possible to load the license from any location in the file system by configuring the NServiceBus/LicensePath setting. This allows the license to be loaded from, for example, a central network share instead of the registry.

<add key="NServiceBus/LicensePath" value="d:\NServiceBus\License\License.xml" />

Related Articles