hasp_srm_view

 

General Notes

The hasp_srm_view utility provides a simple command-line utility for gathering Sentinel license information.

Please note: local hardware licenses can only be displayed from a local connection to the system, for example via the console. If you are connected via a remote connection, for example ssh, the hasp_srm_view command will return an error. Network licenses (i.e., network dongles and software licenses) do not have this problem.

Workaround:
When connected to the system via a remote connection you can display the license contents with the following command (adapt the path of the command if your installation location is different):

$ ssh localhost /opt/charon/bin/hasp_srm_view [OPTION]


Please note: starting with Charon-AXP/VAX 4.9, Charon-PAR 1.10, and Charon-SSP 4.0 the hasp_srm_view utility on Linux does not follow the settings in the Sentinel ACC with respect to querying remote license servers and network visibility. The utility performs a broadcast search for network licenses even if this has been disabled in the Sentinel ACC. If this behavior has to be prevented for specific reasons, the network access of the system must be temporarily restricted or disabled, for example by blocking the relevant traffic with a firewall. Alternatively, access to the network license at the license server side can be blocked. Note that such methods can negatively impact other functions of the system or, in case of blocking access to a network license on the server, even the functions on other client host systems.

Name


hasp_srm_view – Charon Sentinel HASP Utility

Basic Syntax

hasp_srm_view [OPTION]


Description

The command options of the hasp_srm_view utility are listed below. If no options are specified, -l is assumed.

OptionDescription
-?, -h, -helpDisplay the utility usage message.
-allShow the product license details for all available keys.
-c2v FILENAME
  • Collect the Sentinel HASP key status information for the default key and write it to FILENAME. This C2V file is used to request an update for an existing license.
  • In newer product versions (starting with Charon-SSP version 2 and Charon-AXP/VAX version 4.8 Build 18302) this parameter can be used together with the -key option to select a specific license for which a C2V file should be created. Required when creating a C2V-file if more than one license is visible to the system.
-fgp FILENAMECollect the host fingerprint information for generating a Sentinel software license to FILENAME.
-key KEYNUMBER
  • Used alone, the keyword assumes a show command and displays only the product license details for the key with the ID specified in KEYNUMBER.
  • In newer product versions (starting with Charon-SSP version 2 and Charon-AXP/VAX version 4.8 Build 18302) this parameter can be used together with the -c2v option to select a specific license for which a C2V file should be created. Required when creating a C2V file if more than one license is visible to the system.
-lShow the product license details for the default key attached to the host.

-tfr LICENSEID [ FILENAME ]

(Obsolete)

Transfer HASP SL license (V2C file) from the local host to the host with the specified recipient ID.

This option is no longer available in newer product versions.

-idf

(Obsolete)

Create transfer recipient (ID) file recipient.id. The file is required if a software license is to be transferred from another system to this system.

This option is no longer available in newer product versions.

Please note that the options -trf and -idf are no longer available in Charon-SSP 1.0.36 and higher and in Charon-AXP/VAX version 4.8 and higher.

Exit Status

The hasp_srm_view utility exits with 0 on success and with a non-zero value if an error occurs:

ActionExit codes
Retrieve C2V data

0 – success

1 – failure

Create a host fingerprint

0 – success

1 – failure

Command line argument processing

0 – success

1 – missing argument

2 – unknown argument

The command also returns return code zero if the command itself ran successfully, but a Sentinel restriction was encountered (e.g., trying to display a license over a remote connection). In such cases an error message will be displayed.


Examples

The following example shows a partial output of the -l qualifier for an attached Sentinel USB HASP key (Charon-AXP before version 4.9).

$ /opt/charon/bin/hasp_srm_view -l

License Manager running at host: Host1

License Manager IP address: 127.0.0.1


The Physical KeyId: 760119089

CHARON Sentinel HASP License key section

Reading 4032 bytes

The License Number: 1000.639

The License KeyId: 760119089

The Master KeyId: 2131943932

Release date: 09-JUN-2016

Release time: 14:33:59

Update number: 6

End User name: Stromasys - User1

Purchasing Customer name: Stromasys SA

Virtual Hardware: AlphaServer_DS10, AlphaServer_DS10L, AlphaServer_DS15, AlphaServer_DS20, <items removed>

Instances allowed: 5

Product Name: CHARON-AXP

Product Code: CHAXP-470xx-WI-LI

Major Version: 4

Minor Version: 7

Maximum Build: 99999

Minimum Build: 1

Host CPU supported: X64

Host Operating System required: WINDOWS, LINUX

CPU's allowed: 32

Maximum virtual memory: 65536MB

Released product expiration date: 12-Jan-2017

<lines removed>


The following example shows a partial output for a hardware USB dongle using the Charon-AXP/VAX 4.9 version of hasp_srm_view the most important changes are marked in blue:

License Manager running at host: Host1

License Manager IP address: 192.168.1.111

HASP Net key detected

The Physical KeyId: 1015925129

License type: License Dongle (Network capable)

CHARON Sentinel HASP License key section

Reading 4032 bytes

The License Number: 000.TEST.CENTER

The License KeyId: 1015925129

The Master KeyId: 827774524

Release date: 11-APR-2018

Release time: 16:52:33

Update number: 68

End User name: STROMASYS

Purchasing Customer name: STROMASYS

Product License Number: AXP_4_9_TEST

Virtual Hardware: AlphaServer_DS10, AlphaServer_DS10L, AlphaServer_DS15,<items removed>

Product Name: CHARON-AXP

Product Code: CHAXP-490xx-LI

Major Version: 4

Minor Version: 9

< Parameters Maximum Build and Minimum Build are no longer shown>

32bit and 64bit OS requirements: 64bit <replaces parameter Host CPU supported>

Host Operating System required: LINUX

CPU's allowed: 16

Maximum virtual memory: 65536MB

CHAPI enabled

License expiration date: 01-Nov-2018

Instances allowed: 3

Feature number: 1

Check interval: 15 minutes




© 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.