CHARON-VAX for Linux installation
Table of contents
- 1 Introduction
- 2 Hardware Requirements
- 3 Software Requirements
- 4 Host system preparation
- 5 Before installation
- 6 Distribution preparation
- 7 Installation
- 8 CHARON-VAX home directory
- 9 Non-privileged user account creation
- 10 Charon License installation
- 10.1 VE Licensing
- 10.2 HASP Licensing
- 10.2.1 Regular HASP USB dongle
- 10.2.2 Network HASP USB dongle
- 10.2.3 Software license
- 10.2.4 License validity verification
- 10.2.5 Troubleshooting
- 11 Network configuration
- 12 Final steps
- 13 Upgrade from previous version
Introduction
CHARON-VAX products are distributed in form of a shell installation kit that contains : the acceptance of the EULA emphasizing the new conditions of licensing and a compressed package containing RPM modules for different components. Generally it is recommended to install all the RPM modules but it is possible to omit some RPM files if they are not needed.
CHARON installation consists of the following steps:
Host system checks (hardware and software) to ensure the host platform meets the minimum CHARON-VAX installation requirements
Installation of any 3rd party material, for example, the utilities required for CHARON-VAX
Running the SHAR to unpack the RPM modules and their individual installation
Installation of the CHARON-VAX license (hardware dongle or software license)
Configuration of the CHARON-VAX host system. It assumes creating a specific user, configuring the network, etc.
Hardware Requirements
Number of CPU cores
Each CHARON emulated CPU requires a corresponding physical core. So the total number of the host CPUs must exceed the number of emulated CPUs since some of the host CPUs must be dedicated to serving CHARON I/O operations and host operating system needs. If several CHARON instances run in parallel, the required number of CPU cores is cumulative.
The table below lists the minimum and recommended number of CPUs required for each product:
CHARON-VAX model | Minimal number of CPU cores | Recommended number of CPU cores |
|---|---|---|
VAX 6610 | 2 | 4 |
VAX 6620 | 3 | 4 |
VAX 6630 | 4 | 6 |
VAX 6640 | 6 | 8 |
VAX 6650 | 8 | 12 |
VAX 6660 | 8 | 12 |
Other models (all single CUP models) | 2 | 2 |
When starting, the CHARON-VAX software checks the available number of host CPU cores. This check is based on the maximum number of VAX CPUs that can be emulated. Therefore the number of host CPU cores recommended for the maximum number of emulated CPUs - as shown in the right column of the table above - must be available. If the available number of host CPU cores is below this number, CHARON-VAX will issue a warning message. The CHARON-VAX software will work despite this warning.
Disable Hyper-Threading
Hyper-threading should be switched off completely. Disable hyper-threading in the BIOS settings of the physical host or, for a VMware virtual machine, edit the virtual machine properties, select the Resources tab then select Advanced CPU. Set the Hyper-threaded Core Sharing mode to None. If Hyper-threading cannot be disabled, please contact Stromasys support for alternative resource requirements and instructions
CPU type and speed
Since CHARON-VAX utilizes LAHF instruction in VAX CPU emulation please avoid usage of early AMD64 and Intel 64 CPUs in CHARON host system since they lack it. AMD introduced the instruction with their Athlon 64, Opteron and Turion 64 revision D processors in March 2005 and Intel introduced it with the Pentium 4 G1 stepping in December 2005.
Concerning CPU speed, the general recommendation is that higher the CPU frequency is, better the emulated VAX performances will be. The minimum recommendation is at least 3 GHz.
Emulator-host Memory
The minimum host memory size:
depends on the amount of VAX memory to be emulated and on the number of CHARON-VAX instances to be executed on one host.
is calculated according to the following formula:
The maximum amount of VAX memory that can be created in the CHARON-VAX/66x0 products and supported by OpenVMS/VAX is 3584 Mb. For details, see the memory size specifications.
Disk storage
The total amount of disk space required for Charon-VAX can be calculated as a sum of:
500 MB for the Charon software
All the disk/tape image sizes plus 500 MB for the Charon software
The space required for the host operating system.
Keep in mind that Temporary disk storage is often needed when setting up a new emulator instance, for example for source disks backups storage, software installation kits, and others.
When virtual disks/tapes are used to represent physical disk drives / magnetic tapes, the disk/tape image files have the same size as their hardware equivalent, regardless of their degree of utilization.
Ethernet adapters
CHARON-VAX networking requires dedicated host Ethernet adapters; their number must be equal to the emulated adapters to be configured in CHARON-VAX. One adapter (optionally) can be left to the host for TCP/IP networking, management interface, etc.
It is also possible to use virtual network interfaces but for performance considerations, it is recommended to use physical ones only.
Software Requirements
Red Hat Enterprise Linux (RHEL) and Oracle Linux 7.x to 9.x (64-bit)
Rocky Linux 8.x and 9.x (64-bit)
CentOS Linux 7.x - 64bit
Hypervisors: VMware ESXi 5.5 – 8.0; Microsoft Hyper-V; KVM (require a supported Linux operating system running in the virtual machine).
Note that prerequisites of additional products may limit the choice of hypervisors. For example, a VE license server VM requires VMware ESXi 6.5 or higher. Please refer to the appropriate documentation.
Host system preparation
The automatic installation of updates must be disabled. Updates to the CHARON host must be done only in specific service maintenance periods established by the system administrator. Before applying new updates one must shutdown the operating system running on CHARON and stop all the running CHARON instances and services.
If a network-wide license (red dongle or software license) is going to be used, do the following:
On the license server (where the network license will reside): open port 1947 for both TCP and UDP
On the client, if broadcast search for remote licenses is to be used, UDP traffic from port 1947 of the license server to ports 30000-65535 of the client must be permitted.
If stricter firewall rules are required, it is possible to open the ports 30000-65535 and 1947 only for the "
/usr/sbin/hasplmd" daemon.
Both on license server and client: set default gateway
Please consult with your Linux User's Guide on details.
Before installation
Create a directory for the CHARON-VAX distribution as shown in the following example:
On RHEL/CentOS 7, and RHEL 8, the "libev" package is required. If it is reported as missing during Charon installation on RHEL 7/8, check that the repository "extras" is included and enabled, if not, include and enable it. Please refer to your Linux distribution administrator's guide. The "libev" package is included in the "Base-OS" repository for RHEL/Rocky Linux 9, so there is no need to enable or install an additional repository.
Command to enable the "extras" repository for RHEL 7.x:
Please note:
If you plan to install CHARON-VAX on the same server, both products, CHARON-VAX and CHARON-VAX, must have the same build number.
If you upgrade from a previous version of CHARON-VAX, please stop all running CHARON virtual machines, uninstall CHARON products and reboot the Linux server (recommended) before proceeding with the installation steps described below.
Distribution preparation
Starting with version 4.12, Charon-VAX is delivered as a self-extracting shell-archive with a file name format as follows:
|
where:
Item | Description |
|---|---|
VER | Version of CHARON-VAX product, for example 4.12 |
BN | Build Number of CHARON-VAX product, for example 21009 |
ZZ | CHARON-VAX target operating system identifier where:
|
To unpack the archive, perform the following steps:
Copy the package file to some location in your filesystem, for example /var/tmp/charon-vax-4.12-21009-el90.sh
Go to the directory where you wish to unpack the package, for example /charon_dist
Run the archive shell script: #
sh /path/to/<archive-name>For example: # sh /var/tmp/charon-vax-4.12-21009-el90.shAccept the EULA. To successfully unpack the archive, the end-user license agreement must be accepted.
After this, the software packages making up the Charon-VAX kit will be extracted into a version-specific sub-directory of the current working directory of the user.
Example command and output:
|
Switch to the directory created when unpacking: # cd charon-vax-<VER>-<BN>.<ZZ>
Example: # cd charon-vax-4.12-21009.el90
The distribution directory contains the following RPM files:
File name | Description |
|---|---|
| HASP Run-time |
| CHARON Libraries |
| MTD utility |
| CHARON Utilities |
| CHARON-VAX |
These packages are only required if you play to use HASP licensing. If you plan to use VE licensing, you should not install these packages.
Example:
|
Installation
Issue the following command to install all the RPM files present in the directory:
|
If you plan to use VE licensing, you can use the following command to only install the packages required for that:
|
Enter "y" to agree to install all the listed packages.
Example:
|
Check the installation process has completed successfully.
Example:
|
Re-login (as "root") to apply the PATH settings or execute the following command:
|
Please note:
The "charon-utils" package has the following dependencies:
ethtool
bridge-utils
net-tools
iproute
NetworkManager
During "charon-utils" installation using "yum", these packages, with the exception of "bridge-utils", will be installed automatically from the standard repository if some of them are absent on the host system. In order to install the "bridge-utils", you must first install the EPEL (Extra Packages for Enterprise Linux) repository. Please see the EPEL web page for how to do this:
CHARON-VAX home directory
By default CHARON is installed in the "/opt/charon" directory. It has the following subdirectories:
Directory | Description |
|---|---|
/bin | Contains all the executable files |
/cfg | Contains the configuration files templates |
/doc | Contains the documentation |
/log | Contains the log files |
/disks | Contains a few disk containers with VMS utilities |
/drivers | Contains the CHARON drivers |
The most important at this stage is the "/cfg" directory since it contains template configuration files with examples of typical configuration parameters and comments. This will be described in the next chapter.
Non-privileged user account creation
Create a non-privileged user account named "charon" for running CHARON:
|
Any existing user can also be used to run CHARON. In this case issue the following command to include this existing user into these specific groups:
|
Example:
|
Please note: If the emulator will be configured to use a physical console ("/dev/ttyNN"), it must either be run as the root user or the non-privileged user must be a member of the dialout group.
Charon License installation
Charon-VAX requires a valid product license to run the emulator. You have the choice of "VE" or "HASP" licensing. These are mutually exclusive. More information can be found below and in the CHARON-VAX for Linux Licensing section.
VE Licensing
VE licensing requires that a license server be installed and running that can serve a valid license. Stromasys recommends that you deploy a separate, dedicated system for the license server. If you need to set up a license sever, please refer to Virtual Environment (VE) License Server Documentation. If you already have a running VE license server, see the following and if necessary the CHARON-VAX for Linux Licensing section.
For Charon-AXP/VAX, the configuration of primary and (optionally) backup license server must be specified in the emulator configuration file using a text editor.
Configuration file general format:
set session license_key_id = "VE://<license-server-IP-Address>[:<port>]/[<passphrase>/]"
Description of the parameters:
<license-server-IP>: the IP address of the VE license server (127.0.0.1 if the VE license server is on the same host).
<port>: the TCP port on which the license is served (if not specified, the default port 8083 will be used).
<passphrase>: the passphrase of the correct product section on the license (optional). The parameter may be required for the emulator in some cases to identify the correct section.
To configure a backup license server, add the backup license server information to the same line after the primary license server information:
set session license_key_id = "VE://<primary-licserv-IP-Address>[:<port>]/<passphrase>/, VE://<backup-licserv-IP-Address>[:<port>]/<passphrase>/"
Only one backup server can be configured. The backup server typically provides a license limited to a certain number of runtime hours should the primary server become unavailable. If all valid licenses are lost or removed while an emulator is running, there is a grace period (configured on the license; default: 2 hours). The grace period is the time period during which the emulator continues to run after its license has been lost or removed. If there is no valid license after the grace period ends, the emulator will stop (this could cause data loss for a running guest system).
HASP Licensing
Regular HASP USB dongle
If CHARON license is located on a regular USB dongle, just connect it to the host USB port.
If the CHARON host is accessed remotely, please note that regular HASP licenses cannot be displayed and used to start a CHARON virtual machine. As a workaround it is possible to install CHARON as a daemon (service). This procedure will be described later.
Network HASP USB dongle
If the CHARON license is a network license (red USB dongle), it is possible either to connect it to the host USB port (to use it locally and provide it to other hosts on the local network at the same time) or to install it on a local network "license server" for remote access from this particular host.
If a remote license server is to be used:
Copy the aksusbd-7.63-1.i386.rpm and charon-license-4.10-<build>.<OS identifier>.x86_64.rpm files (see above) to the server, for example "/tmp"
Login as "root" to the server.
Switch to that directory.
Install the copied files using "yum".
Example:Connect the network HASP dongle to one of the server USB ports.
The network HASP (red dongles) licenses have no restrictions with respect remote access
Software license
If CHARON license is a software license (SL), it is installed on the host using the following procedure:
Run hasp_srm_view utility in the following way to get the host fingerprint file ("my_host.c2v" in this example):
Send the resulting file to STROMASYS. In return STROMASYS will provide you with a ".v2c" file, for example "your_license.v2c".
Copy the received file to any folder on the CHARON host, invoke the system default web browser and enter URL http://localhost:1947 to display the "Sentinel Admin Control Center" (ACC) web interface. This interface allows you to view and manage the CHARON licenses.
In the ACC perform the following steps: select Update/Attach from the menu on the left pane then use the Browse button to select the received file and click on the Apply File button to install the license.
Ensure that the software license is now visible in the "Sentinel Keys" section of the ACC.
Please note:
It is also possible to use the "hasp_update" utility for applying ".v2c" files.
The Software Licenses (SL) are always network licenses, they have no restrictions with respect to being displayed or accessed via a remote connection.
A "Provisional" (demo) license does not require collecting a fingerprint. For its installation start at step 3 in the sequence above
License validity verification
To check the CHARON license validity, invoke the hasp_srm_view utility to make sure that CHARON license is visible is correct:
Text of the license is displayed correctly by the hasp_srm_view utility, no error messages are shown.
The content of the license looks correct. For example: license number, major and minor versions, minimum and maximum build numbers, CHARON-VAX products and allowed hardware (CHARON-VAX models) should be checked. More details on the license content can be found in the CHARON-VAX Licensing chapter of this Guide.
Example:
|
If multiple licenses are available, it is possible to check them using the "-all" parameter with the hasp_srm_view utility in the following way:
# hasp_srm_view -all
It it also possible to display the license content for one specific key using the "-key" parameter and specifying the Key Id (see "# hasp_srm_view -h" for more)
© Stromasys, 1999-2025 - 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.
Need fast, reliable migration? We have done it countless times. Talk to an expert
We support version 8.x for VAX but not for AXP ?