...
Table of Contents | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Important Information to Protect the License Validity
Certain actions can invalidate your license. Therefore, once you have installed your license, please note the following points:
Insert excerpt | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Overview - Requesting and Installing a License
...
Overview of the basic steps to request and install a license:
- VMware only: for the first license request in a VMware environment, or if the binding data has changed, use the esxi_bind command to bind the license server to its ESXi host or vCenter Server.
- Collect the fingerprint (the customer-to-vendor - or C2V - file) on the license server and (if applicable) the backup license server.
- Send the fingerprint data to Stromasys.
- Stromasys will send you a license. This is a V2C file with the license data and a text file with human readable license content.
- Install the license data (the vendor-to-customer - or V2C - file) on the license server and (if applicable) on the backup license server.
- Verify the license installation.
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
License Installation Using the Command-Line
The following sections will show how to perform a license installation on the VE license server. Alternatively, you can use the web-based GUI (see VE License Server Web-based Management GUI)
Running the esxi_bind Command (VMware environment only)
The esxi_bind command sets up the necessary communication connection between the VE license server and the ESXi host / the vCenter Server.
It must be run on the license server (and the backup license server, if applicable):
- once before the first license is requested, and
- again should the user credentials, the password, or the address data for the access to the ESXi host / the vCenter Server change. Please make sure that the password of the selected user account does not automatically expire after a certain time period. This would cause disruptions in the license server operation and make it impossible for clients to receive their license.
Perform the following steps:
...
- <user> is the user for interactive login associated with your license server system
- <license-server-ip> the ip address of your license server system
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Collecting the Fingerprint Data on the License Server
The fingerprint is collected on the license server using the c2v utility.
Perform the following steps to collect the fingerprint on the license server and (if applicable) the backup license server:
- Use ssh to log in on the license server instance.
# ssh -i ~/.ssh/<mykey> <user>@<license-server-ip>
where- <mykey> is the private key of the key-pair you associated with your cloud instance
(for an on-premises VMware installation where login with username/password is allowed, it is not needed) - <user> is the user for interactive login associated with your license server instance (e.g., opc on OCI, centos for a CentOS instance on AWS, or the custom user on your VMware virtual machine or your physical server;
for an instance installed from a prepackaged Charon supported marketplace image, use sshuser for Charon-SSP and centos for Charon-PAR) - <license-server-ip> is the ip address of your license server system
- <mykey> is the private key of the key-pair you associated with your cloud instance
- Become the privileged user and run the c2v program.
- Become the root user:
# sudo -i
- Run the c2v program:
# /opt/license-server/c2v
where[-a]
--filename <my-file>.c2v --platform <my-platform>- The optional
-a
parameter creates the fingerprint for a AutoVE license. Regular VE mode and AutoVE mode are mutually exclusive. - <my-file>.c2v is the path and name under which you want to store the fingerprint. The file type is C2V (customer-to-vendor)
- <my-platform> indicates the platform on which the license server runs (possible values: physical, aws, oci, gcp, azure, ibm, nutanix, or esxi; for AutoVE: aws, oci, gcp, azure)
- The optional
- Become the root user:
- Copy the resulting C2V file to your local system (unless you can send email from the license server system).
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Sending the C2V File to Stromasys and Receive License Data File
Stromasys or your Stromasys VAR will provide you with an email address to which you should send the C2V file you created in the previous step.
Please also indicate the following:
License requirements based on your contract with Stromasys (product version, number of concurrent instances, is this the main or the backup license, etc.).
- Do you require a license with or without a passphrase (can be selected per product section)?
- The use of a passphrase requires VE license server versions 1.1.x and higher.
- The use of a passphrase requires Charon-SSP emulator versions 4.3.x and higher.
- For Charon-PAR, a passphrase is mandatory. It is required to identify the correct license section.
- Do you require an AutoVE license?
- Available starting with VE license server version 1.21 for supported cloud-specific Automatic Licensing marketplace images.
In response, you will receive a so-called V2C (vendor-to-customer) file which contains the license data. The content of the license (type of emulated hardware, expiration date, number of concurrent instances, etc.) depends on your contract with Stromasys. You may also receive a text file containing the license content in human readable form.
Installing the License Data on the License Server
The license data is installed on the license server using the v2c utility.
Perform the following steps to install the license on the license server (if a backup license server is to be used, it needs its own license):
- Copy the V2C file to the license server (e.g., with SFTP).
- Use ssh to log in on the license server instance.
# ssh -i ~/.ssh/<mykey> <user>@<license-server-ip>
where- <mykey> is the private key of the key-pair you associated with your license server instance
(for an on-premises VMware installation where login with username/password is allowed, it is not needed) - <user> is the user for interactive login associated with your license server instance (e.g., opc on OCI, centos for a CentOS instance on AWS, or the custom user on your VMware virtual machine or you physical server;
for an instance installed from a prepackaged Charon supported marketplace image, use sshuser for Charon-SSP and centos for Charon-PAR) - <license-server-ip> is the ip address of your license server system
- <mykey> is the private key of the key-pair you associated with your license server instance
- Become the privileged user and run the v2c program.
- Become the root user:
# sudo -i
- Run the v2c program:
# /opt/license-server/v2c -f <my-file>.v2c
where <my-file>.v2c is the path and name under which you want to store the fingerprint. The file type is V2C (vendor-to-customer).
- Become the root user:
After the installation of the V2C file, the license server will be restarted.
Please note:
- Please note that to install a license with a new license ID (or another changed static parameter - see below), the old license must first be removed in an additional step (see Removing a License from a VE License Server).
- In versions before 1.0.17, the license server will not start until a valid license has been installed.
The following example shows the installation of a V2C file:
Code Block | ||
---|---|---|
| ||
$ sudo /opt/license-server/v2c -f mylicense.v2c
<<V2C>> Going to import "mylicense.v2c" ...
<<V2C>> Imported "mylicense.v2c" successfully.
<<V2C>> Restarting license server ...
<<V2C>> Done |
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Installing the License Data on the License Server
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Verifying License Installation and License Content
...
The log should indicate that the license server is ready to serve licenses.
Div | ||
---|---|---|
| ||
Using the license_viewer Program to Display the Content of a License
...
#/opt/license-server
/license_viewer
The following sample table shows the output examples for several different licenseslicense types and platforms (please note that the output may vary depending on platform and software version) :
Regular VE license on AWS | Regular VE license on physical server | # /opt/license-server | /license_viewer|
|
| ||
Countdown license on physical server | AutoVE license on AWS | ||
|
|
Div | ||
---|---|---|
| ||
...
The license contains a key-specific section and one or more product-specific sections.
Important key-specific license parameters:
...
Possible values:
- NORMAL - time-limited or perpetual license
- COUNTDOWN - limited to a certain number of emulator runtime hours. The countdown starts, when the first emulator logs in to the license, and stops again when the last emulator disconnects from the license.
...
Possible values:
- License expiration date (for Key Type = NORMAL)
- Configured number of emulator runtime hours (for Key Type = COUNTDOWN). The remaining hours can be seen in the web interface of the license server and the emulator log file.
...
Important product-specific license parameters:
...
General VE mode: defines the maximum number of concurrently running emulated systems.
AutoVE mode: defines the maximum number of concurrently active AL cloud instances using the AutoVE license server.
...
class | pagebreak |
---|
Using the Web Interface
The license server provides a web interface to display important license characteristics, to display license client systems, and to enable license updates.
It is accessed using the URL https://<license-server-ip>:<web-gui-port>
where
- license-server-ip is the address or the name of the VE license server, and
- web-gui-port is the port on which the web-server runs (default 8084).
Using just http://<license-server-ip>
will redirect to https on the default port.
Prerequisite: access to TCP port 8084 (or an alternative port configured in the file /opt/license-server/config.ini file; see also Additional Configuration Options - the config.ini File) of the license server must be possible.
The following image shows sample output of a general VE license for SSP:
...
Please note that the product-specific section is mostly not applicable to AutoVE licenses as this license is based on the number and configuration of the cloud-based host instances.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
License Verification Using the Web Interface
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
See VE License Server Web-based Management GUI and Additional Configuration Options - the config.ini File for more information.
Include Page | ||||
---|---|---|---|---|
|