Sentinel HASP Licensing Overview

 Charon emulator products are protected by licenses issued for every customer by Stromasys Inc. A Charon product license defines all the specifics of a particular Charon product distribution and its usage. Charon emulator products cannot be used without a valid license.

Please note: this document does not cover the new Virtual Environment licensing product offered by Stromasys. For details about VE licenses and the VE license server, please refer to the Virtual Environment (VE) License Server Documentation.

This section provides a short overview of important aspects of Sentinel HASP licenses for Charon products. In particular, it covers the following topics:


Sentinel HASP License Types

For more information about the advantages and disadvantages of the different licensing options based on Sentinel HASP licensing, please refer to Charon licensing options on the Stromasys website.

Local Hardware License Key

Local hardware license keys are USB keys (dongles) connected to the Charon host system.

Hardware License Types

All Stromasys hardware license options are from Sentinel (now owned by Thales). The current hardware licenses are distributed as USB dongles. Two of the most frequently used versions are the Sentinel HASP HL and the Sentinel HL USB keys. In general, the keys are backward compatible.

Examples of the dongle variants most frequently used by Stromasys:

Hardware license typeSentinel HASPSentinel HL
Network license



Time limited local license

Somewhat longer shape

Sentinel offers more variants for hardware keys than are displayed in the examples above. Please refer to the Sentinel web page (https://cpl.thalesgroup.com/software-monetization/all-products/sentinel-hasp) for up-to-date and complete information. 

Newer Charon emulator versions (e.g., Charon-AXP/VAX 4.9 and higher, Charon-PAR 3.x, Charon-SSP 4.x and higher) also support the HL-MAX dongle without a battery.


Local Hardware License Characteristics


Local hardware licenses are USB dongles and work on the system they are physically connected to. For Windows systems supporting AnywereUSB®, hardware licenses can also be connected over the network (similar products are available for Linux). They can easily be moved to a different system, if required. The content of the dongle can be updated if a change to the license or an extension of a time-based license is required. The necessary steps are described later in this document.

Please note:

  • Hardware dongles require the Sentinel HASP run-time (driver) installation before the dongle can be connected to and used by the system.
  • Hardware dongles, apart from HL-MAX dongles, are equipped with a battery and a clock, which makes them independent of the host clock. The battery is not rechargeable. However, the dongle can use the power provided by the host system while it is plugged in. By doing this, the depletion of the battery can be slowed down. Check the dongle at regular intervals if it is not permanently connected to a system. If the battery becomes completely depleted, the dongle will be permanently unusable and must be replaced. See also: How long does the license USB dongle battery last upon a full charge.
  • Hardware dongles are not suited for running Charon emulator products in cloud environments. Stromasys provides other licensing solutions adapted to virtual environments (Charon VE licenses) for selected products. See Virtual Environment (VE) License Server Documentation.

Local Hardware Licenses in Virtual Environments

A hardware license can be used by a Charon host system running as a virtual machine for example in VMware. The prerequisite is that the USB dongle must be passed through to the virtual machine, so it can be accessed by the host system running inside the virtual machine. If such a virtual machine is to be moved between different physical hardware (for example, vMotion), provisions must be made to maintain access to the hardware license.

Please refer to the following articles on the Stromasys page for more information: How-to configure a VMware virtual machine to make the dongle follow migration to another ESX server and Charon licensing options.

USB dongles can also be served over the network using network connected IP USB servers. However, not all such devices available will work without problems. Please contact your Stromasys representative or Stromasys VAR if you consider such a solution.

Software Licenses


A software license is a "virtual" key with functionality very similar to a HASP network-enabled hardware dongle.

A software license does not require any special hardware but it still requires installation of the Sentinel runtime environment

Important information:

  • To avoid unexpected problems, do not use any Sentinel runtime software that was not provided by Stromasys without being advised to do so by your Stromasys representative.
  • Software licenses are best suited for stable environments, because their correct function depends on certain characteristics of the host system. Changing these characteristics will invalidate the license.

    • If the Charon host runs on real hardware, software licenses are by default tightly bound to the hardware for which they were issued. If major hardware characteristics of the system are changed, the license will be disabled.
    • If the Charon host runs in a virtual environment (e.g., VMware), software licenses are normally bound to the virtual machine ID and a set of additional characteristics of the virtual machine. If any of these parameters are changed, the license will be disabled.
    • For a more detailed description of the restrictions, please refer to Software Licensing restrictions or contact your Stromasys representative.
  • Software licenses are very sensitive to even small changes on the host system. Therefore, it is especially important to provide for a backup license that will ensure continued operation should there be a problem with the software license. See Handling Multiple License Keys and Product Licenses for details.
  • Standard software licenses are not suited for running Charon emulator products in cloud environments. Stromasys provides other licensing solutions adapted to virtual environments (Charon VE licenses) for selected products. See Virtual Environment (VE) License Server Documentation.


Network Licenses


The network Sentinel HASP key (red USB dongle) can be shared between several hosts running a Charon emulator product (including the host on which the network license is installed).

Please note: all software licenses are also network licenses.

If the Charon emulator product is installed on the host where the network license is connected, no additional steps are required. The Sentinel driver is installed as part of the Charon product installation. If the host does not have a Charon emulator product installed, the host can still distribute the connected network license to emulator instances running on other hosts.

The Sentinel HASP runtime software must be installed on such a license server and on the client system. For details regarding the installation, please refer to the software installation section in this document. Once both the Sentinel runtime software and the network license are installed, the Charon emulator product can be started on any appropriate client host on the LAN, provided access to the license is enabled.

  • The network license will be visible to all hosts that can access the license server over IP. Access to the license server must be possible on port 1947 via UDP (discovery process) and TCP (actual access to license). Further information (e.g., use of additional UDP ports) can be found in the section Firewall Considerations.
  • The license server and the client must both allow access to the network license using the appropriate management tools.

The maximum number of concurrently active Charon instances is determined by the parameters of the license. 

Please note:

  • In current Charon software versions, a network license controls the maximum overall number of active instances, which can be distributed across client host systems according to the preference of the customer.
  • In old versions of the Charon software (e.g., Charon-AXP/VAX before version 4.7 build 171-01, Charon-SSP before version 1.4.1), a network license controlled the maximum number of client host systems and Charon instances per host system (station/instance mode).

License Content

 

The license data on a license key, independent of whether it is a hardware or software license key, consists of several parts: the license key text block contains the license section and one or more product sections. The license features describe additional conditions and limitations for the emulator products contained on the license.

A) License Key Text Block

1) License Section (one per license key)

The license section contains general license information related to ownership and administration.
There is one license section per license key. 
Please note that in rare cases, you may receive an empty USB dongle for which command outputs will show that no license information was detected. In such cases, request a license update from Stromasys as described in Updating a License.


Relevant license section parameters:

  • License type: type of the license, i.e., hardware or software license, network-enabled or local (added in newer Charon product versions, e.g., Charon-AXP/VAX 4.9)
  • License number: assigned by Stromasys
  • License key ID: unique; pre-programmed; unmodifiable; on physical keys same value as the Physical Key ID
  • Master key ID: the software vendor ID used by Stromasys for issuing licenses
  • Release date: the day on which the license was issued
  • Release time: the time at which the license was issued
  • Update number: the number of license updates that have been applied
  • End user name: the name of the person to whom the license was issued
  • Purchasing company name: usually the company to which the license was issued


2) Product Section (one or more per license key)

The text block also contains product sections that contain product specific licensing information.

  • Several products can be combined on one license key. Stromasys may place restrictions on what products can be combined on a single license key.
  • The product section also may include information about the support contract and the end of support. It may contain hardware specific limitations related to the types of devices that can be connected (e.g., serial interfaces).
  • A checksum is inserted after the last product section of a license. This checksum is not visible in the show command output. Charon products/versions requiring such a checksum will not start if the license does not contain a checksum.
  • Each product section is associated with a feature defining additional conditions for the product.


The following list shows the most important parameters of a product section.

Please note that not all of these parameters may be present for a particular Charon product.

  • Product License Number: identification of specific product section (optional; new starting with Charon-AXP/VAX 4.9 and Charon-PAR 1.10). Corresponds to configuration parameter license_id.
  • Virtual Hardware: range of virtual models available for running
  • Product Name: commercial product name
  • Product Code: commercial product code
  • Major Version, Minor Version, Maximum Build, Minimum Build: commercial product version and range of build numbers suitable for running with this license. The parameters Maximum and Minimum Build are no longer displayed starting with Charon-AXP/VAX 4.9 and Charon-PAR 1.10.
    Please note that, depending on the product and product version, licenses have a limited backward compatibility (i.e., when the version on the license is newer than the product version).
    See Operational Procedures Overview in the Sentinel HASP Licensing Documentation for more information.
  • Host CPU supported or 32bit and 64bit OS requirements: type of host CPU required (for example, x64)
  • Host Operating System required: Linux or Windows
  • CPUs allowed: number of virtual CPUs enabled for virtual multiprocessor systems
  • Maximum virtual memory: Maximum memory emulated. If not present the value defaults to the maximum memory possible for the particular virtual system. Note that the maximum memory may not be available to the virtual system if the host computer has insufficient physical memory.
  • CHAPI enabled: whether or not CHAPI (Charon-AXP API) can be used with this product
  • Instances allowed: maximum number of Charon emulator instances of this program/hardware model that are allowed to run concurrently on the local host. Relevant for local license keys that do not support the process count parameter. See also the parameter Number of processes in the feature section.
  • CPU Speed: optional parameter to reduce the speed at which the program can run to a fraction of the maximum (e.g., to 25%)
  • HPSUSAN: optional parameter. Specific to HP3000, overrides physical key ID. The HPSUSAN (HP System Unique Serially Assigned Number) is used for licensing purposes by HP. The parameter may be needed if a license on the physical system is tied to the original HPSUSAN.
  • Feature number: number of the feature defining further limits/restrictions for the product license. Each product can use a separate feature, or the same feature can be used by several products.
    If using a network license and the same feature is shared by several products, the number of instances allowed by the feature is shared between the products (e.g., 2 allowed instances enable one Charon-AXP and one Charon-SSP instance to run concurrently). If using a local license dongle and the same feature is shared by several products, the number of allowed instances is counted separately for each product.
    The parameters defined in a feature are described below in the Features section.


B) License Feature Section (one or more per license key)

Features define product specific conditions, for example expiration date and number of concurrent instances.

The following list describes these conditions:

  • Released product expiration date: for time-based licenses. Note that at the time of writing the license of Charon-AXP/VAX products will expire at the end of the day of the expiration date, the license of Charon-SSP in the early morning of the expiration day. The exact behavior of the different versions can change without prior warning. Not supported for HL-MAX dongles.
  • Runtime counter: number of license checks after which the license will be disabled. Default check interval is one hour. The counter will be decreased at the start of the emulator and then at every license check interval. Once the counter has been depleted, the license becomes invalid. This license type is typically used on licenses intended as backup licenses.
  • Login interval or Check interval: frequency of license checking during emulator execution (default 1 hour). This parameter is not visible in the show command output in older Charon product version. It is visible in the show command output of newer versions, starting with Charon-AXP/VAX 4.9 and Charon-PAR 1.10.
  • Network license: indicates that a physical license is a network license
  • Number of processes: maximum overall number of Charon instances that are allowed to run concurrently.
    This parameter is set by Stromasys to the value matching the respective customer contract. For network dongles, the maximum possible value of this parameter is determined by the type of network dongle. For example: on a NetTime10 dongle this parameter can be set to a value between 1 and 10 (depending on the customer contract). The type of dongle can be viewed via Sentinel ACC.


Example with Time-Based Parameters

The parameters below describe the following limitations to the emulator:

  • License permits running up to 2 instances of Charon at the same time.
  • License expires on May 31, 2020, or after 360 license checks (with an interval of 60 minutes between the checks).
Expiration date: 31/5/2020
Runtime counter: 360
Login interval: 60 minutes
Instances allowed: 2

If any of the conditions are no longer met (too many instances, past expiration date, all checks exhausted), the feature becomes invalid and will not allow an emulator instance (or an additional instance) to run.


Emulator Requirements and Behavior

The emulator needs some license-related components to use a HASP license. They are briefly described below.

Sentinel HASP Runtime Environment

Sentinel HASP Runtime Environment Overview:

The Sentinel HASP runtime environment is a lightweight software package provided by license vendor and customized by Stromasys.

Important note: to avoid unexpected problems, do not use any Sentinel runtime software that was not provided by Stromasys without being advised to do so by your Stromasys representative.

The Sentinel HASP runtime software is part of Charon product installation kit (on both Windows and Linux). It is installed with the respective Charon products. The installation of the Charon products is documented in the respective users' guides (see Documentation).

If you do not want to install a full Charon product (for example when running a dedicated license server), you can install just the license driver:

  • Linux: use the license driver RPM(s) of a current Charon emulator product. The relevant parts are described later in this document.
  • Microsoft Windows: use the Charon License Utility which is available free of charge from Stromasys.

The HASP runtime software must be installed on every system handling licenses – be it as a Charon host server, a system for license updates, or a (non-)dedicated license server. Depending on the Charon product version the HASP runtime software may not always be required on a client system to find remote network licenses provided by a license server. However, the HASP runtime software must always be installed to take full advantage of all product features and to avoid unexpected problems.

Sentinel HASP Runtime Environment Additional Information:

A web-based management tool – Sentinel Admin Control Center – is installed as part of the HASP runtime software. After the installation, this management interface can be accessed using a browser and opening the URL http://servername:1947/_int_/devices.html, where servername points to the system running Sentinel HASP runtime software (localhost for the local system). Using this management application, licenses can be displayed and updated.

The image below is an example of the web-based GUI (prior to HASP runtime version 7.60).



The image below shows an example of the web-based GUI starting with version 7.60.

You can also go to the main page of Sentinel ACC by using the URL http://servername:1947. From there, you can display the key list by selecting the option Sentinel Keys on the left.

Details about the Sentinel Admin Control Center (ACC) are described later in the document.

Emulator Behavior

This section describes the behavior of the emulator when identifying licenses and checking license validity.

Identifying the License


The Charon emulator does not check the type of license available. It only verifies if a license is present and has the necessary characteristics that allow the emulator to run.

If more than one license is available, Charon will take the first one discovered. As this may lead to undesirable behavior, newer versions of the Charon emulator products have configuration parameters enabling a more deterministic license selection.

Charon production licenses are typically time restricted or unlimited. Backup licenses are typically limited by the number of license check executions (1 execution = 1 interval check). The initial check during the startup of the emulator counts as one execution. The default interval is 1 hour.

The management of multiple keys is described in the section Handling Multiple License Keys and Product Licenses


Checking the License and Detecting Removed or Invalid Licenses


A Charon emulator product will not run without a valid license. For Sentinel HASP licenses (the topic of this guide) this license can be provided on a USB hardware dongle (a Sentinel HASP key) or as a software license bound to the hardware of the host system or the network license server. A loss or defect of a license will cause the emulator to stop.

To check the validity of a license, Charon performs the following steps:

  • The Charon emulator checks the text block of the license to determine if it is allowed to run (if there is a product section which corresponds to the emulator).
  • Then Charon checks the feature associated with the product to see if the feature is valid - that is, not expired, not counted to 0, and if there are still some instance-slots available to run the emulator.
  • If there is no matching product section or if the feature is not valid, Charon reports the problem in the log and shuts down.


Charon products check the availability of a valid license at different points in time:

1. At startup:

If no valid license is found, an error message will be written to the emulator log file and the emulator will not start.

In some emulator products it is possible to configure the number of retries and the waiting time between them by adding parameters to the emulator configuration file. Please refer to the product documentation for the details regarding the relevant parameters:

  • Charon-AXP/VAX: license_key_lookup_retry parameter
  • Charon-PAR: license_retry_period and license_retry_count parameters (obsolete starting with version 1.10)
  • For current Charon-SSP versions, a startup delay can be configured if the emulator is configured via the Charon Manager to be started with the host operating system start.

2. At regular intervals during the runtime of the emulator (the default license check period of 1 hour can be changed by Stromasys using the appropriate license parameters):

  • If the previously used valid license has been removed, has disappeared, is defect, or has become invalid, the emulator will report the loss of the license in the log file and continue operation for a limited amount of time as described below.
  • If there is another valid license, for example a backup license defined in the configuration file, it will be used.
  • Starting with Charon-AXP/VAX 4.9 and Charon-PAR 1.10, Charon allows for a grace period of 12 hours during which the software checks for the presence of a valid license every 10 minutes until a valid license is found. If no valid license is found after the grace period has expired, the emulator will stop. 
  • Earlier versions of the above products and other emulator products: should there still be no valid license at the next regular license check (this default interval may be changed by individual Charon products), the emulator will stop.
  • If a time-restricted license is used and it expires, the Charon instance tries to find its replacement automatically and, if found, proceeds using the replacement license.

Important note for Windows installations: any running emulators will be stopped if the license service is forced to stop despite existing service dependencies (i.e., running emulators). So any running guest systems must be cleanly shutdown before restarting the license service in order to avoid data loss. This is the behavior at the time of writing. It may change in future versions.


See Monitoring Licenses for more information about log file entries related to licensing problems.


Operational Procedures Overview

General Information

Stromasys issues Charon licenses for the customer. These licenses may be delivered to the customer directly or via an authorized Stromasys partner.

All Charon licenses are logged by Stromasys with end user and reseller/partner information. Charon licenses can be local or network, hardware or software licenses, they can be for a single product or a mix of product families (e.g., AXP and VAX). Products for different platforms (Windows, Linux) can be put on the same license.

This section briefly introduces the installation and update of licenses. Details are available in later sections of this document.

Initial License Installation

Once the required drivers have been installed on a system, a license can be installed.

  • Hardware Licenses are USB dongles that are simply plugged into an available USB port on the system.
  • Software licenses require that a fingerprint of the system be taken that is then sent to Stromasys to create the license. The resulting license is then installed on the system using the license management tools.

License Updates

Under certain circumstances existing licenses must be updated.

License updates are required, for example, in the following cases:

  • Charon product version upgrade
  • Product change
  • License validity (time) extension

License updates, for example a new expiration date or a new execution counter, can be performed without interrupting operation, that is, without shutting down active Charon instances, provided that the resulting license is valid for the running Charon instance. If any parameters of the updated license are not valid for the running Charon instance (for example, the wrong model or version), the Charon instance will stop running.

Licenses are backwards compatible to some extent. A license update to a more recent version will allow some previous Charon versions to run as well. The details depend on the Charon product.


For the current licensing schema, the following rules apply regarding backward compatibility of a license:

If the product version on the license is higher than the one of the installed Charon version, then

  • the license check on Charon-AXP/VAX/PDP starting with version 4.4 will be successful if the major version (for example, the 4 in 4.7) is the same. In version 4.3, the emulator will start, but there are inconsistencies and incompatibilities especially in the associated tools (e.g., hasp_view). Product versions 4.2 and earlier are incompatible with the current license schema.
  • the license check on Charon-SSP will be successful.
  • the license check on Charon-AXP/SMA will normally accept the higher number on the license. However, Charon-AXP/SMA emulator versions 2.2.x are incompatible with licenses for versions 2.3.x, because Charon-AXP/SMA versions 2.3.x introduced the license checksum feature which is not understood by earlier versions. So an update of the license from 2.2.x to 2.3.x requires a corresponding product update, and a product downgrade from 2.3.x to 2.2.x also requires a corresponding license downgrade. 
  • the license check on Charon-PAR will be successful if the major version is the same.
    Please note: Charon-PAR version 2.0 and higher is incompatible with the license content of earlier product versions. Earlier product versions are incompatible with the license content of Charon-PAR 2.0 and higher. Charon-PAR 3.0 licensing again is not compatible with earlier versions.

Please note: the description above is based on the information available at the time of writing. The behavior may change in future versions. Please always check the release notes and the documentation of your product for any relevant changes that may impact the backward compatibility.


Basic License Installation Steps

The basic steps to update an existing hardware or software license, or to install a new software license are as follows:

  • Extract the C2V file (license characteristics to update an existing hardware or software license) or a fingerprint file (system characteristics needed to create a new software license).
  • Send the C2V file to Stromasys.
  • Receive the V2C file(s) from Stromasys.
  • Apply the update.

The steps to update a license are described in detail in the section Installing and Updating a License.




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.