Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: replace info/note/warning with text

...

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

...

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.

(warning) The 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.

...

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

(info) 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.

...